summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Move lisp/shorthands.el to lisp/emacs-lisp/shorthands.elLars Ingebrigtsen2021-10-291-0/+0
|
* Some Tramp changes, mainly in tramp-tests.elMichael Albinus2021-10-292-1/+8
| | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (External packages): Don't use Tramp internals. * lisp/net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted): Protect `tramp-make-tramp-file-name' call. * lisp/net/tramp.el (tramp-make-tramp-file-name): Set advertised calling conventions. * test/lisp/net/tramp-tests.el (tramp-test18-file-attributes): Adapt test. (tramp--test-supports-processes-p): New defun. (tramp-test28-process-file, tramp-test29-start-file-process) (tramp-test30-make-process, tramp-test32-shell-command) (tramp-test32-shell-command-dont-erase-buffer) (tramp-test34-explicit-shell-file-name, tramp-test35-exec-path) (tramp-test44-asynchronous-requests): Use it.
* ; Improve commentary in the last changeEli Zaretskii2021-10-291-7/+12
| | | | | * lisp/language/misc-lang.el: Minor copyedits of the commentary regarding Egyptian hieroglyph support.
* Make hieroglyphs display correctly with existing fontsGregory Heytings2021-10-291-1/+14
| | | | | | | * etc/HELLO: Remove hieroglyph format control characters. * lisp/language/misc-lang.el: Add a rule to compose Egyptian hieroglyphs even without Unicode format control characters.
* Make `C-u RET' work againLars Ingebrigtsen2021-10-281-1/+1
| | | | | * lisp/simple.el (newline): Fix regression introduced by d1aacceae9 (bug#51459).
* Fix typos in the manual and in a commentJan Synacek2021-10-281-6/+7
| | | | | | | | * lisp/minibuffer.el (completion-pcm--hilit-commonality): * doc/lispintro/emacs-lisp-intro.texi (Mode Line): Fix typos (bug#51434). Copyright-paperwork-exempt: yes
* image-dired: Unreverse accidentally reversed menusStefan Kangas2021-10-281-38/+38
| | | | | | | | * lisp/image-dired.el (image-dired-thumbnail-mode-map) (image-dired-display-image-mode-map, image-dired-minor-mode-map): In Emacs 26.1 (commits b905454680c7 and bed0373855ea), the menus were converted to use 'easy-menu-define', but they were reversed in the process. Unreverse the menus. (Bug#51446)
* * lisp/textmodes/text-mode.el (text-mode-context-menu): Rename recently added.Juri Linkov2021-10-271-2/+2
|
* Fix help commands for menu-bar menusEli Zaretskii2021-10-271-1/+7
| | | | | * lisp/help.el (help--analyze-key): Fix "C-h c" and "C-h k" on menu-bar menu items. (Bug#51421)
* ; Checkdoc fixes in image-dired.elStefan Kangas2021-10-271-48/+49
|
* Improve function documentation with text from XDG BDS specStefan Kangas2021-10-261-6/+60
| | | | | | | * lisp/xdg.el (xdg-config-home, xdg-cache-home, xdg-data-home) (xdg-runtime-dir, xdg-config-dirs, xdg-data-dirs): Copy in the text from the XDG Base Directory Specification to better explain what these functions return.
* * lisp/transient.el: Update to package version 0.3.7.Jonas Bernoulli2021-10-251-145/+195
|
* ; Revert parts of "Use string-replace instead of replace-regexp-in-string"Jonas Bernoulli2021-10-251-6/+6
| | | | | "transient.el" is also distributed as a separate package, which supports Emacs versions as old as 25.1 (see "Package-Requires").
* ; Revert parts of "Use string-search instead of string-match[-p]"Jonas Bernoulli2021-10-251-1/+1
| | | | | "transient.el" is also distributed as a separate package, which supports Emacs versions as old as 25.1 (see "Package-Requires").
* Fix issue with interpreting ANSI codes in eshellMiha Rihtaršič2021-10-251-4/+3
| | | | | | * lisp/eshell/esh-mode.el (eshell-mode): Make window point advance on insertion. (eshell-output-filter): Don't use insert-before-markers (bug#45380).
* Clarify two image-dired docstringsStefan Kangas2021-10-251-2/+11
| | | | | | | | * lisp/image-dired.el (image-dired-dir): Doc fix; clarify that thumbnails will be saved in "$XDG_CACHE_HOME/thumbnails", as per the Thumbnail Managing Standard. (image-dired-thumb-size): Doc fix; clarify that this option will be ignored when using the Thumbnail Managing Standard.
* * lisp/tab-bar.el (tab-bar-move-repeat-map): Fix alias binding of tab-move.Juri Linkov2021-10-241-1/+2
| | | | (tab-bar-move-tab-backward): Put 'repeat-map' symbol property.
* Use restrictive umask when creating image-dired dataStefan Kangas2021-10-241-3/+7
| | | | | | | | * lisp/image-dired.el (image-dired-dir) (image-dired-sane-db-file): Create thumbnail directory and .image-dired_db with umask 077. This avoids creating world readable copies of private data, and is in fact mandated by the Thumbnail Managing Standard that we aim to support.
* ; lisp/transient.el: Revert some misguided stylistic fixes.Jonas Bernoulli2021-10-241-9/+10
| | | | | | These aren't actual modes. Set checkdoc-symbol-words to avoid false-positives. The first line of doc-strings of methods do not need to end with period.
* * lisp/image-dired.el (image-dired-external-viewer): Support feh.Stefan Kangas2021-10-241-2/+3
|
* Update to Org 9.5-59-g52e6f1Kyle Meyer2021-10-232-2/+2
|
* Revert commit 225ca617b7, and apply another fixMichael Albinus2021-10-232-6/+9
| | | | | | | | * lisp/minibuffer.el (read-file-name-default): Revert commit 225ca617b7. (Bug#50976). * lisp/shell.el (shell): Remove volume letter for remote shell file name. (Bug#49229)
* Fix rfc6068-parse-mailto-url autoloadItai Y. Efrat2021-10-221-1/+1
| | | | | * lisp/net/browse-url.el (rfc6068-parse-mailto-url): Fix autoload cookie (bug#51333).
* Regexp-quote github domains in bug-referenceLars Ingebrigtsen2021-10-221-1/+2
| | | | | | * lisp/progmodes/bug-reference.el (bug-reference--build-forge-setup-entry): Regexp-quote the domain (bug#51316).
* Ensure valid end/beginning lines in message-mark-inserted-regionLars Ingebrigtsen2021-10-221-0/+2
| | | | | * lisp/gnus/message.el (message-mark-inserted-region): Ensure there's a newline before inserting the end line (bug#51324).
* ; * lisp/repeat.el (repeat-mode): Fix docstring typo.Robert Pluim2021-10-221-1/+1
|
* * lisp/repeat.el (repeat-keep-prefix): Expand description.Robert Pluim2021-10-221-1/+1
|
* * lisp/net/eww.el (eww-retrieve-command): Add :tag.Robert Pluim2021-10-221-4/+4
|
* Fix 'calculate-lisp-indent' when "[" starts containing sexp (Bug#51312)Martin Rudalics2021-10-221-4/+5
| | | | | | * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent): Handle arbitrary paren syntax after skipping whitespace backwards within containing sexp (Bug#51312).
* ; * lisp/simple.el (kill-region): A better fix for bug#51320.Eli Zaretskii2021-10-211-3/+6
|
* Fix non-interactive behavior of 'kill-region'Eli Zaretskii2021-10-211-2/+3
| | | | | * lisp/simple.el (kill-region): Actually ignore BEG and END when REGION is non-nil. Doc fix. (Bug#51320)
* ; More accurate doc string for 'tab-bar-format'Eli Zaretskii2021-10-211-2/+7
| | | | | * lisp/tab-bar.el (tab-bar-format): Make the doc string more accurate. (Bug#51247)
* * lisp/menu-bar.el (menu-bar-keymap): Add optional arg KEYMAP (bug#50067).Juri Linkov2021-10-212-4/+7
| | | | | * lisp/mouse.el (context-menu-global): Use 'menu-bar-keymap' with its arg KEYMAP set to 'global-map'.
* * lisp/help.el (help--analyze-key): Add new arg BUFFER (bug#51173).Juri Linkov2021-10-202-20/+25
| | | | | | | | | | | * lisp/help.el (describe-key): Use BUFFER as arg for help--analyze-key. (describe-key-briefly): Change arg UNTRANSLATED deprecated in 27.1 to BUFFER. * lisp/gnus/gnus-art.el (gnus-article-describe-key) (gnus-article-describe-key-briefly): Call describe-key and describe-key-briefly with first arg as a cons with raw keys, and the BUFFER arg set to the current buffer.
* Improve docstrings and NEWS item of 'repeat-mode'Juri Linkov2021-10-201-5/+5
| | | | | * lisp/repeat.el (repeat-exit-timeout, repeat-echo-function) (repeat-in-progress, repeat-map): Update docstrings.
* * lisp/tab-bar.el (tab-bar-menu-bar): New command (bug#51247).Juri Linkov2021-10-201-17/+18
| | | | | | (tab-bar-format): Rename option 'tab-bar-format-menu-global' to 'tab-bar-format-menu-bar'. (tab-bar-format-menu-bar): Rename from 'tab-bar-format-menu-global'.
* Revert "Revert back to using ESC as viper-ESC-key again"Lars Ingebrigtsen2021-10-201-1/+1
| | | | | | This reverts commit 5d522b430bd5ecfb8f082906cd634883dbb68f3e. The change led to M-x not working in non-gui Emacsen (bug#51253).
* Don't use color escape sequences in vc-git-expanded-log-entryJan Synacek2021-10-191-1/+1
| | | | | | | * lisp/vc/vc-git.el (vc-git-expanded-log-entry): Use '--no-color' flag in git invocation. (Bug#51262) Copyright-paperwork-exempt: yes
* Handle VS-16 correctly for non-emoji codepointsRobert Pluim2021-10-191-1/+8
| | | | | | | | | | | | | | | | | * admin/unidata/blocks.awk: Remove emoji overrides for codepoints with Emoji_Presentation = No, they're no longer necessary. * lisp/composite.el: Remove #xFE0F (VS-16) from the range handled by `compose-gstring-for-variation-glyph' so it can be handled by `font_range'. * src/composite.c (syms_of_composite): New variable `auto-composition-emoji-eligible-codepoints'. * admin/unidata/emoji-zwj.awk: Generate value for `auto-composition-emoji-eligible-codepoints'. Add `composition-function-table' entries for 'codepoint + U+FE0F' for them. * src/font.c (codepoint_is_emoji_eligible): New function to check if we should try to use the emoji font for a codepoint. (font_range): Use it.
* Adjust bug-reference-bug-regexp default values to match only at beg of wordTassilo Horn2021-10-191-4/+4
| | | | | | | | | Previously, the "bug 1" in "(debug 1)" has also been highlighted. * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp) (bug-reference--setup-from-vc-alist,bug-reference-setup-from-mail-alist) (bug-reference-setup-from-irc-alist): Adjust bug-reference-bug-regexp default values to match only at the beginning of a word.
* Fix some Tramp problemsMichael Albinus2021-10-185-77/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist): Use `tramp-adb-handle-file-executable-p' and `tramp-adb-handle-file-readable-p'. (tramp-adb-handle-file-executable-p) (tramp-adb-handle-file-readable-p): New defuns. (tramp-adb-handle-file-writable-p): Simplify. (tramp-adb-handle-make-process): Handle :filter being t. (tramp-adb-find-test-command): Remove. * lisp/net/tramp-sh.el (tramp-sh-handle-file-readable-p): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-readable-p): * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Use `tramp-handle-file-readable-p'. (tramp-gvfs-handle-file-executable-p): Do not check whether file exists, this is done in `tramp-check-cached-permissions'. (tramp-gvfs-handle-file-readable-p): Remove. * lisp/net/tramp.el (tramp-error): Move binding of `inhibit-message' ... (tramp-signal-hook-function): ... here. (tramp-handle-access-file): Rewrite. (tramp-handle-file-readable-p): New defun. (tramp-handle-make-process): Setting :filter to t works since Emacs 29.1 only. * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory) (tramp-test18-file-attributes): Extend tests.
* * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): check type-startAlan Mackenzie2021-10-181-0/+1
| | | | Check type-start is non-nil at L659 of the function.
* Rename tab-bar-drag-maybe to tab-bar--dragging-in-progressJuri Linkov2021-10-181-4/+4
| | | | | | | | | * lisp/tab-bar.el (tab-bar--event-to-item, tab-bar-mouse-down-1) (tab-bar-mouse-move-tab): Rename tab-bar-drag-maybe to tab-bar--dragging-in-progress. * src/xdisp.c (note_mouse_highlight): Rename tab_bar_drag_maybe to tab_bar__dragging_in_progress.
* Fix xref elisp identifier namespace mistakeMattias Engdegård2021-10-181-3/+3
| | | | | | | | | | | | Pressing `M-.` on ALPHA in (let ((ALPHA BETA)) ...) would incorrectly search for ALPHA as a function rather than a variable. * lisp/progmodes/elisp-mode.el (elisp--xref-infer-namespace): Fix logic. * test/lisp/progmodes/elisp-mode-tests.el (elisp-mode-infer-namespace): Add test case.
* Minor fixes for recent changes in ELisp manualEli Zaretskii2021-10-181-10/+14
| | | | | | | | * doc/lispref/windows.texi (Basic Windows, Windows and Frames) (Selecting Windows): * doc/lispref/objects.texi (Window Type): * doc/lispref/frames.texi (Input Focus, Frame Layout): Fix wording, punctuation, and indexing.
* * lisp/tab-bar.el: Improve docstrings (bug#51247)Juri Linkov2021-10-171-14/+17
| | | | | | | * lisp/tab-bar.el (tab-bar--key-to-number) (tab-bar--event-to-item, tab-bar--format-tab-group) (tab-bar--current-tab-make): Improve docstrings. (switch-to-buffer-other-tab): Obsolete the arg NORECORD.
* * lisp/tab-bar.el (tab-bar-mouse-move-tab): Don't drag tab to itself.Juri Linkov2021-10-171-2/+3
|
* Add tab-bar-drag-maybe for indication of tab dragging (bug#50993)Martin Rudalics2021-10-171-0/+5
| | | | | | | | | | * lisp/tab-bar.el (tab-bar--event-to-item) (tab-bar-mouse-move-tab): Set tab-bar-drag-maybe to nil. (tab-bar-mouse-down-1): Set tab-bar-drag-maybe to t. * src/xdisp.c (note_mouse_highlight): Set cursor to 'hand_cursor' when tab_bar_drag_maybe is true. (syms_of_xdisp): New variable tab-bar-drag-maybe.
* * lisp/tab-bar.el: Add a new tab on [mouse-1] instead of [down-mouse-1]Juri Linkov2021-10-171-14/+16
| | | | | | | | | | * lisp/tab-bar.el (tab-bar-mouse-down-1): Rename from tab-bar-mouse-select-tab. Ignore 'add-tab'. (tab-bar-mouse-1): Rename from tab-bar-mouse-close-tab-from-button. Use binding of 'add-tab'. (tab-bar-map): Rebind [down-mouse-1] from tab-bar-mouse-select-tab to tab-bar-mouse-down-1, and [mouse-1] from tab-bar-mouse-close-tab-from-button to tab-bar-mouse-1 (bug#51246).
* Add new and fix existing docstrings in tab-bar.el and tab-line.el (bug#51247)Juri Linkov2021-10-172-14/+34
| | | | | | | * lisp/tab-bar.el (tab-bar--key-to-number) (tab-bar--event-to-item, tab-bar--format-tab) (tab-bar--format-tab-group, tab-bar--tab, tab-bar--current-tab) (tab-bar--current-tab-make): Add/fix docstrings.