summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ; Merge from branch 'master'scratch/raeburn-startupKen Raeburn2017-07-3190-651/+1701
|\
| * ; Don't use non-ASCII quotes in commentsEli Zaretskii2017-07-302-5/+5
| | | | | | | | | | | | * src/regex.h: * src/regex.c (re_wctype_parse): Don't use non-ASCII quotes in comments.
| * ls-lisp: Do not require em-glob at top of the fileTino Calancha2017-07-302-2/+6
| | | | | | | | | | | | | | | | | | | | | | Require em-glob inside 'ls-lisp--dired'. This is necessary to not break the Emacs build. See following thread for details: https://lists.gnu.org/archive/html/emacs-devel/2017-07/msg01083.html * lisp/ls-lisp.el (dired-goto-next-file) (dired-read-dir-and-switches, eshell-extended-glob): Add function declarations. * lisp/eshell/em-ls.el (dired-goto-next-file): Fix function declaration.
| * * lisp/dired.el (dired-insert-directory): Move `file-remote-p' check up.Michael Albinus2017-07-301-10/+16
| |
| * * test/lisp/net/tramp-tests.el (tramp-test17-dired-with-wildcards): New test.Michael Albinus2017-07-301-1/+103
| |
| * Change default CSS property faceSimen Heggestøyl2017-07-301-1/+1
| | | | | | | | | | | | * lisp/textmodes/css-mode.el (css-property): Inherit from `font-lock-keyword-face' instead of `font-lock-variable-name-face' to distinguish CSS properties from variables.
| * Dired: Handle posix wildcards in directory partTino Calancha2017-07-307-97/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow Dired to handle calls like \(dired \"~/foo/*/*.el\"), that is, with wildcards within the directory part of the file argument (Bug#27631). * lisp/files.el (insert-directory-wildcard-in-dir-p): New predicate. (insert-directory-clean): New defun extracted from insert-directory. (insert-directory) * lisp/dired.el (dired-internal-noselect) (dired-insert-directory): Use the new predicate; when it's true, handle the directory wildcards with a shell call. * lisp/eshell/em-ls.el (eshell-ls-use-in-dired): Add/remove both advices. (eshell-ls-unload-hook): New defun. Use it in eshell-ls-unload-hook instead of an anonymous function. (eshell-ls--dired) * lisp/ls-lisp.el (ls-lisp--dired): Advice dired to handle wildcards in the directory part with both eshell-ls and ls-lisp. * etc/NEWS: Announce it. * doc/emacs/dired.texi (Dired Enter): Update manual. * test/lisp/dired-tests.el (dired-test-bug27631): Add test.
| * * lisp/find-lisp.el: Enable lexical bindingTino Calancha2017-07-301-1/+1
| |
| * * lisp/find-dired.el: Enable lexical bindingTino Calancha2017-07-301-1/+1
| |
| * * lisp/kmacro.el: Use lexical binding.Mark Oteiza2017-07-291-1/+1
| |
| * Use lexical-binding in dired-aux.elMark Oteiza2017-07-291-3/+1
| | | | | | | | | | * lisp/dired.el: Use lexical binding. (dired-do-shell-command): Remove unused bindings.
| * * lisp/ido.el: Use lexical binding.Mark Oteiza2017-07-291-1/+1
| |
| * * lisp/whitespace.el: Use lexical binding.Mark Oteiza2017-07-291-1/+1
| |
| * artist.el: Avoid error with keyboard command invocationStephen Berman2017-07-291-1/+1
| | | | | | | | | | | | | | * lisp/textmodes/artist.el (artist-mouse-choose-operation): Call x-popup-menu with t instead of last-nonmenu-event as the value of the position argument; this allows invoking the command from the keyboard without raising an error (bug#27819).
| * Preserve point under 'dired-auto-revert-buffer' (third case)Stephen Berman2017-07-292-7/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/files.el (find-file): Use pop-to-buffer-same-window instead of switch-to-buffer. This preserves Dired window point when dired-auto-revert-buffer is non-nil. (Bug#27243) * test/lisp/dired-tests.el (dired-test-bug27243-01) (dired-test-bug27243-02, dired-test-bug27243-03): New tests. The first two replace a previous test that combined them; that test intermittently fails in the Hydra build system, so maybe separating the two cases will help locate the point of failure. The third test involves find-file but is here because it, like the others, is testing the effect of dired-auto-revert-buffer.
| * Do not unset user key remaps in dired-xAllen Li2017-07-291-4/+5
| | | | | | | | | | | | | | * lisp/dired-x.el (dired-x-bind-find-file): Don't map any keys if user sets dired-x-hands-off-my-keys. (Bug#27828) Copyright-paperwork-exempt: yes
| * Improve documentation of 'occur'Eli Zaretskii2017-07-292-0/+9
| | | | | | | | | | | | * doc/emacs/search.texi (Other Repeating Search): * lisp/replace.el (occur): Make the documentation of 'occur' be more accurate when matches overlap. (Bug#27818)
| * Minor copyedits of comments in faces.elEli Zaretskii2017-07-291-1/+3
| | | | | | | | | | * lisp/faces.el (face-font-family-alternatives): More info about requirements from "Monospace Serif".
| * ; Revert "; * .gitignore: Add .deps/."Eli Zaretskii2017-07-291-1/+0
| | | | | | | | This reverts commit f1ed31a8f5c6f19aa5e119e670533241c6375945.
| * Do not worry about paxctl on newer NetBSDPaul Eggert2017-07-291-7/+7
| | | | | | | | | | | | | | Problem reported privately by Thomas Klausner. * configure.ac (emacs_uname_r): New var. Use it to avoid paxctl on newer NetBSD platforms, where it is not needed. Also use it to simplify Cygwin diagnostic.
| * Clarify documentation of ':inherit' face attributeEli Zaretskii2017-07-291-1/+3
| | | | | | | | | | * doc/lispref/display.texi (Face Attributes): Document the special treatment of 'unspecified' in the ':inherit' attribute.
| * * lisp/password-cache.el (password-data): Use a hash-tableStefan Monnier2017-07-284-37/+34
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/auth-source.el (auth-source-magic): Remove. (auth-source-forget+, auth-source-forget-all-cached): Adjust to new format of password-data. (auth-source-format-cache-entry): Just use a cons. (password-cache-remove, password-cache-add, password-reset) (password-read-from-cache, password-in-cache-p): Adjust accordingly. Fixes: bug#26699
| * * lisp/subr.el (define-symbol-prop): New functionStefan Monnier2017-07-286-30/+51
| | | | | | | | | | | | | | | | (symbol-file): Make it find symbol property definitions. * lisp/emacs-lisp/pcase.el (pcase-defmacro): * lisp/emacs-lisp/ert.el (ert-set-test): Use it instead of `put'. (ert-describe-test): Adjust call to symbol-file accordingly.
| * * lisp/subr.el (method-files): Move function to cl-generic.elStefan Monnier2017-07-286-46/+46
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl-generic-p): New function. (cl--generic-method-files): New function, moved from subr.el. * lisp/emacs-lisp/edebug.el (edebug-instrument-function): Use them. * test/lisp/emacs-lisp/cl-generic-tests.el: * test/lisp/subr-tests.el: Move and adjust method-files tests accordingly.
| * Preserve this-command-keys across recursive-edit invocationsEli Zaretskii2017-07-281-0/+7
| | | | | | | | | | | | * src/minibuf.c (read_minibuf, read_minibuf_unwind): Save and restore this-command-keys, to preserve it across recursive-edit. (Bug#27470)
| * ; * .gitignore: Add .deps/.Eli Zaretskii2017-07-281-0/+1
| |
| * Improve doc string of 'locate-dominating-file'Eli Zaretskii2017-07-281-2/+5
| | | | | | | | * lisp/files.el (locate-dominating-file): Doc fix. (Bug#27798)
| * New commands 'apropos-local-variable', 'apropos-local-value'Drew Adams2017-07-283-0/+57
| | | | | | | | | | | | | | | | | | * lisp/apropos.el (apropos-local-variable, apropos-local-value): New functions. (Bug#27424) * doc/emacs/help.texi (Apropos): Document 'apropos-local-variable' and 'apropos-local-value'. * etc/NEWS: Mention the new commands.
| * * lisp/loadhist.el (unload-feature): Remove ad-hoc ELP codeStefan Monnier2017-07-272-5/+5
| | | | | | | | * lisp/emacs-lisp/elp.el (loadhist-unload-element): Un-instrument functions.
| * Fix C++ class initializers not always being fontified at mode start.Alan Mackenzie2017-07-271-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | The problem here happened when an "outer list" of declarations moved beyond an "inner list" containing class initializers. These weren't being checked for by the code. Also, fix places in c-get-fontification-context where point is undefined. * lisp/progmodes/cc-fonts.el (c-get-fontification-context): when argument not-front-decl is set, test for class initializers. Also, anchor point in places where it is moved and is otherwise undefined.
| * Fix variables in C++ "for" statement not always being fontified.Alan Mackenzie2017-07-271-4/+9
| | | | | | | | | | | | | | The error happened when there was a comma inside template delimiters. * lisp/progmodes/cc-fonts.el (c-get-fontification-context): In "for" statements, recognise template delimiters containing "," and "&".
| * Add watchdog process to tramp-test36-asynchronous-requestsMichael Albinus2017-07-271-6/+18
| | | | | | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp--test-timeout-handler): New defun. (tramp-test36-asynchronous-requests): Use a watchdog process, listening for SIGUSR1.
| * CC Mode: Fix declarator being cut off from terminator by end of jit-lock chunkAlan Mackenzie2017-07-271-7/+20
| | | | | | | | | | | | | | If a declarator is so cut off, extend the fontification chunk to include it. * lisp/progmodes/cc-mode.el (c-fl-decl-end): New function. (c-change-expand-fl-region, c-context-expand-fl-region): Use the new function.
| * * lisp/vc/smerge-mode.el: Avoid N² blow up in degenerate casesStefan Monnier2017-07-271-17/+49
| | | | | | | | | | (smerge--refine-long-words): New var. (smerge--refine-chopup-region): Use it.
| * * lisp/url/url-cookie.el: Use lexical-bindingStefan Monnier2017-07-271-26/+15
| | | | | | | | | | | | | | | | | | (url-cookie-host-can-set-p): Remove unused var `last'. Use string-suffix-p. (url-cookie-list): De morgan. (url-cookie-quit): Remove. (url-cookie-mode): Inherit from special-mode. (url-cookie-mode-map): Simplify accordingly.
| * * lisp/calendar/todo-mode.el (todo-print-buffer-function): Rework docstring.Stefan Monnier2017-07-271-5/+3
| |
| * * lisp/ruler-mode.el (ruler-mode-ruler): Document problem.Stefan Monnier2017-07-271-0/+4
| |
| * * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):Stefan Monnier2017-07-261-17/+18
| | | | | | | | Record this as the function's definition site if it's the first def.
| * * doc/lispref/loading.texi (When to Autoload): New section.Glenn Morris2017-07-261-0/+40
| |
| * Stop using unibyte buffers for ert backtracesGlenn Morris2017-07-261-2/+1
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-results-pop-to-backtrace-for-test-at-point): Set multibyte true, not false. This copies a debugger-setup-buffer change from 2009-08-30, and stops the "Backtrace for" header line containing ^X and ^Y.
| * Fix semantic-symref-parse-tool-output-one-line after 644cdd1aa0Dmitry Gutov2017-07-261-17/+16
| | | | | | | | | | | | | | * lisp/cedet/semantic/symref/grep.el (semantic-symref-grep--line-re): Delete. (semantic-symref-parse-tool-output-one-line): Use regexp and group numbers from (grep-regexp-alist).
| * Fix cl-defmethod indentationGrégoire Jadi2017-07-261-1/+1
| | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl-defmethod): Declare (indent defun). Fixes bug#23994.
| * Fix two customization types in frame.elMartin Rudalics2017-07-261-2/+2
| | | | | | | | | | * lisp/frame.el (window-divider-default-bottom-width) (window-divider-default-right-width): Fix customization types.
| * Dired: Support eshell-ls from the beginning if the user wants toTino Calancha2017-07-262-0/+14
| | | | | | | | | | | | * lisp/dired.el (dired-insert-directory): Check for eshell-ls as well (Bug#27817). * test/lisp/dired-tests.el (dired-test-bug27817): Add test.
| * * lisp/progmodes/sh-script.el (sh-mode): Recognize mkshrc.Mark Oteiza2017-07-251-0/+1
| |
| * * lisp/emacs-lisp/eieio-compat.el (eieio--defgeneric-init-form):Stefan Monnier2017-07-251-1/+2
| | | | | | | | Adjust to change in cl-generic-ensure-function.
| * ; Instrument entry of tramp--test-instrument-test-caseMichael Albinus2017-07-251-2/+3
| |
| * ls-lisp: Add an unload function and enable lexical bindingTino Calancha2017-07-252-1/+44
| | | | | | | | | | | | Enable lexical binding. * lisp/ls-lisp.el (ls-lisp-unload-function): New defun. * test/lisp/ls-lisp.el (ls-lisp-unload): Add test.
| * register-read-with-preview: Quit if user input C-g or ESCTino Calancha2017-07-253-1/+51
| | | | | | | | | | | | | | * lisp/register.el (register-read-with-preview): Quit if user input C-g or ESC (bug#27634). * doc/emacs/regs.texi (Registers): Update manual. * test/lisp/register-tests.el (register-test-bug27634): Add test.
| * ; Fix previous commitMark Oteiza2017-07-241-3/+2
| | | | | | | | | | | | | | Functions prefixed with `turn-on-foo' are quite old, and in general subsumed by the corresponding `foo-mode` command. * lisp/display-line-numbers.el (turn-on-display-line-numbers-mode): Rename with library prefix, mark as internal. Nix autoload.