aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * lisp/doc-view.el (doc-view--revert-buffer): Fix last changeStefan Monnier2019-11-051-3/+7
|
* Declare unused macro package--push obsoleteStefan Kangas2019-11-051-0/+1
| | | | * lisp/emacs-lisp/package.el (package--push): Declare obsolete.
* Improve Tramp's copy-directoryMichael Albinus2019-11-055-4/+18
| | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist): * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): * lisp/net/tramp-rclone.el (tramp-rclone-file-name-handler-alist): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler-alist): Add `copy-directory'. * lisp/net/tramp.el (tramp-handle-copy-directory): New defun.
* Always check for client-certificatesRobert Pluim2019-11-053-4/+36
| | | | | | | | | | | | | | | * lisp/net/network-stream.el (network-stream-use-client-certificates): New user option. (open-network-stream): If 'network-stream-use-client-certificates' is t, and the user hasn't specified :client-certificate, do certificate lookups via 'auth-source'. (network-stream-certificate): Only return key and certificate files that exist. * doc/lispref/processes.texi (Network): Document new client-certificate behavior. * etc/NEWS: Document 'network-stream-use-client-certificates'.
* Simplify calculator-exptPaul Eggert2019-11-041-24/+4
| | | | | * lisp/calculator.el (calculator-expt): Simplify, now that expt does the right thing if the first arg is -1, 0, or 1.
* Overflow errors are range errorsPaul Eggert2019-11-043-6/+11
| | | | | | | | | | | * etc/NEWS: Mention this. * doc/lispref/errors.texi (Standard Errors): Document overflow-error, which was formerly undocumented. It is a range error, not a domain error. * src/data.c (syms_of_data): overflow-error and (undocumented) underflow-error are subtypes range-error, not domain-error. This fixes bugs in timezone-time-from-absolute and in erc-ctcp-reply-PING.
* Don’t signal overflow for (expt 1 bignum)Paul Eggert2019-11-042-6/+26
| | | | | | | | Similarly for (expt 0 bignum) and (expt -1 bignum). The result is always a -1, 0 or 1, so do not signal overflow. * src/data.c (expt_integer): Do not signal an overflow if -1 <= X <= 1. Be clearer about when overflow is signaled. * test/src/floatfns-tests.el (bignum-expt): Test this.
* Fixes bug where restoring game saved in an endgame question room would show ↵Ronnie Schnell2019-11-041-0/+2
| | | | 'nil' as the question.
* Improve Tramp error handlingMichael Albinus2019-11-048-15/+102
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-set-syntax): Add missing argument. (tramp-signal-hook-function): Make it more robust. (tramp-handle-directory-files): * lisp/net/tramp-adb.el (tramp-adb-handle-directory-files-and-attributes) (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file): * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): * lisp/net/tramp-rclone.el (tramp-rclone-do-copy-or-rename-file) (tramp-rclone-handle-directory-files): * lisp/net/tramp-sh.el (tramp-sh-handle-directory-files-and-attributes) (tramp-sh-handle-copy-directory, tramp-do-copy-or-rename-file): * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory) (tramp-smb-handle-copy-file, tramp-smb-handle-directory-files) (tramp-smb-handle-rename-file): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file): Improve error handling. * test/lisp/net/tramp-tests.el (tramp-test11-copy-file) (tramp-test12-rename-file, tramp-test14-delete-directory) (tramp-test15-copy-directory, tramp-test16-directory-files) (tramp-test19-directory-files-and-attributes): Extend tests.
* Fix last change in dired.cEli Zaretskii2019-11-041-2/+2
| | | | | * src/dired.c (file_name_completion): Fix arguments to Fcompare_strings. (Bug#38056)
* Fix English grammar in some doc strings and commentsStephen Gildea2019-11-037-96/+96
| | | | | | (files.el subr.el): Fix some grammar errors in doc strings and comments. (frame.c fringe.c image.c xfns.c xterm.c): Fix some English grammar errors in doc strings.
* Improve time documentation a bit morePaul Eggert2019-11-031-15/+18
| | | | | * doc/lispref/os.texi (Time of Day, Time Conversion) (Time Parsing, Time Calculations): Improve doc.
* * lisp/help-fns.el (describe-variable): Add quotes to symbol value of origval.Juri Linkov2019-11-031-1/+5
|
* * lisp/tab-bar.el: Better handling of tab-bar-history.Juri Linkov2019-11-031-10/+12
| | | | | | | * lisp/tab-bar.el (tab-bar-history-limit): Increase to 10 since wc is not saved to the desktop file anymore, so doesn't affect its size. (tab-bar-history--pre-change, tab-bar--history-change): Store wc before possibly entering the minibuffer.
* * lisp/tab-bar.el: Filter out non-persistent tab parameters from frameset.Juri Linkov2019-11-032-13/+24
| | | | | | | | | | * lisp/tab-bar.el (frameset-filter-tabs): New function added to 'frameset-filter-alist' for frame parameter 'tabs'. (tab-bar--tab): Remove ws-bl/ws-bbl that are not needed because frameset doesn't save frame buffer-list to desktop anyway. (tab-bar-select-tab): Remove ws-bl/ws-bbl related code. * lisp/emacs-lisp/seq.el (seq-reduce): Add autoload cookie.
* Handle truncate-lines in customize-groupStefan Kangas2019-11-031-16/+18
| | | | | | | | | * lisp/cus-edit.el (custom-group--draw-horizontal-line): New function to draw horizontal lines which handles a non-nil value of 'truncate-lines'. (Bug#25308) (custom-group-value-create): Use it. Co-authored-by: Jonas Bernoulli <jonas@bernoul.li>
* Fix doc of font-lock-syntactic-face-functionLars Ingebrigtsen2019-11-031-3/+13
| | | | | * doc/lispref/modes.texi (Syntactic Font Lock): Don't refer to no-longer-existing OTHER-VARS (bug#17730) and include an example.
* Fix file-tests.el on MS-WindowsEli Zaretskii2019-11-031-1/+7
| | | | | | | | * test/lisp/files-tests.el (files-tests-file-name-non-special-start-file-process): On MS-Windows, wait till the process dies before returning from the files-tests--with-temp-non-special macro, to ensure the temporary directory is successfully deleted.
* Fix case-insensitive completion of non-ASCII file namesEli Zaretskii2019-11-031-35/+66
| | | | | | | | * src/dired.c (scmp): Comment on (non)applicability to comparisons of non-ASCII strings case-insensitively. (file_name_completion): Decode early the file names read from the directory, and use the decoded names for comparison when letter-case should be ignored. (Bug#11339)
* ; * src/font.c (Ffont_info): Minor fix of doc string.Eli Zaretskii2019-11-031-1/+3
|
* describe-font/font-info works with unloaded fontsLars Ingebrigtsen2019-11-032-9/+13
| | | | | | | | | * lisp/international/mule-diag.el (describe-font): This function can be used on unloaded fonts, so remove that restriction from the doc string (bug#16815). Also allow completion over all fonts on the system. * src/font.c (Ffont_info): Ditto for the doc string.
* Add a <a id=...> skeleton to html-modeLars Ingebrigtsen2019-11-032-0/+13
| | | | | * lisp/textmodes/sgml-mode.el (html-id-anchor): New skeleton and keystroke (bug#37651).
* * lisp/bs.el (bs-mode): Improve mode docstring.Juanma Barranquero2019-11-031-16/+30
|
* * lisp/tab-line.el (tab-line-tab-selected): New face.Juri Linkov2019-11-021-5/+18
| | | | | (tab-line-format): Use new face tab-line-tab-selected. ([tab-line]): Move tab-switching mouse wheel commands to S-keys.
* Fix data-directory when executing from an out-of-source buildÓscar Fuentes2019-11-021-1/+1
| | | | | | Fixes #36828. * src/callproc.c (init_callproc): detect out-of-source build.
* Allow flymake diagnostic types to have shorter namesJoão Távora2019-11-022-1/+11
| | | | | | | | | | | | | | | | Eglot, a third-party package which uses Flymake, has its own diagnostic types such as 'eglot-error', 'eglot-warning', etc... While not being too long, they will not fit in the type column of the "list all diagnostics" buffer. This commit allows diagnostic types to have user-defined names and also assigns names to the default categories. * doc/misc/flymake.texi (Flymake error types): Describe flymake-type-name prop. * lisp/progmodes/flymake.el (flymake--diagnostics-buffer-entries): Use type names. (flymake-error, flymake-warning, flymake-note): Give these diagnostic categories default type names.
* Avoid face clashes between Flymake and region highlightingJoão Távora2019-11-021-1/+3
| | | | | | | Fix bug#34022. * lisp/progmodes/flymake.el (flymake--highlight-line): Use (PRIMARY . SECONDARY) priority value.
* Clarify consequences of mismatching Flymake diagnostic buffersJoão Távora2019-11-022-2/+7
| | | | | | | | | | Fix bug#34418. * doc/misc/flymake.texi (Flymake utility functions): Add note to flymake-make-diagnostic. * lisp/progmodes/flymake.el (flymake--handle-report): Discard diagnostics from other buffers.
* Further fixup of the previous doc fix in the Faces nodeLars Ingebrigtsen2019-11-021-4/+3
| | | | | * doc/lispref/display.texi (Faces): Improve wording from previous change.
* Revert "Make the debbugs groups also include robot messages"Lars Ingebrigtsen2019-11-021-1/+1
| | | | | | This reverts commit 682eae776efa9d57842345de67becf5c56cafc91. The change made the bug# disappear from the Subject lines.
* CC Mode. Fix slow scrolling by adding a search limit.Alan Mackenzie2019-11-021-1/+1
| | | | | | | This fixes bug #10149. * lisp/progmodes/cc-fonts.el (c-font-lock-single-decl) Limit the search by c-go-up-list-backwards to 500 non-literal characters.
* Correct merge blunder in last icomplete commitJoão Távora2019-11-021-5/+1
| | | | | * lisp/icomplete.el (icomplete-exhibit): Use while-no-input-ignore-events.
* Document Windows font selection quirksEli Zaretskii2019-11-021-0/+9
| | | | | * doc/emacs/msdos.texi (Windows Fonts): Document 'w32-use-w32-font-dialog' and 'w32-fixed-font-alist'.
* Improve documentation of 'set-face-font'Eli Zaretskii2019-11-023-23/+40
| | | | | | | | | * lisp/faces.el (set-face-font): * doc/emacs/frames.texi (Fonts): * doc/lispref/display.texi (Face Attributes) (Attribute Functions): Clarify and correct the documentation of set-face-font and related descriptions of font specifications. (Bug#14647)
* Revert "Omit edition numbers and dates in manuals"Eli Zaretskii2019-11-023-2/+38
| | | | | | This reverts commit 2f42832895942fdeaa0c500511aa19860fa806cd. Editions of Emacs manuals must be coordinated with the FSF publishing staff, as they appear on the printed books.
* ; * etc/NEWS: Fix my previous change for package-initialize.Stefan Kangas2019-11-021-1/+1
|
* * .dir-locals.el: Add explanatory header.Stefan Kangas2019-11-021-0/+3
|
* Add auto-insert skeleton for ".dir-locals.el"Stefan Kangas2019-11-021-1/+24
| | | | | * lisp/autoinsert.el (auto-insert-alist): Add auto-insert skeleton for ".dir-locals.el".
* New icomplete-tidy-shadowed-file-names variableJoão Távora2019-11-021-39/+66
| | | | | | * lisp/icomplete.el (rfn-eshadow): Require it. (icomplete-tidy-shadowed-file-names): New variable. (icomplete-exhibit): Use icomplete-tidy-shadowed-file-names.
* Fix icomplete-force-complete-and-exit for no-input situationsJoão Távora2019-11-021-3/+23
| | | | | | | | | | | | | If there is no minibuffer input, but the user has already cycled some pre-calculated completions, we should be calling minibuffer-force-complete-and-exit instead of minibuffer-complete-and-exit. The former is guaranteed to be fast in this situation and yields the desired "selected" completion, while the latter will just give us the default, ignoring all the cycling of icomplete-{forward|backward}-completions. * lisp/icomplete.el (icomplete-force-complete-and-exit): Add comments and fix for empty input but some completions calculated.
* Improve fix for icomplete's backward-kill-word bug#38024João Távora2019-11-021-2/+5
| | | | | | | * lisp/icomplete.el (icomplete-exhibit): Use while-no-input-ignore-events, not redisplay. Co-authored-by: Stefan Monnier <j.schmoe@example.org>
* * doc/emacs/package.texi (Package Menu): Add index items.Stefan Kangas2019-11-021-1/+31
|
* Use PASSWORD_STORE_DIR in auth-source-pass when setStefan Kangas2019-11-021-1/+2
| | | | | * lisp/auth-source-pass.el (auth-source-pass-filename): Initialize to PASSWORD_STORE_DIR environment variable when set. (Bug#29663)
* Don't refuse to install packages without a "footer line"Stefan Kangas2019-11-022-3/+20
| | | | | | * lisp/emacs-lisp/package.el (package-buffer-info): Don't signal an error when the "footer line" is missing. Warn only. (Bug#26490) * etc/NEWS: Announce it.
* Omit edition numbers and dates in manualsPaul Eggert2019-11-013-38/+2
| | | | | | | | | | | | | | | | | These 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 "26.3". If we need a separate edition number for each printed manual for some reason (marketing?) we can put “@ifset printed-edition” around anything specific to the printed editions. (as opposed to online PDF copies). * doc/emacs/emacs.texi (EDITION): * doc/lispintro/emacs-lisp-intro.texi (edition-number, update-date): * doc/lispref/elisp.texi (VERSION, DATE): Remove, and remove uses.
* Document limits on some time-conversion functionsPaul Eggert2019-11-011-10/+22
| | | | | | | * doc/lispref/os.texi (Time of Day, Time Zone Rules) (Time Conversion, Time Parsing, Time Calculations): Document functions that limit the range of time values due to OS limits (Bug#37974).
* set-face-font doc string updateLars Ingebrigtsen2019-11-011-0/+4
| | | | | * lisp/faces.el (set-face-font): Mention what the string formats are (bug#14647).
* Fix documentation of set-face-font in the manualLars Ingebrigtsen2019-11-011-1/+5
| | | | | * doc/lispref/display.texi (Attribute Functions): Describe more precisely what set-face-font does (bug#14647).
* Low-Level Font documentation fixLars Ingebrigtsen2019-11-011-1/+4
| | | | | * doc/lispref/display.texi (Low-Level Font): Mention what the data types the font attributes are (bug#14634).
* Really enable setting a breakpoint without instrumenting firstLars Ingebrigtsen2019-11-011-1/+3
| | | | | * lisp/emacs-lisp/edebug.el (edebug-set-breakpoint): Really enable setting a breakpoint without instrumenting first (bug#23469).