summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/play/dunnet.el: Make it so loading the file is harmlessStefan Monnier2020-12-111-113/+87
| | | | | | Move comments into docstrings while at it. (dun-batch): New function.
* button-buttonize doc string clarificationLars Ingebrigtsen2020-12-111-1/+3
| | | | | * lisp/button.el (button-buttonize): Clarify what happens when DATA isn't present.
* ; cperl-mode: Eliminate fallbacks if font-lock isn't loadedHarald Jörg2020-12-111-38/+7
| | | | | | * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres): Eliminate conditionals which always evaluate to true if font-lock is preloaded (since Emacs 22.1). (Bug#45183)
* Also sort the totals section by sizeLars Ingebrigtsen2020-12-111-1/+3
| | | | | * lisp/emacs-lisp/memory-report.el (memory-report): Sort the totals by size, too.
* Tweak memory-report--formatLars Ingebrigtsen2020-12-111-1/+1
| | | | | * lisp/emacs-lisp/memory-report.el (memory-report--format): Make everything line up, even when there's "1023.4kB".
* Append incremental message segments in socks-filterF. Jason Park2020-12-111-3/+3
| | | | | | | * lisp/net/socks.el (socks-filter): Preserve the order data arrive instead of semi-reversing it (bug#45162). Copyright-paperwork-exempt: yes
* Clarify fortran-beginning-of-subprogram doc string after changeLars Ingebrigtsen2020-12-111-1/+2
| | | | | * lisp/progmodes/fortran.el (fortran-beginning-of-subprogram): Clarify doc string (bug#33208).
* * lisp/progmodes/python.el: Bump version.Stefan Kangas2020-12-111-1/+1
|
* bibtex-autokey-get-year: Follow iso8601Roland Winkler2020-12-111-12/+18
| | | | | * lisp/textmodes/bibtex.el (bibtex-autokey-get-year): Follow iso8601 (bug#36252).
* Fix parsing error in exifLars Ingebrigtsen2020-12-111-1/+1
| | | | | * lisp/image/exif.el (exif--parse-exif-chunk): The offset is a four-byte number. Reported by Alan Light <lightalan@gmail.com>.
* Add a new command `memory-report'Lars Ingebrigtsen2020-12-111-0/+299
| | | | | * doc/lispref/internals.texi (Garbage Collection): Document it. * lisp/emacs-lisp/memory-report.el: New package.
* Add a new function `button-buttonize'Lars Ingebrigtsen2020-12-111-0/+12
| | | | | | * doc/lispref/display.texi (Manipulating Buttons): Document it. * lisp/button.el (button-buttonize): Implement it.
* * lisp/battery.el (battery--upower-devices): Protect the D-Bus call.Michael Albinus2020-12-111-4/+6
| | | | (Bug#45163)
* Fix quoting in gnus-buffer-configurationBasil L. Contovounesios2020-12-111-2/+2
| | | | | | * lisp/gnus/gnus-win.el (gnus-buffer-configuration): Include shell-command-buffer-name value rather than symbol in pipe configuration. (Bug#39138, bug#45154)
* Be more graceful about handling Gnus search errorsEric Abrahamsen2020-12-101-13/+28
| | | | | | | | | | | One search may be applied to several servers: don't let one server's error derail the whole process. * lisp/gnus/gnus-search.el (gnus-search-config-error): Define new error. (gnus-search-run-search, gnus-search-server-to-engine): Raise this specific error as appropriate. (gnus-search-run-query): Catch this error and effectively demote it.
* Remove some ancient Emacs compat code from cperl-modeStefan Kangas2020-12-101-4/+0
| | | | | | This variable has this value by default since Emacs 19.34. * lisp/progmodes/cperl-mode.el (cperl-mode): Remove some compat code.
* Prefer setq-local in cperl-mode.elStefan Kangas2020-12-101-79/+78
| | | | | * lisp/progmodes/cperl-mode.el (cperl-mode, cperl-info-buffer) (cperl-setup-tmp-buf, cperl-emulate-lazy-lock): Prefer setq-local.
* Prefer setq-local in bibtex-style.elStefan Kangas2020-12-101-6/+6
| | | | | * lisp/textmodes/bibtex-style.el (bibtex-style-mode): Prefer setq-local.
* Allow creating a new tab from the minibuffer (bug#45072)Juri Linkov2020-12-101-0/+2
| | | | | * lisp/tab-bar.el (tab-bar-new-tab-to): Select the original window when selected window is the minibuffer.
* Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>Dmitry Gutov2020-12-101-6/+5
| | | | | | | * lisp/vc/vc-hg.el (vc-hg-working-revision): Use 'hg log -T' instead of 'hg parent' (bug#36534). Copyright-paperwork-exempt: yes
* Fix thinko in my previous commitStefan Kangas2020-12-091-2/+2
| | | | | | * lisp/pcomplete.el (pcomplete-comint-setup): Fix thinko in my previous commit. This was not a quoted symbol but a variable, and therefore cannot use setq-local.
* * lisp/progmodes/xref.el: Bump the version.Dmitry Gutov2020-12-091-1/+1
|
* ; Fix typo in my previous commitStefan Kangas2020-12-091-1/+1
| | | | * lisp/pcomplete.el (pcomplete-comint-setup): Fix typo.
* Allow specifying the project to switch to programmaticallyDmitry Gutov2020-12-091-5/+7
| | | | | | * lisp/progmodes/project.el (project-switch-project): Allow specifying the project to switch to programmatically (bug#45134).
* Add missing defcustom keywords to new variablesDmitry Gutov2020-12-091-2/+6
| | | | | * lisp/progmodes/xref.el (xref-search-program-alist) (xref-search-program): Add :version and :package-version.
* Remove isearch-input-method-local-p and always set buffer-local input-methodJuri Linkov2020-12-093-28/+15
| | | | | | | | | | | | | | | | | | * lisp/isearch.el (isearch-input-method-local-p): Remove defvar. (isearch-mode): Don't set isearch-input-method-local-p. Set buffer-local input-method-function to nil. (isearch-done): When isearch-input-method-function is still non-nil, set the buffer-local value of input-method-function. (Bug#45005) * lisp/international/isearch-x.el (isearch-toggle-specified-input-method) (isearch-toggle-input-method, isearch-transient-input-method): Don't set isearch-input-method-local-p to t. Set buffer-local input-method-function to nil. * lisp/language/korea-util.el (isearch-toggle-korean-input-method) (isearch-hangul-switch-symbol-ksc, isearch-hangul-switch-hanja): Don't set isearch-input-method-local-p to t. Set buffer-local input-method-function to nil.
* Support highlighting of ripgrep output (bug#44983)Juri Linkov2020-12-091-2/+2
| | | | | | | * etc/grep.txt: Add ripgrep samples. * lisp/progmodes/grep.el (grep-match-regexp): Highlight ripgrep matches too. (grep-regexp-alist): Remove $ to highlight ripgrep binary file matches.
* Stricter gradle-kotlin message patternMattias Engdegård2020-12-091-5/+14
| | | | | | | | | | * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Rule 'gradle-kotlin': don't be more forgiving than necessary; we know exactly what the output looks like (see https://github.com/JetBrains/kotlin/commit/\ ffe8ae3840d7b9bdc82170c8181031f05ced68bd) and there is no reason to risk mismatches or expensive backtracking (bug#18109). Recognise 'info' level messages. Convert to rx.
* Include the keymap in the gud-mode doc stringLars Ingebrigtsen2020-12-091-1/+5
| | | | | * lisp/progmodes/gud.el (gud-mode): Add the gud keymap to the end of the doc string for easier access (bug#31406).
* `pdb' doc string clarificationLars Ingebrigtsen2020-12-091-1/+1
| | | | | * lisp/progmodes/gud.el (pdb): Mention that this command is for debugging Python scripts.
* Merge from origin/emacs-27Glenn Morris2020-12-091-8/+8
|\ | | | | | | | | c0b3e38d7c Update publicsuffix.txt from upstream 3fe6cea6e0 * lisp/vc/vc.el: Update args of backend API calls in the h...
| * * lisp/vc/vc.el: Update args of backend API calls in the header commentsJuri Linkov2020-12-061-8/+8
| | | | | | | | https://lists.gnu.org/archive/html/emacs-devel/2020-12/msg00283.html
| * Backport Handle read-char-from-minibuffer and y-or-n-p from pre-command-hookJuri Linkov2020-12-061-19/+28
| | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (read-char-from-minibuffer-insert-char) (read-char-from-minibuffer-insert-other, y-or-n-p-insert-y) (y-or-n-p-insert-n, y-or-n-p-insert-other): Check for 'minibufferp' before executing the body. (read-char-from-minibuffer, y-or-n-p): Let-bind this-command before calling read-from-minibuffer. (Bug#45029) ; Do not merge to master.
* | Merge from origin/emacs-27Glenn Morris2020-12-092-0/+7
|\| | | | | | | | | | | | | | | | | | | 32090a3de4 Improve documentation of streams in batch mode 34feded008 Support ks_c_5601-1987 encoding da00a6f317 Fix Xaw widget text disappearing when built with cairo (bu... 6916e7954a Improve documentation of 'ps-print-color-p' 6663b2f211 ; * lisp/simple.el (move-beginning-of-line): Doc fix. a4dd03ebe9 ; * src/charset.c (Fmap_charset_chars): Doc fix. d86cc3ffcb ; * src/chartab.c, src/lisp.h: Fix typos in comments.
| * Support ks_c_5601-1987 encodingEli Zaretskii2020-12-061-0/+1
| | | | | | | | | | * lisp/language/korean.el (ks_c_5601-1987): Define as an alias for 'korean-iso-8bit. (It is sometimes used in email messages.)
| * ; * lisp/simple.el (move-beginning-of-line): Doc fix.Eli Zaretskii2020-12-051-0/+6
| |
| * ; Auto-commit of loaddefs files.Glenn Morris2020-12-011-2/+2
| |
* | Fix mark-defun in fortran-modeLars Ingebrigtsen2020-12-091-18/+24
| | | | | | | | | | * lisp/progmodes/fortran.el (fortran-beginning-of-subprogram): Make mark-defun work (bug#33208).
* | Fix info mode fontification of built-in (*note Built-ins::)Lars Ingebrigtsen2020-12-091-2/+2
| | | | | | | | | | * lisp/info.el (Info-fontify-node): Don't interpret things like "built-in" as being the word "in" (bug#34661).
* | Recognise ß properly as a lower-case letter (bug#11309)Mattias Engdegård2020-12-091-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ß was incorrectly treated as a caseless character and thus not matched by the regexp [[:lower:]] (or, in case-folding mode, [[:upper:]]). The reason is that the upcase table maps it to itself, which can be remedied by mapping it to ẞ (U+7838) instead. Doing so does not affect upcasing since the special-uppercase property maps it to SS. * lisp/international/characters.el (tbl): Map ß to ẞ in the upcase table. * test/src/regex-emacs-tests.el (regexp-eszett): Uncomment previously failing tests. Add checks to make sure that case transformations remain valid.
* | cl-defmethod doc string clarificationLars Ingebrigtsen2020-12-091-2/+12
| | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl-defmethod): Clarify the doc string, and give an example (bug#42322).
* | Make ediff offer to create files it's inferringLars Ingebrigtsen2020-12-091-0/+3
| | | | | | | | | | | | * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map): Offer to create the inferred file name (if it doesn't exist) (bug#8009). This allows applying a patch that creates a file.
* | Improve tests for gio file notificationsMichael Albinus2020-12-092-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .gitlab-ci.yml (test-filenotify-gio): Call "make -k". * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch): Set connection property "gio-file-monitor". * lisp/net/tramp-sh.el (tramp-get-remote-gio-file-monitor): New defun. (tramp-sh-handle-file-notify-add-watch): Use it. * test/lisp/filenotify-tests.el (file-notify--test-read-event): Simplify. (file-notify--test-monitor): Handle also remote "gio monitor". (file-notify-test03-events, file-notify-test04-autorevert) (file-notify-test05-file-validity, file-notify-test08-backup) (file-notify-test09-watched-file-in-watched-dir): Handle GKqueueFileMonitor.
* | Filter revoked keys when saving filesLars Ingebrigtsen2020-12-092-1/+9
| | | | | | | | | | | | | | * lisp/epa-file.el (epa-file-write-region): Use it to select a non-revoked key (bug#22359). * lisp/epg.el (epg--filter-revoked-keys): New function.
* | Prefer setq-local in most filesStefan Kangas2020-12-09