aboutsummaryrefslogtreecommitdiffstats
path: root/lisp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/minibuffer.el (completion-flex-nospace): Default to t.João Távora2019-11-231-2/+2
|
* help-follow-symbol now complains if no symbol found (bug#38248)Juanma Barranquero2019-11-221-4/+5
| | | | | | | * lisp/help-mode.el (help-follow-symbol): Signal 'user-error' if there's no symbol at POS. * etc/NEWS: Document it.
* Check gnus-mailing-list-groups in turn-on-gnus-mailing-list-modeFilipp Gunbin2019-11-221-1/+3
| | | | | * lisp/gnus/gnus-ml.el (turn-on-gnus-mailing-list-mode): Check also gnus-mailing-list-groups variable.
* Make gnus-mailing-list-archive recognize httpsFilipp Gunbin2019-11-221-1/+1
| | | | | * /lisp/gnus/gnus-ml.el (gnus-mailing-list-archive): Accept https in regexp.
* Unify docstrings of Gnus summary's copy/move/crosspost article functionsFilipp Gunbin2019-11-221-7/+3
| | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-copy-article) (gnus-summary-crosspost-article): Make docstrings refer to gnus-summary-move-article.
* Refix conditional step clauses in cl-loopdickmao2019-11-221-59/+37
| | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl--loop-bindings, cl--loop-symbol-macs, cl-loop): Add cl--loop-conditions, remove cl--loop-guard-cond. (cl--push-clause-loop-body): Apply clause to both cl--loop-conditions and cl--loop-body (cl--parse-loop-clause): Use cl--push-clause-loop-body. * test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-loop-and-assignment): Use docstring. (cl-macs-loop-for-as-arith): Removed expected failure. (cl-macs-loop-conditional-step-clauses): Add some tests (bug#29799).
* Fix uses of inhibit-message in package.elEli Zaretskii2019-11-221-5/+1
| | | | | | | | * lisp/emacs-lisp/package.el (package-generate-autoloads) (package--compile, package--save-selected-packages): Don't use 'inhibit-message' to bind 'noninteractive' and 'save-silently', since 'inhibit-message' already disables all messages. (Bug#38264)
* font-lock special attributes in python-modeHong Xu2019-11-221-2/+8
| | | | | * lisp/progmodes/python.el (python-font-lock-keywords-level-2): Add special attributes (bug#38318).
* Give better error messages in image-convertLars Ingebrigtsen2019-11-221-0/+3
| | | | | | * lisp/image/image-converter.el (image-convert): Make image-convert bug out earlier on a wrong IMAGE-FORMAT value (bug#38310).
* Make auth-source-pass-search understand port listsJoão Távora2019-11-221-3/+8
| | | | | | | | | | | | | | | For cases such as a typical IMAP Gnus setup, auto-source-pass-search is passed a list of "port aliases" like (993 "imaps" "imap" "993" "143") in hopes of finding a matching ~/.password-store entry. This modification makes this library understand and unroll the port list so that, i.e. "domain:993", "domain:imaps"", "domain:imap", etc. are computed as potential suffixes. Previously a nonsensical string "domain:(993 imaps imap ...)" was returned. * lisp/auth-source-pass.el (auth-source-pass--generate-entry-suffixes): Allow PORT to be a list of ports.
* * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix bug#38255Stefan Monnier2019-11-211-1/+5
| | | | | | Handle the case where the token is not in `smie-grammar`, either because the caller is making an error, or because it's a paren-like token that's not handled in the grammar but directly via the syntax tables.
* Make `C-c C-w' insert a signature even when overriddenLars Ingebrigtsen2019-11-221-44/+55
| | | | | * lisp/gnus/message.el (message-insert-signature): When called interactively, look harder for a signature to insert (bug#38289).
* * lisp/minibuffer.el (completions-common-part): Make it blue when possibleStefan Monnier2019-11-211-1/+3
|
* * lisp/files.el (locate-file-completion-table): Fix typoStefan Monnier2019-11-211-1/+1
|
* Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsThierry Volpiatto2019-11-2110-33/+118
|\
| * When verilog-auto-ignore-concat is true, also ignore parenthesized signals.Wilson Snyder2019-11-211-11/+11
| | | | | | | | | | | | * lisp/progmodes/verilog-mode.el (verilog-auto-ignore-concat): When `verilog-auto-ignore-concat' is true, also ignore parenthesized signals.
| * Fix Gnus summary backtab keybindings to use button-based functionsEric Abrahamsen2019-11-211-2/+2
| | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-mode-map, gnus-summary-article-map): Backtab should call gnus-summary-button-backward, not gnus-summary-widget-backward.
| * Support 'vc-region-history' for MercurialEli Zaretskii2019-11-212-3/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-hg.el (vc-hg-region-history) (vc-hg-region-history-font-lock, vc-hg-region-history-mode): New functions. (vc-hg-region-history-mode-map) (vc-hg--log-view-long-font-lock-keywords) (vc-hg-region-history-font-lock-keywords): New variables. * lisp/vc/vc-git.el (vc-git-region-history): Update commentary. * doc/emacs/maintaining.texi (VC Change Log): Add 'vc-region-history' to the table at beginning of node. Update the VCSes that support 'vc-region-history'. * etc/NEWS: Mention the new feature of vc-hg.el.
| * Restore point after sending a messageLars Ingebrigtsen2019-11-211-1/+8
| | | | | | | | | | * lisp/gnus/message.el (message-send-and-exit): Restore point after sending (bug#38303).
| * Make pp-buffer into a commandLars Ingebrigtsen2019-11-211-0/+1
| | | | | | | | * lisp/emacs-lisp/pp.el (pp-buffer): Make into a command (bug#38306).
| * Fix loading image-converter in the case where the type is passed inLars Ingebrigtsen2019-11-211-0/+1
| | | | | | | | | | * lisp/image.el (create-image): Load image-converter when converting images (bug#38310).
| * Rewrite the image-convert doc stringLars Ingebrigtsen2019-11-211-6/+10
| | | | | | | | | | * lisp/image/image-converter.el (image-convert): Clarify the calling convention (bug#38310).
| * Hide quoted passwords with spaces in AuthinfoDario Gjorgjevski2019-11-211-4/+9
| | | | | | | | | | | | | | * lisp/auth-source.el (auth-source-netrc-looking-at-one): New function, extracted from auth-source-netrc-parse-one. (auth-source-netrc-parse-one, authinfo--hide-passwords): Use auth-source-netrc-looking-at-one (bug#38311).
| * * lisp/net/tramp.el (tramp-unload-tramp): Do not enable ange-ftp. (Bug#38025)Michael Albinus2019-11-211-2/+0
| |
| * * lisp/image.el: Mouse-wheel scaling on images (bug#38187)Juri Linkov2019-11-211-4/+24
| | | | | | | | | | | | | | | | * lisp/image.el (image-mouse-increase-size) (image-mouse-decrease-size): New commands. (image-map): Bind C-wheel-down and C-mouse-5 to image-mouse-decrease-size, C-wheel-up and C-mouse-4 to image-mouse-increase-size.
* | Add new variable to prevent flex completion styleThierry Volpiatto2019-11-211-20/+27
|/ | | | | | | | | matching spaces. This allows flex style working smoothly with other styles like helm using spaces. * lisp/minibuffer.el (completion-flex-nospace): New user var. (completion-flex-try-completion): Use it. (completion-flex-all-completions): Same.
* Add renaming of remote buffer file names to TrampMichael Albinus2019-11-202-5/+278
| | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Default User): Fix typo. (Cleanup remote connections): Adapt arguments of `tramp-cleanup-connection'. (Renaming remote files): New node. (Frequently Asked Questions): New item "How to save files when a remote host isn't reachable anymore?". * etc/NEWS: Add `tramp-rename-files' and `tramp-rename-these-files'. * lisp/net/tramp-cmds.el (tramp-default-rename-alist) (tramp-confirm-rename-file-names): New defcustoms. (tramp-rename-read-file-name-dir) (tramp-rename-read-file-name-init): New defsubsts. (tramp-default-rename-file, tramp-rename-files) (tramp-rename-these-files): New defuns. * lisp/net/tramp-integration.el (ido, ivy): Integrate with them.
* Make with-suppressed-warnings work for macros, tooLars Ingebrigtsen2019-11-201-1/+1
| | | | | | * lisp/emacs-lisp/macroexp.el (macroexp-macroexpand): Pass the macro/alias symbol on to byte-compile-warning-enabled-p so that with-suppressed-warnings works for macros, too.
* * lisp/icomplete.el (icomplete-fido-kill): Unbreak yes-or-no-p usageJoão Távora2019-11-191-1/+5
| | | | Discussed in the context of bug#19064, bug#17272.
* Ensure Rmail summary is updated after editing a messageEli Zaretskii2019-11-191-4/+6
| | | | | * lisp/mail/rmailedit.el (rmail-cease-edit): If this mbox file has a summary, update the summary after editing. (Bug#38193)
* Fix updating members of zip archivesEli Zaretskii2019-11-191-3/+8
| | | | | | | * lisp/arc-mode.el (archive-zip-case-fiddle): Change the default to nil except on MS-DOS. Update the doc string to make clear that a non-nil value also affects updating the archive. (Bug#38260)
* Don't error when comparing IPv4 and IPv6 addressesRobert Pluim2019-11-191-11/+15
| | | | | | * lisp/net/nsm.el (nsm-network-same-subnet): Compare lengths of local-ip and ip; different lengths can never match. (nsm-should-check): Chop port off end of address.
* Allow eww to display exotic images like webpLars Ingebrigtsen2019-11-192-41/+102
| | | | | | | | | | | | | * lisp/image.el (image-type): Allow passing in the image type. (create-image): Make conversion work with data in addition to files. * lisp/image/image-converter.el (image-convert-p): Allow taking working on data in addition to files (bug#38036). (image-convert): Ditto. (image-converter--convert): Extend signature to say whether we're getting a file or data. (image-converter--convert-magick): Convert data. (image-converter--convert): Ditto.
* Strip "(fn...)" from output of `describe-mode' (bug#38222)Juanma Barranquero2019-11-191-2/+6
| | | | | * lisp/help.el (help--doc-without-fn): New function. (describe-mode): Use it.
* Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsMichael Albinus2019-11-193-9/+23
|\
| * * lisp/org/org.el (org-mode): Add pcomplete-completions-at-point to capf.Stefan Monnier2019-11-181-6/+8
| | | | | | | | | | | | | | | | This lets the normal `completion-at-point` and `complete-symbol` use `pcomplete` for completion. (org-mode-map): Leave M-TAB bound to the global default since `pcomplete` is now obsolete.
| * * lisp/tab-line.el (tab-line-auto-hscroll): New defcustom (bug#37667)Juri Linkov2019-11-181-3/+13
| | | | | | | | (tab-line-auto-hscroll): Use this option in the function.
| * * lisp/vc/ediff-util.el: Set this-command to ediff-quit (bug#38219)Juri Linkov2019-11-181-0/+2
| | | | | | | | | | | | | | * lisp/vc/ediff-util.el (ediff-toggle-read-only, ediff-quit): Set this-command to the same command after using y-or-n-p that doesn't guarantee to keep this-command unchanged to check it later for some contrived logic.
* | * lisp/net/tramp.el (tramp-handle-file-regular-p): Improve error handling.Michael Albinus2019-11-181-3/+7
|/
* Fix cl-prettyexpand in the non-FULL caseLars Ingebrigtsen2019-11-181-9/+7
| | | | | | | | * lisp/emacs-lisp/cl-extra.el (cl-prettyexpand): This function has apparently not worked for at least a couple of decades (bug#38206) unless supplied with a FULL parameter. Make the FULL parameter obsolete and make the function always work as it did with a non-nil FULL.
* lisp/so-long.el: Refactor menu action commandsPhil Sainty2019-11-181-22/+13
| | | | | | | | | * lisp/so-long.el (so-long-menu): Call `so-long' with an ACTION argument instead of using `so-long-menu-item-replace-action'. (so-long-menu-item-replace-action): Remove the deprecated function. * test/lisp/so-long-tests/so-long-tests.el (so-long-tests-so-long-menu-item-replace-action): Update the test.
* * lisp/so-long.el (so-long): Firstly revert the existing action, if anyPhil Sainty2019-11-181-2/+10
| | | | | | | | This makes `so-long' consistent with the action commands in the menu. If multiple actions were to be layered on top of one another, we would lose the ability to revert to the normal state. Custom actions combining multiple other actions can be defined if necessary.
* lisp/so-long.el: Use (interactive "@") for menu commandsStefan Monnier2019-11-181-36/+17
| | | | | | | | | | | | | | * lisp/so-long.el (so-long-menu, so-long-menu-item-replace-action) (so-long-revert): Use interactive code "@", replacing all uses of `so-long-menu-click-window'. This approach leaves the window selected afterwards, whereas the old code did not; but that is not a problem. (so-long-menu-click-window, so-long-menu-item-revert): Remove the deprecated functions. * test/lisp/so-long-tests/so-long-tests.el (so-long-tests-so-long-menu-item-replace-action): Update the test. Co-authored-by: Phil Sainty <psainty@orcon.net.nz>
* ; * lisp/so-long.el: Use declare-function nearer the code that needs itStefan Monnier2019-11-181-9/+6
|
* ; * lisp/so-long.el: Use function quoting in example configurationStefan Monnier2019-11-181-3/+3
|
* ; * lisp/so-long.el: Delete redundant :group declarationsStefan Monnier2019-11-181-32/+16
| | | | | | | Refer to (elisp) Common Keywords: > If this keyword is missing from a customization item, it’ll be > placed in the same group that was last defined (in the current file).
* * lisp/simple.el (process-file): Clarify doc string.Paul Eggert2019-11-171-8/+7
|
* * lisp/tmm.el (tmm-add-one-shortcut): Use dolistStefan Monnier2019-11-171-22/+15
|
* * lisp/subr.el (read-char-from-minibuffer, y-or-n-p): Remove discard-input.Juri Linkov2019-11-171-3/+1
| | | | | | (do-after-load-evaluation): Replace run-with-timer with run-with-idle-timer to give a chance for the minibuffer to handle initial events before sit-for. https://lists.gnu.org/archive/html/emacs-devel/2019-11/msg00581.html
* Auto-scrolling in tab-line (bug#37667)Juri Linkov2019-11-171-12/+60
| | | | | * lisp/tab-line.el (tab-line-auto-hscroll): New function. (tab-line-format): Use tab-line-auto-hscroll.