Michael Albinus
009e88e002
Merge with Tramp 2.5.2.3 (Do not merge with master)
...
* doc/misc/tramp.texi (Archive file names): Explicitly say how to
open an archive with Tramp (Bug#25076).
* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.5.3-pre".
* lisp/net/tramp-adb.el (tramp-adb-handle-process-file)
* lisp/net/tramp-sh.el (tramp-sh-handle-process-file):
* lisp/net/tramp-smb.el (tramp-smb-handle-process-file):
* lisp/net/tramp-sshfs.el (tramp-sshfs-handle-process-file):
Improve implementation. (Bug#53854)
* lisp/net/tramp-adb.el (tramp-adb-tolerate-tilde):
* lisp/net/tramp-sshfs.el (tramp-sshfs-tolerate-tilde):
New defuns. Advice `shell-mode' with them.
* lisp/net/tramp.el (tramp-register-autoload-file-name-handlers):
* lisp/net/tramp-archive.el (tramp-register-archive-file-name-handler):
Check, whether the real file name handler is already registered.
rules. (Bug#54542)
* lisp/net/tramp.el (tramp-autoload-file-name-handler)
(tramp-register-autoload-file-name-handlers)
(tramp-unload-file-name-handlers, tramp-unload-tramp):
* lisp/net/tramp-archive.el (tramp-archive-autoload-file-name-regexp)
(tramp-archive-autoload-file-name-handler)
(tramp-register-archive-file-name-handler):
Add `tramp-autoload' property.
* lisp/net/tramp-crypt.el (tramp-crypt-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):
* lisp/net/tramp-sshfs.el (tramp-sshfs-file-name-handler-alist):
Use `tramp-handle-file-notify-add-watch',
`tramp-handle-file-notify-rm-watch' and
`tramp-handle-file-notify-valid-p'.
* lisp/net/tramp-crypt.el (tramp-crypt-file-name-handler-alist):
Use `tramp-handle-insert-file-contents'.
* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection):
* lisp/net/lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection):
* tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection): Do not
set "lock-pid" connection-property.
(tramp-sudoedit-handle-delete-file): Use "rm -f".
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-executable-p):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-executable-p):
Check also for setuid/setgid bit.
(tramp-gvfs-handle-expand-file-name):
Respect `tramp-tolerate-tilde'.
* lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory):
* lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
Do not modify disk space information when
`dired--insert-disk-space' is available. (Bug#54512)
* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Extend suppression
(tramp-get-remote-dev-tty): New defun.
(tramp-sh-handle-make-process): Use it.
* lisp/net/tramp-sshfs.el (tramp-methods) <sshfs>:
Add "-t -t" to `tramp-login-args'.
Add "-o dir_cache=no" to `tramp-mount-args'. (Bug#54126)
Add "-o transform_symlinks" to `tramp-mount-args'.
(tramp-sshfs-file-name-handler-alist):
Use `tramp-sshfs-handle-file-writable-p'.
(tramp-sshfs-handle-file-writable-p): New defun. (Bug#54130)
(tramp-sshfs-handle-write-region): Set file modification time.
(Bug#54016)
(tramp-sshfs-file-name-handler-alist):
Use `tramp-sshfs-handle-set-file-times'.
(tramp-sshfs-handle-set-file-times): New defun.
* test/lisp/net/tramp-tests.el (tramp--test-expensive-test-p):
Rename from `tramp--test-expensive-test'. Make it a defun. Adapt
all callees.
(tramp-test07-file-exists-p, tramp-test14-delete-directory)
(tramp-test18-file-attributes, tramp-test20-file-modes)
(tramp-test28-process-file, tramp-test29-start-file-process)
(tramp-test30-make-process, tramp-test32-shell-command)
(tramp-test33-environment-variables, tramp--test-check-files)
(tramp--test-special-characters, tramp-test46-unload): Adapt tests.
(tramp-test39-detect-external-change): New test.
(tramp-test29-start-file-process)
(tramp--test--deftest-direct-async-process)
(tramp-test30-make-process, tramp-test31-interrupt-process)
(tramp-test34-explicit-shell-file-name)
(tramp-test44-asynchronous-requests):
Add :tramp-asynchronous-processes tag.
(tramp--test-asynchronous-processes-p): New defun.
(tramp--test-hpux-p, tramp--test-macos-p): Protect against errors.
2022-04-07 11:17:52 +02:00
Stefan Monnier
4161a36849
cl-generic.el: Fix bug#46722
...
Fix longstanding bug due to unexpected interference via side-effect.
* lisp/emacs-lisp/cl-generic.el (cl--generic-get-dispatcher):
Copy the `dispatch` arg before storing it into the hash-table.
Backport from `master` (cherrypick from commit 61f8f7f68f
).
2022-04-06 14:26:40 -04:00
Eli Zaretskii
8c71ac606e
Fix fallout from lexical-binding in vhdl-mode.el
...
* lisp/progmodes/vhdl-mode.el (vhdl-update-sensitivity-list): Fix
production of a list with embedded function calls. (Bug#54730)
2022-04-05 21:15:32 +03:00
Eli Zaretskii
dd3863d8bc
; Prepare the release branch for Emacs-28.2 development
...
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 28.1.50.
* etc/NEWS: Add Emacs-28.2 sections.
2022-04-03 16:09:11 +03:00
Eli Zaretskii
5a223c7f2e
Update logs and HISTORY for Emacs 28.1
...
* ChangeLog.3:
* etc/HISTORY:
* etc/AUTHORS: Update for Emacs 28.1 release.
2022-04-03 08:26:02 -04:00
Eli Zaretskii
de7901abbc
Bump Emacs version to 28.1
...
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 28.1
2022-04-03 07:38:15 -04:00
Eli Zaretskii
f2ae398298
; * etc/NEWS: Remove temporary notes and marks.
2022-04-03 07:16:10 -04:00
Eli Zaretskii
9b5e9715ea
; * lisp/font-lock.el (font-lock-keywords): Doc fix.
2022-04-02 13:20:56 +03:00
Tassilo Horn
03e6a295d5
dired: implement feature from 7b50ed553f
differently
...
* lisp/dired.el (dired-buffers-for-dir): Restore to emacs-27 version.
(dired-buffers-for-dir-or-subdir): New function.
(dired-clean-up-after-deletion): Use dired-buffers-for-dir-or-subdir
instead dired-buffers-for-dir.
2022-03-30 19:49:01 +02:00
Eli Zaretskii
7208106e81
Fix regression in 'dired-buffers-for-dir'
...
* lisp/dired.el (dired-buffers-for-dir): Fix inadvertently swapped
arguments. (Bug#54636)
2022-03-30 16:21:02 +03:00
Eli Zaretskii
968af794ba
* lisp/desktop.el (desktop-read): Clarify warning text.
2022-03-27 08:10:27 +03:00
Po Lu
1bef52ce73
* doc/emacs/anti.texi (Antinews): Unannounce removal of Motif.
2022-03-26 14:46:00 +08:00
Lars Ingebrigtsen
4ec9f9edd1
Fix eshell-explicit-command-char doc string typo
...
* lisp/eshell/esh-ext.el (eshell-explicit-command-char): Fix typo
in doc string (bug#54567).
2022-03-25 19:02:04 +01:00
Eli Zaretskii
d3d6f1c9bd
Clarify the description of "selected tags table"
...
* doc/emacs/maintaining.texi (Select Tags Table): Clarify the
distinction between the "selected tags table" and the "current
list of tags tables". (Bug#54543)
2022-03-24 17:22:43 +02:00
Lars Ingebrigtsen
c69a617742
Add notes about command modes and nativecomp interaction
...
* doc/lispref/commands.texi (Command Modes): Note interaction with
native-compile (bug#54437).
* src/data.c: Add comment about not being supported.
Do not merge to master.
2022-03-21 15:53:25 +01:00
Kyle Meyer
f15922a57c
Update to Org 9.5.2-25-gaf6f12
2022-03-20 21:31:32 -04:00
Eli Zaretskii
9fcdd5b63f
Improve doc strings of read-char-from-minibuffer-insert-* commands
...
* lisp/subr.el (read-char-from-minibuffer-insert-char)
(read-char-from-minibuffer-insert-other): Clarify the doc strings.
(Bug#54479)
2022-03-20 18:21:44 +02:00
Eli Zaretskii
e059d7c156
Fix region highlight in non-selected windows
...
* src/xdisp.c (prepare_menu_bars): Include in the windows passed
to pre-redisplay-functions windows whose point was moved from the
last recorded position. (Bug#54450)
2022-03-19 09:19:53 +02:00
Eli Zaretskii
c4596c8522
Fix a regression in 'decipher-digram-list'
...
* lisp/play/decipher.el (decipher-stats-buffer): Don't assume the
statistics buffer always exists. (Bug#54443)
2022-03-18 13:54:46 +02:00
Karl Fogel
530c3491e8
Improve documentation of bookmark default sorting
...
* lisp/bookmark.el (bookmark-alist, bookmark-store,
bookmark-maybe-sort-alist): Update doc strings and comments.
2022-03-17 21:18:26 -05:00
Eli Zaretskii
11492259b1
; * doc/lispref/display.texi (Overlay Arrow): More accurate text.
2022-03-17 14:55:59 +02:00
Juri Linkov
62e830c3d9
* doc/misc/transient.texi: Fix @dircategory to "Emacs misc features" for dir.
2022-03-15 19:28:50 +02:00
Jim Porter
8e7a3f21e0
Fix evaluation of negated argument predicates in Eshell
...
* lisp/eshell/em-pred.el (eshell-add-pred-func): Let-bind 'pred' so
the lambdas see the original value (bug#54369).
Committed on the wrong branch.
Do not merge to master.
2022-03-13 20:00:35 +01:00
Eli Zaretskii
1ec4063017
; * admin/make-tarball.txt: Minor updates.
2022-03-13 09:53:59 +02:00
Eli Zaretskii
5ba9c8c364
Emacs pretest 28.0.92
...
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 28.0.92.
* etc/AUTHORS:
* lisp/ldefs-boot.el: Update for pretest 28.0.92.
* ChangeLog.3: Regenerate.
2022-03-12 04:44:46 -05:00
Eli Zaretskii
e5b191465d
; * admin/authors.el (authors-canonical-file-name): Remove debug leftover.
2022-03-12 03:32:47 -05:00
Eli Zaretskii
6b0fdf73cf
; Fix data structures in authors.el
...
* admin/authors.el (authors-aliases, authors-renamed-files-alist):
Update and correct the databases.
(authors-renamed-files-alist): Add commentary explaining how to
add entries for renamed/moved files.
(authors-canonical-file-name): Clarify the semantics of the
arguments.
2022-03-12 03:28:45 -05:00
Eli Zaretskii
dbe6a3ecf7
Fix regression in 'custom-prompt-customize-unsaved-options'
...
* lisp/cus-edit.el (custom-prompt-customize-unsaved-options):
Don't depend on the value returned by 'customize-unsaved'. Fix
the doc string. Patch by Sebastian Miele <iota@whxvd.name>.
(Bug#54329)
2022-03-10 20:26:13 +02:00
Eli Zaretskii
a9920473f6
Improve documentation of 'map-charset-chars'
...
* doc/lispref/nonascii.texi (Character Sets):
* src/charset.c (Fmap_charset_chars): Clarify the codepoint issue
in using 'map-charset-chars'.
2022-03-10 09:29:29 +02:00
Eli Zaretskii
d184773c2e
Avoid assertion violations in 'bidi_resolve_brackets'
...
* src/bidi.c (bidi_resolve_brackets): Move assertion to where it
really matters. (Bug#54295)
2022-03-08 15:35:39 +02:00
Lars Ingebrigtsen
80736aef90
Fix which-func-update doc string
...
* lisp/progmodes/which-func.el (which-func-update): Make the doc
string match the code (bug#54288).
2022-03-07 16:19:27 +01:00
Eli Zaretskii
d9e5ae5e20
Improve wording of 'dired-jump's description
...
* doc/emacs/dired.texi (Dired Enter): Clarify wording. Reported
by Natalie <batalie@riseup.net>.
2022-03-07 14:38:01 +02:00
Lars Ingebrigtsen
73f28fbde8
Add a comment for previous browse-url-of-dired-file change
...
* lisp/net/browse-url.el (browse-url-of-dired-file): Add a comment
for previous change.
2022-03-07 05:15:58 +01:00
Lars Ingebrigtsen
9b74e84857
Restore documented Emacs 27.2 behaviour of browse-url-of-dired-file
...
* lisp/net/browse-url.el (browse-url-of-dired-file): Restore the
documented behaviour -- open a web browser instead of passing to
the various handlers.
2022-03-07 05:13:19 +01:00
Kyle Meyer
cd77fd3b85
Update to Org 9.5.2-24-g668205
2022-03-06 20:18:26 -05:00
Andreas Schwab
0090318c61
* lib-src/seccomp-filter.c (main): Use faccessat2 only if defined.
2022-03-05 14:41:22 +01:00
Lars Ingebrigtsen
3bb01a499b
Fix regression in derived-mode-init-mode-variables
...
* lisp/emacs-lisp/derived.el (derived-mode-init-mode-variables):
Fix regression caused by lexical-binding derived.el (bug#54240).
2022-03-04 16:19:54 +01:00
Eli Zaretskii
29ff903bb0
Avoid crashes when fringe bitmaps are defined in daemon mode
...
* src/dispextern.h (gui_define_fringe_bitmap): Add prototype.
(max_used_fringe_bitmap): Add declaration.
* src/fringe.c (gui_define_fringe_bitmap): New function.
* src/w32term.c (w32_draw_fringe_bitmap):
* src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]: Call
'gui_define_fringe_bitmap' if the terminal-specific bitmap data is
not available when a fringe bitmap is about to be drawn. Don't
try to draw a bitmap that is not known to fringe.c. (Bug#54183)
2022-03-03 20:31:33 +02:00
Eli Zaretskii
92e2d19fe7
One more fix of the BPA implementation
...
* src/bidi.c (bidi_find_bracket_pairs): Disable BPA optimization
when there are no strong directional characters inside the
bracketed pair. (Bug#54219)
2022-03-03 15:53:04 +02:00
Eli Zaretskii
cd51d9c7ab
Fix handling of brackets in BPA
...
* src/bidi.c (bidi_resolve_brackets): Fix implementation of UBA's
N0 rule when there are no strong directional characters inside the
bracketed pair. (Bug#54219)
2022-03-03 14:46:20 +02:00
Po Lu
225e0d6047
Correct etc/NEWS entry about bitmapped fonts
...
* etc/NEWS: Don't say that bitmap font issues are due to Pango, that's
not accurate.
2022-03-02 09:24:21 +01:00
Eli Zaretskii
9dadcbe429
; * doc/misc/eshell.texi (Dollars Expansion): Fix markup.
2022-03-01 15:08:38 +02:00
Jim Porter
2c3d1b6bf4
Improve/correct documentation about Eshell variable expansion
...
* lisp/eshell/esh-var.el: Correct documentation comment.
(eshell-parse-variable-ref): Correct docstring.
* doc/misc/eshell.texi (Dollars Expansion): Add documentation for
$"var"/$'var' and $<command> syntaxes.
2022-03-01 15:02:13 +02:00
Jim Porter
9e257aecc9
Partially revert b03f74e0f2
...
That commit regressed '$<command>' forms in Eshell, due to a
limitation/bug in how 'eshell-do-eval' works. This fixes
bug#54190.
* lisp/eshell/esh-var.el (eshell-parse-variable-ref): Quote a lambda.
* test/lisp/eshell/eshell-tests.el (eshell-test/interp-temp-cmd):
New test.
2022-03-01 15:01:16 +02:00
Paul Eggert
b8bc359bbf
Backport: Port pre-commit hook to Git 2.35.0
...
* build-aux/git-hooks/pre-commit: Use LC_ALL=C grep -E instead of
sane_egrep (removed in Git 2.35.0).
(cherry picked from commit b8a96f0556
)
2022-03-01 10:01:11 +01:00
Lars Ingebrigtsen
6dbc3da205
Fix :tag for eol in tab-first-completion
...
* lisp/indent.el (tab-first-completion): Fix the :tag description
(bug#54179).
2022-02-28 10:14:23 +01:00
Kyle Meyer
e77fc8262a
Update to Org 9.5.2-22-g33543d
2022-02-28 00:11:01 -05:00
Eli Zaretskii
9bce4b67f1
; * lisp/help.el (with-help-window): Doc fix. (Bug#54170)
2022-02-27 15:54:27 +02:00
Dmitry Gutov
558b03a958
Add explicit '--no-heading' for ripgrep
...
* lisp/progmodes/xref.el (xref-search-program-alist):
Add explicit '--no-heading' for ripgrep (bug#54177).
2022-02-27 15:28:04 +02:00
Michael Albinus
a50f8dec09
Follow OpenSSH changes in Tramp
...
* lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
Reimplement. OpenSSH has changed its diagnostics messages.
2022-02-26 12:51:26 +01:00