summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Add test for Bug#29423 in Tramp.Michael Albinus2017-11-251-1/+1
| | | | | * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory): Add test for Bug#29423.
* Avoid jumbled order in HTML rendered by shr.elEli Zaretskii2017-11-251-1/+3
| | | | | | * lisp/net/shr.el (shr-render-td): Preserve point, as shr-render-td-1 might move it as a side effect of save-window-excursion. (Bug#29348)
* Make sure 'dired-filename' property is always put by ls-lispEli Zaretskii2017-11-251-7/+9
| | | | | | * lisp/ls-lisp.el (ls-lisp-classify): Do not put the 'dired-filename' text property on the file name here... (ls-lisp-classify-file): ...put it here instead. (Bug#29423)
* Improve the doc string of 'list-packages'Eli Zaretskii2017-11-241-1/+3
| | | | | * lisp/emacs-lisp/package.el (list-packages): Describe in the doc string the columns shown by the command. (Bug#29420)
* Improve discoverability of 'read-buffer-completion-ignore-case'Eli Zaretskii2017-11-241-12/+15
| | | | | | | | | * lisp/window.el (switch-to-buffer) (switch-to-buffer-other-window, switch-to-buffer-other-frame): Mention 'read-buffer' in the doc string. (Bug#29389) * doc/emacs/buffers.texi (Select Buffer): Add a cross-reference to where 'read-buffer-completion-ignore-case' is documented.
* Improve documentation of self-insert-uses-region-functionsEli Zaretskii2017-11-242-6/+21
| | | | | | | | | | | | * lisp/simple.el (self-insert-uses-region-functions): Clarify the doc string. * lisp/delsel.el (delete-selection-uses-region-p): Mention 'self-insert-command' in the doc string. (Bug#29373) * doc/lispref/text.texi (Commands for Insertion): Mention 'self-insert-uses-region-functions'. * doc/lispref/modes.texi (Keymaps and Minor Modes): Add a cross-reference to "Commands for Insertion".
* * lisp/progmodes/cc-vars.el (c-offsets-alist): Doc fix. (Bug#29407)Eli Zaretskii2017-11-241-2/+2
|
* ; Fix some doc typosGlenn Morris2017-11-224-5/+5
|
* * lisp/bindings.el (buffer-file-coding-system):Glenn Morris2017-11-221-1/+3
| | | | | | Add explicit permanent-local mark. ; * src/buffer.c (init_buffer_once): Comment.
* * lisp/menu-bar.el (menu-bar-options-save):Glenn Morris2017-11-211-1/+1
| | | | Add display-line-numbers-type.
* * lisp/menu-bar.el (menu-bar-options-save):Glenn Morris2017-11-211-1/+2
| | | | Add global-display-line-numbers-mode. (Bug#28396)
* * lisp/follow.el (follow-mode): Restore mode line lighter. (Bug#28495)Glenn Morris2017-11-211-0/+1
|
* ; Compare process status against 127 exactlyDmitry Gutov2017-11-221-2/+4
|
* Extract the common part of ruby-flymake-simple and ruby-flymake-rubocopDmitry Gutov2017-11-221-77/+64
| | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-flymake-simple) (ruby-flymake-rubocop): Extract the common part as ruby-flymake--helper. (ruby--rubocop-flymake-proc): Remove. Use the first proc variable instead.
* Add Rubocop Flymake backendDmitry Gutov2017-11-221-18/+100
| | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-flymake-command): Inline the value. There are no known substitutes. (ruby-flymake): Rename to `ruby-flymake-simple' and simplify the docstring. (ruby-flymake-use-rubocop-if-available): New option. (ruby--rubocop-flymake-proc): New variable. (ruby-rubocop-config): New option. (ruby-flymake-rubocop, ruby-flymake-auto): New functions. (ruby-mode): Use `ruby-flymake-auto'.
* ; Fix a typoDmitry Gutov2017-11-221-1/+1
|
* * lisp/emacs-lisp/byte-run.el (defsubst): Doc fix.Glenn Morris2017-11-211-0/+1
|
* Make c-defun-name analyze more thoroughly a function type which is a structAlan Mackenzie2017-11-211-3/+19
| | | | | | | | | This fixes bug #29293. * lisp/progmodes/cc-cmds.el (c-defun-name): When a struct (etc.) type is encountered, check whether it is the return type of a function rather than a declaration of the struct itself. Similarly adapt the cond arm which deals with functions properly to recognize struct return types.
* Avoid bogus abbreviated file names if HOME changesGlenn Morris2017-11-211-24/+34
| | | | | | * lisp/files.el (abbreviate-file-name): If HOME changes, ignore `abbreviated-home-dir'. (Bug#19657#20) * test/lisp/files-tests.el (files-test-abbreviated-home-dir): New.
* * lisp/emacs-lisp/byte-run.el (inline): Give it a doc.Glenn Morris2017-11-211-2/+6
|
* Fix erc keep-place module with new defaults (Bug#29111)Jay Kamat2017-11-211-1/+13
| | | | | | | | * lisp/erc/erc-goodies.el (erc-keep-place): Allow erc keep-place to continue working with switch-to-buffer-preserve-window-point set to t, the new default. Copyright-paperwork-exempt: yes
* Fix Bug#29149Michael Albinus2017-11-201-16/+19
| | | | | | | * lisp/net/tramp.el (tramp-drop-volume-letter): Handle also backup file names. (tramp-handle-find-backup-file-name): Call `tramp-drop-volume-letter' on the results. (Bug#29149)
* MH-E: don't automatically download external-body partsMike Kupfer2017-11-191-0/+2
| | | | | | * lisp/mh-e/mh-mime.el (mh-mime-display-single): Use mm-automatic-display-p to verify that a part should be displayed before doing the inline checks (SF#475).
* ; * lisp/emacs-lisp/byte-run.el: Fix a typo in a comment.Eli Zaretskii2017-11-191-1/+1
|
* Spelling fixesPaul Eggert2017-11-192-4/+4
| | | | | | * lisp/help-fns.el (help-fns--analyze-function): Rename from help-fns--analyse-function. All uses changed.
* Filter obtrusive events in help-read-key-sequence.Alan Mackenzie2017-11-181-5/+11
| | | | | | | | | | This fixes most of bug #29272. * lisp/help.el (help-read-key-sequence): After a mouse event, pause for 0.01s, discarding any events (such as <help-echo>) received in this time, before polling for the double-click (etc.) events which may follow. This fixes the infinite loop which occurred whwn <help-echo> events triggered a sit-for whilst handling menu events.
* Fix symlink flag in tramp-gvfs-handle-file-attributesMichael Albinus2017-11-181-1/+1
| | | | | * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes): Set proper symlink file mode flag.
* Fix bug in tramp-handle-file-truenameMichael Albinus2017-11-181-1/+2
| | | | | | | * lisp/net/tramp.el (tramp-handle-file-truename): Expand localname. * test/lisp/net/tramp-tests.el (tramp-test21-file-links): Check also relative symbolic links.
* Fix a typo in doc string of electric-indent-functions-without-reindentEli Zaretskii2017-11-181-1/+1
| | | | | * lisp/electric.el (electric-indent-functions-without-reindent): Doc fix. (Bug#29304)
* ; * lisp/ido.el (ido-find-alternate-file): Doc fix. (Bug#29278)Eli Zaretskii2017-11-181-1/+1
|
* Fix case-folding in OccurEli Zaretskii2017-11-181-168/+178
| | | | | * lisp/replace.el (occur-engine): Bind case-fold-search in each buffer we search. (Bug#29254)
* Fix quick-calc in C mode with hex valuesOGAWA Hirofumi2017-11-181-1/+3
| | | | | | | | | * lisp/calc/calc-aent.el (math-read-token): Make sure the match against "0[xX][0-9a-fA-F]+" is found at math-exp-pos. See http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00174.html for the details. Copyright-paperwork-exempt: yes
* Improve documentation of dired-next/prev-marked-fileEli Zaretskii2017-11-181-6/+13
| | | | | * lisp/dired.el (dired-next-marked-file, dired-prev-marked-file): Doc fixes. (Bug#29340)
* Document how to enter whitespace when using grep-read-filesRobert Pluim2017-11-173-5/+17
| | | | | | | * lisp/progmodes/grep.el (lgrep, rgrep, grep-read-files): Explain how to enter whitespace when using grep-read-files. (Bug#29303) * lisp/progmodes/project.el (project-find-regexp): Likewise. * lisp/vc/vc-git.el (vc-git-grep): Likewise.
* ; Spelling fixesPaul Eggert2017-11-162-2/+2
|
* * lisp/simple.el (shell-command): Doc fixes.Charles A. Roelli2017-11-151-5/+5
|
* Fix marker adjustment for undo (Bug#29118)Noam Postavsky2017-11-151-5/+5
| | | | | * lisp/simple.el (primitive-undo): Compare marker against absolute value of POS, because the sign of POS is irrelevant to markers.
* ; Fix last fix of 'mouse-drag-and-drop-region'Martin Rudalics2017-11-141-1/+1
| | | | | | * lisp/mouse.el (mouse-drag-and-drop-region): Use 'car-safe' instead of 'car' to ignore 'select-window' events. Thanks to Stefan Monnier for spotting this.
* Fix Bug#28139Daniel Pittman2017-11-141-6/+19
| | | | | | | | | * tramp-sh.el: Set TERM and INSIDE_EMACS environment earlier. (tramp-remote-process-environment): Remove TERM and INSIDE_EMACS. (tramp-remote-process-environment): Document their special handling. (tramp-open-shell): Set TERM and INSIDE_EMACS prior to starting the initial remote shell, so that it is also aware of the environment in which it is operating. (Bug#28139)
* Make 'mouse-drag-and-drop-region' work with 'mouse-autoselect-window' non-nilMartin Rudalics2017-11-141-1/+3
| | | | | | * lisp/mouse.el (mouse-drag-and-drop-region): Ignore 'select-window' events to make it work with 'mouse-autoselect-window'.
* Fix cookie handling (bug#29282)Katsumi Yamaoka2017-11-131-40/+13
| | | | | | | * lisp/url/url-cookie.el (url-cookie-handle-set-cookie): Regard a Set-Cookie header as it contains a single cookie; prefer Max-Age to Expires and convert it to Expires; remove support for old time string styles (bug#29282).
* Don't enable cursor-sensor-mode in mhtml-modeTom Tromey2017-11-121-3/+2
| | | | | | * lisp/textmodes/mhtml-mode.el (mhtml--last-submode): Update doc string. (mhtml-mode): Don't call cursor-sensor-mode.
* * lisp/files.el (abbreviate-file-name): Doc fix. (Bug#29267)Eli Zaretskii2017-11-121-1/+7
|
* CC Mode: Fix defun-open being recognized as brace-list-open at EOB.Alan Mackenzie2017-11-121-6/+8
| | | | | * lisp/progmodes/cc-engine.el (c-looking-at-statement-block): Add handling for an open brace at EOB and nested braces inside an unclosed brace block.
* * lisp/find-dired.el (find-grep-dired): Doc fix. (Bug#29262)Eli Zaretskii2017-11-121-3/+3
|
* Fix more flymake-diag-region eob corner cases and add tests (bug#29201)João Távora2017-11-111-6/+10
| | | | | | | | * lisp/progmodes/flymake.el (flymake-diag-region): Correct more eob corner cases. * test/lisp/progmodes/flymake-tests.el (eob-region-and-trailing-newline): New test.
* Keep Man sections in natural order (bug#28998)Basil L. Contovounesios2017-11-111-1/+2
| | | | * lisp/man.el (Man-build-section-alist): Reverse sections.
* * lisp/minibuffer.el: Install a workaround for bug#16274Stefan Monnier2017-11-111-2/+9
| | | | | * lisp/minibuffer.el (completion--nth-completion): Avoid signaling an error when `md` is applied to another table.
* Improve the documentation of M-n for entering file namesEli Zaretskii2017-11-111-3/+27
| | | | | | | | | | | | | | | * lisp/files.el (find-file, find-file-other-window) (find-file-other-frame): Mention file-name-at-point-functions in the doc string. Reported by Florian Weimer <fw@deneb.enyo.de> in http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00224.html. * doc/emacs/mini.texi (Minibuffer History): Document file-name-at-point-functions and its effect on M-n when typing file names in the minibuffer. * doc/emacs/files.texi (File Names): * doc/emacs/mini.texi (Minibuffer File): Add a cross-reference to "Minibuffer History", where special features of M-n regarding files are described.
* Fix desktop auto-save timer when linum-mode is usedEli Zaretskii2017-11-111-1/+7
| | | | | | | * lisp/desktop.el (desktop-read): Use toplevel value of window-configuration-change-hook when deciding whether desktop auto-saving is enabled. Suggested by Peter Neidhardt <pe.neidhardt@googlemail.com>. (Bug#28945)