Eli Zaretskii
a14c3f62a6
; Fix last change
2023-03-29 21:28:02 +03:00
Eli Zaretskii
09fece5722
Fix duplicate defcustom in eww.el
...
* lisp/net/eww.el (eww-default-download-directory): Renamed back
from 'eww-download-directory'; all users changed. Doc fix.
(Bug#62531)
2023-03-29 21:27:09 +03:00
Michael Albinus
bfa3500c3c
Rework zeroconf integration into tramp-gvfs.el
...
* lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Do not check for
:system bus.
(tramp-gvfs-mounttypes): New defconst.
(tramp-gvfs-maybe-open-connection): Use it.
(top): Call zeroconf only when :system bus is available.
2023-03-29 20:22:04 +02:00
Michael Albinus
7177393826
Fix D-Bus event loop when executing a keyboard macro
...
* lisp/net/dbus.el (dbus-call-method): Don't loop for events when
`executing-kbd-macro' is non-nil. (Bug#62018)
2023-03-29 16:10:29 +02:00
Po Lu
64206ee3af
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-28 09:41:22 +08:00
Stefan Monnier
dfa4fb9a2a
Merge from origin/emacs-29
...
b08bf82860
; Fix :version of the new defcustom
d941666d85
; Fix last change
e19b7da7b0
Add 'eww-default-download-directory'.
564c26bdbe
; Fix edebug spec for 'gv-define-simple-setter' (bug#62256)
2023-03-27 17:16:58 -04:00
Michael Albinus
0bd2bbc0c2
Fix Tramp error messages
...
* lisp/net/tramp.el:
* lisp/net/tramp-cmds.el:
* lisp/net/tramp-crypt.el:
* lisp/net/tramp-gvfs.el:
* lisp/net/tramp-sh.el:
* lisp/net/tramp-smb.el: Fix error messages.
2023-03-27 15:46:44 +02:00
Po Lu
54d79f37ae
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-27 16:43:07 +08:00
Michael Albinus
d0be0d541d
Add sanity check in tramp-gvfs.el
...
* lisp/net/tramp-gvfs.el (tramp-gvfs-listmountableinfo)
(tramp-gvfs-listmounttypes): New defconst.
(tramp-gvfs-maybe-open-connection): Add sanity check whether GVFS
backend is available.
2023-03-26 20:47:12 +02:00
Eli Zaretskii
b08bf82860
; Fix :version of the new defcustom
2023-03-26 14:58:40 +03:00
Eli Zaretskii
d941666d85
; Fix last change
...
* lisp/net/eww.el (eww-download-directory): Rename from
'eww-default-download-directory'. All users changed. Change
:type to be a directory. Doc fix. (Bug#62435)
2023-03-26 14:56:57 +03:00
Xi Lu
e19b7da7b0
Add 'eww-default-download-directory'.
...
* lisp/net/eww.el (eww-default-download-directory): New defcustom.
(eww--download-directory): Use it. (Bug#62435)
2023-03-26 14:41:55 +03:00
Po Lu
d7457e1ce4
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-24 10:46:14 +08:00
Michael Albinus
b19d040a4f
New user option remote-file-name-inhibit-auto-save
...
* doc/misc/tramp.texi (Auto-save File Lock and Backup):
Mention remote-file-name-inhibit-auto-save.
(Frequently Asked Questions): Describe, how to suppress auto-save.
* etc/NEWS: Add remote-file-name-inhibit-auto-save.
* lisp/simple.el (remote-file-name-inhibit-auto-save): New defcustom.
(auto-save-mode): Handle it. (Bug#62260)
* lisp/net/tramp-integration.el
(tramp-set-connection-local-variables-for-buffer): Declare.
(find-file-hook): Add `tramp-set-connection-local-variables-for-buffer'.
2023-03-23 17:09:52 +01:00
Michael Albinus
4a5ff4d9c6
Invert variable alias declaration in Tramp
...
* lisp/net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
Invert alias declaration. (Bug#62295, Bug#62329)
2023-03-21 21:24:13 +01:00
Michael Albinus
dec09aaeb6
Improve Tramp backward compatibility
...
* lisp/net/tramp-gvfs.el (while-no-input-ignore-events):
Add `dbus-event' for older Emacs versions.
2023-03-21 16:14:40 +01:00
Po Lu
a7902e9d80
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-20 14:48:13 +08:00
Stefan Kangas
42fba8f36b
Merge from origin/emacs-29
...
b7f0333355
Improve warning about changing the string returned by sym...
e62f8b0239
Fix visiting XBM/XPM files when 'c-ts-mode' is active
94d1c81cf0
* lisp/mpc.el (mpc-format): Fix oversight in commit 48b6c...
a4d97811ed
Bail early from eglot--apply-text-edits if nothing to do
61d571760b
; Clarify in-code commentary of eglot--after-change
5bbbd70f56
Improve ergonomics of Eglot's inlay hints
c3a543123a
Protect against too large size of 'recent-keys' vector
231190b37f
* lisp/net/tramp.el (tramp-yn-prompt-regexp): Fix regexp.
0bebd0e5f0
; Remove 'build-module' and 'html-manual' directories fro...
6674c362ad
Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/...
829e5dfabe
Update to Org 9.6.1-48-g92471e
e84f878e19
; * admin/notes/tree-sitter/starter-guide: Update starter...
ea0949853f
Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/...
11592bcfda
; * lisp/nxml/xmltok.el (xmltok-scan-attributes): Fix las...
e388a77cf0
; Minor copyedits of recent changes in ELisp reference ma...
33a2670368
; Minor fixes in recent Eglot changes
d2cf1386fa
; * doc/misc/eglot.texi (Eglot Commands): Improve indexing.
b75e489362
; Again correct node reference casing in doc/misc/eglot.texi
a55d2edc5a
; Remove overly verbose commentary
22a70451f3
Merge confusing duplicate sections on commands in Eglot m...
3293f93988
Don't take over mouse-1 binding on Eglot diagnostics (bug...
013057e351
; Prefer "language server" to "LSP server" in Eglot manual
94a21c8864
* lisp/progmodes/eglot.el (eglot--connect): Improve Tramp...
0eddfa28eb
Avoid slowdowns in xmltok-scan-attributes
647c6bf2a6
; * test/lisp/abbrev-tests.el (abbrev--possibly-save-test...
531f8f7103
; * admin/git-bisect-start: Update failing commits
# Conflicts:
# admin/notes/tree-sitter/build-module/batch.sh
# admin/notes/tree-sitter/build-module/build.sh
2023-03-20 06:30:40 +01:00
Michael Albinus
1c39347d58
Rename tramp-use-ssh-controlmaster-options to tramp-use-connection-share
...
* doc/misc/tramp.texi (Ssh setup): Use tramp-use-connection-share.
Describe its settings for PuTTY.
(Remote processes): Use tramp-use-connection-share.
* etc/NEWS: Renamed user option tramp-use-connection-share.
* lisp/net/tramp-integration.el
(tramp-compile-disable-ssh-controlmaster-options):
Use `tramp-use-connection-share'.
* lisp/net/tramp-sh.el (tramp-use-connection-share):
Rename from `tramp-use-ssh-controlmaster-options'. Make it a
defvaralias to `tramp-use-ssh-controlmaster-options'.
(tramp-ssh-controlmaster-options): Adapt docstring.
(tramp-methods) <plink, plinkx, pscp, psftp>: Adapt.
(tramp-ssh-controlmaster-options): Add plink implementation.
2023-03-19 13:11:06 +01:00
Michael Albinus
231190b37f
* lisp/net/tramp.el (tramp-yn-prompt-regexp): Fix regexp.
2023-03-19 09:37:35 +01:00
Po Lu
739558c369
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-19 09:07:29 +08:00
Michael Albinus
4234e204ec
Prefix Tramp internal process properties with "tramp-".
...
* lisp/net/tramp.el (tramp-get-process, tramp-message)
(tramp-handle-make-process, tramp-handle-file-notify-valid-p)
(tramp-process-actions, tramp-accept-process-output)
(tramp-process-sentinel, tramp-read-passwd)
(tramp-interrupt-process, tramp-signal-process):
* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
* lisp/net/tramp-cmds.el (tramp-cleanup-connection):
* lisp/net/tramp-crypt.el (tramp-crypt-maybe-open-connection):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
(tramp-gvfs-monitor-process-filter)
(tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection):
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-sh-handle-file-notify-add-watch)
(tramp-sh-gio-monitor-process-filter)
(tramp-sh-inotifywait-process-filter)
(tramp-barf-if-no-shell-prompt, tramp-maybe-open-connection):
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
(tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl)
(tramp-smb-maybe-open-connection):
* lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection)
(tramp-sudoedit-send-command): Prefix internal process properties
with "tramp-".
2023-03-18 12:54:51 +01:00
Po Lu
3702389a50
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-16 19:56:25 +08:00
Michael Albinus
0330cff65a
Fix regression in Tramp (bug#62194)
...
* lisp/net/tramp.el (tramp-handle-make-process):
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-sh-handle-file-notify-add-watch)
(tramp-maybe-open-connection): Don't set process property
`shared-socket'. (Bug#62194)
2023-03-16 12:41:13 +01:00
Po Lu
9a4a7de914
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-16 08:40:35 +08:00
Michael Albinus
a066487a0d
Minor Tramp cleanup
...
* lisp/net/tramp-sh.el (tramp-run-test): Add VEC argument.
(tramp-sh-handle-file-executable-p)
(tramp-sh-handle-file-readable-p)
(tramp-sh-handle-file-directory-p)
(tramp-sh-handle-file-writable-p): Adapt callees.
2023-03-15 18:01:48 +01:00
Po Lu
3504c7550d
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-15 18:28:05 +08:00
Michael Albinus
54ef338ba3
Improve Tramp processes to accept output over the same socket
...
* lisp/net/tramp.el (tramp-accept-process-output): Don't use TIMEOUT
anymore, default it to 0. When the connection uses a shared
socket possibly, accept also the output from other processes over
the same connection. (Bug#61350)
(tramp-handle-file-notify-rm-watch, tramp-action-process-alive)
(tramp-action-out-of-band, tramp-process-one-action)
(tramp-interrupt-process):
* lisp/net/tramp-adb.el (tramp-adb-handle-make-process):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
* lisp/net/tramp-smb.el (tramp-smb-action-get-acl)
(tramp-smb-action-set-acl, tramp-smb-wait-for-output):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-action-sudo):
Adapt callees.
* lisp/net/tramp.el (tramp-handle-make-process):
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-sh-handle-file-notify-add-watch)
(tramp-maybe-open-connection): Set `shared-socket' property.
2023-03-14 11:38:39 +01:00
Po Lu
a517c24697
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-13 07:52:08 +08:00
Michael Albinus
f5f13495f5
Make Tramp file name completion more quiet for all backends
...
* lisp/net/tramp-adb.el (tramp-adb-handle-file-name-all-completions):
* lisp/net/tramp-archive.el
(tramp-archive-handle-file-name-all-completions):
* lisp/net/tramp-crypt.el (tramp-crypt-handle-file-name-all-completions):
* lisp/net/tramp-fuse.el (tramp-fuse-handle-file-name-all-completions):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-name-all-completions):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
* lisp/net/tramp-smb.el (tramp-smb-handle-file-name-all-completions):
* lisp/net/tramp-sudoedit.el
(tramp-sudoedit-handle-file-name-all-completions):
Return nil when DIRECTORY is missing. (Bug#61890)
2023-03-12 17:21:57 +01:00
Po Lu
a11ad7149b
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-07 08:43:36 +08:00
Michael Albinus
186643ea8a
Add tramp-use-ssh-controlmaster-options value `suppress'.
...
* doc/misc/tramp.texi (Ssh setup):
Explain tramp-use-ssh-controlmaster-options value `suppress'.
(Remote processes): Add reference to "Using ssh connection sharing".
* etc/NEWS: Extend 'tramp-use-ssh-controlmaster-options' values.
;; Fix typos.
* lisp/net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
Allow new value `suppress'.
(tramp-ssh-option-exists-p): New defun.
(tramp-ssh-controlmaster-options): Implement `suppress' actions.
2023-03-06 13:35:49 +01:00
Po Lu
7c8cc9a633
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-06 16:06:37 +08:00
Stefan Kangas
aad617870b
Merge from origin/emacs-29
...
1c67e4f895
Fix c-ts-mode indentation
d724d7d678
Fix c-ts-mode indentation
7292b24c80
Fix c-ts-mode indentation
75cdc1afbe
; Change font-lock-variable-name-face to font-lock-variab...
b1b3af5b90
Update to Org 9.6.1-40-g3d817c
80e1037df4
Add string-interpolation feature to bash-ts-mode
5b8e0b3154
Fix tramp-sh-handle-insert-directory
2258ed01f4
; Minor fix of last change
9c18af0cfa
* Warn when certain primitives are redefined (bug#61880)
5af695c747
; * lib-src/etags.c (print_help): Fix indentation.
2023-03-06 06:30:13 +01:00
Michael Albinus
5b8e0b3154
Fix tramp-sh-handle-insert-directory
...
* lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory): Remove also
//DIRED-OPTIONS// line when there is no //DIRED// line.
2023-03-05 17:31:26 +01:00
Po Lu
bf93380c1c
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-03 08:57:33 +08:00
Michael Albinus
8106cb50f5
Tramp cleanup
...
* lisp/net/tramp.el (tramp-handle-unlock-file): Raise a warning
only when `create-lockfiles'.
* test/lisp/net/tramp-tests.el (tramp-test26-file-name-completion):
Extend test.
2023-03-02 13:54:14 +01:00
Po Lu
5e416d02c5
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-02 08:38:06 +08:00
Michael Albinus
4b99015e15
Make Tramp file name completion more quiet
...
* lisp/net/tramp-sh.el (tramp-perl-file-name-all-completions):
Don't print status message.
(tramp-sh-handle-file-name-all-completions): Return nil when check
fails. (Bug#61890)
* test/lisp/net/tramp-tests.el
(tramp-test26-file-name-completion-with-perl):
(tramp-test26-file-name-completion-with-ls): New tests.
2023-03-01 17:07:59 +01:00
Po Lu
a0c3643abd
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-01 15:55:20 +08:00
Stefan Kangas
4a5335158d
Merge from origin/emacs-29
...
97a83ff31f
Eglot: fix M-x eglot-show-workspace-configuration (bug#61...
48a0804d10
ruby-mode: Fix method call indentation in rhs of multiple...
16d012cf3b
* lisp/net/tramp.el (tramp-remote-path): Improve docstring.
b371697cdc
Minor change in 'dired--find-possibly-alternative-file'
c2b5c6acc5
Implement prefix arg for 'c-ts-mode-toggle-comment-style'
eb2ab52fb0
Defaults to zero for image-dired--number-of-thumbnails
5dc163f592
; Add a doc string for 'ediff-window-display-p' obsolescence
2023-03-01 06:30:20 +01:00
Po Lu
49d5aa3657
Merge remote-tracking branch 'origin/master' into feature/android
2023-03-01 09:15:08 +08:00
Michael Albinus
16d012cf3b
* lisp/net/tramp.el (tramp-remote-path): Improve docstring.
2023-02-28 16:42:11 +01:00
Michael Albinus
316ba78a73
Improve warning in tramp-handle-unlock-file
...
* lisp/net/tramp.el (tramp-connectable-p): Simplify.
(tramp-handle-unlock-file): Improve warning.
2023-02-28 15:33:52 +01:00
Po Lu
03c0cb8671
Merge remote-tracking branch 'origin/master' into feature/android
2023-02-28 18:20:25 +08:00
Michael Albinus
6c4abbab79
Tramp: Do not unlock when connection is broken
...
* lisp/net/tramp.el (tramp-handle-unlock-file): Do not unlock when
connection is broken. (Bug#61663)
* test/lisp/net/tramp-tests.el (tramp-test39-make-lock-file-name):
Extend test.
2023-02-26 15:40:30 +01:00
Po Lu
d5cccfdc56
Merge remote-tracking branch 'origin/master' into feature/android
2023-02-25 14:24:17 +08:00
Stefan Kangas
50b55656b9
Merge from origin/emacs-29
...
5cf50d6004
Check the anchor along with the offset in treesit-indent-...
497018dd5c
; Fix typos in docstrings in c-ts-common.el
03072bbdd3
; Set indent-tabs-mode to nil in c-ts-mode indent preproc...
4a25fa4586
Align to prev sibling for c-ts-mode indentation
d25f24fe57
Fix c-ts-common-statement-offset and c-ts-common--node-is
c92360c7a3
typescript-ts-mode: Highlight non-shorthand destructuring...
a795c51f60
Add more/finer faces for tree-sitter
146bce4932
Avoid crashes in batch mode due to lack of frame face cache
244a73cd72
Add Tramp version integrated in Emacs 28.3
# Conflicts:
# etc/NEWS
2023-02-25 06:30:14 +01:00
Michael Albinus
926e3fb3be
Tramp cleanup
...
* lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names): Ignore errors.
* test/lisp/net/tramp-tests.el (tramp-test26-file-name-completion)
(tramp-test26-interactive-file-name-completion)
(tramp-test29-start-file-process, tramp-test30-make-process): Fix tests.
2023-02-24 20:08:10 +01:00
Michael Albinus
244a73cd72
Add Tramp version integrated in Emacs 28.3
...
* lisp/net/trampver.el (customize-package-emacs-version-alist):
Add Tramp version integrated in Emacs 28.3.
2023-02-24 19:47:15 +01:00