summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/cedet/mode-local.el: Delete obsolete commentStephen Leake2015-11-201-18/+0
|
* Discover repository version in linked worktrees (bug#21930)Juanma Barranquero2015-11-201-23/+41
| | | | | | | * lisp/version.el (emacs-repository--version-git-1): Do not assume HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD. (emacs-repository-get-version): Grok linked worktrees when EXTERNAL is nil too.
* * lisp/replace.el (occur-regexp-descr): New function.Juri Linkov2015-11-202-8/+26
| | | | | | | | | (occur-1, occur-engine): Use it. * lisp/isearch.el (isearch-occur): Propertize regexp with isearch-string and isearch-regexp-function-descr for occur-regexp-descr to display the correct description message in the header (bug#21176, bug#21180).
* Revert `open-line' electric-indent sensitivityKarl Fogel2015-11-191-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/simple.el (open-line): Remove electric indent code. (electric-indent-just-newline): Don't declare. * test/automated/simple-test.el (open-line-indent): Adjust test. This partly reverts Artur Malabarba's change that added electric indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git commit bd4f04f86), and adjusts a new test he added right afterwards (Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly. However, the new INTERACTIVE argument to `open-line', which he also added in the first commit, is not reverted here. See the thread "Questioning the new behavior of `open-line'." on the Emacs Devel mailing list, and in particular this message: From: Artur Malabarba Subject: Re: Questioning the new behavior of `open-line'. To: Karl Fogel Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel Date: Wed, 18 Nov 2015 21:03:58 +0000 Message-ID: \ <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com> https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01707.html
* Prioritize looking inside vc-parent-buffer over log-view-mode fallbackDmitry Gutov2015-11-191-3/+3
| | | | | * lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside vc-parent-buffer over log-view-mode fallback (bug#21955).
* ; * lisp/server.el (server-process-filter): Simplify last changeKen Brown2015-11-181-2/+1
|
* Silence byte-compiler warningKen Brown2015-11-181-0/+1
| | | | | * lisp/server.el (server-process-filter): Silence byte-compiler warning.
* Quote symbols in docstrings using `'Paul Eggert2015-11-189-14/+14
| | | | | | | Be more systematic about quoting symbols `like-this' rather than `like-this or 'like-this' in docstrings. This follows up Artur Malabarba's email in: http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
* Fix savegames in dunnetPeder O. Klingenberg2015-11-181-22/+1
| | | | | * lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead of separate implementation.
* * lisp/emacs-lisp/package.el (package--with-response-buffer):Artur Malabarba2015-11-181-0/+1
| | | | | Ensure we're at the start of the buffer before searching for the end of headers.
* Fix docstring quoting problems with ‘ '’Paul Eggert2015-11-17139-413/+415
| | | | | | | | | | | | | Problem reported by Artur Malabarba in: http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html Most of these fixes are to documentation; many involve fixing longstanding quoting glitches that are independent of the recent substitute-command-keys changes. The changes to code are: * lisp/cedet/mode-local.el (mode-local-augment-function-help) (describe-mode-local-overload): Substitute docstrings before displaying them. * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Quote the generated docstring for later substitution.
* Improve doc stringStephen Leake2015-11-171-2/+3
| | | | * lisp/progmodes/xref.el (xref-backend-references): Improve doc string.
* * lisp/image-mode.el: Support encrypted fileDaiki Ueno2015-11-171-1/+6
| | | | | (image-toggle-display-image): Read content from the buffer instead of the file, if the buffer holds a decrypted data. (Bug#21870)
* ; lisp/window.el (display-buffer-at-bottom): Fix indentationJuanma Barranquero2015-11-171-1/+1
|
* pcase.el: Fix edebugging of backquoted cons patternsJohan Bockgård2015-11-161-1/+3
| | | | | * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted cons patterns. (Bug#21920)
* * lisp/faces.el (faces--attribute-at-point): Use `face-list-p'Artur Malabarba2015-11-161-3/+1
|
* * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing requireArtur Malabarba2015-11-161-0/+1
|
* * lisp/emacs-lisp/nadvice.el (add-function): Escape quoteArtur Malabarba2015-11-161-1/+1
|
* Recognize .rbw and .pyw files (bug#18753)Vasily Korytov2015-11-162-2/+2
| | | | | | | | * lisp/progmodes/python.el (auto-mode-alist): Recognize .pyw files. * lisp/progmodes/ruby-mode.el (auto-mode-alist): Recognize .rbw files.
* Fix ruby-mode auto-mode-alist entryDmitry Gutov2015-11-161-1/+2
| | | | | * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping around the extensions (bug#21257).
* Fix etags completion near eobDmitry Gutov2015-11-161-1/+2
| | | | | * lisp/progmodes/etags.el (tags-completion-at-point-function): Use `goto-char', to avoid the end-of-buffer error (bug#20061).
* De-pessimize detection of C++ member initialization lists.Alan Mackenzie2015-11-151-35/+54
| | | | | | | list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro. (c-back-over-member-initializers): Reformulate such that c-at-toplevel-p is only called when a construct "looks right" rather than continually. (c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.
* Backport: * lisp/emacs-lisp/package.el: Fix a decoding issue.Artur Malabarba2015-11-152-26/+32
| | | | | | | | | | | * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to `url-insert-buffer-contents'. (url-insert-buffer-contents): New function (package--with-response-buffer): Use `url-insert-buffer-contents'. The previous code had some issues with decoding. Refactoring that function allows us to use the decoding from url-handlers while still treating both sync and async requests the same.
* Improve a few doc strings, commentsStephen Leake2015-11-154-8/+8
| | | | | | | | | * lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename): * lisp/cedet/ede/locate.el (ede-locate-base): * lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir): * src/fns.c (Fdelq): Improve doc string. * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.
* ; Cleanup of change log. Removed obsolete email addresses.Anders Lindgren2015-11-156-8/+7
|
* * lisp/faces.el (faces--attribute-at-point): Fix an issueArtur Malabarba2015-11-151-1/+5
| | | | | | | Previous code would signal an error when the face at point was a manually built list of attributes such as '(:foregroud "white"). * test/automated/faces-tests.el (faces--test-color-at-point): Add a test
* Improve Ruby 1.9-style keyword keys highlightingDmitry Gutov2015-11-151-2/+3
| | | | | | * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Handle required keyword arguments (bug#21367). And highlight the colon together with the name.
* Unify the absolutely equal xref-backend-references implementationsDmitry Gutov2015-11-153-23/+12
| | | | | | | | | | | * lisp/progmodes/elisp-mode.el (xref-backend-references): Remove. * lisp/progmodes/etags.el (xref-backend-references): Remove. * lisp/progmodes/xref.el (xref-backend-references): Define the default implementation.
* Update project-find-regexp for the new xref APIDmitry Gutov2015-11-152-3/+3
| | | | | | | * lisp/progmodes/project.el (project--read-regexp): Update to use the new xref API methods. * lisp/progmodes/xref.el (xref-find-backend): Autoload.
* Fix replacing a match with a shorter stringDmitry Gutov2015-11-151-7/+10
| | | | | | | | In effect, partially reverting fe973fc. * lisp/progmodes/xref.el (xref-query-replace): Store the end of each match as a marker again, instead of length. (xref--query-replace-1): Update accordingly.
* * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errorsArtur Malabarba2015-11-141-2/+2
| | | | Signal user-errors instead.
* Document 'describe-symbol'Eli Zaretskii2015-11-141-1/+4
| | | | | | | * doc/emacs/help.texi (Help Summary): Mention "C-h o". (Name Help): Document "C-h o" and describe-symbol. * lisp/help-fns.el (describe-symbol): Doc fix.
* Avoid signaling an error in 'describe-symbol'Eli Zaretskii2015-11-141-9/+11
| | | | | | | | * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol exists as a function/variable/face/etc., but is undocumented. * test/automated/help-fns.el (help-fns-test-describe-symbol): New test.
* Backport: * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async.Artur Malabarba2015-11-141-82/+76
| | | | | | | | | | | | | | | | | | | | | (package--with-work-buffer-async): Reimplement as `package--with-response-buffer'. (package--with-work-buffer): Mark obsolete. (package--with-response-buffer): New macro. This is a more self contained and less contrived version of `package--with-work-buffer-async'. It uses keyword arguments, doesn't have async on the name, doesn't fallback on `package--with-work-buffer', and has _much_ simpler error handling. On master, this macro will soon be part of another library (either standalone or inside url.el), which is why this commit is not to be merged back. (package--check-signature, package--download-one-archive) (package-install-from-archive, describe-package-1): Use it. (package--download-and-read-archives): Let `package--download-one-archive' take care of calling `package--update-downloads-in-progress'.
* Merge branch 'master' into emacs-25Dmitry Gutov2015-11-148-291/+396
|\
| * ; Fix warningsDmitry Gutov2015-11-141-1/+1
| | | | | | | | | | * lisp/vc/diff-mode.el (diff-kill-applied-hunks): Fix unused variable warnings.
| * ; Update xref-etags-mode for the latest changeDmitry Gutov2015-11-141-8/+3
| |
| * Use generic dispatch for xref backendsDmitry Gutov2015-11-143-73/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * Support rectangular regions for more commandsJuri Linkov2015-11-144-138/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
| * Handle multiple matches on the same line; add highlightingDmitry Gutov2015-11-141-21/+23
| | | | | | | | | | | | | | | | * 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.
| * Replace xref-match-bounds with xref-match-lengthDmitry Gutov2015-11-141-52/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * * lisp/progmodes/elisp-mode.el: Declare function `project-roots'Juanma Barranquero2015-11-131-0/+1
| |
| * Add a few more variables to redisplay--variablesEli Zaretskii2015-11-131-1/+3
| | | | | | | | | | * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction and bidi-display-reordering to the list.
| * * lisp/loadup.el: Enlarge the size of the hash table to 80000.Eli Zaretskii2015-11-131-1/+1
| |
| * Fix point positioning after transposing with negative argEli Barzilay2015-11-131-1/+2
| | | | | | | | | | | | * lisp/simple.el (transpose-subr): When invoked with a negative argument, move point to after the transposed text, like we do when invoked with a positive argument. (Bug#21885)
| * Fix last change in shr.elEli Zaretskii2015-11-131-6/+5
| | | | | | | | | | * lisp/net/shr.el (shr--have-one-fringe-p): Rename from have-fringes-p. All callers changed. Doc fix. (Bug#21895)
* | Merge branch 'erc-async-reconnect' into emacs-25l3thal2015-11-132-25/+30
|\ \
| * | Reconnect asynchronously.l3thal2015-11-132-25/+30
| |/
* | Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25Eli Zaretskii2015-11-131-1/+1
|\ \
| * | Adapt Tramp version, do not merge with masterMichael Albinus2015-11-131-1/+1
| |/ | | | | | | | | * doc/misc/trampver.texi (trampver): * lisp/net/trampver.el (tramp-version): Set to "2.2.13-25.1".