1. 24 Nov, 2015 1 commit
    • Phillip Lord's avatar
      Rename all test files to reflect source layout. · 22bbf7ca
      Phillip Lord authored
       * CONTRIBUTE,Makefile.in,configure.ac: Update to reflect
         test directory moves.
       * test/file-organisation.org: New file.
       * test/automated/Makefile.in
         test/automated/data/decompress/foo.gz
         test/automated/data/epg/pubkey.asc
         test/automated/data/epg/seckey.asc
         test/automated/data/files-bug18141.el.gz
         test/automated/data/flymake/test.c
         test/automated/data/flymake/test.pl
         test/automated/data/package/archive-contents
         test/automated/data/package/key.pub
         test/automated/data/package/key.sec
         test/automated/data/package/multi-file-0.2.3.tar
         test/automated/data/package/multi-file-readme.txt
         test/automated/data/package/newer-versions/archive-contents
         test/automated/data/package/newer-versions/new-pkg-1.0.el
         test/automated/data/package/newer-versions/simple-single-1.4.el
         test/automated/data/package/package-test-server.py
         test/automated/data/package/signed/archive-contents
         test/automated/data/package/signed/archive-contents.sig
         test/automated/data/package/signed/signed-bad-1.0.el
         test/automated/data/package/signed/signed-bad-1.0.el.sig
         test/automated/data/package/signed/signed-good-1.0.el
         test/automated/data/package/signed/signed-good-1.0.el.sig
         test/automated/data/package/simple-depend-1.0.el
         test/automated/data/package/simple-single-1.3.el
         test/automated/data/package/simple-single-readme.txt
         test/automated/data/package/simple-two-depend-1.1.el
         test/automated/abbrev-tests.el
         test/automated/auto-revert-tests.el
         test/automated/calc-tests.el
         test/automated/icalendar-tests.el
         test/automated/character-fold-tests.el
         test/automated/comint-testsuite.el
         test/automated/descr-text-test.el
         test/automated/electric-tests.el
         test/automated/cl-generic-tests.el
         test/automated/cl-lib-tests.el
         test/automated/eieio-test-methodinvoke.el
         test/automated/eieio-test-persist.el
         test/automated/eieio-tests.el
         test/automated/ert-tests.el
         test/automated/ert-x-tests.el
         test/automated/generator-tests.el
         test/automated/let-alist.el
         test/automated/map-tests.el
         test/automated/advice-tests.el
         test/automated/package-test.el
         test/automated/pcase-tests.el
         test/automated/regexp-tests.el
         test/automated/seq-tests.el
         test/automated/subr-x-tests.el
         test/automated/tabulated-list-test.el
         test/automated/thunk-tests.el
         test/automated/timer-tests.el
         test/automated/epg-tests.el
         test/automated/eshell.el
         test/automated/faces-tests.el
         test/automated/file-notify-tests.el
         test/automated/auth-source-tests.el
         test/automated/gnus-tests.el
         test/automated/message-mode-tests.el
         test/automated/help-fns.el
         test/automated/imenu-test.el
         test/automated/info-xref.el
         test/automated/mule-util.el
         test/automated/isearch-tests.el
         test/automated/json-tests.el
         test/automated/bytecomp-tests.el
         test/automated/coding-tests.el
         test/automated/core-elisp-tests.el
         test/automated/decoder-tests.el
         test/automated/files.el
         test/automated/font-parse-tests.el
         test/automated/lexbind-tests.el
         test/automated/occur-tests.el
         test/automated/process-tests.el
         test/automated/syntax-tests.el
         test/automated/textprop-tests.el
         test/automated/undo-tests.el
         test/automated/man-tests.el
         test/automated/completion-tests.el
         test/automated/dbus-tests.el
         test/automated/newsticker-tests.el
         test/automated/sasl-scram-rfc-tests.el
         test/automated/tramp-tests.el
         test/automated/obarray-tests.el
         test/automated/compile-tests.el
         test/automated/elisp-mode-tests.el
         test/automated/f90.el
         test/automated/flymake-tests.el
         test/automated/python-tests.el
         test/automated/ruby-mode-tests.el
         test/automated/subword-tests.el
         test/automated/replace-tests.el
         test/automated/simple-test.el
         test/automated/sort-tests.el
         test/automated/subr-tests.el
         test/automated/reftex-tests.el
         test/automated/sgml-mode-tests.el
         test/automated/tildify-tests.el
         test/automated/thingatpt.el
         test/automated/url-future-tests.el
         test/automated/url-util-tests.el
         test/automated/add-log-tests.el
         test/automated/vc-bzr.el
         test/automated/vc-tests.el
         test/automated/xml-parse-tests.el
         test/BidiCharacterTest.txt
         test/biditest.el
         test/cedet/cedet-utests.el
         test/cedet/ede-tests.el
         test/cedet/semantic-ia-utest.el
         test/cedet/semantic-tests.el
         test/cedet/semantic-utest-c.el
         test/cedet/semantic-utest.el
         test/cedet/srecode-tests.el
         test/cedet/tests/test.c
         test/cedet/tests/test.el
         test/cedet/tests/test.make
         test/cedet/tests/testdoublens.cpp
         test/cedet/tests/testdoublens.hpp
         test/cedet/tests/testfriends.cpp
         test/cedet/tests/testjavacomp.java
         test/cedet/tests/testnsp.cpp
         test/cedet/tests/testpolymorph.cpp
         test/cedet/tests/testspp.c
         test/cedet/tests/testsppcomplete.c
         test/cedet/tests/testsppreplace.c
         test/cedet/tests/testsppreplaced.c
         test/cedet/tests/testsubclass.cpp
         test/cedet/tests/testsubclass.hh
         test/cedet/tests/testtypedefs.cpp
         test/cedet/tests/testvarnames.c
         test/etags/CTAGS.good
         test/etags/ETAGS.good_1
         test/etags/ETAGS.good_2
         test/etags/ETAGS.good_3
         test/etags/ETAGS.good_4
         test/etags/ETAGS.good_5
         test/etags/ETAGS.good_6
         test/etags/a-src/empty.zz
         test/etags/a-src/empty.zz.gz
         test/etags/ada-src/2ataspri.adb
         test/etags/ada-src/2ataspri.ads
         test/etags/ada-src/etags-test-for.ada
         test/etags/ada-src/waroquiers.ada
         test/etags/c-src/a/b/b.c
         test/etags/c-src/abbrev.c
         test/etags/c-src/c.c
         test/etags/c-src/dostorture.c
         test/etags/c-src/emacs/src/gmalloc.c
         test/etags/c-src/emacs/src/keyboard.c
         test/etags/c-src/emacs/src/lisp.h
         test/etags/c-src/emacs/src/regex.h
         test/etags/c-src/etags.c
         test/etags/c-src/exit.c
         test/etags/c-src/exit.strange_suffix
         test/etags/c-src/fail.c
         test/etags/c-src/getopt.h
         test/etags/c-src/h.h
         test/etags/c-src/machsyscalls.c
         test/etags/c-src/machsyscalls.h
         test/etags/c-src/sysdep.h
         test/etags/c-src/tab.c
         test/etags/c-src/torture.c
         test/etags/cp-src/MDiagArray2.h
         test/etags/cp-src/Range.h
         test/etags/cp-src/burton.cpp
         test/etags/cp-src/c.C
         test/etags/cp-src/clheir.cpp.gz
         test/etags/cp-src/clheir.hpp
         test/etags/cp-src/conway.cpp
         test/etags/cp-src/conway.hpp
         test/etags/cp-src/fail.C
         test/etags/cp-src/functions.cpp
         test/etags/cp-src/screen.cpp
         test/etags/cp-src/screen.hpp
         test/etags/cp-src/x.cc
         test/etags/el-src/TAGTEST.EL
         test/etags/el-src/emacs/lisp/progmodes/etags.el
         test/etags/erl-src/gs_dialog.erl
         test/etags/f-src/entry.for
         test/etags/f-src/entry.strange.gz
         test/etags/f-src/entry.strange_suffix
         test/etags/forth-src/test-forth.fth
         test/etags/html-src/algrthms.html
         test/etags/html-src/index.shtml
         test/etags/html-src/software.html
         test/etags/html-src/softwarelibero.html
         test/etags/lua-src/allegro.lua
         test/etags/objc-src/PackInsp.h
         test/etags/objc-src/PackInsp.m
         test/etags/objc-src/Subprocess.h
         test/etags/objc-src/Subprocess.m
         test/etags/objcpp-src/SimpleCalc.H
         test/etags/objcpp-src/SimpleCalc.M
         test/etags/pas-src/common.pas
         test/etags/perl-src/htlmify-cystic
         test/etags/perl-src/kai-test.pl
         test/etags/perl-src/yagrip.pl
         test/etags/php-src/lce_functions.php
         test/etags/php-src/ptest.php
         test/etags/php-src/sendmail.php
         test/etags/prol-src/natded.prolog
         test/etags/prol-src/ordsets.prolog
         test/etags/ps-src/rfc1245.ps
         test/etags/pyt-src/server.py
         test/etags/tex-src/gzip.texi
         test/etags/tex-src/nonewline.tex
         test/etags/tex-src/testenv.tex
         test/etags/tex-src/texinfo.tex
         test/etags/y-src/atest.y
         test/etags/y-src/cccp.c
         test/etags/y-src/cccp.y
         test/etags/y-src/parse.c
         test/etags/y-src/parse.y
         test/indent/css-mode.css
         test/indent/js-indent-init-dynamic.js
         test/indent/js-indent-init-t.js
         test/indent/js-jsx.js
         test/indent/js.js
         test/indent/latex-mode.tex
         test/indent/modula2.mod
         test/indent/nxml.xml
         test/indent/octave.m
         test/indent/pascal.pas
         test/indent/perl.perl
         test/indent/prolog.prolog
         test/indent/ps-mode.ps
         test/indent/ruby.rb
         test/indent/scheme.scm
         test/indent/scss-mode.scss
         test/indent/sgml-mode-attribute.html
         test/indent/shell.rc
         test/indent/shell.sh
         test/redisplay-testsuite.el
         test/rmailmm.el
         test/automated/buffer-tests.el
         test/automated/cmds-tests.el
         test/automated/data-tests.el
         test/automated/finalizer-tests.el
         test/automated/fns-tests.el
         test/automated/inotify-test.el
         test/automated/keymap-tests.el
         test/automated/print-tests.el
         test/automated/libxml-tests.el
         test/automated/zlib-tests.el: Files Moved.
      22bbf7ca
  2. 23 Nov, 2015 1 commit
  3. 21 Nov, 2015 1 commit
  4. 20 Nov, 2015 1 commit
  5. 19 Nov, 2015 2 commits
    • Przemysław Wojnowski's avatar
      Use obarray functions from obarray. · 5c81fd58
      Przemysław Wojnowski authored
      * lisp/abbrev.el (copy-abbrev-table, abbrev-table-p, make-abbrev-table,
        abbrev-table-get, abbrev-table-put, abbrev-table-empty-p,
        clear-abbrev-table, define-abbrev, abbrev--symbol, abbrev-table-menu):
        delegate to obarray.el functions.
      * lisp/loadup.el: load obarray before abbrev
      * test/automated/abbrev-tests.el: new tests
      5c81fd58
    • Christian Schwarzgruber's avatar
      epa.el: Add option to replace original text · ebad964b
      Christian Schwarzgruber authored
      * lisp/epa.el (epa-replace-original-text): New user option.
      (Bug#21947)
      
      Copyright-paperwork-exempt: yes
      ebad964b
  6. 18 Nov, 2015 4 commits
  7. 17 Nov, 2015 3 commits
    • João Távora's avatar
      Minor fix to comment indentation and typo in last commit · c6457cef
      João Távora authored
      * linum.el (linum-update-window): Fix comment indentation and a
      typo.
      c6457cef
    • João Távora's avatar
      linum-mode plays more nicely with other margin-setting extensions · b92307f6
      João Távora authored
      linum.el will only modify the left margin if it needs to, and will
      only reset the it back to 0 if it guesses that no-one has touched that
      margin in the meantime.
      
      As such, this is a more of a workaround than an actual fix, but fixes
      the problems described in bug#20674 regarding the interaction with
      modes such as darkroom-mode and olivetti-mode.
      
      A similar fix was commited to nlinum.el in ELPA.git's
      e7f5f549fbfb740b911fb7f33b42381ecece56d8
      
      * linum.el (linum-delete-overlays): Restore margins more
      criteriously.
      (linum-update-window): Set margins more criteriously.
      b92307f6
    • Daiki Ueno's avatar
      * lisp/image-mode.el: Support encrypted file · 58e62350
      Daiki Ueno authored
      (image-toggle-display-image): Read content from the buffer instead
      of the file, if the buffer holds a decrypted data.  (Bug#21870)
      58e62350
  8. 16 Nov, 2015 1 commit
  9. 15 Nov, 2015 9 commits
  10. 14 Nov, 2015 8 commits
    • David Engster's avatar
      gitmerge: Fix git log command · dcd5877a
      David Engster authored
      * admin/gitmerge.el (gitmerge-missing): Use '--left-only' since we
      only want commits from the branch that is to be merged.
      (gitmerge-setup-log-buffer): Use the same symmetric range as in
      `gitmerge-missing'.
      dcd5877a
    • David Engster's avatar
      gitmerge: Try to detect cherry-picks · 2ac79ae9
      David Engster authored
      * admin/gitmerge.el (gitmerge-default-branch): Change to
      origin/emacs-25.
      (gitmerge-missing): Use symmetric difference ('...') between
      branch and master so that cherry-picks can be detected.
      2ac79ae9
    • Eli Zaretskii's avatar
      Increment Emacs version on master branch · 5f7a2a90
      Eli Zaretskii authored
      * lisp/cus-edit.el (customize-changed-options-previous-release):
      Increase previous version to 24.5.
      
      * configure.ac:
      * msdos/sed2v2.inp: Bump version to 25.1.50.
      5f7a2a90
    • Xue Fuqiao's avatar
      Mention CONTRIBUTE in README · ed2e7e20
      Xue Fuqiao authored
      Mention CONTRIBUTE in README, since it was moved from etc/ to root.
      * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
      * README: Mention CONTRIBUTE.
      ed2e7e20
    • Wilson Snyder's avatar
      Update verilog-mode.el to 2015-11-09-b121d60-vpo. · 9e00a029
      Wilson Snyder authored
      * verilog-mode.el (verilog-auto, verilog-delete-auto)
      (verilog-modi-cache-results, verilog-save-buffer-state)
      (verilog-save-font-no-change-functions): When internally suppressing change
      functions, use `inhibit-modification-hooks' and call
      `after-change-funtions' to more nicely work with user hooks.  Reported by
      Stefan Monnier.
      
      (verilog-auto, verilog-delete-auto, verilog-delete-auto-buffer):
      Create `verilog-delete-auto-buffer' to avoid double-calling
      fontification hooks.
      
      (verilog-restore-buffer-modified-p, verilog-auto)
      (verilog-save-buffer-state): Prefer restore-buffer-modified-p over
      set-buffer-modified-p. Reported by Stefan Monnier.
      
      (verilog-diff-auto, verilog-diff-buffers-p)
      (verilog-diff-ignore-regexp): Add `verilog-diff-ignore-regexp'.
      
      (verilog-auto-inst-port, verilog-read-sub-decls-expr): Fix
      AUTOINST with unpacked dimensional parameters, bug981. Reported by
      by Amol Nagapurkar.
      
      (verilog-read-decls, verilog-read-sub-decls-line): Avoid unneeded
      properties inside internal structures. No functional change
      intended.
      9e00a029
    • Dmitry Gutov's avatar
      ; Fix warnings · 138ad3d9
      Dmitry Gutov authored
      * lisp/vc/diff-mode.el (diff-kill-applied-hunks):
      Fix unused variable warnings.
      138ad3d9
    • Dmitry Gutov's avatar
      7126e9a4
    • Dmitry Gutov's avatar
      Use generic dispatch for xref backends · 246d6605
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-backend-functions):
      New variable.
      (xref-find-function): Remove.
      (xref-find-backend)
      (xref--etags-backend): New functions.
      (xref-identifier-at-point-function)
      (xref-identifier-completion-table-function): Remove.
      (xref-backend-definitions, xref-backend-references)
      (xref-backend-apropos, xref-backend-identifier-at-point)
      (xref-backend-identifier-completion-table):
      New generic functions.
      
      * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add
      `elisp--xref-backend' to the beginning of
      `xref-backend-functions', locally.  Delete references to
      removed functions and vars.
      (elisp-xref-find): Remove.
      (elisp--xref-backend): New function.
      (elisp--xref-find-references, elisp--xref-find-apropos)
      (elisp--xref-identifier-completion-table):
      Turn into appropriately named generic methods.
      
      * lisp/progmodes/etags.el (etags-xref-find): Remove.
      (xref-backend-identifier-completion-table)
      (xref-backend-references, xref-backend-definitions)
      (xref-backend-apropos): New generic methods.
      246d6605
  11. 13 Nov, 2015 9 commits
    • Juri Linkov's avatar
      Support rectangular regions for more commands · 31f6e939
      Juri Linkov authored
      * lisp/simple.el (region-extract-function): Handle the arg value ‘bounds’.
      (region-insert-function): New function.
      (shell-command-on-region): Add arg ‘region-noncontiguous-p’.
      If non-nil, operate on multiple chunks.
      (region-noncontiguous-p): New function.
      
      * lisp/rect.el: Add function rectangle--insert-region
      around region-insert-function.
      (extract-rectangle-bounds): New function.
      (rectangle--extract-region): Handle the arg value ‘bounds’.
      (rectangle--insert-region): New function.
      
      * lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
      around region-insert-function.
      (cua--extract-rectangle-bounds): New function.
      (cua--rectangle-region-extract): Handle the arg value ‘bounds’.
      
      * lisp/replace.el (query-replace, query-replace-regexp): Add arg
      ‘region-noncontiguous-p’.  Use ‘use-region-p’.
      (query-replace-regexp-eval, map-query-replace-regexp)
      (replace-string, replace-regexp): Use ‘use-region-p’.
      (keep-lines, flush-lines, how-many): Use ‘use-region-p’.
      (perform-replace): Add arg ‘region-noncontiguous-p’.
      If non-nil, operate on multiple chunks.
      
      * src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
      If non-nil, operate on multiple chunks. (Bug#19829)
      31f6e939
    • Dmitry Gutov's avatar
      Handle multiple matches on the same line; add highlighting · f103a277
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-location-marker): Interpret the
      column value in characters.
      (xref--collect-matches): Rename from `xref--collect-match'.
      Search for all matches in the hit line.  Add `highlight' face to
      the matched region in the summary.  Update both callers.
      f103a277
    • Dmitry Gutov's avatar
      Replace xref-match-bounds with xref-match-length · fe973fc2
      Dmitry Gutov authored
      Relying on xref-location-marker to point to the beginning of the match
      
      * lisp/progmodes/xref.el (xref-match-bounds): Remove.
      (xref-match-length): Add.
      (xref-make-match): Change the arguments.
      (xref--match-buffer-bounds): Remove.
      (xref-match-item): Store length, instead of end-column.
      (xref-pulse-momentarily)
      (xref--collect-match)
      (xref--query-replace-1): Update accordingly.
      (xref-query-replace): Ditto.  And check that the search results
      are up-to-date.
      fe973fc2
    • Paul Eggert's avatar
      Merge from gnulib · 92a50102
      Paul Eggert authored
      This incorporates:
      2015-11-13 xalloc-oversized: improve performance with GCC 5
      * lib/xalloc-oversized.h: Copy from gnulib.
      92a50102
    • Paul Eggert's avatar
      Spruce up ftfont.c memory allocation · 04ac097f
      Paul Eggert authored
      * src/ftfont.c (setup_otf_gstring):
      Avoid O(N**2) behavior when reallocating.
      (ftfont_shape_by_flt): Prefer xpalloc to xrealloc when
      reallocating buffers; this simplifies the code.  Do not trust
      mflt_run to leave the output areas unchanged on failure, as
      this isn’t part of its interface spec.
      04ac097f
    • Paul Eggert's avatar
      Port recent XCB changes to 64-bit ‘long int’ · 4c4b5205
      Paul Eggert authored
      For historical reasons, libX11 represents 32-bit values like Atoms as
      ‘long int’ even on platforms where ‘long int’ is 64 bits.  XCB doesn’t
      do that, so adapt the recent XCB code to behave properly on 64-bit
      platforms.  Also, fix what appears to be a bug in the interpretation
      of xcb_get_property_value_length, at least on my Fedora platform
      which is running libxcb-1.11-5.fc21.
      * src/xfns.c (x_real_pos_and_offsets):
      * src/xterm.c (get_current_wm_state):
      xcb_get_property_value_length returns a byte count, not a word count.
      For 32-bit quantities, xcb_get_property_value returns a vector
      of 32-bit words, not of (possibly 64-bit) long int.
      4c4b5205
    • Paul Eggert's avatar
      4f0ce9c8
    • Eli Zaretskii's avatar
      Remove support for ':timeout' from w32 tray notifications · 695a6f93
      Eli Zaretskii authored
      * src/w32fns.c (Fw32_notification_notify): Delete the code that
      supports ':timeout'.
      (syms_of_w32fns): Don't DEFSYM ':timeout'.  This avoids clashes
      with dbusbind.c when D-Bus is compiled in.
      
      * doc/lispref/os.texi (Desktop Notifications): Don't mention
      ':timeout'.
      695a6f93
    • Juanma Barranquero's avatar
      * test/automated/simple-test.el: Add test for bug#20698 (bug#21885) · a731c2f1
      Juanma Barranquero authored
      (simple-test--transpositions): New macro.
      (simple-transpose-subr): New test.
      a731c2f1