aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Make clone-buffer not unbind global variableBraun Gábor2019-11-141-1/+1
| | | | | | | * lisp/simple.el (clone-buffer): Make clone-buffer not globally unset locally void variable (bug#38179). Copyright-paperwork-exempt: yes
* Update signature in etc/DISTRIBLars Ingebrigtsen2019-11-141-2/+1
| | | | * etc/DISTRIB: Update signature (bug#38188).
* Make dired-do-compress-to require format-specLars Ingebrigtsen2019-11-141-0/+1
| | | | | * lisp/dired-aux.el (dired-do-compress-to): Require format-spec runtime (bug#38189).
* Allow using edebug-remove-instrumentation more fine-grainedLars Ingebrigtsen2019-11-141-17/+31
| | | | | | * lisp/emacs-lisp/edebug.el (edebug-remove-instrumentation): Prompt the user for what functions to remove instrumentation from a la cancel-edebug-on-entry (bug#38195).
* time-stamp: update support for time zone numeric offsetStephen Gildea2019-11-133-23/+58
| | | | | | | | | * time-stamp.el (time-stamp-string-preprocess): Change new format for numeric time zone from %:z to %5z to match format-time-string better. (time-stamp-format): Document support for numeric time zone. See discussion in bug#32931. * NEWS: Mention time-stamp-format %5z.
* Don't show Attachment(s) header in html article viewed with browse-urlKatsumi Yamaoka2019-11-141-0/+1
| | | | | * lisp/gnus/gnus-art.el (gnus-article-browse-html-article): Bind gnus-mime-display-attachment-buttons-in-header to nil.
* * lisp/tab-line.el (tab-line-tabs-buffer-list): Use window-prev-buffers too.Juri Linkov2019-11-141-6/+5
| | | | | * lisp/tab-line.el (tab-line-tabs-buffer-list): Move window-prev-buffers here from tab-line-tabs-buffer-groups.
* Fix double-rounding bug in ceiling etc.Paul Eggert2019-11-134-68/+55
| | | | | | | | | | | | This is doable now that we have bignums. * src/floatfns.c (integer_value): Remove; no longer used. (rescale_for_division): New function. (rounding_driver): Use it to divide properly (by using bignums) even when arguments are float, fixing a double-rounding FIXME. * src/lisp.h (LOG2_FLT_RADIX): Move here ... * src/timefns.c (frac_to_double): ... from here. * test/src/floatfns-tests.el (big-round): Add a test to catch the double-rounding bug.
* Refactor bignum multiplication, exponentiationPaul Eggert2019-11-133-74/+84
| | | | | | | This doesn’t alter behavior, and simplifies the next commit. * src/bignum.c (GMP_NLIMBS_MAX, NLIMBS_LIMIT, emacs_mpz_size) (emacs_mpz_mul, emacs_mpz_mul_2exp, emacs_mpz_pow_ui): Move here ... * src/data.c: ... from here.
* Refactor double integer scalingPaul Eggert2019-11-133-22/+29
| | | | | | | This doesn’t alter behavior, and simplifies a future commit. * src/floatfns.c (double_integer_scale): New function, with body adapted from the old timefns.c. * src/timefns.c (decode_float_time): Use it.
* Finish last Tramp patchMichael Albinus2019-11-131-2/+6
| | | | | | | | | * lisp/net/tramp.el (outline-regexp): Remove declaration. (tramp-debug-outline-regexp): Add thread regexp. (tramp-debug-font-lock-keywords): New defconst. (tramp-debug-outline-level): Adapt to changed `tramp-debug-outline-regexp'. (tramp-get-debug-buffer): Use `tramp-debug-font-lock-keywords'.
* Add "Noto Color Emoji" to face-ignored-fontsRobert Pluim2019-11-131-3/+7
| | | | | * src/xfaces.c (syms_of_xfaces) [HAVE_XFT]: Add "Noto Color Emoji" to face-ignored-fonts (Bug#37786).
* Some refinement in Tramp debug buffer.Michael Albinus2019-11-131-5/+13
| | | | | | * lisp/net/tramp.el (outline-regexp): Remove declaration. (tramp-debug-font-lock-keywords): New defconst. (tramp-get-debug-buffer): Use it.
* Adapt Tramp docstrings according to checkdocMichael Albinus2019-11-1316-82/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-backup-directory-alist) (tramp-echoed-echo-mark-regexp, tramp-syntax-values) (tramp-lookup-syntax, tramp-build-prefix-format) (tramp-build-prefix-regexp, tramp-build-method-regexp) (tramp-build-postfix-method-format) (tramp-build-postfix-method-regexp) (tramp-build-prefix-ipv6-format, tramp-build-prefix-ipv6-regexp) (tramp-build-postfix-ipv6-format) (tramp-build-postfix-ipv6-regexp) (tramp-build-postfix-host-format) (tramp-build-postfix-host-regexp, tramp-unknown-id-string) (tramp-unknown-id-integer, tramp-build-file-name-regexp) (tramp-build-completion-file-name-regexp, tramp-chunksize) (tramp-find-method, tramp-find-user, tramp-find-host) (tramp-dissect-file-name, tramp-get-buffer) (tramp-get-connection-buffer, tramp-debug-message, tramp-error) (with-tramp-connection-property, tramp-run-real-handler) (tramp-file-name-for-operation, tramp-file-name-handler) (tramp-completion-file-name-handler) (tramp-completion-handle-file-name-completion) (tramp-completion-dissect-file-name) (tramp-completion-dissect-file-name1) (tramp-handle-file-name-as-directory) (tramp-handle-file-name-directory) (tramp-handle-file-name-nondirectory, tramp-mode-string-to-int) (tramp-file-mode-from-int): * lisp/net/tramp-adb.el (tramp-adb-file-name-p): * lisp/net/tramp-archive.el (tramp-archive-run-real-handler) (tramp-archive-file-name-handler) (tramp-archive-dissect-file-name) (with-parsed-tramp-archive-file-name) (tramp-archive-gvfs-file-name, tramp-archive-handle-access-file): * lisp/net/tramp-cmds.el (tramp-list-remote-buffers): * lisp/net/tramp-compat.el (tramp-unload-file-name-handlers) (tramp-compat-funcall, tramp-compat-tramp-file-name-slots): * lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler) (tramp-ftp-file-name-p): * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-p) (tramp-gvfs-file-name-handler) (tramp-gvfs-stringify-dbus-message) (tramp-gvfs-monitor-process-filter) (tramp-gvfs-handler-mounted-unmounted): * lisp/net/tramp-integration.el (tramp-rfn-eshadow-update-overlay-regexp): * lisp/net/tramp-rclone.el (tramp-rclone-file-name-p) (tramp-rclone-file-name-handler, tramp-rclone-send-command): * lisp/net/tramp-sh.el (tramp-sh--quoting-style-options) (tramp-sh-gio-monitor-process-filter) (tramp-sh-gvfs-monitor-dir-process-filter) (tramp-sh-inotifywait-process-filter, tramp-find-executable) (tramp-set-remote-path, tramp-open-shell, tramp-find-shell) (tramp-send-command-and-check, tramp-shell-case-fold) (tramp-get-remote-path): * lisp/net/tramp-smb.el (tramp-smb-file-name-p) (tramp-smb-file-name-handler) (tramp-smb-do-file-attributes-with-stat) (tramp-smb-handle-substitute-in-file-name) (tramp-smb-get-stat-capability, tramp-smb-shell-quote-argument): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-p) (tramp-sudoedit-file-name-handler) (tramp-sudoedit-send-command-string): * test/lisp/net/tramp-archive-tests.el (tramp-archive-test-all): * test/lisp/net/tramp-tests.el (tramp--test-gvfs-p) (tramp--test-with-proper-process-name-and-buffer) (tramp-test-all): Adapt docstrings according to `checkdoc'.
* Avoid fido-mode's setup on non-icomplete minibuffersJoão Távora2019-11-131-7/+8
| | | | | | | | Otherwise we would lose things like C-r (isearch-backward) when doing simple stuff like non-icomplete pp-eval-expression. * lisp/icomplete.el (icomplete--fido-mode-setup): Restrict setup to when icomplete-mode really kicks in.
* * lisp/tab-line.el (tab-line-tabs-buffer-list-function): New variable.Juri Linkov2019-11-121-27/+62
| | | | | | | | | | | | | (tab-line-tabs-buffer-list): New function. (tab-line-tabs-mode-buffers, tab-line-tabs-buffer-groups): Call tab-line-tabs-mode-buffers. (tab-line-tabs-buffer-groups): Add 'close' function that uses kill-buffer instead of bury-buffer that makes no sense here. (tab-line-format): Don't show the close button when a tab has no 'close' function or buffer. (tab-line-switch-to-prev-tab, tab-line-switch-to-next-tab): Support tabs with 'buffer' properties. (tab-line-close-tab): Call 'close' function when defined.
* * lisp/dired.el (dired-dwim-target): Add new choices (bug#35385)Juri Linkov2019-11-124-10/+38
| | | | | | | | | | | | * lisp/dired.el (dired-dwim-target): Add choices dired-dwim-target-next and dired-dwim-target-recent. * lisp/dired-aux.el (dired-dwim-target-next) (dired-dwim-target-recent): New functions. (dired-dwim-target-directories): Call either of them. * doc/emacs/dired.texi (Operating on Files): Mention new preferences in dired-dwim-target.
* Conditionally omit edition numbers, dates in docPaul Eggert2019-11-123-35/+41
| | | | | | | | | | | | | | | | | | | | | | | | This redoes the 2019-11-02T00:24:02!eggert@cs.ucla.edu patch, updated after consultation with John Sullivan. Omit printed edition numbers in online manuals while keeping them in printed manuals. In online manuals the edition numbers seem to cause more confusion than they cure; e.g., https://shop.fsf.org/books/gnu-emacs-manual-18th-edition-v-261 currently advertises "18th edition" even as it points to https://www.gnu.org/software/emacs/manual/pdf/emacs.pdf which says "Seventeenth Edition". It is simpler and less confusing to stick to one version number like "27.0" in online manuals. For printed manuals people can run, e.g., "texi2any -D 'EDITION Nineteenth'" when generating the 19th printed edition of the Emacs manual. * doc/emacs/emacs.texi (EDITION): * doc/lispintro/emacs-lisp-intro.texi (edition-number, update-date): * doc/lispref/elisp.texi (VERSION, DATE): Remove definitions. Instead, let the person printing the book specify these values, with the default being the online version which does not have printed edition numbers. * doc/lispintro/emacs-lisp-intro.texi (titlepage-edition-number): New flag, for the edition number as it appears on the title page.
* Make sure buffer is live before retrieving underline properties (Bug#38038)Martin Rudalics2019-11-124-29/+41
| | | | | | | | * src/window.h (WINDOW_BUFFER_LOCAL_VALUE): New macro. * src/nsterm.m (ns_draw_text_decoration): * src/w32term.c (w32_draw_glyph_string): * src/xterm.c (x_draw_glyph_string): Make sure buffer is live before retrieving underline properties from it (Bug#38038).
* * lisp/emacs-lisp/easymenu.el (easy-menu-make-symbol): Fix last changeStefan Monnier2019-11-121-1/+1
|
* Fix a few more minor quoting problems.Paul Eggert2019-11-116-6/+6
|
* Rename font-log-refontifyLars Ingebrigtsen2019-11-122-4/+4
| | | | | | * lisp/font-lock.el (font-lock-debug-fontify): Rename to make it clearer what the function is for. * doc/lispref/modes.texi (Font Lock Basics): Ditto.
* * lisp/startup.el (command-line): Fix last change in package--activatedStefan Monnier2019-11-111-3/+1
|
* Fix some quoting glitches in doc stringsPaul Eggert2019-11-1174-175/+176
|
* Fix quoting glitch in formatting Gnus messagesPaul Eggert2019-11-111-2/+3
| | | | | * lisp/gnus/gnus-util.el (defmacro, gnus-message): Use ‘format-message’, not ‘format’, to be compatible with ‘message’.
* Fix glitch in generating cxterm doc stringsPaul Eggert2019-11-111-1/+8
| | | | | | * lisp/international/titdic-cnv.el (tit-process-header): In generated doc strings, escape \, ", ', and ` properly. Currently only ' appears but we might as well future-proof this.
* Verilog-Mode collected updates.Wilson Snyder2019-11-111-15/+44
| | | | | | | | | | | | | | | * lisp/progmodes/verilog-mode.el (verilog-read-decls): Fix to skip over base64-encoded protected data while reading AUTO declarations. Reported by Berend Ozceri. (verilog-auto-inst-port, verilog-auto-inst-vector): Support 'unsigned' in `verilog-auto-inst-vector'. Reported by Jeff Riley. (verilog-read-decls): Fix to ignore `line in AUTOINST, git bug18. Reported by Berend Ozceri. (verilog-library-extensions): Support .va /.vah/.sva/.svah file extensions to load verilog-mode for Verilog-AMS. Reported by Shareef Jalloq. (verilog-read-sub-decls-expr): Fix AUTOOUTPUT etc misparsing Verilog casts, bug1526. Reported by Udi Finkelstein.
* Add several configuration files to auto-mode-alistStefan Kangas2019-11-111-2/+3
| | | | | | | * lisp/files.el (auto-mode-alist): Use conf-mode for .asoundrc, .mairixrc, .mbsyncr, .msmtprc, .nvidia-settings-rc, .offlineimaprc, .reportbugrc, .rtorrent.rc, .screenrc, .mpdconf, .notmuch-config. Use conf-windows-mode for .redshift.conf. (Bug#38065)
* Document Lisp floats a bit betterPaul Eggert2019-11-103-41/+37
| | | | | | | | | | | | | * doc/lispref/numbers.texi (Float Basics): * doc/misc/cl.texi (Implementation Parameters): * lisp/emacs-lisp/cl-lib.el (cl-most-positive-float) (cl-least-positive-float) (cl-least-positive-normalized-float, cl-float-epsilon) (cl-float-negative-epsilon): Document IEEE floating point better. Don’t suggest that Emacs might use some floating-point format other than IEEE format, as Emacs currently assumes IEEE in several places and there seems little point in removing those assumptions.
* * lisp/tab-bar.el: Better handling of closed-tabs in tab-bar-list.Juri Linkov2019-11-101-2/+8
| | | | | | | * lisp/tab-bar.el (tab-bar-list-delete-from-list): Add closed tab to tab-bar-closed-tabs. (tab-bar-list-select): Don't add the closed intermediate tab to tab-bar-closed-tabs.
* * lisp/autorevert.el: Use 'minibuffer-message' to not obscure the prompt.Juri Linkov2019-11-102-2/+3
| | | | | | | | | | | * lisp/autorevert.el (auto-revert-handler): Use 'minibuffer-message' instead of 'message'. Call it from the original window's buffer that in case of the minibuffer should be current, so minibuffer-message could add a message to it. (Bug#34614) * lisp/emacs-lisp/ert-x.el (ert--make-message-advice): Add nil to the list of values to not use for format-message, because minibuffer-message calls 'message' with nil argument, and tests fail.
* Make dired-get-subdir-min obsoleteStefan Kangas2019-11-102-19/+22
| | | | | | | | | | | | | | | * lisp/dired.el (dired-get-subdir-min): Redefine as obsolete function alias for 'cdr'. (Bug#11571) (dired-get-subdir, dired-get-subdir-max, dired-clear-alist) (dired-next-subdir, dired-current-directory): * lisp/dired-aux.el (dired-rename-subdir-2) (dired-alist-sort, dired-insert-subdir-del) (dired-insert-subdir-doupdate, dired-goto-subdir) (dired-hide-subdir, dired-hide-all): Use 'cdr' instead of the above obsolete function. (dired-subdir-alist): Doc fix. Co-authored-by: Drew Adams <drew.adams@oracle.com>
* Move read-char-from-minibuffer from simple.el to subr.el and document it.Juri Linkov2019-11-104-70/+85
| | | | | | | | | | | | * doc/lispref/minibuf.texi (Multiple Queries): Document read-char-from-minibuffer (bug#10477, bug#38076). * lisp/subr.el (read-char-history) (read-char-from-minibuffer-map) (read-char-from-minibuffer-map-hash) (read-char-from-minibuffer-insert-char) (read-char-from-minibuffer-insert-other, empty-history) (read-char-from-minibuffer): Move from simple.el to subr.el.
* * lisp/cedet/semantic/wisent/comp.el (wisent-struct): RemoveStefan Monnier2019-11-091-95/+66
| | | | | | (core, shifts, reductions, errs): Use cl-defstruct instead. Adjust all users of the set-<struct>-<field> setters to use `setf` instead.
* Add extra bindings to fido-mode.Jimmy Aguilar Mena2019-11-101-0/+5
| | | | | * lisp/icomplete.el (icomplete-fido-mode-map) : Add arrows and other bindings to reproduce ido behaviour.
* Disable a portion of one doc-testGlenn Morris2019-11-091-30/+33
| | | | | | * test/src/doc-tests.el (doc-test-substitute-command-keys): Disable component that fails twice in the past 5 weeks due to changes in the minibuffer map.
* Don't overwrite y-or-n-p prompt by message from asynchronous man (bug#19064)Juri Linkov2019-11-101-25/+24
| | | | | | | * lisp/man.el (Man-bgproc-sentinel): Postpone displaying the message and deleting the buffer until exiting the code block with with-current-buffer. Use minibuffer-message to display message to handle possibly active minibuffer.
* Don't obscure the minibuffer by message (bug#17272)Juri Linkov2019-11-102-2/+7
| | | | | | | | * lisp/subr.el (do-after-load-evaluation): Use minibuffer-message to not obscure a possibly active minibuffer. * lisp/minibuffer.el (minibuffer-message): Record message in the *Messages* buffer.
* Use the minibuffer to read answer in userlock.el (bug#38076)Juri Linkov2019-11-101-12/+12
| | | | | | * lisp/userlock.el: Rename 'fn' to 'filename'. (ask-user-about-supersession-threat): Use read-char-from-minibuffer instead of read-char-choice.
* * lisp/startup.el (package--activated): Fix redundant definitionStefan Monnier2019-11-091-1/+1
|
* * lisp/ffap.el (ffap-read-file-or-url): Don't use url-file-handlerStefan Monnier2019-11-091-27/+12
| | | | Simplify accordingly (and don't call substitute-in-file-name redundantly).
* hack-local-variables-confirm uses the minibuffer to read answer (bug#38076)Juri Linkov2019-11-102-12/+7
| | | | | | | | | | * lisp/files.el (hack-local-variables-confirm): Use read-char-from-minibuffer instead of read-char-choice. Remove special handling of original window scrolling that is now supported in the minibuffer. This fixes https://lists.gnu.org/archive/html/emacs-devel/2019-10/msg01020.html (files--ask-user-about-large-file): Use read-char-from-minibuffer instead of read-char-choice.
* Add CHARS arg to read-char-from-minibuffer compatible with read-char-choice.Juri Linkov2019-11-102-24/+61
| | | | | | | | | | | | | | | * lisp/simple.el (read-char-history): Rename from read-char-from-minibuffer-history. (Bug#38076) (read-char-from-minibuffer-insert-char): Rename from read-char-from-minibuffer-self-insert. (read-char-from-minibuffer-map-hash): New defconst. (read-char-from-minibuffer-insert-other): New command. (read-char-from-minibuffer): Add optional args CHARS and HISTORY. (zap-to-char): Use 'read-char-history as HISTORY arg of read-char-from-minibuffer. * lisp/emacs-lisp/map-ynp.el (read-answer): Use sit-for instead of sleep-for. Replace short answer history yes-or-no-p-history with read-char-history.
* 'y-or-n-p' now uses the minibuffer to read 'y' or 'n' answer (bug#38076)Juri Linkov2019-11-103-55/+87
| | | | | | | | | | | | * doc/lispref/minibuf.texi (Yes-or-No Queries): Update the fact that y-or-n-p uses the minibuffer. * lisp/subr.el (y-or-n-p-history-variable): New variable. (y-or-n-p-map): New keymap. (y-or-n-p-insert-y, y-or-n-p-insert-n, y-or-n-p-insert-other): New commands. (y-or-n-p): Rewrite to use read-from-minibuffer and make-composed-keymap with y-or-n-p-map and query-replace-map.
* Run scroll/recenter commands from minibuffer in original window (bug#38076)Juri Linkov2019-11-093-2/+52
| | | | | | | | | | | | | | * lisp/minibuffer.el (with-minibuffer-selected-window): New macro. (minibuffer-recenter-top-bottom, minibuffer-scroll-up-command) (minibuffer-scroll-down-command, minibuffer-scroll-other-window): (minibuffer-scroll-other-window-down): New commands. (minibuffer-local-map): Remap recenter/scroll symbols to their minibuffer wrappers: recenter-top-bottom to minibuffer-recenter-top-bottom. * src/window.c (Fother_window_for_scrolling): Use 'lambda' value for MINIBUF arg of Fnext_window, so minibuffer-scroll-other-window and minibuffer-scroll-other-window-down doesn't try to scroll the minibuffer window.
* Improve an error about the message signerKarl Fogel2019-11-091-1/+9
| | | | | * lisp/gnus/mml-sec.el (mml-secure-epg-sign): Don't suggest setting `mml-secure-smime-sign-with-sender' if it's already non-nil.
* Fix font-lock-keywords slightlyLars Ingebrigtsen2019-11-091-1/+1
| | | | | * lisp/font-lock.el (font-lock-keywords): Tweak doc string slightly (bug#35005).
* Fix case-insensitive completion of buffer namesEli Zaretskii2019-11-092-5/+21
| | | | | | | | | | | * test/src/minibuf-tests.el (test-try-completion-ignore-case): New test, suggested by Stefan Monnier <monnier@iro.umontreal.ca>. * src/minibuf.c (Ftry_completion): Don't treat strings that are identical but for the case as if they were identical for the purposes of not counting the same string twice. This fixes case-insensitive completion when all the candidates are identical but for the letter-case. (Bug#11339)
* Fix an error in selecting encoding when writing zip filesEli Zaretskii2019-11-091-0/+5
| | | | | | | | * lisp/international/mule-cmds.el (select-safe-coding-system): Treat no-conversion-multibyte that came from find-auto-coding the same as no-conversion for the purposes of encoding. The same logic that considers no-conversion always safe should do the same with no-conversion-multibyte. (Bug#38155)
* * lisp/progmodes/cc-vars.el (c-mark-wrong-style-of-comment):Glenn Morris2019-11-091-1/+1
| | | | Fix version.