summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Rebuild for athena apt repositorydebian/29_git20220905.1_bpo11+1_athena1Sean Whitton2022-09-07
|
* Merge branch 'athena/unstable' into athena/bullseye-backportsSean Whitton2022-09-07
|\
| * Release rebuild to athena apt repositorydebian/29_git20220905.1Sean Whitton2022-09-07
| |
| * changelogSean Whitton2022-09-07
| |
| * Merge remote-tracking branch 'origin/master' into athena/unstableSean Whitton2022-09-07
| |\
| | * ; Document that a value of any other type means no highlightingSean Whitton2022-09-05
| | | | | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-log-edit-summary-target-len) (vc-git-log-edit-summary-max-len): Document that a value of any other type means no highlighting.
| | * Add new --timeout flag to emacsclientStefan Kangas2022-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib-src/emacsclient.c (DEFAULT_TIMEOUT): New constant. (timeout): New static variable. (longopts, shortopts, decode_options, print_help_and_exit): Add new flag --timeout. (set_socket_timeout, check_socket_timeout): New helper functions. (main): Display a status message or exit after Emacs has not responded for a while, depending on above new --timeout flag. (Bug#50849) * doc/emacs/misc.texi (emacsclient Options): * doc/man/emacsclient.1: Document the above new option. * etc/NEWS: Announce it.
| | * ; * lisp/help-fns.el (help-fns--key-bindings): Fix previous change.Gregory Heytings2022-09-06
| | |
| | * Disable failing cl-lib-symbol-macrolet-hide test for nowLars Ingebrigtsen2022-09-06
| | | | | | | | | | | | | | | * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-symbol-macrolet-hide): Disable until code is fixed.
| | * Simplify describe-function.Gregory Heytings2022-09-05
| | | | | | | | | | | | | | | | | | | | | * lisp/help-fns.el (describe-function-1): Do not pass 'describe-function-orig-buffer' as argument to... (help-fns--key-bindings): but use it directly there instead. This simplifies 1d1158397b.
| | * Fit the re-builder window to the bufferJuri Linkov2022-09-05
| | | | | | | | | | | | | | | * lisp/emacs-lisp/re-builder.el (re-builder): Fit the height to the buffer (bug#56772).
| | * Add new functions for splitting the root windowHugo Heagren2022-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (split-window-right): Add optional argument to control which window is split (previously, would only split selected window). Update docstring. * doc/lispref/windows.texi (Splitting Windows): Update docs for `split-window-right'. * lisp/window.el (split-window-below): Add optional argument to control which window is split (previously, would only split selected window). Update docstring. * doc/lispref/windows.texi (Splitting Windows): Update docs for `split-window-below'. * lisp/window.el (ctl-x-map): Bind `split-root-window-right' to 9 in ctl-x-map. This is consistent with binding other window-splitting operations to numbers in this map. * lisp/window.el (ctl-x-map): Bind `split-root-window-below' to 7 in ctl-x-map. This is consistent with binding other window-splitting operations to numbers in this map. * lisp/window.el (split-root-window-right): New function to split whole frame. * doc/lispref/windows.texi (Splitting Windows): Add documentation for `split-root-window-right'. * lisp/window.el (split-root-window-below): New function to split whole frame. * doc/lispref/windows.texi (Splitting Windows): Add documentation for `split-root-window-below' (bug#56791).
| | * Font lock long Git commit summary linesSean Whitton2022-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-log-edit-summary-target-len) (vc-git-log-edit-summary-max-len): New defcustoms. (vc-git-log-edit-summary-target-warning) (vc-git-log-edit-summary-max-warning): New faces. (vc-git--log-edit-summary-check): New function. (vc-git-log-edit-mode): Add vc-git--log-edit-summary-check to log-edit-font-lock-keywords to font lock long Git commit summary lines. * etc/NEWS (VC): Document the change. * .dir-locals.el: Set vc-git-log-edit-summary-target-len.
| | * Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2022-09-05
| | |\
| | | * Merge from origin/emacs-28Stefan Kangas2022-09-05
| | | |\ | | | | | | | | | | | | | | | | | | | | 5713c730f2 Update to Org 9.5.5 aad38d6010 * lisp/emacs-lisp/comp.el (comp-run-async-workers): Fail m...
| | | | * Update to Org 9.5.5Kyle Meyer2022-09-03
| | | | |
| | | | * * lisp/emacs-lisp/comp.el (comp-run-async-workers): Fail more gracefullyStefan Monnier2022-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise Emacs may fail to start if it can't find a writable `~/.emacs.d/eln-cache` directory. Fixes bug#57562. See also Debian's bug #1017739.
| | * | | ; * doc/emacs/mark.texi (Mark): Improve wording.Eli Zaretskii2022-09-05
| | |/ /
| | * | Fix crash while converting empty vector to X dataPo Lu2022-09-05
| | | | | | | | | | | | | | | | | | | | | | | | * src/xselect.c (lisp_data_to_selection_data): Assume an empty vector represents INTEGER data, instead of blindly trying to aref it's first element.
| | * | Let external Eshell processes send stdout and stderr to different placesJim Porter2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/eshell/esh-proc.el (eshell-put-process-properties): Pass INDEX. (eshell-gather-process-output): Create a pipe process for stderr when stderr goes somewhere different than stdout. (eshell-insertion-filter, eshell-sentinel): Consult ':eshell-handle-index' property. * test/lisp/eshell/esh-proc-tests.el (esh-proc-test/output/stdout-to-buffer) (esh-proc-test/output/stderr-to-buffer) (esh-proc-test/exit-status/with-stderr-pipe): New tests (bug#21605).
| | * | Put Eshell's bookkeeping data for external processes on the process objectJim Porter2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows tracking this information for process objects not recorded in 'eshell-process-list', which will be useful for pipe processes for stderr output. * lisp/eshell/esh-proc.el (eshell-process-list): Add docstring. (eshell-record-process-object): Only record the process object and whether it's a subjob. (eshell-remove-process-entry): Adapt to changes in 'eshell-record-process-object'. (eshell-record-process-properties): New function... (eshell-gather-process-output): ... call it. (eshell-insertion-filter, eshell-sentinel): Use new process properties, don't require process to be in 'eshell-process-list'. * test/lisp/eshell/esh-proc-tests.el (esh-proc-test--output-cmd): New variable. (esh-proc-test--detect-pty-cmd): Add docstring. (esh-proc-test/output/to-screen) (esh-proc-test/output/stdout-and-stderr-to-buffer) (esh-proc-test/exit-status/success, esh-proc-test/exit-status/failure) (esh-proc-test/kill-process/foreground-only): New tests. (esh-proc-test/kill-background-process): Rename to... (esh-proc-test/kill-process/background-prompt): ... this, and use 'eshell-wait-for-subprocess' instead of 'sit-for'.
| | * | Add support for more kinds of redirect operators in EshellJim Porter2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/eshell/esh-arg.el: Require cl-lib. (eshell-finish-arg): Allow passing multiple ARGUMENTS. (eshell-quote-argument): Handle the case when 'eshell-finish-arg' was passed multiple arguments. * lisp/eshell/esh-cmd.el (eshell-do-pipelines) (eshell-do-pipelines-synchronously): Only set stdout output handle. * lisp/eshell/esh-io.el (eshell-redirection-operators-alist): New constant. (eshell-io-initialize): Prefer sharp quotes for functions. (eshell-parse-redirection, eshell-strip-redirections): Add support for more redirection forms. (eshell-copy-output-handle, eshell-set-all-output-handles): New functions. * test/lisp/eshell/esh-io-tests.el (esh-io-test/redirect-all/overwrite, esh-io-test/redirect-all/append) (esh-io-test/redirect-all/insert, esh-io-test/redirect-copy) (esh-io-test/redirect-copy-first, esh-io-test/redirect-pipe): New tests. * doc/misc/eshell.texi (Redirection): Document new redirection syntax. (Pipelines): Document '|&' syntax. (Bugs and ideas): Update item about redirection syntax. * etc/NEWS: Announce this change.
| | * | Allow checking specific Eshell handles for interactive outputJim Porter2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the default behavior of the function to check only stdout for interactivity, but for most cases this should be what we want. * lisp/eshell/esh-io.el (eshell-interactive-output-p): Pass HANDLES and handle INDEX. * lisp/eshell/em-term.el (eshell-visual-command-p): Check for interactivity of both stdout and stderr.
| | * | Simplify Eshell handle functions and add tests/documentationJim Porter2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Explain how to use 'eshell-finish-arg'. * lisp/eshell/esh-io.el (eshell-create-handles): Only call 'eshell-get-target' for stderr if necessary. (eshell-protect-handles): Use 'dotimes'. (eshell-set-output-handle): Pass HANDLES and fix an edge case with setting a duplicate TARGET. * test/lisp/eshell/eshell-tests-helpers.el (eshell-with-temp-buffer): New macro. * test/lisp/eshell/esh-cmd-tests.el (esh-cmd-test/quoted-lisp-form) (esh-cmd-test/backquoted-lisp-form) (esh-cmd-test/backquoted-lisp-form/splice): New tests. * test/lisp/eshell/eshell-tests.el (eshell-test/redirect-buffer) (eshell-test/redirect-buffer-escaped): Move to... * test/lisp/eshell/esh-io-tests.el: ... here, and add other I/O tests. * doc/misc/eshell.texi (Arguments): Add documentation for special argument types. (Input/Output): Expand documentation for redirection and pipelines.
| | * | Add basic test coverage for overlay modification hooksMatt Armstrong2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/src/buffer-tests.el: (overlay-modification-hooks) new ert-deftest. (overlay-tests-start-recording-modification-hooks): New function. (overlay-tests-get-recorded-modification-hooks): New function (bug#57150).
| | * | Clarify that the region is in the Emacs manualLars Ingebrigtsen2022-09-04
| | | | | | | | | | | | | | | | | | | | * doc/emacs/mark.texi (Mark): Try to clarify what's so special about Emacs' regions (bug#50950).
| | * | Mark some filenotify tests unstable on EMBALars Ingebrigtsen2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/filenotify-tests.el (file-notify-test03-events) (file-notify-test09-watched-file-in-watched-dir): Mark as unstable on EMBA, because they seem to fail regularly.
| | * | ; * etc/NEWS: Move WebP entry to a proper place.Eli Zaretskii2022-09-04
| | | |
| | * | Fix comment in tramp.elMichael Albinus2022-09-04
| | | |
| | * | Don't replace the first character with an arrow in outline-minor-modeJuri Linkov2022-09-04
| | | | | | | | | | | | | | | | | | | | * lisp/outline.el (outline--make-button-overlay): Add the first character to the displayed outline button (bug#56820).
| | * | Use use-region-beginning/end in replacement commands (bug#45607)Juri Linkov2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/isearch.el (isearch-query-replace): Use use-region-beginning and use-region-end. * lisp/textmodes/paragraphs.el (repunctuate-sentences): * lisp/replace.el (query-replace, query-replace-regexp) (map-query-replace-regexp, replace-string, replace-regexp): Add 'interactive-args' to 'declare' and use use-region-beginning, use-region-end, use-region-noncontiguous-p. * lisp/simple.el (use-region-noncontiguous-p): New function. (region-noncontiguous-p): Return more meaningful value.
| | * | Add a basic widget type for buffer predicatesLars Ingebrigtsen2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/paren.el (show-paren-predicate): * lisp/outline.el (outline-minor-mode-use-buttons): Use it. * lisp/wid-edit.el (buffer-predicate): New widget type.
| | * | ; * doc/lispref/sequences.texi (Sequence Functions): Fix punctuation.Eli Zaretskii2022-09-04
| | | |
| | * | Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2022-09-04
| | |\ \
| | | * | Fix earlier change to xterm.cPo Lu2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xterm.c (x_detect_focus_change): Finally figure out what the call to x_new_focus_frame does with the core focus, and do the equivalent with the XInput 2 focus.
| | * | | ; * etc/NEWS: Fix a recently-added entry.Eli Zaretskii2022-09-04
| | |/ /
| | * | Fix rx forms in TrampMichael Albinus2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-restricted-shell-hosts-alist) (tramp-local-host-regexp, tramp-echoed-echo-mark-regexp) (tramp-login-prompt-regexp, tramp-terminal-prompt-regexp) (tramp-antispoof-regexp) (tramp-build-completion-file-name-regexp) (tramp-debug-outline-regexp) (tramp-use-absolute-autoload-file-names) (tramp-lock-file-info-regexp, tramp-shell-quote-argument): * lisp/net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls) * lisp/net/tramp-cache.el (tramp-flush-file-function): * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name): * lisp/net/tramp-integration.el (tramp-rfn-eshadow-update-overlay-regexp) (info-lookup-maybe-add-help): * lisp/net/tramp-sh.el (tramp-default-user-alist, tramp-sunos-unames) (tramp-scp-direct-remote-copying, tramp-get-remote-locale): * lisp/net/tramp-smb.el (tramp-smb-prompt, tramp-smb-wrong-passwd-regexp) (tramp-smb-errors, tramp-smb-get-localname) (tramp-smb-read-file-entry): Simplify rx forms. * lisp/net/tramp.el (tramp-handle-find-backup-file-name) (tramp-handle-lock-file, tramp-handle-make-auto-save-file-name): * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-times) (tramp-adb-maybe-open-connection): * lisp/net/tramp-gvfs.el (tramp-gvfs-file-attributes-with-gvfs-ls-regexp): * lisp/net/tramp-sh.el (tramp-open-shell, tramp-find-shell): Do not use `eval-when-compile'. * lisp/net/tramp-cmds.el (tramp-rename-files, tramp-rename-these-files): Use rx. * lisp/net/tramp-gvfs.el (tramp-gvfs-password-tcrypt): New defonst. (tramp-gvfs-handle-file-attributes): Use `number-to-string'. * test/lisp/net/tramp-archive-tests.el (tramp-archive-test17-insert-directory): * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory) (tramp--test-share-p): Simplify rx forms.
| | * | Add new function `seq-positions'Damien Cassou2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/sequences.texi (Sequence Functions): Document it. * lisp/emacs-lisp/seq.el (seq-positions): New function. * lisp/emacs-lisp/shortdoc.el (sequence): Mention it. * test/lisp/emacs-lisp/seq-tests.el (test-seq-positions): Test it (bug#57548).
| | * | Add Python import management commandsAugusto Stoffel2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/python.el (python-interpreter): New variable (python-mode-map): Keybindings and menu entries for new commands (python--list-imports, python-import-history, python--query-import) (python--do-isort): New variables and helper functions. (python-add-import, python-import-symbol-at-point) (python-remove-import, python-sort-imports, python-fix-imports): New interactive commands (bug#57574).
| | * | Python shells dedicated to a projectAugusto Stoffel2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/python.el: Require 'seq' and (optionally) 'compat' and 'project' libraries. (python-shell-dedicated): New user option (python-shell-get-process-name): Adapt to project-dedicated shells. (run-python): Offer possibility to create a project-dedicated shell, or use 'python-shell-dedicated' as the default behavior. (python-shell-get-buffer): Adapt to project-dedicated shells (bug#56997).
| | * | Add new function `seq-remove-at-position'Damien Cassou2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/sequences.texi (Sequence Functions): Document it. * lisp/emacs-lisp/seq.el (seq-remove-at-position): New function. * lisp/emacs-lisp/shortdoc.el (sequence): Mention it. * test/lisp/emacs-lisp/seq-tests.el (test-seq-remove-at-position): Test it.
| | * | Improve documentation of several functions in seq.elDamien Cassou2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/sequences.texi (Sequence Functions): * lisp/emacs-lisp/seq.el (seq-contains): (seq-contains-p): (seq-set-equal-p): (seq-position): (seq-union): (seq-intersection): (seq-difference): Use more standard wording in the docstrings (bug#57561).
| | * | Rename the Mice node in the Emacs manualLars Ingebrigtsen2022-09-04
| | | | | | | | | | | | | | | | | | | | * doc/emacs/commands.texi (User Input, Keys): Rename "Mice" to Mouse Input.
| | * | Fix some help-fns test failuresLars Ingebrigtsen2022-09-04
| | | | | | | | | | | | | | | | | | | | * lisp/help-fns.el (help-fns--key-bindings): Fix test failures from recent change.
| | * | ; * lisp/disp-table.el (standard-display-by-replacement-char): Doc fix.Eli Zaretskii2022-09-04
| | | |
| | * | New command to facilitate text-mode display of unsupported charsEli Zaretskii2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/disp-table.el (standard-display-by-replacement-char): New command. * etc/NEWS: Announce it.
| | * | Fix update of Dired display when it was called on a cons cellEli Zaretskii2022-09-04
| | | | | | | | | | | | | | | | | | | | * lisp/dired.el (dired-internal-do-deletions): Make sure that FN's directory entry is updated on display. (Bug#57565)
| | * | * lisp/term/linux.el (gpm-mouse-enable): Remove left-over declarationStefan Monnier2022-09-03
| | | |
| | * | gv.el and cl-macs.el: Fix bug#57397Stefan Monnier2022-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/gv.el (gv-get): Obey symbol macros. * lisp/emacs-lisp/cl-macs.el (cl--letf): Remove workaround placed to try and handle symbol macros. * test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-test--symbol-macrolet): Add new testcase.
| | * | Look up keybindings in correct buffer in describe-function.Gregory Heytings2022-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/help-fns.el (help-fns--key-bindings): New parameter. Use it when looking up keybindings. (describe-function-1): Add the buffer in which the command was invoked as argument to 'help-fns--key-bindings'. Fixes bug#57568.