summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Rebuild for athena's apt repositorydebian/28_git20201101.1Sean Whitton2020-11-28
|
* changelogSean Whitton2020-11-01
|
* Merge remote-tracking branch 'origin/master' into athena/unstableSean Whitton2020-11-01
|\
| * Don't auto-insert "@c file ends here" in .texi filesStefan Kangas2020-11-01
| | | | | | | | | | * lisp/autoinsert.el (auto-insert-alist): Don't insert "@c file ends here" at the end of new .texi files.
| * Don't bind standard-output in substitute-command-keysStefan Kangas2020-11-01
| | | | | | | | | | | | | | | | | | | | | | | | This fixes a regression with regards to the old C version of substitute-command-keys. * lisp/help.el (substitute-command-keys): Don't bind standard-output. See Bug#39149. * test/lisp/help-tests.el (help-tests--was-in-buffer): New variable. (help-substitute-command-keys/menu-filter-in-correct-buffer): New test.
| * * lisp/emacs-lisp/easy-mmode.el (easy-mmode--arg-docstring): Doc typo.Glenn Morris2020-11-01
| |
| * Add missing side-effect-free and error-free propertiesMattias Engdegård2020-11-01
| | | | | | | | | | | | | | | | | | | | | | | | Any function that is pure is also side-effect-free and some are also error-free. Right now these have to be declared separately. * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add bool-vector-count-consecutive, bool-vector-count-population, bool-vector-subsetp, copysign, isnan, lax-plist-get, ldexp, memql, regexp-opt and string-to-syntax. (side-effect-and-error-free-fns): Add type-of. * lisp/subr.el (kbd, string-replace): Declare side-effect-free.
| * * lisp/emacs-lisp/byte-opt.el (pure-fns): Fix typos.Mattias Engdegård2020-11-01
| |
| * Insert describe-map-tree header into original bufferStefan Kangas2020-11-01
| | | | | | | | | | | | | | | | | | * lisp/help.el (describe-map-tree): Insert header into the original buffer, not in standard-output. * test/src/keymap-tests.el (describe-buffer-bindings/header-in-current-buffer) (describe-buffer-bindings/returns-nil): New tests. Ref: https://debbugs.gnu.org/39149#31
| * ; * doc/emacs/custom.texi (Keymaps): Fix typo.Basil L. Contovounesios2020-11-01
| |
| * ; Auto-commit of loaddefs files.Glenn Morris2020-11-01
| |
| * Make minor mode ARG work as documentedLars Ingebrigtsen2020-11-01
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/easy-mmode.el (easy-mmode--arg-docstring): Clarify when minor modes are switched on/off when called from lisp (bug#44341). (define-minor-mode): Make calls from Lisp switch the mode on/off as documented.
| * Fix saving a face setting with CustomizeMauro Aranda2020-11-01
| | | | | | | | | | | | * lisp/cus-edit.el (custom-face-save): Make sure we back up into the :shown-value property what the user has edited so far, if we are going to recreate the custom-face widget. (Bug#44331)
| * Recover the contents of the schemas.xml fileYasuhiro KIMURA2020-11-01
| | | | | | | | | | | | | | * etc/schema/schemas.xml: Recover the file, which was apparently (mostly) removed by mistake by commit 165f738382 (bug#42851). Copyright-paperwork-exempt: yes
| * Doc string clarification for cl-someLars Ingebrigtsen2020-11-01
| | | | | | | | | | * lisp/emacs-lisp/cl-extra.el (cl-some): Clarify the return value (bug#44330).
| * custom-theme-set-variables more resilient against removed librariesLars Ingebrigtsen2020-11-01
| | | | | | | | | | * lisp/custom.el (custom-theme-set-variables): Don't bug out on settings that require a library that has been removed (bug#38843).
| * Mention non-ASCII C-c LETTER bindings in the lispref manualLars Ingebrigtsen2020-11-01
| | | | | | | | | | * doc/lispref/tips.texi (Key Binding Conventions): Mention non-ASCII C-c LETTER (bug#15917).
| * Mention the C-c LETTER keybinding conventionLars Ingebrigtsen2020-11-01
| | | | | | | | | | * doc/emacs/custom.texi (Keymaps): Reintroduce the text about C-c LETTER (bug#15917), and clarify.
| * Trash remote files to local trash (Bug#44216)Michael Albinus2020-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Add trashing. * lisp/net/tramp-adb.el (tramp-adb-handle-delete-directory) (tramp-adb-handle-delete-file): * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory) (tramp-gvfs-handle-delete-file): * lisp/net/tramp-sh.el (tramp-sh-handle-delete-directory) (tramp-sh-handle-delete-file): * lisp/net/tramp-smb.el (tramp-smb-handle-delete-directory) (tramp-smb-handle-delete-file): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-delete-directory) (tramp-sudoedit-handle-delete-file): Implement local trash. (Bug#44216) * lisp/net/tramp-crypt.el (tramp-crypt-handle-delete-directory) (tramp-crypt-handle-delete-file): Do not trash. * lisp/net/tramp.el (tramp-skeleton-delete-directory): New defmacro. * test/lisp/net/tramp-tests.el (tramp-test07-file-exists-p) (tramp-test14-delete-directory): Add trashing.
| * * etc/NEWS: Add trashing of remote files. Fix typos.Michael Albinus2020-11-01
| |
| * Fix error message in feedmailLars Ingebrigtsen2020-11-01
| | | | | | | | | | * lisp/mail/feedmail.el (feedmail-buffer-to-smtpmail): Remove superfluous %s in insert string
| * Fix a segfault in the new svg codeLars Ingebrigtsen2020-11-01
| | | | | | | | | | * src/image.c (svg_load_image): Don't pass in a NULL for the logical rect, because that will sometimes segfault.
| * New variable integer-output-format to print integers as characters (bug#44155)Juri Linkov2020-10-31
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/streams.texi (Output Variables): Add integer-output-format. * src/print.c (print_object): In case of Lisp_Int, print integers as characters when Vinteger_output_format is Qt, and in hex format when Vinteger_output_format is 16. (Vinteger_output_format): New variable. * test/src/print-tests.el (print-integer-output-format): New test.
| * Give the scroll-bar face a non-trivial specMauro Aranda2020-10-31
| | | | | | | | | | | | * lisp/faces.el (scroll-bar): Give it a non-trivial spec, so when resetting it to its face-defface-spec, we effectively reset it. (Bug#13476)
| * Improve goto-line in regard to narrowed buffers (bug#44294)Juri Linkov2020-10-31
| | | | | | | | | | | | | | | | | | * lisp/simple.el (goto-line): Rewrite to first find the position of the line where to go, then later don't widen the buffer when the found position is still inside narrowed part of buffer. * lisp/isearch.el (isearch-message-prefix): Warn about narrowed buffer in case of no more matches found.
| * Reimplement commit 46b3db5579e57b9daf16667914205adc99d3f104 (bug#44294)Juri Linkov2020-10-31
| | | | | | | | | | | | | | | | * lisp/progmodes/etags.el (etags-goto-tag-location): Revert change from commit 46b3db5579e57b9daf16667914205adc99d3f104. (xref-location-marker): Use the same change as was made in elisp-mode.el in commit 46b3db5579e57b9daf16667914205adc99d3f104 to widen before going to the found position.
| * * test/README: Document TEST_BACKTRACE_LINE_LENGTH.Stefan Kangas2020-10-31
| |
| * ; * etc/NEWS: Tweak the wording for the newly added entryAmin Bandali2020-10-31
| |
| * ; * etc/NEWS: Add entry for my last changeAmin Bandali2020-10-31
| |
| * Replace irc.freenode.net with chat.freenode.netAmin Bandali2020-10-31
| | | | | | | | | | | | chat.freenode.net has been the preferred address for connecting to the freenode IRC network for years now. Replace the occurrences of irc.freenode.net with chat.freenode.net.
| * Fix eshell glob modifiersMattias Engdegård2020-10-31
| | | | | | | | | | | | | | | | | | Modified globbing such as *.txt(W) for all world-writable files ending in .txt apparently never worked correctly. * lisp/eshell/em-pred.el (eshell-predicate-alist): Use correct elisp syntax for octal constants. (eshell-pred-file-mode): Return a boolean, not a number.
| * wdired: fix error handling of set-file-modesAndreas Schwab2020-10-31
| | | | | | | | | | | | | | * lisp/wdired.el (wdired-perms-to-number): Return decimal number. (wdired-do-perm-changes): Handle error from set-file-modes. (wdired-finish-edit): Remove `rename' from error message. (Bug#44343)
| * * etc/HELLO: Enlarge tab-width to account for "tofu".Eli Zaretskii2020-10-31
| |
| * 'assoc' is not side-effect-free; constprop its pure subsetMattias Engdegård2020-10-31
| | | | | | | | | | | | | | | | | | | | | | Since a supplied test function can do anything, assoc is not side-effect-free (bug#44018). However, with only two arguments it is pure and should be optimised accordingly. * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Remove 'assoc'. (byte-optimize-assoc): Constant-propagate through 2-arg assoc calls. * test/lisp/emacs-lisp/bytecomp-tests.el (byte-opt-testsuite-arith-data): Add test cases.
| * Improve support for displaying Javanese scriptEli Zaretskii2020-10-31
| | | | | | | | | | | | | | | | | | * lisp/international/fontset.el (setup-default-fontset) (script-representative-chars): Add Javanese entries. * etc/HELLO: Fix the Javanese text. See https://omniglot.com/language/phrases/javanese.php for the source.
| * * src/xdisp.c (syms_of_xdisp) <"scroll-minibuffer-conservatively">: New varStefan Monnier2020-10-31
| | | | | | | | | | | | | | | | | | | | | | | | Fix bug#44070, which causes the minibuffer display to jump upon minor edit (redisplay_window): Obey it. * lisp/simple.el (end-of-buffer): Obey it. * test/src/xdisp-tests.el (xdisp-tests--in-minibuffer): New macro, extracted from `xdisp-tests--minibuffer-resizing`. (xdisp-tests--minibuffer-resizing): Use it. (xdisp-tests--minibuffer-scroll): New test.
| * Trim and explain set of safe forms for 'unsafep' (bug#44018)Mattias Engdegård2020-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/unsafep.el: Add comment explaining the policy for which forms can be considered 'safe' in the sense of unsafep. Remove ones that didn't make the cut: play-sound-file (large attack surface) catch, throw (alter program flow, inject data) replace-regexp-in-string (execute arbitary code) error, signal (deceptive messages) * test/lisp/emacs-lisp/unsafep-tests.el (unsafep-tests--unsafe): Add test cases. * etc/NEWS: Announce the change.
| * Parse GDB/MI results directly instead of going via JSON (bug#44173)Mattias Engdegård2020-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Translating GDB/MI into JSON is an unnecessary and fragile detour that made it hard to deal with octal escapes in strings correctly. Parse GDB/MI directly instead. * lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): Adjust doc string. (gdb-mi-decode, gud-gdbmi-marker-filter): Remove gdb-mi-decode. (gdb-jsonify-buffer): Remove. (gdb-mi--parse-tuple-or-list, gdb-mi--parse-c-string) (gdb-mi--parse-value, gdb-mi--parse-result-or-value) (gdb-mi--parse-results, gdb-mi--fix-key, gdb-mi--extend-fullname) (gdb-mi--c-string-from-string): New functions. (gdb-json-read-buffer, gdb-json-string, gdb-json-partial-output): Rename to gdb-mi--read-buffer, gdb-mi--from-string and gdb-mi--partial-output respectively. Remove useless FIX-LIST argument. FIX-KEY is now a symbol, not a string. All callers updated. (gdb-tooltip-print, gdbmi-bnf-log-stream-output, gdb-internals) (gdb-console, gdb-done-or-error, gdb-get-source-file-list) (gdb-get-prompt, gdb-get-source-file): Use gdb-mi--c-string-from-string instead of 'read'. * test/lisp/progmodes/gdb-mi-tests.el: New file.
| * * etc/HELLO: Add Egyptian Hieroglyphs.Eli Zaretskii2020-10-31
| |
| * Support prettified display of fractional numbersEli Zaretskii2020-10-31
| | | | | | | | | | | | * lisp/composite.el (composition-function-table): Define an entry for U+2044 FRACTION SLASH, for prettier display of fractional numbers.
| * Check also for "DragonFly" remote systems in TrampMichael Albinus2020-10-31
| | | | | | | | | | * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell): Check also for "DragonFly".
| * Speed up ls-lispEli Zaretskii2020-10-31
| | | | | | | | | | | | | | | | This speeds up Dired by 25% in large directories. * lisp/ls-lisp.el (ls-lisp--time-locale): New defvar. (ls-lisp-format-time): calculate the locale for formatting times only once and cache the value in 'ls-lisp--time-locale'. (Bug#44273)
| * * doc/lispref/commands.texi (Key Sequence Input): Fix indexing.Eli Zaretskii2020-10-31
| |
| * Updating docs with all special window prefix keys.Jared Finder2020-10-31
| | | | | | | | | | * doc/lispref/commands.texi (Key Sequence Input): Add documentation for missing special window areas. Explicitly call out window or frame.
| * Fix unit tests broken by changes to xt-mouse.elJared Finder2020-10-31
| | | | | | | | | | * test/lisp/xt-mouse-tests.el (xt-mouse-tracking-basic) (xt-mouse-tracking-utf-8): Update expected escape sequence.
| * Revert "Temporarily mark two failing tests"Eli Zaretskii2020-10-31
| | | | | | | | | | This reverts commit a8426f46726d94cdf21c0e6b3c85c0afe0064784. A proper fix for the test is about to be installed shortly.
| * Make hideshow.el work with Mhtml modeThien-Thi Nguyen2020-10-30
| | | | | | | | | | | | | | | | | | Suggested by Ian Williams <norbekian9@gmail.com>. * lisp/textmodes/mhtml-mode.el: Require ‘pcase’ when compiling. (mhtml-forward): New func. * lisp/progmodes/hideshow.el (hs-special-modes-alist): Add entry for ‘mhtml-mode’.
| * Shoosh byte-compilation warning in lisp/emacs-lisp/eldoc.elJoão Távora2020-10-30
| | | | | | | | | | | | | | | | | | | | Per bug#43609, elisp-eldoc-documentation-function is again in master, but since it's now officially obsoleted, this backward compatibility shim in eldoc--eval-expression-setup shouldn't unnecessarily trigger warnings in master's code. * lisp/emacs-lisp/eldoc.el (eldoc--eval-expression-setup): Shoosh by-compilation warning.
| * Don't make ElDoc doc buffer visible in buffer list by defaultJoão Távora2020-10-30
| | | | | | | | | | | | | | | | | | | | Fixes: bug#44334 * lisp/emacs-lisp/eldoc.el (eldoc-doc-buffer): No longer take INTERACTIVE arg. Show buffer if invisible. (eldoc--format-doc-buffer): Don't change buffer visibility. (eldoc-display-in-buffer): Show buffer if invisible if by calling eldoc-doc-buffer.
| * Bring back elisp-eldoc-documentation-function, marked obsoleteJoão Távora2020-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: bug#43609 It's not useful for ElDoc's eldoc-mode mechanism in Elisp, and nothing in Emacs uses it, but it wasn't strictly marked internal, so it's best to bring it back. * lisp/progmodes/elisp-mode.el (elisp--documentation-one-liner): New helper. (elisp-eldoc-documentation-function): New function, with obsoletion warning.