summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Further fix to filtering Gnus search group namesEric Abrahamsen2021-08-071-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-search.el (gnus-search-indexed-parse-output): Group names in the GROUPS argument may be prefixed or not, depending on which server we're searching, so always enforce prefix policy within the function.
| * | | Fix prin1 problem in package-quickstart-refreshLars Ingebrigtsen2021-08-071-1/+3
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-quickstart-refresh): Bind print-length/print-level before using prin1-to-string (bug#49924).
| * | | Fix print-length issue in comp-run-async-workersLars Ingebrigtsen2021-08-071-1/+3
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/comp.el (comp-run-async-workers): Bind print-length/print-level to ensure there's no truncation (bug#49922).
| * | | Make `q' in `org-agenda' work even with `debug-on-error' setLars Ingebrigtsen2021-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/org/org-agenda.el (org-agenda-get-restriction-and-command): Using `error' here will trigger users with `debug-on-error' so use `user-error' instead (bug#49920). It would probably be preferable to rewrite this to not use the error system to do control flow.
| * | | Fix problem with relative directories in CDPATHLars Ingebrigtsen2021-08-071-1/+4
| | | | | | | | | | | | | | | | | | | | * lisp/files.el (parse-colon-path): Allow relative directories (like ".") in CDPATH (bug#49918).
| * | | perl-mode: fix variable fontificationTomasz Konojacki2021-08-071-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/perl-mode.el: Handle variables first to avoid conflicting with keywords. This fixes cases like "$package" (bug#49906). Copyright-paperwork-exempt: yes
| * | | ; * lisp/replace.el (occur-1): Remove old fringe arrow.Mattias Engdegård2021-08-071-0/+1
| | | |
| * | | Merge from origin/emacs-27Glenn Morris2021-08-061-18/+33
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | b77f6af24e (origin/emacs-27) ERC right stamps: also use latest buffer... # Conflicts: # lisp/erc/erc-stamp.el
| | * | ERC right stamps: also use latest buffer's window's width (Bug#44140)Olivier Certner2021-08-061-18/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/erc/erc-stamp.el (erc-insert-timestamp-right): Use latest buffer's window's width to position the timestamp, if both `erc-timestamp-right-column' and `erc-fill-column' are not set (or `erc-fill-mode' is off). This is what the documentation says, but was not implemented. Also fix the bug of using selected window's width instead of the (or some) window showing the buffer. The latest window's width is saved in `erc-timestamp-last-window-width' and used when the buffer is no more shown. In case the buffer was never shown, which I'm not sure can happen, either use `fill-column' if set, or give up on aligning and just output the timestamp (modulo the kludge) right after message text. While here, fix the off by one calculation of point start when the reference is the window's width.
| * | | Fix problem with occasional stalls in `url-retrieve-synchronously'dick r. chiang2021-08-061-79/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/url/url.el (url-retrieve-synchronously): Use `accept-process-output' on a null process. That is the safer, more conventional way of achieving non-blocking sleep-for (bug#49897). Also rewrite for greater readability.
| * | | Add colon-space after promptDmitry Gutov2021-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | * lisp/progmodes/project.el (project--completing-read-strict): Fix last change's regression (bug#49865).
| * | | Improve wording of recently changed documentationEli Zaretskii2021-08-062-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/minibuf.c (syms_of_minibuf): * lisp/minibuffer.el (minibuffer-restore-windows): * lisp/progmodes/etags.el (etags-xref-prefer-current-file): Improve wording of doc strings. * etc/NEWS: Improve wording and format of recently added entries.
| * | | Change how project-find-file's completion worksDmitry Gutov2021-08-061-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/project.el (project--completing-read-strict): Allow to choose a non-existent file, with confirmation (bug#49204). Don't use the string at point as a "real" default, and instead only include it in "future history": meaning, it will be inserted on 'M-n' (bug#49865).
| * | | New option etags-xref-prefer-current-fileDmitry Gutov2021-08-061-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/etags.el (etags-xref-prefer-current-file): New user option (bug#2544). (xref-backend-definitions): Use it.
| * | | Provide a default for xref-find-apropos patternDmitry Gutov2021-08-061-1/+3
| | | | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-find-apropos): Provide a default for the pattern (bug#49731).
| * | | Change the xref-goto-xref error messageDmitry Gutov2021-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-goto-xref): Change the error message (bug#49846).
| * | | Add function minibuffer-restore-windows (bug#45072)Juri Linkov2021-08-061-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/minibuffer.el (minibuffer-restore-windows): New function that removes the completions buffer. Add it to minibuffer-exit-hook. * src/minibuf.c (read-minibuffer-restore-windows): Mention minibuffer-restore-windows.
| * | | Reset mtime of a buffer reverted "delicately"Konstantin Kharlamov2021-08-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/files.el (revert-buffer-insert-file-contents-delicately): Once buffer is reverted, reset its mtime to that of the file. (Bug#49893)
| * | | Cease attempts to const-propagate through setqMattias Engdegård2021-08-051-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current method of propagating constants through setq was unsound because it relied on each setq form only being traversed at most once during optimisation, which isn't necessarily true in general; it could be made to miscompile code in rare cases. Since it was only used in limited circumstances, disabling this optimisation doesn't cost us much. * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't update the known value when traversing `setq`. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-cases): Add test case.
| * | | Add support for the oauth2.el library in nnimap and smtpmailRoland Winkler2021-08-052-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Customizing the IMAP Connection): * doc/misc/smtpmail.texi (Authentication): Mention it. * lisp/gnus/nnimap.el (nnimap-login): Support oauth2. * lisp/mail/smtpmail.el (smtpmail-try-auth-method): New function for oauth2.
| * | | * lisp/cus-start.el (read-minibuffer-restore-windows): Fix entry.Glenn Morris2021-08-041-1/+1
| | | |
| * | | * lisp/vc/smerge-mode.el (smerge-mode-menu): Add menu item for smerge-refine.Juri Linkov2021-08-041-0/+3
| | | |
| * | | Package archive location needs to be absolute filenamedickmao2021-08-041-5/+3
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package--with-response-buffer-1): Actually check that URL is absolute (bug#49788).
| * | | Add a new thing-at-point type: existing-filenameLars Ingebrigtsen2021-08-041-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (Buffer Contents): Mention it. * lisp/thingatpt.el (thing-at-point-file-at-point): New function. (existing-filename): Register it.
| * | | Make `M-j' work reliably if `comment-auto-fill-only-comments' is setLars Ingebrigtsen2021-08-041-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/simple.el (default-indent-new-line): Force breaking the line when called interactively (bug#49849). (Perhaps the interactive command should be rebound and call this function instead...)
| * | | Improve `define-globalized-minor-mode' doc stringsLars Ingebrigtsen2021-08-041-1/+4
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Copy the description from easy-mmode--arg-docstring (bug#49843).
| * | | ffap ido accommodationdickmao2021-08-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that ffap-file-finder can be ido-find-file, the noninteractive portion of find-file-at-point cannot assume ffap-file-finder always takes an argument (ido-find-file does not). * lisp/ffap.el (find-file-at-point): Do not call ffap-file-finder. * test/lisp/ffap-tests.el (ffap-ido-mode): Test it.
| * | | Use `abort-minibuffers' in delselMiha Rihtaršič2021-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/delsel.el (minibuffer-keyboard-quit): Use `abort-minibuffers' (bug#49821). Previously, C-g was bound to abort-recursive-edit, now it is bound to abort-minibuffers. However, after requiring delsel, it gets bound to minibuffer-keyboard-quit, which still uses abort-recursive-edit. Use the new function instead.
| * | | Add new user option 'read-minibuffer-restore-windows'martin rudalics2021-08-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/minibuf.texi (Text from Minibuffer): Document it (bug#45072). * lisp/cus-start.el (standard): Add. * src/minibuf.c (syms_of_minibuf): New variable 'read-minibuffer-restore-windows'.
| * | | ; * lisp/so-long.el: Bump version for the GNU ELPA buildPhil Sainty2021-08-041-1/+2
| | | | | | | | | | | | | | | | | | | | GNU ELPA released commit 359a8e4eda047b7dcb7e64faff7f8eaacf5d937c as version 1.1.
| * | | * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): Don't emit warningStefan Monnier2021-08-032-11/+7
| | | | | | | | | | | | | | | | Also remove "WARNING" annotations after confirming that he code was right.
| * | | Evaluate eql specializersakater2021-08-0311-46/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): Evaluate forms that are eql specializers. Provide backward compatibility with a warning. * test/lisp/emacs-lisp/cl-generic-tests.el: Add a test. * lisp/emacs-lisp/bindat.el (bindat--type): Adhere to the new rule. * lisp/emacs-lisp/edebug.el (edebug--match-&-spec-op): Adhere to the new rule. * lisp/emacs-lisp/map.el (map-into): Adhere to the new rule. * lisp/emacs-lisp/radix-tree.el (map-into): Adhere to the new rule. * lisp/frame.el (cl-generic-define-context-rewriter): Adhere to the new rule. * lisp/gnus/gnus-search.el (gnus-search-transform-expression): Adhere to the new rule. * lisp/image/image-converter.el (image-converter--probe image-converter--convert): Adhere to the new rule. * lisp/mail/smtpmail.el (smtpmail-try-auth-method): Adhere to the new rule. * lisp/progmodes/elisp-mode.el (xref-backend-definitions) (xref-backend-apropos): Adhere to the new rule. * lisp/progmodes/etags.el (xref-backend-identifier-at-point) (xref-backend-identifier-completion-table) (xref-backend-identifier-completion-ignore-case) (xref-backend-definitions)(xref-backend-apropos): Adhere to the new rule. * test/lisp/emacs-lisp/checkdoc-tests.el (checkdoc-cl-defmethod-with-types-ok) (checkdoc-cl-defmethod-qualified-ok) (checkdoc-cl-defmethod-with-extra-qualifier-ok): Adhere to the new rule. * etc/NEWS: Describe the change.
* | | | Code cleanup for Tramp's yubikey integrationMichael Albinus2021-08-032-3/+4
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-actions-before-shell) (tramp-actions-copy-out-of-band): Use `tramp-security-key-confirm-regexp'. * lisp/net/tramp.el (tramp-security-key-confirm-regexp): Rename from `tramp-yubikey-regexp'. Adapt docstring. (tramp-security-key-confirmed-regexp): New defcustom. (tramp-action-show-and-confirm-message): Redisplay. Use `tramp-security-key-confirmed-regexp'.
* | | file-name-concat is not error freeLars Ingebrigtsen2021-08-031-1/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Declare file-name-concat as side-effect free.
* | | Declare file-name-concat as side-effect freeLars Ingebrigtsen2021-08-031-0/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Declare file-name-concat as side-effect (and error) free.
* | | Remove ineffective expression in verilog-modeMattias Engdegård2021-08-031-1/+0
| | | | | | | | | | | | | | | * lisp/progmodes/verilog-mode.el (verilog-set-auto-endcomments): Remove expression that now elicits a byte-compiler warning.
* | | Declare `match-beginning` and `match-end` as side-effect-freeMattias Engdegård2021-08-031-0/+1
| | | | | | | | | | | | * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add functions.
* | | Make `global-so-long-mode' use `buffer-line-statistics'Phil Sainty2021-08-031-14/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/so-long.el: (so-long-statistics-excessive-p): New predicate function using `buffer-line-statistics'. (so-long-predicate): Use `so-long-statistics-excessive-p' by default. * etc/NEWS: Describe changes. * test/lisp/so-long-tests/so-long-tests-helpers.el: * test/lisp/so-long-tests/so-long-tests.el: Update tests. Also improve the existing `so-long-tests-predicate' tests.
* | | ; Revert "Make `so-long' restore `view-mode'"Phil Sainty2021-08-031-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 3c2db0c541491fceb7081d5b54de5abec25e2f4b. A more general solution to bug#45084 has been implemented via new user options `so-long-mode-preserved-variables' and `so-long-mode-preserved-minor-modes'. See the previous commit (before this revert) for details.
* | | Support 'preserved' variables and minor modes in `so-long-mode'Phil Sainty2021-08-031-1/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default values support preserving the state of `view-mode' when switching to (and reverting from) `so-long-mode' (bug#45084). * lisp/so-long.el (so-long-mode-preserved-variables) (so-long-mode-preserved-minor-modes): New user options. (so-long-mode-maintain-preserved-variables) (so-long-mode-maintain-preserved-minor-modes): New functions. (so-long-remember-all, so-long-after-change-major-mode) (so-long-mode-revert): Use them. * etc/NEWS: Describe changes. * test/lisp/so-long-tests/so-long-tests-helpers.el: * test/lisp/so-long-tests/so-long-tests.el: Update tests.
* | | ; * lisp/so-long.el: Minor bug fixesPhil Sainty2021-08-031-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (so-long-disable-minor-modes): Don't call the mode function to disable the mode unless it was actually enabled. (so-long-restore-minor-modes, so-long-restore-variables): Use the remembered list values, which might be different to the defaults. Also comments, and spelling consistency changes for the so-long tests (a fixup for commit 83bc4ad369 which had only addressed so-long.el, and not the test files).
* | | * lisp/so-long.el (so-long-minor-modes): Additional modes to disablePhil Sainty2021-08-031-1/+4
| | |
* | | Make `global-so-long-mode' handle unrecognised file typesPhil Sainty2021-08-031-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/so-long.el (so-long-target-modes): Add `fundamental-mode' * etc/NEWS: Describe changes. This doesn't affect buffers which are simply in `fundamental-mode' by default. It only affects buffers for which `set-auto-mode' has been called (normally via `find-file') without establishing a different major mode.
* | | Increase `so-long-threshold' and `so-long-max-lines' defaultsPhil Sainty2021-08-031-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/so-long.el (so-long-threshold, so-long-max-lines): Increase default values to reduce false-positives. * etc/NEWS: Describe changes. Lines shorter than 10,000 characters shouldn't generally be causing problems, so testing this explicitly will largely eliminate false-positives. We must also increase the maximum number of lines to check, because 'minified' code may still include newlines, and so there may be many lines shorter than the new threshold before we find a line which exceeds it. Previously we used a minimum-effort heuristic, testing a very small number of lines against a maximum length which, while not remotely long enough to cause problems, would nevertheless be uncommon in any normal file of programming code (and hence indicative that the file was likely to be minified code). Testing indicates that the performance penalty for the larger values should be negligible.
* | | ; * lisp/so-long.el: Bump to version 1.1Phil Sainty2021-08-031-3/+5
| | |
* | | ; * lisp/so-long.el: DocumentationPhil Sainty2021-08-031-11/+16
| | |
* | | * Fix error while disassembling native code on macOSJimmy Yuen Ho Wong2021-08-031-0/+2
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/disass.el (disassemble-internal): Make sure the regexp that searches for a symbol takes into account of llvm-objdump's output format.
* | | Merge from origin/emacs-27Amin Bandali2021-08-021-1/+1
|\| | | | | | | | | | | 75ecce4323 Unbreak ERC's Ibuffer filter (Bug#44100)
| * | Unbreak ERC's Ibuffer filter (Bug#44100)Olivier Certner2021-08-021-1/+1
| | | | | | | | | | | | | | | | | | * lisp/erc/erc-ibuffer.el (erc-modified): Don't use `length' on dotted lists (and not even to test if there is more than one element, for that matter). Use `cdr' instead.
| * | ; Auto-commit of loaddefs files.Glenn Morris2021-08-011-1/+1
| | |