aboutsummaryrefslogtreecommitdiffstats
path: root/lisp (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove the Date header from message-draft-headersEric Abrahamsen2020-03-202-3/+7
| | | | | | | | | | * lisp/gnus/message.el (message-draft-headers): The Date header should reflect when the message is sent, not when it was saved or delayed.
* | Don't have exif bugging out on short stringsLars Ingebrigtsen2020-03-191-2/+19
| | | | | | | | | | | | | | * lisp/image/exif.el (exif--direct-ascii-value): New function (bug#40127). (exif--parse-directory): Use it to get the correct values for in-directory (i.e., shorter than 4 octets) strings.
* | Merge from origin/emacs-27Glenn Morris2020-03-186-24/+62
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | e92b8e535a (origin/emacs-27) Remove raw carriage return characters fr... 5747a59a88 Recalculate default font when switching font backend a2dd8c4234 * lisp/tab-line.el: Fix tab-line-format and tab-line-forma... a7b8291b6c * etc/NEWS: Make the `--eval` example slightly more precise f8254aad14 * lisp/image/image-converter.el: Support more ImageMagick ... 5beb269505 Support Unicode 13.0 3a671ad7ed Fix regression in wisent-total-conflicts # Conflicts: # etc/NEWS
| * * lisp/tab-line.el: Fix tab-line-format and tab-line-format-template.Juri Linkov2020-03-171-4/+5
| | | | | | | | | | | | | | * lisp/tab-line.el (tab-line-format): Use buffer-name in the cache key instead of just buffer object to invalidate the cache on buffer renaming. (tab-line-format-template): Always leave the separator after the last tab like tab-bar.el already does.
| * * lisp/image/image-converter.el: Support more ImageMagick versions (bug#39994)Juri Linkov2020-03-151-2/+3
| | | | | | | | | | | | * lisp/image/image-converter.el (image-converter--probe): Match a possible additional second column in some ImageMagick versions of "convert -list format".
| * Support Unicode 13.0Eli Zaretskii2020-03-143-14/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/unidata/BidiBrackets.txt: * admin/unidata/BidiMirroring.txt: * admin/unidata/Blocks.txt: * admin/unidata/NormalizationTest.txt: * admin/unidata/SpecialCasing.txt: * admin/unidata/UnicodeData.txt: * admin/unidata/copyright.html: * test/manual/BidiCharacterTest.txt: Updated files imported from Unicode v13.0. * admin/unidata/blocks.awk: Add "Symbols for Legacy Computing" to known aliases. * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Add new scripts. * lisp/international/characters.el: Set syntax for Symbols for Legacy Computing characters. Update setting of char-width-table. * lisp/international/mule-cmds.el (ucs-names): Update ranges of characters for which we want names in 'ucs-names'. * test/lisp/international/ucs-normalize-tests.el (ucs-normalize-tests--failing-lines-part1) (ucs-normalize-tests--failing-lines-part2): Update according to 'ucs-normalize-check-failing-lines'.
| * Fix regression in wisent-total-conflictsLars Ingebrigtsen2020-03-141-4/+9
| | | | | | | | | | | | * lisp/cedet/semantic/wisent/comp.el (wisent-total-conflicts): There may not be a current source file. In that case, don't try to keep track of the number of expected conflicts (bug#39911).
| * * lisp/progmodes/cc-defs.el (c-version): update to 5.34.1 for Emacs 27.1Alan Mackenzie2020-03-141-1/+1
| | | | | | | | Don't merge to master.
* | Merge from origin/emacs-27Glenn Morris2020-03-182-5/+18
|\ \ | |/ | | | | | | | | 3a8a231810 * lisp/textmodes/fill.el (fill-nobreak-predicate): Fix doc... cbe643104d Improve Package Menu hiding docstrings 8d28c98ae0 Fix display of Big5 characters when using Fontconfig
| * * lisp/textmodes/fill.el (fill-nobreak-predicate): Fix documentation.Philipp Stephani2020-03-141-1/+2
| |
| * Improve Package Menu hiding docstringsStefan Kangas2020-03-141-4/+16
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-menu-toggle-hiding): Add reference to 'package-menu-hidden-regexps'. * lisp/emacs-lisp/package.el (package-menu-hide-package): Improve docstring to say that hiding is saved in a user option. Fix a typo. (Bug#39436)
* | * lisp/vc/smerge-mode.el (smerge-start-session): Don't re-enableStefan Monnier2020-03-181-7/+8
| | | | | | | | Don't do anything if smerge-mode is already enabled.
* | Add store/restore window configuration feature for gdb-miYuan Fu2020-03-152-39/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a feature that allows a user to save a gdb window configuration (window layout) to a file with 'gdb-save-window-configuration' and load it back with 'gdb-load-window-configuration'. Set a default window configuration by setting 'gdb-default-window-configuration-file'. Add an option to make gdb preserve the window configuration that the user had before starting gdb. In window.el, add 'with-window-non-dedicated'. * lisp/progmodes/gdb-mi.el (top/level): Require 'pcase' and 'cl-seq'. (gdb--window-configuration-before): New variable. (gdb-restore-window-configuration-after-quit): New option. (gdb-window-configuration-directory, gdb-default-window-configuration-file): New variables. (gdb): Save configuration on startup. (gud-menu-map): Add "Load Layout" and "Save Layout" to menu. Add "Restore Layout After Quit" button to menu. Rename "Restore Window Layout" to "Restore Default Layout", add some help echo, and move it from "GDB-MI" menu to "GDB-WINDOWs" menu. (gdb-toggle-restore-window-configuration): New function. (gdb-get-source-buffer): New function, extracted out of 'gdb-restore-window'. (gdb-setup-windows): Add a condition branch that loads default window configuration when available. Fix docstring. (gdb-buffer-p, gdb-function-buffer-p, gdb--buffer-type, gdb-save-window-configuration, gdb-load-window-configuration): New functions. (gdb-restore-windows): Edit docstring to mention 'gdb-default-window-configuration-file'. (gdb-reset): Restore window configuration after quit. * lisp/window.el (with-window-non-dedicated): New macro.
* | * lisp/progmodes/sql.el: Try and avoid `eval`; use define-derived-modeStefan Monnier2020-03-141-130/+70
| | | | | | | | | | | | | | | | | | | | | | Remove redundant `:group` args. (sql-interactive-mode-map): `set-keymap-parent` is always fboundp. (sql-get-product-feature): Prefer `symbol-value` over `eval`. (sql--adjust-interactive-setup): New function, extracted from `sql-interactive-mode`. (sql-interactive-mode): Use it and `define-derived-mode`. (sql-connect, sql-connection-menu-filter): Prefer `cl-progv` over `eval`.
* | * lisp/textmodes/conf-mode.el (conf-mode): Use define-derived-modeStefan Monnier2020-03-141-98/+75
| | | | | | | | | | | | | | | | (conf--guess-mode): Extract from conf-mode. (defcustoms): Remove redundant `:group` args. (conf-mode, conf-mode-initialize, conf-javaprop-mode) (conf-space-mode, conf-space-keywords, conf-space-mode-internal) (conf-colon-mode): Use `setq-local`.
* | * lisp/emacs-lisp/package.el (package-activate-1): Avoid duplicatesStefan Monnier2020-03-141-1/+1
| | | | | | | | in `Info-directory-list`.
* | * lisp/progmodes/cc-defs.el (c-version): update to 5.34.2 for master branchAlan Mackenzie2020-03-141-1/+1
| |
* | Make previous mml-expand-html-into-multipart-related fix more generalJeremy Compostella2020-03-141-4/+3
| | | | | | | | | | | | | | | | * lisp/gnus/mml.el (mml-expand-html-into-multipart-related): This is function is now called by a recursive engine (mml-expand-all-html-into-multipart-related). The structure of the returned value should be identical between an untouched part and a expanded multipart (bug#39230).
* | Add charsets to 'w32-charset-info-alist'Eli Zaretskii2020-03-141-0/+7
| | | | | | | | | | * lisp/w32-fns.el: Add a few more charsets to w32-charset-info-alist.
* | Avoid regexp stack overflow in GDB string matching (bug#22149)Mattias Engdegård2020-03-141-1/+4
| | | | | | | | | | | | * lisp/progmodes/gdb-mi.el (gdb--string-regexp): Swap the or-clauses so that the rarely matching one comes first. This avoids a build-up of backtrack points on the regexp stack.
* | Merge from origin/emacs-27Glenn Morris2020-03-134-11/+36
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | a2b07f9f11 (origin/emacs-27) ; * etc/NEWS: Explain how to get back ol... b468b3d1ff Fix a recent documentation change 1ab766fd58 Fix last change ecfe633993 * lisp/tab-bar.el: Last-minute changes. c1ce9fa7f2 * lisp/subr.el (cancel-change-group): Fix bug#39680 ef5744a988 Improve docs for horizontal scrolling with mouse and touch... 1bc3fa0bd0 * lisp/emacs-lisp/package.el (package-install): Fix typo i... 4537976afd Port .gdbinit to clang with -gdwarf-4 0883c800a0 Simplify rx example in manual a695189248 ; * etc/NEWS: Fix typo. # Conflicts: # etc/NEWS
| * Fix a recent documentation changeEli Zaretskii2020-03-131-3/+6
| | | | | | | | | | | | | | | | | | * doc/emacs/frames.texi (Mouse Commands): More detailed description of how tilting the mouse-wheel works. * lisp/mwheel.el (mouse-wheel-tilt-scroll) (mouse-wheel-flip-direction): Fix the wording of doc strings. (Bug#39979)
| * Fix last changeEli Zaretskii2020-03-131-1/+2
| | | | | | | | | | * lisp/tab-bar.el (tab-bar-new-button-show): Fix wording of the doc string.
| * * lisp/tab-bar.el: Last-minute changes.Juri Linkov2020-03-131-6/+19
| | | | | | | | | | | | | | | | * lisp/tab-bar.el (tab-bar-mode): Check for non-nil tab-bar-new-button and tab-bar-close-button. (tab-bar-new-button-show): New defcustom. (tab-bar-make-keymap-1): Check for tab-bar-new-button-show. (tab-bar-separator): Add docstring.
| * * lisp/subr.el (cancel-change-group): Fix bug#39680Stefan Monnier2020-03-121-2/+7
| | | | | | | | | | | | | | Don't re-use an existing `pending-undo-list` even if (eq last-command 'undo) since there might have been changes to the buffer since that `undo` command and the `pending-undo-list` can hence be invalid for the current buffer contents.
| * Improve docs for horizontal scrolling with mouse and touchpad (Bug#39979)İ. Göktuğ Kayaalp2020-03-111-2/+5
| | | | | | | | | | | | * lisp/mwheel.el (mouse-wheel-tilt-scroll, mouse-wheel-flip-direction): Improve docstrings. * doc/emacs/frames.texi (Mouse Commands): Mention touchpads.
| * * lisp/emacs-lisp/package.el (package-install): Fix typo in docstring.Juri Linkov2020-03-101-1/+1
| |
* | Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsMichael Albinus2020-03-131-0/+1
|\ \
| * | * lisp/emacs-lisp/package.el (package-menu--generate): Fix doc string.Pieter van Oostrum2020-03-131-0/+1
| | | | | | | | | | | | Add REMEMBER-POS to docstring (bug#39861).
* | | * lisp/net/tramp.el (tramp-accept-process-output): Propagate `quit' signal.Michael Albinus2020-03-131-8/+11
|/ /
* | Make cl-equalp a bit more efficient at comparing stringsNoam Postavsky2020-03-121-2/+1
| | | | | | | | | | | | * lisp/emacs-lisp/cl-extra.el (cl-equalp): Use compare-strings with the IGNORE-CASE argument, rather than creating downcased copies of the strings to be compared.
* | rcirc: Match NickServ messages case-insensitively (Bug#39345)Noam Postavsky2020-03-121-6/+10
| | | | | | | | | | | | | | | | Reported by Jake Nelson <jake.nelson@gmail.com>. * lisp/net/rcirc.el (rcirc-check-auth-status): NickServ will response will show the nick in the same case used during registration, but it allows case-insensitive matches when logging in. Therefore, we should accept response messages regardless of case.
* | Fix NS child frame in native fullscreen (bug#36672)Andrii Kolomoiets2020-03-121-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/frame.el (toggle-frame-fullscreen): Don't sleep on cocoa. Fullscreen animation waiting is moved to src/nsterm.m. * src/nsterm.h (EmacsView): Add in_fullscreen_transition, inFullScreenTransition, waitFullScreenTransition. (NSWindowCollectionBehaviorFullScreenAuxiliary): New define. * src/nsterm.m (ns_make_frame_visible): Wait for fullscreen animation. (ns_set_parent_frame): Set frame collection behavior; make child frames non-fullscreen; make non-child frames fullscreen if parent was fullscreen. ([EmacsView initFrameFromEmacs]): Set in_fullscreen_transition; set frame collection behavior according to parent frame. ([EmacsView windowDidMove]): Remove code by commenting with "fixme". ([EmacsView windowWillEnterFullScreen], [EmacsView windowDidEnterFullScreen]) ([EmacsView windowWillExitFullScreen], [EmacsView windowDidExitFullScreen]): Set in_fullscreen_transition. ([EmacsView inFullScreenTransition], [EmacsView waitFullScreenTransition]): New methods. ([EmacsView updateCollectionBehavior]): Set collection behavior according to parent frame. ([EmacsView toggleFullScreen]): Wait for fullscreen animation.
* | * lisp/emacs-lisp/eldoc.el: Remove redundant `:group` argumentsStefan Monnier2020-03-121-35/+23
| |
* | * lisp/emacs-lisp/eldoc.el (eldoc--supported-p): Understand the "old" APIStefan Monnier2020-03-121-1/+10
| |
* | * lisp/subr.el (cancel-change-group): Undo accidental changeStefan Monnier2020-03-121-10/+3
| |
* | * lisp/net/tramp-sh.el (tramp-find-shell): Skip for asynchronous processes.Michael Albinus2020-03-121-36/+38
| |
* | Remove more XEmacs compat code from eshellStefan Kangas2020-03-114-16/+4
| | | | | | | | | | | | | | | | * lisp/eshell/em-glob.el (eshell-extended-glob): * lisp/eshell/em-ls.el (eshell-do-ls): * lisp/eshell/em-unix.el (eshell/du, eshell-mvcpln-template): * lisp/eshell/esh-util.el (eshell-file-attributes): Remove more XEmacs compat code; no longer let-bind the unused variable ange-cache.
* | * lisp/emacs-lisp/cl-macs.el: More care with `eval` and with `cl-typep`Stefan Monnier2020-03-101-20/+37
| | | | | | | | | | | | | | | | (cl-eval-when, cl--compile-time-too, cl-load-time-value): Obey lexical-binding. (cl-check-type): Prefer the predicate rather than the type in the error signal when it's easy to do (as is done outside of CL). (cl-deftype-satisfies): Add definitions for standard types.
* | * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Simplify resultStefan Monnier2020-03-101-16/+6
| | | | | | | | | | | | | | | | It used to return a pair (EXP . LAMBDA-CDR) but EXP was always nil, so just return the LAMBDA-CDR instead. (cl-defun, cl-iter-defun, cl-defmacro, cl-function, cl-macrolet): Adjust callers accordingly.
* | * lisp/window.el: Avoid `called-interactively-p`.Stefan Monnier2020-03-101-12/+16
| | | | | | | | | | (other-window, delete-other-windows, next-buffer, previous-buffer): Use an `interactive` arg instead.
* | * lisp/ido.el: Remove redundant `:group`sStefan Monnier2020-03-101-161/+92
| |
* | * lisp/subr.el (dlet): New macroStefan Monnier2020-03-102-11/+32
| | | | | | | | * lisp/calendar/calendar.el (calendar-dlet*): Use it.
* | Improve new-frame logic of windmove-display-in-direction (bug#39875)Juri Linkov2020-03-101-4/+8
| | | | | | | | | | * lisp/windmove.el (windmove-display-in-direction): For frame-based logic use code similar to display-buffer-pop-up-frame.
* | In vc-print-branch-log use root instead of the default directory (bug#39704)Juri Linkov2020-03-101-4/+6
| | | | | | | | | | * lisp/vc/vc.el (vc-print-branch-log): Use rootdir instead of default-directory for the second arg of vc-print-log-internal.
* | Finish implementation of set-file-times FLAG arg in TrampMichael Albinus2020-03-096-42/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-times): Implement FLAG. (tramp-adb-handle-copy-file): Adapt `set-file-times' call. * lisp/net/tramp-compat.el (tramp-compat-set-file-times): New defalias. * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-set-file-modes) (tramp-gvfs-handle-set-file-times, tramp-gvfs-set-file-uid-gid): Simplify `tramp-gvfs-url-file-name' call. * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-times): Implement FLAG. (tramp-do-copy-or-rename-file-via-buffer) (tramp-do-copy-or-rename-file-out-of-band): Add optional argument OK-IF-ALREADY-EXISTS. Adapt callees. (tramp-do-copy-or-rename-file-via-buffer) (tramp-do-copy-or-rename-file-directly) (tramp-do-copy-or-rename-file-out-of-band): Adapt `set-file-times' call. * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory) (tramp-smb-handle-copy-file): Adapt `set-file-times' call. * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file): Adapt `set-file-times' call. (tramp-sudoedit-handle-set-file-times): Implement FLAG. * test/lisp/net/tramp-tests.el (tramp-test22-file-times): Extend test.
* | * lisp/term/rxvt.el: Enable backeted paste and window titleDaniel Gröber2020-03-081-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rxvt-unicode uses the same escape sequences as xterm so just re-use the xterm functions to enable them. The `xterm-rxvt-function-map` keymap already has (define-key map "\e[200~" [xterm-paste]) so we're already handling the paste sequence and only need to enable it. Tested on rxvt-unicode version 9.22. (rxvt-set-window-title): New var. (terminal-init-rxvt): Use it; enable bracketed paste mode; run terminal-init-rxvt-hook.
* | CC Mode: allow specified directives (e.g. pragma) to be indented as statementsAlan Mackenzie2020-03-084-37/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/cc-cmds.el (c-align-cpp-indent-to-body) (c-cpp-indent-to-body-flag, c-electric-pragma) (c-add-indent-to-body-to-abbrev-table, c-clear-stale-indent-to-body-abbrevs) (c-toggle-cpp-indent-to-body): New functions and variables. * lisp/progmodes/cc-langs.el (c-std-abbrev-keywords): New lang const/var. * lisp/progmodes/cc-mode.el (c-populate-abbrev-table): New function. (c-basic-common-init): call the c-populate-abbrev-table. (c-mode, c++-mode, objc-mode, java-mode, idl-mode, pike-mode, awk-mode): Remove the setting of MODE-abbrev-table. * lisp/progmodes/cc-vars.el (c-cpp-indent-to-body-directives): New defcustom. * doc/misc/cc-mode.texi (Custom Macros): Introduce and refer to .... (Indenting Directives): New page documenting the new mechanism.
* | Simplify run-at-timePaul Eggert2020-03-081-3/+0
| | | | | | | | | | * lisp/emacs-lisp/timer.el (run-at-time): Remove unnecessary test (Bug#39944).
* | Merge from origin/emacs-27Paul Eggert2020-03-083-7/+11
|\ \ | |/ | | | | | | | | | | | | 0a3682a566 * src/timefns.c: Add comments. b16ba4041d ; lisp/emacs-lisp/seq.el: Explain why we don't use cl-lib ... 3cbf4cb796 Eliminate use of cl-concatenate in 'seq' package 363d927086 Fix bug with JIT stealth timers 818333c85a * doc/lispref/os.texi (time-subtract): Doc fix.