summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* In batch mode, avoid killing Emacs with C-g in the minibufferMiha Rihtaršič2021-09-011-18/+19
| | | | | * src/keyboard.c (Fcommand_error_default_function): Don't kill emacs when handling the minibuffer-quit condition (bug#48603).
* Use "gzip -d" instead of "gunzip"Marco Centurion2021-09-011-2/+2
| | | | | | | | * lisp/dired-aux.el (dired-compress-file-suffixes): Use "gzip -d" instead of "gunzip" since we already assume that "gzip" exists on the system (bug#10990). Copyright-paperwork-exempt: yes
* Avoid failing if vc backend doesn't implement ignore-completion-tablePhilip Kaludercic2021-08-311-1/+3
| | | | * project.el (project-ignores): Handle vc-not-supported signals
* ; Add comment to tramp-read-passwd for debuggingMichael Albinus2021-08-311-0/+3
|
* Rename xref--mouse-2 and adjust documentationLars Ingebrigtsen2021-08-312-4/+12
| | | | | | | | | * doc/emacs/maintaining.texi (Xref Commands): `mouse-1' is bound to `xref-goto-xref', not `mouse-2' (bug#35376). (Xref Commands): Mention what `mouse-2' does. * lisp/progmodes/xref.el (xref--button-map): Adjust. (xref-select-and-goto-xref): Rename from xref--mouse-2 (bug#35376).
* Fix point placement after ispell-complete-wordLars Ingebrigtsen2021-08-311-12/+5
| | | | | | * lisp/textmodes/ispell.el (ispell-complete-word): Leave point at the end of the inserted word instead of a less than useful amount of distance from the start of the word (bug#37552).
* call-process doc string clarificationLars Ingebrigtsen2021-08-311-0/+2
| | | | | * src/callproc.c (Fcall_process): Explicitly say that "output" means both stdout and stderr (bug#37906).
* Make calc plotting through gnuplot work on non-X gnuplotsLars Ingebrigtsen2021-08-311-7/+14
| | | | | | * lisp/calc/calc-graph.el (calc-graph-plot): Fall back on "dumb" if we don't support the terminal (bug#50237). (calc-gnuplot-command): Say whether the command errored out.
* Fix abnf parsing of <prose> elementsLars Ingebrigtsen2021-08-311-1/+2
| | | | | * lisp/progmodes/ebnf-abn.el (ebnf-abn-lex): Make <prose> parsing work (bug#39663).
* Make run-at-time try harder to run at integral multiplesLars Ingebrigtsen2021-08-313-35/+59
| | | | | | | | | | | * lisp/emacs-lisp/timer.el (timer): Add new slot integral-multiple. (timerp): Adjust. (timer-event-handler): Recompute the delay if requested (bug#39099). (run-at-time): Mark the timer as recomputable if given a t parameter. * src/keyboard.c (decode_timer): Adjust.
* Move the expansion of abbreviated names to vc-git.elDmitry Gutov2021-08-312-6/+10
| | | | | | | | | * lisp/vc/vc-git.el (vc-git--literal-pathspec): Perform the expansion of abbreviated file names here instead (bug#39452). * lisp/vc/vc.el (vc-root-diff, vc-print-root-log): Undo the recent change.
* ; cperl-mode.el: Fix border cases of inserting with elispHarald Jörg2021-08-302-8/+87
| | | | | | | | | | | | | * lisp/progmodes/cperl-mode.el (cperl-unwind-to-safe): Replace (and extend) inline comment by a docstring. Handle edge cases when inserting text with elisp (related to Bug#28962). (cperl-process-here-doc): Add syntax-type `here-doc-start'. (cperl-find-pods-heres): Make sure that the results of this function are immediately visible. * test/lisp/progmodes/cperl-mode-tests.el (cperl-test-bug-14343): Add test cases for "empty" here-documents and inserting at the edges of a here-document.
* Implement proper type conversion in native compilerAndreas Schwab2021-08-301-108/+102
| | | | | | | | | | | | * src/comp.c (enum cast_kind_of_type): Remove. (comp_t): Add cast_ptr_to_int, cast_int_to_ptr, remove cast_type_sizes, cast_type_kind, cast_type_names, cast_union_fields, cast_union_field_biggest_type. (emit_coerce): Remove check for type size. (struct cast_type): Remove bytes_size. (define_type_punning): New function. (define_cast_from_to): Implement proper type conversion. (define_cast_functions): Adjust. (bug#50230)
* (cperl-test-bug-14343): Make it work for perl-modeStefan Monnier2021-08-301-7/+7
| | | | | | | * test/lisp/progmodes/cperl-mode-tests.el (cperl--tests-heredoc-face): New const. (cperl-test-heredocs, cperl-test-bug-14343): Use it. (cperl-test-identify-no-heredoc): Remove left-over message.
* * test/lisp/progmodes/cperl-mode-tests.el: Adjust here-doc tests for perl-modeStefan Monnier2021-08-301-31/+26
| | | | | (cperl-test-identify-heredoc, cperl-test-identify-no-heredoc): Tweak tests so they can also be used for perl-mode.
* * etc/NEWS: Fix typoStefan Monnier2021-08-301-1/+1
|
* Improve documentation of 'ispell-hunspell-add-multi-dic'Eli Zaretskii2021-08-301-1/+5
| | | | | * lisp/textmodes/ispell.el (ispell-hunspell-add-multi-dic): Explain in the doc string how to call from Lisp. (Bug#50241)
* Minor improvement in 'get-locale-names' on MS-WindowsEli Zaretskii2021-08-301-1/+1
| | | | | | * lisp/international/mule-cmds.el (get-locale-names): Delete duplicate locales from the list returned by the MS-Windows implementation.
* Fix typo in kill-buffer-delete-auto-save-files NEWS entryLars Ingebrigtsen2021-08-301-1/+1
|
* Make some non-ASCII work in ebnf2psLars Ingebrigtsen2021-08-301-2/+8
| | | | | * lisp/progmodes/ebnf2ps.el (ebnf-print-buffer): Make non-ASCII work slightly better (bug#39663).
* Fix typo in previous custom.texi changeLars Ingebrigtsen2021-08-301-3/+3
| | | | | * doc/emacs/custom.texi (Init Syntax): Fix typo in previous change -- it's customize-set-variable.
* Make epg use rfc6068 for decoding %-encoded stringsLars Ingebrigtsen2021-08-302-16/+26
| | | | | | | | | * lisp/epg.el (epg--decode-percent-escape-as-utf-8): Make obsolete and adjust callers. (epg--decode-hexstring): Ditto. * lisp/mail/rfc6068.el (rfc6068-unhexify-string): Allow returning non-decoded octets (bug#39689).
* Make rfc2368 obsolete and add rfc6068Lars Ingebrigtsen2021-08-306-2/+138
| | | | | | * lisp/obsolete/rfc2368.el: Moved here and made obsolete. * lisp/mail/rfc6068.el (rfc6068-unhexify-string): New file.
* Only look for the port command on MacOSLars Ingebrigtsen2021-08-301-1/+3
| | | | * configure.ac: Only look for the port command on MacOS (bug#50259).
* Move vc-branch-p and vc-branch-part from vc.el to vc-rcs.el and renameLars Ingebrigtsen2021-08-293-38/+34
| | | | | | | * lisp/vc/vc-rcs.el (vc-rcs-branch-p): Renamed from `vc-branch-p' (old name made into obsolete alias) and moved from vc.el. (vc-rcs-branch-part): Renamed from `vc-branch-part' (old name made into obsolete alias) and moved from vc.el.
* Fix vc test for RCSLars Ingebrigtsen2021-08-291-1/+4
| | | | * test/lisp/vc/vc-tests.el (vc-test--rename-file): Fix test for RCS.
* Mention `set-variable' in the Init Syntax Emacs manual nodeLars Ingebrigtsen2021-08-291-8/+21
| | | | | | * doc/emacs/custom.texi (Init Syntax): Mention set-variable (bug#50248). (Init Examples): Add an example.
* Change --with-nativecomp to --with-native-compilation in messagesClément Pit-Claudel2021-08-293-7/+7
| | | | | | | * configure.ac: * test/infra/Dockerfile.emba: * test/infra/gitlab-ci.yml: Fix mentions of --with-nativecomp (bug#50255).
* Add support for OSC 7 in comint (current directory tracking)Augusto Stoffel2021-08-292-10/+32
| | | | | | | * lisp/comint.el (comint-osc-directory-tracker, comint-osc-handlers): Define and register a handler for OSC 7. (comint-osc-process-output): Do fewer checks on 'comint-last-output-start'.
* Tweak sh-script-mode indentation furtherKévin Le Gouguec2021-08-292-2/+13
| | | | | * lisp/progmodes/sh-script.el (sh-smie--default-backward-token): Allow more parentheses in a token (bug#44592).
* Improve compatibility with musl-libc (Bug#48789)Philipp Stephani2021-08-291-3/+6
| | | | | * lib-src/seccomp-filter.c (export_filter): Remove use of nonstandard macro TEMP_FAILURE_RETRY.
* ; * src/xfaces.c (gui_supports_face_attributes_p): Fix typo in comment.Eli Zaretskii2021-08-291-2/+2
|
* C++ Mode: handle compound identifiers preceding brace lists correctlyAlan Mackenzie2021-08-291-3/+6
| | | | | | | | * lisp/progmodes/cc-engine.el (c-looking-at-or-maybe-in-bracelist): early in function, check alternatively for c-back-over-compound-identifier when doing c-backward-token-2. * bracelist-36.{cc,res}: New test files.
* Fix libexec installation on NS (bug#50250)Alan Third2021-08-291-0/+1
| | | | * lib-src/Makefile.in (ns_applibexecdir): New variable.
* Better document obsolescence of 'values'Eli Zaretskii2021-08-292-4/+12
| | | | | * doc/lispref/eval.texi (Eval): Mention that 'values' is obsolete. * etc/NEWS: Add a rationale for obsoleting 'values'.
* ; Copy contents of oldXMenu/copyright.h into oldXMenu/*.[ch] filesEli Zaretskii2021-08-2930-30/+570
|
* Disable the NS app when no frames are left (bug#14619, bug#21357, bug#23586)Alan Third2021-08-292-0/+11
| | | | | * src/nsfns.m (Fx_create_frame): Enable the app. * src/nsterm.m (ns_delete_terminal): Disable the app.
* ; Remove copypasta accidentDmitry Gutov2021-08-291-2/+0
|
* Add tests for vc-rename-fileDmitry Gutov2021-08-291-2/+65
| | | | | * test/lisp/vc/vc-tests.el (vc-test--rename-file): New function. (vc-test-%s05-rename-file): New family of tests (bug#39452).
* * etc/NEWS: Document the recent xterm.el change for `\e[29~`Stefan Monnier2021-08-281-0/+6
|
* * lisp/progmodes/flymake.el: Bind mouse-3 to flymake-menu on mode-line.Juri Linkov2021-08-271-0/+2
| | | | | * lisp/progmodes/flymake.el (flymake--mode-line-title): Bind [mode-line down-mouse-3] to flymake-menu (bug#50067)
* Revert part of 3572613550f5d1d0b3392dbc809b32f3989e2981 (bug#39452)Juri Linkov2021-08-271-1/+1
| | | | * lisp/vc/vc-git.el (vc-git-rename-file): Don't use vc-git--literal-pathspecs.
* Fix shell-script-mode indentation of continuation linesDario Gjorgjevski2021-08-272-1/+41
| | | | | * lisp/progmodes/sh-script.el (sh-smie--default-backward-token): Fix indentation of continuation lines (bug#44592).
* Fix completion of extended "..." syntax in eshellMichalis V2021-08-271-2/+7
| | | | | * lisp/eshell/em-cmpl.el (eshell-complete-parse-arguments): Expand "..." (bug#19626).
* Don't overly truncate tabulated-list headersLars Ingebrigtsen2021-08-271-23/+35
| | | | | | | | | * lisp/emacs-lisp/tabulated-list.el (tabulated-list-init-header): Don't overly truncate headers that are before a right-aligned column (bug#44594). (tabulated-list--available-space): Separated out into own function... (tabulated-list-print-col): ... from here.
* Fix `M-X TAB' completion for commands marked for multiple modesLars Ingebrigtsen2021-08-271-8/+2
| | | | | | * lisp/simple.el (command-completion-using-modes-p): Fix completion over commands that are defined for multiple modes (bug#50228).
* Put advice documentation at the end of the displayed doc stringLars Ingebrigtsen2021-08-271-2/+6
| | | | | | | | * lisp/emacs-lisp/nadvice.el (advice--make-docstring): Put the advice things at the end of the documentation (bug#50222). It's important to have the first line of the original documentation remain the first line, because it's used when doing one-line summaries of the function.
* Make `eshell-command' also work when asynchronousThierry Volpiatto2021-08-271-11/+17
| | | | | | * lisp/eshell/esh-cmd.el (eshell-eval-command): Make asynchronous `eshell-command' work (e.g. `M-x eshell-command RET sleep 10 &') (bug#50209).
* lisp/newcomment.el: Uncommenting with whitespace `comment-continue'Christophe Troestler2021-08-272-1/+41
| | | | | | | * lisp/newcomment.el (uncomment-region-default-1): Make all-whitespace `comment-continue' work (bug#50226). Copyright-paperwork-exempt: yes
* * Forward `comp-file-preloaded-p' to async workersAndrea Corallo2021-08-271-1/+2
| | | | | * lisp/emacs-lisp/comp.el (comp-run-async-workers): Forward `comp-file-preloaded-p' to async workers.