summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Improve handling of INFILE in tramp*-process-file (Bug#53284)Michael Albinus2022-01-174-16/+43
| | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-handle-process-file): * lisp/net/tramp-sh.el (tramp-sh-handle-process-file): * lisp/net/tramp-smb.el (tramp-smb-handle-process-file): * lisp/net/tramp-sshfs.el (tramp-sshfs-handle-process-file): Improve handling of INFILE. Fix thinko using `process-file-side-effects'. (Bug#53284) * lisp/net/tramp-sshfs.el (tramp-sshfs-file-name-handler-alist): Use `tramp-sshfs-handle-set-file-times'. (tramp-sshfs-handle-set-file-times): New defun. * test/lisp/net/tramp-tests.el (tramp-test28-process-file): Extend test.
* Add undelete-frame-max instead of undelete-frame-mode (bug#51883)Juri Linkov2022-01-162-47/+40
| | | | | | | | | | | | | | | | | | | | * doc/emacs/frames.texi (Frame Commands): Replace undelete-frame-mode with undelete-frame-max. * lisp/frame.el (undelete-frame-max): New defcustom, by default 1. (undelete-frame--handle-delete-frame): Use undelete-frame-max instead of hard-coded 16. (undelete-frame-mode): Remove function. (after-init-hook): Add hook undelete-frame--handle-delete-frame to delete-frame-functions using after-init-hook to not store the initial frame. (undelete-frame): Remove undelete-frame-mode. Use undelete-frame-max instead of hard-coded 16. * lisp/menu-bar.el (menu-bar-file-menu): Remove menu item undelete-frame-mode. * src/frame.c (Fdelete_frame): Replace `undelete-frame-mode' with `undelete-frame-max' in the docstring.
* Extend Outline mode with default visibility stateMatthias Meulien2022-01-161-2/+176
| | | | | | | | | | | * etc/NEWS: Announce support for default visibility state (bug#51809). * lisp/outline.el (outline-mode, outline-minor-mode): Ensure default visibility state is applied with outline-apply-default-state. (outline-default-state, outline-default-rules) (outline-default-long-line, outline-default-line-count): New defcustoms. (outline-apply-default-state, outline-show-only-headings) (outline--show-headings-up-to-level): New functions.
* Merge from origin/emacs-28Stefan Kangas2022-01-166-28/+32
|\ | | | | | | | | e488601849 Update to Org 9.5.2-9-g7ba24c 95640360f0 * lisp/net/dictionary.el (dictionary-context-menu): Use pa...
| * Update to Org 9.5.2-9-g7ba24cKyle Meyer2022-01-155-27/+31
| |
| * * lisp/net/dictionary.el (dictionary-context-menu): Use package prefix.Juri Linkov2022-01-151-1/+1
| |
* | Merge from origin/emacs-28Stefan Kangas2022-01-161-4/+5
|\| | | | | | | 7f36aca99d * lisp/indent.el (tab-first-completion): Fix incorrect cho...
| * * lisp/indent.el (tab-first-completion): Fix incorrect choices.Philipp Stephani2022-01-151-4/+5
| |
* | * lisp/mouse.el (context-menu-map): Select clicked window (bug#53249).Juri Linkov2022-01-151-0/+2
| |
* | More fixes for recently committed context-menu additions from bug#52973Juri Linkov2022-01-153-14/+18
| | | | | | | | | | | | | | | | | | | | | | * lisp/hi-lock.el (highlight-symbol-at-mouse): New defalias. (hi-lock-face-symbol-at-mouse): Rename from hi-lock-symbol-at-mouse. (hi-lock-context-menu): Use thing-at-mouse and middle-separator. * lisp/man.el (Man-context-menu): Fix Man-at-mouse and use middle-separator. * lisp/mouse.el (context-menu-functions): Remove context-menu-online-search. Add occur-context-menu and dictionary-context-menu (bug#50552).
* | * pcvs-info.el (cvs-mode-toggle-mark): TypoStefan Monnier2022-01-151-1/+1
| |
* | Don't strip properties in show-paren-functionLars Ingebrigtsen2022-01-151-3/+1
| | | | | | | | | | | | * lisp/paren.el (show-paren-function): Don't strip text properties (bug#51606) because that makes the offscreen context less informative.
* | Add emoji-alternate-names variableLars Ingebrigtsen2022-01-151-24/+51
| | | | | | | | | | | | | | * lisp/international/emoji.el (emoji-alternate-names): New variable (bug#52860). (emoji-search): Note usage. (emoji--choose-emoji): Use it.
* | mailcap: Docfix & handle function-viewer case in mailcap-view-fileTassilo Horn2022-01-151-30/+42
| | | | | | | | | | | | | | | | * lisp/net/mailcap.el (mailcap-mime-data): Fix docstring: if viewer is a symbol/function, it should have zero args and expect the file's contents to be in the current buffer. (mailcap-view-file): Implement the case where the chosen viewer is a function and not a shell command.
* | Prevent pre-edit overlay text from being displayed after a commandPo Lu2022-01-151-1/+17
| | | | | | | | | | | | | | | | | | This works around buggy input methods causing the overlay to be displayed alongside newly inserted text for a brief period. * lisp/term/x-win.el (x-clear-preedit-text): New function. (x-preedit-text): Add said function to pre-command-hook. It will remove itself when triggered.
* | Don't bug out on improper lists in pp-emacs-lisp-codeLars Ingebrigtsen2022-01-151-1/+4
| | | | | | | | | | * lisp/emacs-lisp/pp.el (pp--format-list): Don't bug out on improper lists (bug#52917).
* | Use "server complete" instead of "complete" in gud-gdb-completionsTom Tromey2022-01-151-1/+2
| | | | | | | | | | | | | | * lisp/progmodes/gud.el (gud-gdb-completions): gud-gdb sends a "complete" command to gdb to implement command line completion. It would be better to send "server complete". This is what Emacs does for other behind-the-scenes commands it sends (bug#52922).
* | (gnus-summary-hide-thread): Fix thread hiding for dummy roots.Alex Bochannek2022-01-151-2/+5
| | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-hide-thread): Make thread hiding work when using dummy `gnus-summary-make-false-root' (bug#52923).
* | Improve the with-output-to-temp-buffer doc stringLars Ingebrigtsen2022-01-151-5/+7
| | | | | | | | | | * lisp/subr.el (with-output-to-temp-buffer): Clarify the point of the macro (bug#53265).
* | Revert "Add command to invoke a search engine"Lars Ingebrigtsen2022-01-151-30/+0
| | | | | | | | | | | | This reverts commit 3f36d0836274a01d3cfc73f53ddbc76afc1d8a5e. Similar functionality has been added to webjump, so this commit duplicated that.
* | Merge from origin/emacs-28Stefan Kangas2022-01-152-7/+8
|\| | | | | | | | | | | 5990148860 * lisp/simple.el (undo-no-redo): Fix customization group ac2cdb8a46 * lisp/progmodes/xref.el (xref-file-name-display): Fix doc... c05864dd25 Avoid another segfault in 'face_at_buffer_position'
| * * lisp/simple.el (undo-no-redo): Fix customization groupPhilipp Stephani2022-01-141-1/+2
| |
| * * lisp/progmodes/xref.el (xref-file-name-display): Fix docstring.Philipp Stephani2022-01-141-6/+6
| |
* | pcvs-info.el: Prefer `declare-function` over `autoload`Stefan Monnier2022-01-141-1/+1
| | | | | | | | | | * lisp/vc/pcvs-info.el (cvs-mode-toggle-mark): Use `declare-function` to silence the byte-compiler warning.
* | * lisp/indent.el (indent-for-tab-command): Use 'eq' for symbols.Philipp Stephani2022-01-141-6/+6
| |
* | indent-for-tab-command: Deal with large point or modiff values.Philipp Stephani2022-01-141-2/+2
| | | | | | | | | | * lisp/indent.el (indent-for-tab-command): Don't use 'eq' to compare integers that aren't guaranteed to be fixnums.
* | Simplify code for 'indent-for-tab-command' slightly.Philipp Stephani2022-01-141-5/+5
| | | | | | | | | | * lisp/indent.el (indent-for-tab-command): Don't use a one-element list for SYN.
* | (macroexp--expand-all): Fix bug#53227 and bug#46636Stefan Monnier2022-01-141-2/+6
| | | | | | | | | | * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Don't mis-expand invalid funcalls.
* | image-dired: Use MD5 for thumb filename generationStefan Kangas2022-01-141-3/+1
| | | | | | | | | | * lisp/image-dired.el (image-dired-thumb-name): Revert back to MD5 for file name generation to preserve backwards-compatibility. (Bug#53229)
* | Regenerate ldefs-boot.elLars Ingebrigtsen2022-01-141-55/+148
| |
* | Make function-alias-p use a better error symbolLars Ingebrigtsen2022-01-141-1/+1
| | | | | | | | | | * lisp/subr.el (function-alias-p): Use the same error symbol as `indirect-function'.
* | Don't have ffap interpret ":/bin" as the current directoryLars Ingebrigtsen2022-01-141-4/+7
| | | | | | | | | | * lisp/ffap.el (ffap-file-at-point): Don't interpret :/bin as the current directory (bug#52441).
* | Add a `shortdoc' convenience aliasLars Ingebrigtsen2022-01-141-0/+3
| | | | | | | | | | * lisp/emacs-lisp/shortdoc.el (shortdoc): Add a convenience alias (bug#52968).
* | Add new context menu functions to the context-menu-functions typeLars Ingebrigtsen2022-01-143-0/+5
| | | | | | | | | | * lisp/mouse.el (context-menu-functions): Add new menu functions to the defcustom type list (bug#52973).
* | Add command to invoke a search enginePhilip Kaludercic2022-01-141-0/+30
| | | | | | | | | | | | * mouse.el (context-menu-online-search): Add new function (eww-search-prefix): Declare variable from eww.el (mouse-online-search-at-point): Add new command
* | Implement context-menu-mode support for hi-lockPhilip Kaludercic2022-01-141-0/+19
| | | | | | | | | | * hi-lock.el (hi-lock-symbol-at-mouse): Add new command (hi-lock-context-menu): Add new function
* | Implement context-menu-mode support for man pagesPhilip Kaludercic2022-01-141-0/+23
| | | | | | | | | | * man.el (Man-at-mouse): Add new command (Man-context-menu): Add new function
* | Fix mailcap setup when no mailcap files existLars Ingebrigtsen2022-01-141-3/+4
| | | | | | | | | | | | * lisp/net/mailcap.el (mailcap-parse-mailcaps): Ensure that we populate mailcap--computed-mime-data even if none of the files exist (bug#53009).
* | (battery-status-function) Fix errors in TermuxLucien Cartier-Tilet2022-01-141-0/+2
| | | | | | | | | | | | | | | | | | * lisp/battery.el (battery-status-function): In Termux, neither /sys/ or /proc/ are readable on phones that are not rooted. This patch makes Emacs verify if they are readable before it attemps reading them (bug#53026). Copyright-paperwork-exempt: yes
* | Improve some nntp/nnimap error messagesRobert Pluim2022-01-142-5/+5
| | | | | | | | | | | | | | | | | | * lisp/gnus/nntp.el (nntp-send-string): (nntp-wait-for): (nntp-accept-process-output): (nntp-possibly-change-group): * lisp/gnus/nnimap.el (nnimap-retrieve-headers): Improve error messages (bug#53070).
* | * lisp/progmodes/xref.el (xref-query-replace-in-results): Fix prefix-arg.Juri Linkov2022-01-141-2/+2
| | | | | | | | Use current-prefix-arg.
* | Fix python-eldoc affecting unrelated comint processesMiha Rihtaršič2022-01-141-5/+7
| | | | | | | | | | | | | | * lisp/progmodes/python.el (python-shell-send-string-no-output): Don't let-bind comint-preoutput-filter-functions globally for all comint processes. Modify the behaviour of only the current python process (bug#53219).
* | Fix byte-compilation warning in pcvs-infoLars Ingebrigtsen2022-01-141-0/+2
| | | | | | | | | | * lisp/vc/pcvs-info.el (cvs-mode-toggle-mark): Fix byte-compilation warning.
* | Merge from origin/emacs-28Stefan Kangas2022-01-141-1/+1
|\| | | | | | | | | 34ca4ff9a5 Fix Edebug specification for inline functions (Bug#53068). 3c06c37a8b Remove mention of removed `gnus-treat-play-sounds' variabl...
| * Fix Edebug specification for inline functions (Bug#53068).Philipp Stephani2022-01-131-1/+1
| | | | | | | | | | | | | | * lisp/emacs-lisp/inline.el (inline-quote): Fix Edebug specification. * test/lisp/emacs-lisp/edebug-tests.el (edebug-tests-inline): New unit test.
* | xref-find-references-and-replace: New commandDmitry Gutov2022-01-141-0/+16
| | | | | | | | | | * lisp/progmodes/xref.el (xref-find-references-and-replace): New command.
* | Steamline xref-query-replace-in-resultsDmitry Gutov2022-01-141-4/+13
| | | | | | | | | | | | * lisp/progmodes/xref.el (xref-query-replace-in-results): Steamline the most common scenario (https://lists.gnu.org/archive/html/emacs-devel/2022-01/msg00864.html).
* | Prefer defvar-keymap to easy-mmode-defmapStefan Kangas2022-01-133-8/+12
| | | | | | | | | | | | | | | | * lisp/progmodes/gud.el (gud-minibuffer-local-map): * lisp/vc/pcvs-info.el (cvs-status-map): Use defvar-keymap. * lisp/emacs-lisp/easy-mmode.el (easy-mmode-defmap): Document as deprecated.
* | ; tweak docSam Steingold2022-01-131-1/+1
| |
* | Improve documentation of 'isearch-emoji-by-name'Eli Zaretskii2022-01-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | * lisp/isearch.el (isearch-menu-bar-map, isearch-emoji-by-name): Fix wording of documentation. * etc/NEWS: Fix wording of the 'isearch-emoji-by-name' entry. * doc/emacs/search.texi (Special Isearch): Fix wording of the documentation of 'isearch-emoji-by-name'; move it out of the enumeration that deals with non-ASCII characters in general.