summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Clarify lexvar restrictions for add-to-ordered-list, add-to-historyMattias Engdegård2020-02-023-1/+5
| | | | | | | | | * lisp/subr.el (add-to-ordered-list, add-to-history): * doc/lispref/lists.texi (List Variables): * doc/lispref/minibuf.texi (Minibuffer History): Note in the doc string and manual that the variable arguments to add-to-ordered-list and add-to-history cannot refer to a lexical variable (bug#39373).
* Replace add-to-list to lexical variable with push (bug#39373)Mattias Engdegård2020-02-017-21/+20
| | | | | | | | | | | | | | | | | | Since 'add-to-list', being a plain function, cannot access lexical variables, such use must be rewritten for correctness. (Some instances actually do work thanks to a compiler macro, but it's not something code should rely on.) * lisp/autoinsert.el (auto-insert-alist): * lisp/cedet/mode-local.el (mode-local-print-bindings): * lisp/net/tramp-cache.el (tramp-flush-connection-properties) (tramp-list-connections): * lisp/net/zeroconf.el (zeroconf-list-service-names) (zeroconf-list-service-types, zeroconf-list-services): * lisp/org/org.el (org-reload): * lisp/whitespace.el (whitespace-report-region): * test/lisp/emacs-lisp/map-tests.el (test-map-do): Replace add-to-list with push.
* Clarify add-to-list documentation (bug#39373)Mattias Engdegård2020-02-012-2/+7
| | | | | | | | | While add-to-list often works with lexical variables, this is a hack that isn't always effective; better tell the user not to try. * doc/lispref/lists.texi (List Variables): Add a note about lexical variables to the add-to-list description. Fix the equivalent code. * lisp/subr.el (add-to-list): Amend doc string.
* MH-E: alter content in mh-display-msg, not mh-show-modeStephen Gildea2020-02-011-3/+3
| | | | | | | * lisp/mh-e/mh-show.el (mh-display-msg, mh-show-mode): buffer-altering code formerly in mh-show-mode is moved to the location in mh-display-msg where mh-show-mode used to be called before the fix to MH-E bug #470 moved the call earlier.
* Update documentation for mh-show-mode-hookStephen Gildea2020-02-014-8/+17
| | | | | | * lisp/mh-e/mh-e.el, doc/misc/mh-e.texi (mh-show-mode-hook): Now that the fix for MH-E bug #470 calls mh-show-mode-hook earlier, update the documentation to no longer say that the message contents are available.
* Example goto-addr hook: MH-E already uses goto-addressStephen Gildea2020-02-012-7/+6
| | | | | | * lisp/net/goto-addr.el, doc/emacs/misc.texi: Do not use MH-E as the example of how to add a hook to goto-address, because MH-E calls goto-address internally.
* ; Auto-commit of loaddefs files.Glenn Morris2020-02-011-2/+71
|
* Extend workaround for Cygwin O_PATH bugKen Brown2020-01-311-2/+2
| | | | | * configure.ac (HAVE_CYGWIN_O_PATH_BUG): Extend to Cygwin versions 3.1.0 through 3.1.2. (Bug#39371)
* * lisp/emacs-lisp/debug.el (debug): Merge the non-interactive casesPaul Pogonyshev2020-01-311-150/+142
| | | | | | bug#38927 (cherry picked from commit 502059433ce0e9699eb73d21656ce6e9e127d63b)
* Add more blackboard bold characters to TeX input methodAnsgar Burchardt2020-01-311-2/+26
| | | | | | | | | | | This patch adds all capital blackboard bold letters and those for "1" and "2". Most characters are in common use in mathematics, but it does not seem useful to exclude the few not widely used. Reference: https://en.wikipedia.org/wiki/Blackboard_bold * lisp/leim/quail/latin-ltx.el (latin-ltx--define-rules): Add all the blackboard bold commands from AMSTeX. (Bug#21103)
* ; * lisp/progmodes/gdb-mi.el (gdb-handle-reply): Fix commentary.Eli Zaretskii2020-01-311-1/+1
|
* Protect against errors in gdb-mi.el handlersYuan Fu2020-01-311-1/+4
| | | | | | * lisp/progmodes/gdb-mi.el (gdb-handle-reply): Handle errors in 'handler-function' so the cleanup code after it runs safely. (Bug#39178)
* Allow exiting the Python interpreter of a GDB sessionEli Zaretskii2020-01-311-2/+4
| | | | | | * lisp/progmodes/gdb-mi.el (gdb-delchar-or-quit): Send EOF to GDB if we are in an embedded interpreter. This allows to exit from "pi" cleanly. (Bug#39140)
* Ensure minibuffer input is added to history in read_minibufFederico Tedin2020-01-311-4/+4
| | | | | | * src/minibuf.c (read_minibuf): Parse input string after saving the string to the history list instead of before, in case parsing signals an error or is interrupted by C-g. (Bug#39291)
* Tab-bar related fixes.Juri Linkov2020-01-303-6/+15
| | | | | | | | | * lisp/cus-start.el (tab-bar-mode): Use dedicated group 'tab-bar'. * lisp/tab-bar.el (tab-bar-history-mode): Add :group 'tab-bar'. (tab-bar-get-buffer-tab): Add optional arg 'ignore-current-tab'. * lisp/desktop.el (desktop-buffers-not-to-save-function): Add docstring.
* ; ChangeLog.3 fixes.Nicolas Petton2020-01-291-1/+1
|
* * admin/authors.el: Add missing entries.Nicolas Petton2020-01-291-0/+27
|
* dns-mode-soa-auto-increment-serial: safe if symbolpStephen Gildea2020-01-271-0/+1
| | | | | * lisp/textmodes/dns-mode.el (dns-mode-soa-auto-increment-serial): Mark variable as safe as a file local variable when symbolp.
* * lisp/wdired.el: Clean out isearch-filter-predicate (bug#37496)Juri Linkov2020-01-281-0/+2
| | | | | | * lisp/wdired.el (wdired-change-to-dired-mode): Use remove-function to remove wdired-isearch-filter-read-only (whose value was added in wdired-change-to-wdired-mode) from local value of isearch-filter-predicate.
* ; Spelling and URL fixesPaul Eggert2020-01-272-2/+2
|
* Finish the documentation for c-noise-macro-{,with-parens-}names.Alan Mackenzie2020-01-272-14/+23
| | | | | | | | | | | The doc strings and pertinent CC Mode manual page failed to mention that these variables could also be regular expressions. Amend them. * lisp/progmodes/cc-vars.el (c-noise-macro-names) (c-noise-macro-with-parens-names): Amend the doc strings. * doc/misc/cc-mode.texi (Noise Macros): Amend the descriptions of the two variables.
* Correct regexp for flags in `format' doc stringMattias Engdegård2020-01-261-1/+1
| | | | | * src/editfns.c (Fformat): Use the correct regexp for describing the flags in a %-sequence (place the hyphen last).
* Moderate recommendation to escape '(' in doc stringsMattias Engdegård2020-01-262-12/+19
| | | | | | | | | | Thanks to 57e2ca5c50 and related changes, opening brackets at the leftmost column inside doc strings are no longer mistaken for the start of a defun. * doc/lispref/tips.texi (Documentation Tips): Clarify recommendation and move it down the list. * etc/NEWS: Announce.
* Objective C Mode: Make c-forward-type work with "unsigned long", etc.Alan Mackenzie2020-01-261-3/+2
| | | | | | | | This allows the correct fontification of and correct functioning of C-c C-z (c-display-defun-name) in ns_get_pixel in Emacs's src/nsimage.m. * lisp/progmodes/cc-langs.el (c-primitive-type-prefix-kwds): For objc, use the same value as for c and c++ rather than the default nil.
* Fix help text about configure module supportMarco Wahl2020-01-261-1/+1
|
* * doc/lispref/streams.texi (Output Functions): Improve indexing.Stefan Kangas2020-01-251-0/+1
|
* Improve doc string of 'newline'Stefan Kangas2020-01-251-3/+4
| | | | | | | | * lisp/simple.el (newline): Doc fix. Move 'use-hard-newlines' down, since it's less important than the meaning of the prefix argument, and is less frequently used than 'electric-indent-mode' and 'auto-fill-mode'. Change the wording to no longer call it an option.
* Improve doc of eq on bignums etc.Paul Eggert2020-01-242-17/+19
| | | | | | * doc/lispref/numbers.texi (Integer Basics): * doc/lispref/objects.texi (Integer Type, Equality Predicates): Be clearer about eq vs eql vs = on bignums, floats, and strings.
* Do not refer to obsolete aliasMario Lang2020-01-241-1/+1
|
* ; Clarify what time-stamp-active enablesStephen Gildea2020-01-241-8/+15
| | | | | | Fix documentation strings and comments for time-stamp. Most notably: * lisp/time-stamp.el (time-stamp-active): in the doc string, clarify that time-stamp-active does not add time-stamp to any hook.
* Remove EmacsOpenPanel and EmacsSavePanel (bug#38031)Alan Third2020-01-242-40/+1
|
* * doc/emacs/files.texi (Auto Save Files): Improve indexing (bug#39259).Eli Zaretskii2020-01-241-0/+1
|
* Fix inaccurate wording in the Emacs manualEli Zaretskii2020-01-242-7/+9
| | | | | | * doc/emacs/custom.texi (Modifier Keys): * doc/emacs/basic.texi (Inserting Text): Fix minor inaccuracies in describing the 'Alt' modifier. (Bug#39254)
* Update ERC module URLsAmin Bandali2020-01-2422-14/+21
| | | | | | | | | | | | | | * lisp/erc/erc-autoaway.el, lisp/erc/erc-button.el, lisp/erc/erc-compat.el, lisp/erc/erc-fill.el, lisp/erc/erc-imenu.el, lisp/erc/erc-join.el, lisp/erc/erc-lang.el, lisp/erc/erc-match.el, lisp/erc/erc-pcomplete.el, lisp/erc/erc-ring.el, lisp/erc/erc-spelling.el, lisp/erc/erc-stamp.el, lisp/erc/erc-track.el: Update URL to friendlier form, over https. * lisp/erc/erc-ibuffer.el: Remove URL to nonexistent page. * lisp/erc/erc-list.el, lisp/erc/erc-log.el, lisp/erc/erc-notify.el, lisp/erc/erc-replace.el, lisp/erc/erc-services.el, lisp/erc/erc-sound.el, lisp/erc/erc-speedbar.el, lisp/erc/erc-truncate.el: Add URL to corresponding EmacsWiki page.
* Minor doc string clarification in use-hard-newlinesLars Ingebrigtsen2020-01-231-1/+1
| | | | | * lisp/textmodes/paragraphs.el (use-hard-newlines): Clarify that this minor mode isn't global (bug#20461).
* Backport: Fix bug 39218Tino Calancha2020-01-231-1/+2
| | | | | * lisp/simple.el (shell-command): Ensure a shell command ending with `&' is run asynchronously.
* Prefer saying "Info manual" to "info page" in docsStefan Kangas2020-01-237-8/+8
| | | | | | | | | | | | | Pointed out by Eli Zaretskii in: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39215#14 * doc/emacs/Makefile.in: * doc/lispintro/Makefile.in: * doc/lispref/Makefile.in: * doc/misc/Makefile.in: * lisp/dired-x.el (top-level): * lisp/gnus/gnus-sum.el (gnus-summary-mode): * lisp/progmodes/cperl-mode.el (cperl-info-page): Doc fix; prefer saying "Info manual" over "info page".
* Tab-bar related finishing touches.Juri Linkov2020-01-232-7/+12
| | | | | | | | | | * lisp/tab-bar.el (tab-bar-tab-name-ellipsis): Use shorter name instead of tab-bar-tab-name-truncated-ellipsis. (tab-bar-new-tab-to) <defcustom>: Add 'function' option. (tab-bar-new-tab-to) <function>: Use it. * lisp/tab-line.el (tab-line-close-tab): Add missing arg 'tab' to tab-line-close-tab-function funcall.
* Make call_process call signal_after_change. This fixes bug #38691.Alan Mackenzie2020-01-221-3/+34
| | | | | | | | | | | Now, functions such as call-proess-region invoke after-change-functions correctly. * src/callproc.c (call_process): Call prepare_to_modify_buffer in a single place, no longer delegating the task to insert_1_both, etc. Call signal_after_change in each of two code branches, such that before-change-functions and after-change-functions are always called in balanced pairs.
* * lisp/simple.el: Minor fixes to commentary.Paul Eggert2020-01-221-3/+2
|
* Fix a few typosEli Zaretskii2020-01-223-4/+4
| | | | | | | * etc/NEWS: Fix a typo. * src/xdisp.c (try_window_reusing_current_matrix, try_window_id): * src/dispnew.c (scrolling_window): Fix typos in comments.
* Fix doc strings for image-dired rotation commandsChristophe Deleuze2020-01-221-12/+12
| | | | | | | | | * lisp/image-dired.el (image-dired-rotate-thumbnail-left) (image-dired-rotate-thumbnail-right) (image-dired-rotate-original-left) (image-dired-rotate-original-right): Move the text in the doc strings about rotating the originals to the correct commands (bug#38928).
* Render Ido suggestions using an overlayDmitry Gutov2020-01-221-1/+9
| | | | | | * lisp/ido.el (ido--overlay): New variable. (ido-exhibit): Render with 'after-string' on an overlay (bug#38457).
* * doc/misc/tramp.texi (Bug Reports): Encourage use of "emacs -Q".Michael Albinus2020-01-221-1/+5
|
* * lisp/vc/smerge-mode.el (smerge-match-conflict): Fix bug#38456Stefan Monnier2020-01-211-1/+4
| | | | | This situation is not an internal error, but a perfectly normal occurrence, so a `cl-assert` is not right
* Correct statement about ftcr and recommend HarfBuzzRobert Pluim2020-01-211-11/+11
| | | | | | * doc/lispref/frames.texi (Font and Color Parameters): Correct statement about availability of ftcr in the presence of HarfBuzz. Recommend HarfBuzz.
* Avoid leaving artifacts when the system caret is used on w32Eli Zaretskii2020-01-213-5/+31
| | | | | | | | | | | | | | | | * src/xdisp.c (try_window_reusing_current_matrix, try_window_id): * src/dispnew.c (scrolling_window) [HAVE_NTGUI]: If w32-use-visible-system-caret is non-nil, disallow scrolling the display are in scroll_run_hook. This avoids copying traces of the caret, about which Emacs knows nothing, and thus considers those pixels show the default background. (Bug#39188) (gui_update_window_end): Block input only around part of the code, as we did before this code was extracted from backend-specific implementations. * src/w32term.c (w32_update_window_begin, w32_update_window_end): Only hide/show the caret when redisplaying the window where the caret is shown.
* Improve display of temporary echo messagesEli Zaretskii2020-01-211-2/+8
| | | | | | | | | * lisp/minibuffer.el (set-minibuffer-message): Fix cursor position for the temporary display of an echo-area message when minibuffer is active. Ensure the message is visible even if the end of the completion candidates presented by the likes of Icomplete mode is not visible due to its length, under resize-mini-windows = nil. (Bug#38457)
* * lisp/menu-bar.el: Remove desktop-save-mode from release branch (bug#37594)Juri Linkov2020-01-211-12/+0
| | | | ; Not to be merged to master
* Allow optional truncation of tab names in tab-bar and tab-line (bug#38693)Juri Linkov2020-01-212-39/+59
| | | | | | | | | | | | | | | | | | | * lisp/tab-line.el (tab-line-tab-name-truncated-max): New defcustom. (tab-line-tab-name-truncated-buffer): Use tab-line-tab-name-truncated-max consistently with similar options in tab-bar.el. (tab-line-tabs-limit): Remove variable. (tab-line-tabs-window-buffers): Remove use of tab-line-tabs-limit that was an experimental feature before horizontal scrolling was implemented. (tab-line-close-tab-function): Rename from tab-line-close-tab-action and allow a customizaed function as option. (tab-line-close-tab): Call function if tab-line-close-tab-function is customized to a function. * lisp/tab-bar.el (tab-bar-tab-name-function): Add option tab-bar-tab-name-truncated. (tab-bar-tab-name-truncated-max): New defcustom. (tab-bar-tab-name-truncated-ellipsis): New variable. (tab-bar-tab-name-truncated): New function.