1. 11 May, 2016 1 commit
    • Dmitry Gutov's avatar
      Redo the fix for bug#21839 · f79c3523
      Dmitry Gutov authored
      * lisp/help.el (help-add-fundoc-usage): Undo the previous change.
      (help--make-usage-docstring): Escape newlines when printing.
      * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
      Ditto (bug#21839).
  2. 10 May, 2016 2 commits
  3. 09 May, 2016 5 commits
    • Dmitry Gutov's avatar
      Allow newlines inside cl function arglists · d0d9f55b
      Dmitry Gutov authored
      * lisp/help.el (help-add-fundoc-usage): Allow newlines inside
      ARGLIST (bug#21839).
    • Dmitry Gutov's avatar
      Publicize cl--generic-all-functions · 963541a6
      Dmitry Gutov authored
      * lisp/emacs-lisp/cl-generic.el (cl-generic-all-functions):
      Rename from cl--generic-all-functions.  Update both callers.
      * lisp/cedet/semantic/db-el.el
      And use it here (bug#23042).
    • Michael Albinus's avatar
      ; Fix typo · 3c581d56
      Michael Albinus authored
    • Alan Mackenzie's avatar
      Add some "safe-local-variable" declarations for compatibility with master. · e58f900e
      Alan Mackenzie authored
      These enable C files from the master repository to be visited in Emacs 25
      without generating irritating questions about configuration variable safety.
      * lisp/progmodes/cc-vars.el: (c-string-list-p, c-string-or-string-list-p): New
      (c-noise-macro-names, c-noise-macro-with-parens-names): give the
      safe-local-variable property c-string-list-p.
      (c-macro-names-with-semicolon): give the safe-local-variable property
    • Lars Ingebrigtsen's avatar
      Fix doc string in `insert' · 3b478989
      Lars Ingebrigtsen authored
      * src/editfns.c (Finsert_and_inherit): The before-insertion
      markers do not move.
      (Finsert): Ditto.
  4. 08 May, 2016 1 commit
  5. 07 May, 2016 2 commits
  6. 06 May, 2016 2 commits
  7. 05 May, 2016 6 commits
    • Paul Eggert's avatar
      Doc fixes for fclist and grep · 50650cb6
      Paul Eggert authored
      A newline is needed between two fc-list calls.
      egrep and fgrep have been withdrawn from POSIX,
      so document grep -E and grep -F instead.
    • Paul Eggert's avatar
      Minor doc fixes for quoting · 5e814e02
      Paul Eggert authored
      * doc/lispref/control.texi (Signaling Errors):
      * doc/lispref/display.texi (Displaying Messages):
      Don’t say that formats “generate”.  Try to word more clearly.
      * etc/NEWS: Coalesce near-duplicate entries.
    • Dmitry Gutov's avatar
      `nreverse' the marker pairs list · 3347a733
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref--buf-pairs-iterator): `nreverse'
      the marker pairs list for each buffer before returning.
    • Dmitry Gutov's avatar
      Use save-excursion in xref-location-marker more · 1a4127db
      Dmitry Gutov authored
      * lisp/progmodes/elisp-mode.el (xref-location-marker): Use
      save-excursion, in order not to alter the value of point if the
      buffer is currently open in the background (problem reported by
      Robert Weiner).
      * lisp/progmodes/etags.el (xref-location-marker): Same.
    • Dmitry Gutov's avatar
      shell-quote-argument DIR when appropriate · ab3ba912
      Dmitry Gutov authored
      * lisp/progmodes/project.el (project-file-completion-table):
      `shell-quote-argument' DIR as well.
      * lisp/progmodes/xref.el (xref--rgrep-command): Pass DIR through
      `shell-quote-argument' (bug#23453).  Thanks for Kaushal Modi for
      pointing out the problem.  Assert that DIR doesn't start with `~'.
    • Dmitry Gutov's avatar
      Rework xref-query-replace-in-results · 922c7a3e
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref-query-replace-in-results): Collect
      all xrefs from the buffer first, then delegate most of the
      processing to the value returned by xref--buf-pairs-iterator.
      (xref--buf-pairs-iterator): New function.  Return an "iterator"
      which partitions returned markers into buffers, and only processes
      markers from one buffer at a time.  When an xref is out of date,
      skip it with a message instead of signaling error (bug#23284).
      (xref--outdated-p): Extract from xref--buf-pairs-iterator.  Trim
      CR from both strings before comparing.
      (xref--query-replace-1): Remove the variable current-buf, no need
      to track it anymore.  Simplify the filter-predicate and search
      functions accordingly.  Iterate over buffer-markers pairs returned
      by the iterator, and call `perform-replace' for each of them.  Use
      multi-query-replace-map (bug#23284).  Use `switch-to-buffer' every
      time after the first, in order not to jump between windows.
      * test/automated/xref-tests.el
      (xref--buf-pairs-iterator-cleans-up-markers): New tests.
  8. 04 May, 2016 4 commits
  9. 03 May, 2016 9 commits
    • Dmitry Gutov's avatar
      Handle "empty line" regexp in xref searches · 4d8fd9cf
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref--collect-matches-1): Stop after one
      match if re-search-forward doesn't move point (bug#23426).
      * test/automated/xref-tests.el
      Uncomment test.
    • Dmitry Gutov's avatar
      Add tests for xref-collect-matches · f559b374
      Dmitry Gutov authored
      * test/automated/xref-tests.el: New file.  Add tests for
    • Dmitry Gutov's avatar
      Use grep-find-ignored-directories instead of vc-directory-exclusion-list · 6428aa04
      Dmitry Gutov authored
      * lisp/dired-aux.el (dired-do-find-regexp):
      Use grep-find-ignored-directories instead of
      vc-directory-exclusion-list.  The result should be functionally
      similar (the former uses the latter as the default value), but it
      should be more consistent and appropriate WRT user
      (dired-do-find-regexp-and-replace): Update the docstring.
      * lisp/dired.el: Update the corresponding autoloads.
      * doc/emacs/dired.texi (Operating on Files): Update the
      documentation accordingly.
    • Dmitry Gutov's avatar
      Clear buffer-undo-list when showing xrefs · 6f82d8ef
      Dmitry Gutov authored
      * lisp/progmodes/xref.el (xref--show-xref-buffer): Clear
      buffer-undo-list and temporarily bind it to t while rendering the
      buffer contents.
    • Alan Mackenzie's avatar
      Note the quote translation in `message' in section "incompatible changes". · c68a0910
      Alan Mackenzie authored
      * etc/NEWS: Note that `message' translates quotes, that the translation
      cannot be disabled, and that `format' can be used to get the old
      behavior back.
    • Paul Eggert's avatar
    • Lars Ingebrigtsen's avatar
      (Common Keywords): Correct what missing :group means · 93703c54
      Lars Ingebrigtsen authored
      * doc/lispref/customize.texi (Common Keywords): Correct what
      missing :group means.
    • Eli Zaretskii's avatar
      Improve documentation of Dired's 'A' and 'Q' commands · 79e58003
      Eli Zaretskii authored
      * lisp/dired-aux.el (dired-do-find-regexp)
      (dired-do-find-regexp-and-replace): Mention
      'grep-find-ignored-files' and 'vc-directory-exclusion-list', and
      also the fact that REGEXP should be palatable by Grep.  (Bug#23426)
      * lisp/dired.el: Update the corresponding autoload forms.
      * doc/emacs/dired.texi (Operating on Files): Mention
      'grep-find-ignored-files' and 'vc-directory-exclusion-list'.
    • Paul Eggert's avatar
      Doc fixes for quoting · 2ea2a2f1
      Paul Eggert authored
      * doc/emacs/text.texi, doc/lispintro/emacs-lisp-intro.texi:
      * doc/lispref/control.texi, doc/lispref/display.texi:
      * doc/lispref/help.texi, doc/lispref/strings.texi, lisp/subr.el:
      * src/callint.c, src/doprnt.c, src/editfns.c:
      Document quoting a bit more systematically.
      Problem reported by Alan Mackenzie (Bug#23425).
  10. 02 May, 2016 8 commits