summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * admin/admin.el (reminder-for-release-blocking-bugs): New command.Michael Albinus2020-08-251-0/+45
|
* Sync with Tramp 2.4.5-preMichael Albinus2020-08-2515-416/+1103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi: Adapt Tramp and Emacs version numbers. (Remote processes): Describe `process-file-return-signal-string' and $INSIDE_EMACS. (Frequently Asked Questions): Mention Emacs 28. Describe `tramp-smb-options'. * doc/misc/trampver.texi: Change version to "2.4.5-pre". * lisp/net/tramp-adb.el (process-file-return-signal-string): Declare. (tramp-adb-handle-write-region): Flush the cache after the file has been written. (tramp-adb-handle-set-file-modes, tramp-adb-handle-set-file-times): Add optional _FLAG. (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file) (tramp-adb-handle-process-file): Use `tramp-file-local-name'. (tramp-adb-get-signal-strings): New defun. (tramp-adb-handle-process-file): Use it. (tramp-adb-handle-make-process): Implement `stderr'. Use `insert-file-contents-literally'. (tramp-adb-send-command-and-check): Add optional argument EXIT-STATUS. (tramp-adb-handle-process-file): Use it. * lisp/net/tramp-archive.el (tramp-archive-file-name-handler): Increase `max-specpdl-size' temporarily. * lisp/net/tramp-cache.el (top): Use `insert-file-contents-literally'. * lisp/net/tramp-cmds.el (tramp-rename-files): Use `tramp-file-local-name'. * lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Prevent crash for older Emacsen. (top): Adapt `tramp-gvfs-unload-hook'. (tramp-gvfs-handle-file-system-info): Fix error. (tramp-gvfs-handle-set-file-modes, tramp-gvfs-handle-set-file-times): Add optional _FLAG. * lisp/net/tramp-rclone.el (tramp-rclone-flush-directory-cache): Fix a problem with older Emacsen. * lisp/net/tramp-sh.el (process-file-return-signal-string): Declare. (tramp-sh-extra-args): Add "-noediting" as bash arg. (tramp-hexdump-encode, tramp-hexdump-awk-encode) (tramp-od-encode, tramp-od-awk-encode): New defconst. (tramp-awk-encode, tramp-awk-decode): Adapt. (tramp-awk-coding-test): Remove. (tramp-remote-coding-commands): Add hexdump/awk encoding. (Bug#35639) (tramp-find-inline-encoding): Adapt handling of awk, hexdump and od. (tramp-get-remote-busybox, tramp-get-remote-awk) (tramp-get-remote-hexdump, tramp-get-remote-od): New defuns. (tramp-sh-handle-make-symbolic-link): (tramp-do-copy-or-rename-file-directly) (tramp-sh-handle-process-file, tramp-set-remote-path) (tramp-find-inline-encoding, tramp-get-remote-touch): Use `tramp-file-local-name'. (tramp-do-file-attributes-with-stat): Simplify shell command. Suppress errors (interpret as nil). (tramp-sh-handle-set-file-modes, tramp-sh-handle-set-file-times): Add optional _FLAG. (tramp-sh-handle-make-process): Do not visit with `insert-file-contents'. Delete tmp file only if exists. Support `stderr' as file name. Delete temporary stderr file. Flush connection properties in time. (tramp-sh-get-signal-strings): New defun. (tramp-sh-handle-process-file): Use it. (tramp-sh-handle-write-region): Copy to temp file only if FILENAME exists. (Bug#40156) (tramp-set-remote-path): Send the command in several chunks if it is too large. (Bug#42538) (tramp-open-connection-setup-interactive-shell): Move up "set +o vi +o emacs" command. (Bug#39399) (tramp-send-command-and-read): Suppress `signal-hook-function' when reading expression. (tramp-send-command-and-check): Add optional argument EXIT-STATUS. (tramp-sh-handle-process-file): Use it. (Bug#41099) * lisp/net/tramp-smb.el (tramp-smb-conf): Fix docstring. (tramp-smb-options): New defcustom. (tramp-smb-handle-copy-directory, tramp-smb-handle-file-acl) (tramp-smb-handle-set-file-acl, tramp-smb-maybe-open-connection): Use it. (tramp-smb-errors): Add "NT_STATUS_INVALID_PARAMETER". (tramp-smb-handle-make-symbolic-link) (tramp-smb-handle-process-file): Use `tramp-file-local-name'. * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file): (tramp-sudoedit-handle-set-file-uid-gid): Use `tramp-unquote-file-local-name'. (tramp-sudoedit-handle-make-symbolic-link): Use `tramp-file-local-name'. (tramp-sudoedit-handle-file-system-info): Fix a scoping error. (tramp-sudoedit-handle-set-file-modes): (tramp-sudoedit-handle-set-file-times): Add optional _FLAG. * lisp/net/tramp.el: Bump version to 2.4.5-pre. (tramp-file-local-name, tramp-unquote-file-local-name): New defuns. (tramp-set-connection-local-variables-for-buffer) (tramp-equal-remote, tramp-handle-make-auto-save-file-name): Use `tramp-tramp-file-p'. (tramp-parse-file): Use `insert-file-contents-literally'. (tramp-handle-file-modes, tramp-handle-file-times): Add optional _FLAG. (tramp-handle-shell-command): Fix `window-start' in output buffer. (Bug#39171) Handle `shell-command-dont-erase-buffer'. (Bug#39067) Reorganize error-buffer handling. Set `default-directory'. (Bug#39253) (tramp-handle-shell-command, tramp-handle-start-file-process): Implement asynchronous `error-buffer'. (tramp-action-process-alive): Read pending output. (tramp-read-passwd): Use `tramp-compat-temporary-file-directory'. (Bug#39389, Bug#39489) (tramp-interrupt-process): Improve command. * lisp/net/trampver.el: Change version to "2.4.5-pre". (tramp-repository-branch, tramp-repository-version): Bind `debug-on-error' to nil. * test/lisp/net/tramp-tests.el (tramp-get-remote-gid) (process-file-return-signal-string) (shell-command-dont-erase-buffer): Declare. (tramp-test10-write-region, tramp-test28-process-file) (tramp-test29-start-file-process, tramp-test30-make-process) (tramp-test31-interrupt-process, tramp-test32-shell-command): Extend test. (tramp-test10-write-region, tramp-test21-file-links): Use function symbols. (tramp-test18-file-attributes): Check `file-ownership-preserved-p' only if possible. (tramp--test-async-shell-command): New defun. (tramp--test-shell-command-to-string-asynchronously): Use it. (tramp-test32-shell-command-dont-erase-buffer): New test.
* Fix error in GMP testPhillip Lord2020-08-241-1/+1
| | | | | * etc/w32-feature.el: Update to use system-configuration-features for GMP test.
* Add Feature testing for Windows binariesPhillip Lord2020-08-241-0/+87
| | | | * etc/w32-feature.el: New file
* ; * src/character.c (str_as_multibyte): Fix the commentary.Eli Zaretskii2020-08-211-3/+3
|
* Revert "; * etc/NEWS: Remove temporary note on documentation. (Bug#42917)"Stefan Kangas2020-08-201-0/+6
| | | | This reverts commit 121be3e1181e609734fc4cc9d2d54cf7eec18ab2.
* * admin/admin.el (set-version): Trap yet another NEWS error.Glenn Morris2020-08-191-1/+1
|
* ; * etc/NEWS: Remove temporary note on documentation. (Bug#42917)Stefan Kangas2020-08-191-8/+0
|
* Fix cond jump table compilation (bug#42919)Mattias Engdegård2020-08-192-25/+42
| | | | | | | | | | | | | | | | | This bug affected compilation of (cond ((member '(some list) variable) ...) ...) While equal is symmetric, member is not; in the latter case the arguments must be a variable and a constant list, in that order. Reported by Ikumi Keita. * lisp/emacs-lisp/bytecomp.el (byte-compile--cond-switch-prefix): Don't treat equality and member predicates in the same way; only the former are symmetric in their arguments. * test/lisp/emacs-lisp/bytecomp-tests.el (byte-opt-testsuite-arith-data): Add test cases.
* Let Emacs start even if curdir is inaccessiblePaul Eggert2020-08-171-5/+6
| | | | | | | * lisp/startup.el (normal-top-level): Also delete PWD if file-attributes fails for either $PWD or default-directory, instead of failing out of the top level. This fixes a regression from Emacs 26 (Bug#42903).
* * etc/NEWS: Mention GnuPG 2.0 through 2.1.5 issue (Bug#42845).Paul Eggert2020-08-171-0/+5
|
* Fix bug with ~/Emacs file not being read at initRobert Pluim2020-08-161-2/+2
| | | | | * src/xrdb.c (get_user_app): Put "/" between homedir and %L or %N (Bug#42827).
* ; Fix last changeEli Zaretskii2020-08-151-1/+1
|
* ; * doc/lispref/sequences.texi (Sequence Functions): Typo Fix. (Bug#42871)Eli Zaretskii2020-08-151-2/+2
|
* Prevent from frozen frame after `C-z' in Lucid buildsTino Calancha2020-08-151-0/+14
| | | | | | | | | Some WMs (e.g. mutter in Gnome Shell) don't unmap iconized windows, thus we won't get a MapNotify when deconifying them. Check if we are deconifying a window elsewhere (Bug#42655). - src/xterm.c (handle_one_xevent): Check for window deconify when receiving a FocusIn signal.
* Document the 'flex' completion styleEli Zaretskii2020-08-151-0/+7
| | | | | * doc/emacs/mini.texi (Completion Styles): Document the 'flex' completion style. (Bug#42763)
* Note that Emacs needs systemd support if systemd is used to stop/startLars Ingebrigtsen2020-08-141-4/+5
| | | | | | * etc/NEWS: Note that Emacs needs to be built with systemd support systemd is used to stop/start Emacs (bug#42242). Change suggested by Bhavin Gandhi <bhavin7392@gmail.com>
* Regexps cannot infloop; fix manualMattias Engdegård2020-08-141-6/+4
| | | | | | | * doc/lispref/searching.texi (Regexp Special): Edit erroneous statements about infinite looping in regexps. (cherry picked from commit 63268253d21c57d991cba3f3b083d74f154a26fe)
* ; spelling fixesPaul Eggert2020-08-138-10/+10
|
* Fix startup working dir bug on NeXTSTEPPaul Eggert2020-08-131-6/+10
| | | | | * src/emacs.c (main) [NS_IMPL_COCOA]: Update emacs_wd after a NS GUI chdirs successfully (Bug#42836).
* Improve documentation of function argument listsEli Zaretskii2020-08-131-4/+5
| | | | | | * doc/lispref/functions.texi (Lambda Components) (Defining Functions): Add a cross-reference to "Argument List". (Argument List): Improve the section name. (Bug#42750)
* Improve documentation of special eventsEli Zaretskii2020-08-131-0/+7
| | | | | * doc/lispref/commands.texi (Misc Events): Explain how to bind special events to commands.
* Fix face merging at EOL when inherited face specifies :extendEli Zaretskii2020-08-131-3/+17
| | | | | | | | * src/xfaces.c (merge_face_ref): Handle correctly faces that inherit from another, and in addition specify :extend. (Bug#42552) (cherry picked from commit 39c90f8dfabe158ad7ac9243aa9b9dedb9409e19)
* Fix face extension past EOL in overlay stringsEli Zaretskii2020-08-133-4/+5
| | | | | | | | | | | | * src/xdisp.c (face_at_pos): Pass ATTR_FILTER to face_for_overlay_string. * src/xfaces.c (face_for_overlay_string): Accept an additional argument ATTR_INDEX and pass it to merge_face_ref for merging the face at POS. This ensures a face from buffer text will not be merged unless it specifies the :extend attribute. (Bug#42552) * src/dispextern.h (face_for_overlay_string): Adjust prototype. (cherry picked from commit 35564bea4d73bc266743216599d01d644aed6fd8)
* Fix comint-redirect-results-list regexp usage (Bug#42662)Phil Sainty2020-08-131-1/+1
| | | | | * lisp/comint.el (comint-redirect-results-list-from-process): Don't treat the literal string argument COMMAND as a regexp.
* ; Bump Emacs version to 27.1.50Eli Zaretskii2020-08-115-4/+33
| | | | | | | | * configure.ac: * README: * nt/README.W32: * msdos/sed2v2.inp: * etc/NEWS: Bump Emacs version to 27.1.50.
* ; lisp/ldefs-boot.el: Update.emacs-27.1-rc2emacs-27.1Nicolas Petton2020-08-041-3/+3
|
* * etc/HISTORY: Update the Emacs 27.1 release date.Nicolas Petton2020-08-041-1/+1
|
* ; Update ChangeLog.3Nicolas Petton2020-08-041-1/+97
|
* ; Update etc/AUTHORSNicolas Petton2020-08-041-25/+25
|
* ; * etc/NEWS: fix some quotingRobert Pluim2020-08-041-1/+1
|
* ; * lisp/so-long.el: DocumentationPhil Sainty2020-08-041-7/+10
|
* lisp/so-long.el: Improve support for major mode hooksPhil Sainty2020-08-041-3/+46
| | | | | | | | | | * lisp/so-long.el (so-long-remember-all, so-long-disable-minor-modes) (so-long-override-variables): Store and use the `so-long-minor-modes' and `so-long-variable-overrides' values seen by the original major mode, so that buffer-local changes made in the major mode hook will be respected. Add documentation of this and other major mode hook usage.
* ; lisp/so-long.el: Prevent potential error if comment-use-syntax is nilPhil Sainty2020-08-041-1/+3
| | | | | | | * lisp/so-long.el (so-long-detected-long-line-p): Ensure that `comment-start-skip' and `comment-end-skip' are both set if `comment-use-syntax' is nil, as `comment-forward' requires them to be bound in this scenario.
* ; * lisp/so-long.el: Byte-compilation bug fixPhil Sainty2020-08-041-1/+2
| | | | | | | As this `require' is not at the top-level (it is only conditionally evaluated, when loading the library over the top of an earlier version), we need `eval-and-compile' to ensure that both macros and functions from advice.el are accounted for.
* ; * lisp/so-long.el (so-long-variable-overrides): Improve docPhil Sainty2020-08-041-2/+13
|
* ; * so-long.el: Documentation and spellingPhil Sainty2020-08-041-33/+33
| | | | | | | | | | | | | | | | | Reverting certain changes from commits b0f20651e3 and d1a791f8ed. Please refer to the comments on spelling at the end of the library. M-x ispell-buffer should find no misspellings in the documentation. See also test/lisp/so-long-tests/spelling-tests.el (The current spelling will persist while so-long.el is maintained in its own Savannah repository, to avoid unnecessary conflicts between the two versions. If in the future it is maintained solely in the Emacs repository, changing the spelling would become an option.) Note that "mitigations" (plural) is intentional -- this library identifies a collection of different performance mitigations, multiple of which will typically be in effect together.
* Avoid segfaults if XIM is set but not xim_stylesGrégory Mounié2020-08-021-1/+1
| | | | | | | | | Emacs segfaults at the X11 initialization if XIM is set and xim_styles is NULL. This patch avoids the crash. * src/xfns.c: Check also if FRAME_X_XIM_STYLES(f) is NULL. (Bug#42676) (Bug#42673) (Bug#42677) Copyright-paperwork-exempt: yes
* ; * test/lisp/emacs-lisp/generator-tests.el: Style fixes.Philipp Stephani2020-07-311-2/+7
|
* Backport: Make checking for liveness of global values more precise.Philipp Stephani2020-07-311-5/+8
| | | | | | | | | | We can't just use a hash lookup because a global and a local reference might refer to the same Lisp object. * src/emacs-module.c (module_free_global_ref): More precise check for global liveness. (cherry picked from commit 9f01ce6327af886f26399924a9aadf16cdd4fd9f)
* Backport: Fix subtle bug when checking liveness of module values.Philipp Stephani2020-07-311-3/+24
| | | | | | | | | | | | We can't simply look up the Lisp object in the global reference table because an invalid local and a valid global reference might refer to the same object. Instead, we have to test the address of the global reference against the stored references. * src/emacs-module.c (module_global_reference_p): New helper function. (value_to_lisp): Use it. (cherry picked from commit 6355a3ec62f43c9b99d483982ff851d32dd78891)
* Backport: Fix memory leak for global module objects (Bug#42482).Philipp Stephani2020-07-311-28/+54
| | | | | | | | | | | | | | | | Instead of storing the global values in a global 'emacs_value_storage' object, store them as hash values alongside the reference counts. That way the garbage collector takes care of cleaning them up. * src/emacs-module.c (global_storage): Remove. (struct module_global_reference): New pseudovector type. (XMODULE_GLOBAL_REFERENCE): New helper function. (module_make_global_ref, module_free_global_ref): Use 'module_global_reference' struct for global reference values. (value_to_lisp, module_handle_nonlocal_exit): Adapt to deletion of 'global_storage'. (cherry picked from commit 5c5eb9790898e4ab10bcbbdb6871947ed3018569)
* ; ChangeLog.3 and etc/AUTHORS fixesNicolas Petton2020-07-302-33/+105
|
* * admin/authors.el (authors-aliases): Remove a faulty regexp.Nicolas Petton2020-07-301-1/+0
|
* * doc/lispref/symbols.texi (Definitions): Fix typo.Stefan Kangas2020-07-291-1/+1
|
* ; lisp/ldefs-boot.el: Update.Nicolas Petton2020-07-281-1/+4
|
* * etc/HISTORY: Add Emacs 27.1 release date.emacs-27.1-rc1Nicolas Petton2020-07-281-0/+2
|
* Bump Emacs version to 27.1Nicolas Petton2020-07-284-4/+4
| | | | | | | * README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version.
* ; Update ChangeLog.3Nicolas Petton2020-07-281-1/+1845
|
* * etc/AUTHORS: Update.Nicolas Petton2020-07-281-127/+64
|