aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add Harfbuzz dependencyPhillip Lord2020-03-231-0/+1
| | | | | | | | * admin/nt/dist-build/build-dep-zips.py: Add harfbuzz as a dependency.
| * Don't signal during backtrace unrewind (Bug#40088)Noam Postavsky2020-03-223-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backtrace_eval_unrewind is used to temporarily reverse let-bindings (it's called with a positive argument to reverse bindings, and then a negative argument to re-apply them) by backtrace--locals and backtrace-eval. For the SPECPDL_LET_DEFAULT and SPECPDL_LET_LOCAL cases (which occur for let-bindings on buffer-local variables), the code calls Fdefault_value and Fbuffer_local_value on the symbol. For symbols which are unbound at top-level, the first (with positive argument) call to backtrace_eval_unrewind will set the symbol's value to unbound (putting the current value in the specpdl's "old value" slot). On the second (with negative argument) call, backtrace_eval_unrewind attempts to retrieve the symbol's value with Fdefault_value or Fbuffer_local_value, but that raises a void-variable signal. This interrupts the restoration of the let-bindings, so any other variables more recent on the stack will now have the wrong value. * src/data.c (default_value): Make non-static. * src/lisp.h: Declare it. * src/eval.c (backtrace_eval_unrewind): Replace the calls to Fdefault_value and Fbuffer_local_value with default_value and buffer_local_value, respectively. The latter do exactly the same as the former, except if the symbol's value is Qunbound they just return it instead of signaling void-variable.
| * Fix a couple of problems in changelog generating functionsNoam Postavsky2020-03-222-35/+40
| | | | | | | | | | | | | | | | | | | | | | * lisp/vc/diff-mode.el (diff-add-log-current-defuns): If there is a scan-error when calling end-of-defun, go to end of hunk. This can easily happen since we are calling end-of-defun on a partial code fragment from a diff. * lisp/vc/log-edit.el (log-edit-generate-changelog-from-diff): Bind display-buffer-overriding-action around the log-edit-show-diff call only. Otherwise, it can affect, for example, debugger windows triggered by the diff-add-log-current-defuns call.
| * Fix cl-concatenate (Bug#40180)Noam Postavsky2020-03-222-1/+9
| | | | | | | | | | | | * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Use apply, to avoid adding extra nesting of args. * test/lisp/emacs-lisp/cl-extra-tests.el (cl-concatenate): New test.
| * Improve documentation of project.el commandsEli Zaretskii2020-03-214-4/+86
| | | | | | | | | | | | | | | | | | * lisp/progmodes/project.el (project-find-regexp): Require 'grep' to be able to call 'grep-read-files'. (project-search, project-query-replace-regexp): Doc fixes. * doc/emacs/maintaining.texi (Projects): New section. * doc/emacs/emacs.texi (Top): Add "Projects" to the detailed menu.
| * Make svg images with links validZhu Zihao2020-03-201-1/+2
| | | | | | | | | | | | | | * lisp/svg.el (svg-create): Specify xlink namespace for svg images (bug#40010). Copyright-paperwork-exempt: yes
| * * lisp/tab-line.el (tab-line-new-button-show): New defcustom.Juri Linkov2020-03-201-6/+16
| | | | | | | | | | | | * lisp/tab-line.el (tab-line-format-template): Use tab-line-new-button-show. (tab-line-new-tab-choice): Remove choice 'nil' with "No button". (tab-line-separator): Add docstring.
* | ; Merge from origin/emacs-27Glenn Morris2020-03-230-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: d801d1d8cc Don't have exif bugging out on short strings
| * Don't have exif bugging out on short stringsLars Ingebrigtsen2020-03-193-2/+30
| | | | | | | | | | | | | | * 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-2336-36/+36
|\ \ | |/ | | | | | | bed04c502c Use correct registry name for windows-1251 charset 1aa1529301 ERC: Update maintainer address
| * Use correct registry name for windows-1251 charsetRobert Pluim2020-03-191-1/+1
| | | | | | | | | | | | * src/ftfont.c (fc_charset_table): The registry to use to lookup windows-1251 charset is microsoft-cp1251, not windows-1251. (Bug#40097)
| * ERC: Update maintainer addressAmin Bandali2020-03-1835-35/+35
| |
* | Avoid extra "changed on disk" prompt in save-buffer (Bug#18336)Noam Postavsky2020-03-221-5/+5
| | | | | | | | | | * src/filelock.c (lock_file): Don't query the user if the current session already owns the lock.
* | * lisp/dired.el (dired-mark-region): New defcustom (bug#39902)Juri Linkov2020-03-234-18/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/dired.el (dired-mark-if): Use dired-mark-region. (dired-mark): Use dired-mark-region. Fix docstring. (dired-mark-files-regexp, dired-mark-files-containing-regexp) (dired-mark-symlinks, dired-mark-directories) (dired-mark-executables, dired-flag-auto-save-files) (dired-flag-backup-files): Mention dired-mark-region in docstring. * lisp/dired-aux.el (dired-compare-directories): * lisp/dired-x.el (dired-mark-unmarked-files, dired-mark-sexp): Mention dired-mark-region in docstring.
* | Revert "Signal user-error on duplicate package refresh" (Bug#39187)Stefan Kangas2020-03-221-4/+1
| | | | | | | | This reverts commit a6d87ea045d9df73f70765bedfb02522043efd9b.
* | ; * etc/NEWS: Note changed default of message-draft-headersEric Abrahamsen2020-03-211-0/+6
| |
* | Fix Bug#40156 in TrampMichael Albinus2020-03-212-2/+10
| | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-sh-handle-write-region): Copy to temp file only if FILENAME exists. (Bug#40156) * test/lisp/net/tramp-tests.el (tramp-test10-write-region): Extend test.
* | Remove more XEmacs compat code from ediff*.elStefan Kangas2020-03-213-35/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/ediff-init.el (ediff-H-glyph): * lisp/vc/ediff-util.el (ediff-inferior-compare-regions) (ediff-setup-keymap): * lisp/vc/ediff-wind.el (ediff-control-frame-parameters) (ediff-prefer-iconified-control-frame) (ediff-setup-control-frame, ediff-xemacs-select-frame-hook): Remove XEmacs compat code and declare compatibility functions obsolete. * lisp/vc/ediff-init.el (ediff-temp-file-prefix): Redefine as obsolete variable alias for 'temporary-file-directory'. * lisp/vc/ediff-util.el (ediff-make-temp-file): Don't use obsolete variable name.
* | Remove obsolete XEmacs commentStefan Kangas2020-03-211-1/+0
| | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug--display-1): Remove comment regarding an XEmacs exclusive variable.
* | Declare some <package>-version variables obsoleteStefan Kangas2020-03-2114-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are not used for anything these days and can therefore be removed. Package developers should check the Emacs version instead. Ref: https://lists.gnu.org/r/emacs-devel/2020-03/msg00080.html * lisp/calendar/icalendar.el (icalendar-version): * lisp/dframe.el (dframe-version): * lisp/emacs-lisp/checkdoc.el (checkdoc-version): * lisp/emulation/edt.el (edt-version): * lisp/international/mule.el (mule-version) (mule-version-date): * lisp/linum.el (linum-version): * lisp/play/bubbles.el (bubbles-version): * lisp/speedbar.el (speedbar-version): * lisp/textmodes/remember.el (remember-version): * lisp/url/url-vars.el (url-version): * lisp/woman.el (woman-version): Declare obsolete. * lisp/emacs-lisp/checkdoc.el (checkdoc-start-section): * lisp/speedbar.el (speedbar-mode): * lisp/url/url-about.el (url-about-protocols): * lisp/url/url-http.el (url-http--user-agent-default-string): * lisp/url/url-news.el (url-news-fetch-message-id): * lisp/woman.el (woman-menu, woman-mode): Stop using variables declared obsolete above.
* | Add "Old-" prefix to "Version" header in some casesStefan Kangas2020-03-2111-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These version numbers are historical accidents and not relevant today. Ref: https://lists.gnu.org/r/emacs-devel/2020-03/msg00080.html * lisp/calendar/icalendar.el: * lisp/emacs-lisp/checkdoc.el: * lisp/hippie-exp.el: * lisp/linum.el: * lisp/master.el: * lisp/progmodes/cwarn.el: * lisp/repeat.el: * lisp/ruler-mode.el: * lisp/textmodes/remember.el: * lisp/wdired.el: * lisp/woman.el: Change "Version" header to "Old-Version".
* | 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-193-2/+30
| | | | | | | | | | | | | | * 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.
* | Fix display of :box face when overlay strings are aroundEli Zaretskii2020-03-192-29/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xdisp.c (reset_box_start_end_flags): New function. (handle_face_prop): Only set the start_of_box_run_p flag, don't reset it. (pop_it): Set the face_box_p flag, if the popped face requires that, when continuing iteration over buffer text. (get_next_display_element, next_element_from_display_vector): Only set the end_of_box_run_p flag, never reset it here. (set_iterator_to_next): Don't reset the start_of_box_run_p and end_of_box_run_p flags here. They are now reset as side effect of PRODUCE_GLYPHS. (append_space_for_newline): Restore the end_of_box_run_p flag after PRODUCE_GLYPHS where we previously didn't reset it. * src/dispextern.h (PRODUCE_GLYPHS): Call reset_box_start_end_flags after producing glyphs. (Bug#40124)
* | Tiny simplification of frac_to_doublePaul Eggert2020-03-191-2/+1
| | | | | | | | | | * src/timefns.c (frac_to_double): Remove unnecessary runtime check, since the denominator is always positive.
* | Omit timestamp optimization invalid on 387 FPUPaul Eggert2020-03-191-3/+0
| | | | | | | | | | | | * src/timefns.c (frac_to_double): Omit optimization that is invalid on machines with excess precision (e.g., gcc x86 with 387 FPU), because it double-rounds. Found via ‘gcc -m32’ on x86-64.
* | Merge from origin/emacs-27Glenn Morris2020-03-1827-202/+1269
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | 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
| * Remove raw carriage return characters from test file.Philipp Stephani2020-03-181-3/+3
| | | | | | | | | | | | | | | | | | | | This protects against tools that mangle newline characters in text files. * test/lisp/electric-tests.el (electric-pair-mode-newline-between-parens) (electric-layout-mode-newline-between-parens-without-e-p-m) (electric-layout-mode-newline-between-parens-without-e-p-m-2): Escape carriage return characters.
| * Recalculate default font when switching font backendRobert Pluim2020-03-179-10/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an updated version of the patch by Dmitry Antipov <dmantipov@yandex.ru> in <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23386#43>. Fixes Bug#23386 * src/dispextern.h (struct redisplay_interface): New member default_font_parameter. * src/xterm.h: Add prototype for x_default_font_parameter. * src/xterm.c (x_redisplay_interface): Initialize default_font_parameter member. * src/xfns.c (x_default_font_parameter): Make non-static. * src/w32term.h: Add prototype for w32_default_font_parameter * src/w32fns.c (w32_default_font_parameter): Make non-static. * src/w32term.c (w32_redisplay_interface): Initialize default_font_parameter member. * src/nsterm.m (ns_redisplay_interface): Add dummy ns_default_font_parameter (there is currently only one possible font backend on macOS). Initialize default_font_parameter member. * src/frame.c (gui_set_font_backend): Recalculate default font using RIF default_font_parameter to avoid crash when changing font backend.
| * * 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.
| * * etc/NEWS: Make the `--eval` example slightly more preciseStefan Monnier2020-03-161-1/+1
| |
| * * 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-1414-178/+1218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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).
* | ; Merge from origin/emacs-27Glenn Morris2020-03-180-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: dcc943be0a * lisp/progmodes/cc-defs.el (c-version): update to 5.34.1 ...
| * * 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-184-7/+20
|\ \ | |/ | | | | | | | | 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)
| * Fix display of Big5 characters when using FontconfigEli Zaretskii2020-03-142-2/+2
| | | | | | | | | | | | | | | | * src/ftfont.c (fc_charset_table): Fix the value of the big-5 representative codepoint. Reported by Brian Schack <bschack-cocoa@usa.net>. (Bug#40057) * src/macfont.m (cf_charset_table): Adjust the comment.
* | * 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.
* | Don't generate useless range table entries for ASCII charsMattias Engdegård2020-03-171-11/+14
| | | | | | | | | | | | | | | | | | In multibyte regexps, each ASCII char or range in a character alternative produces a nonsense range table entry in addition to the correct bits in the ASCII bitmap. Those entries do not match anything but waste space and time. * src/regex-emacs.c (regex_compile): Don't generate reversed intervals.
* | 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.
* | Reverse the meaning of 2nd arg to 'live_buffer_holding'Eli Zaretskii2020-03-151-7/+9
| | | | | | | | | | | | | | | | | | * src/alloc.c (live_buffer_holding): Rename ALL_BUFFERS ti IGNORE_KILLED, and reverse the condition for returning killed buffers. (live_buffer_p): Add commentary. (live_buffer_p, mark_maybe_object, mark_maybe_pointer): Reverse the 2nd argument to live_buffer_holding. (Bug#39962)
* | Make sure we mark reachable killed buffers during GCPip Cet2020-03-151-8/+10
| | | | | | | | | | | | | | * src/alloc.c (live_buffer_holding): Add ALL_BUFFERS argument for returning killed buffers. (mark_maybe_object, mark_maybe_pointer): Use the additional argument. (Bug#39962)
* | * 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).