1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 20:50:52 -08:00
emacs/doc/misc
Michael Albinus 022f50ebe6 New command 'tramp-cleanup-some-buffers'
* doc/misc/tramp.texi (Cleanup remote connections):
Document tramp-cleanup-some-buffers and
tramp-cleanup-some-buffers-hook.

* etc/NEWS: New command 'tramp-cleanup-some-buffers'.

* lisp/net/tramp.el (tramp-handle-make-process):
* lisp/net/tramp-adb.el (tramp-adb-handle-make-process):
* lisp/net/tramp-sh.el (tramp-sh-handle-make-process):
Use `tramp-taint-remote-process-buffer'.

* lisp/net/tramp.el (tramp-post-process-creation): New defun.
(tramp-handle-make-process):
* lisp/net/tramp-adb.el (tramp-adb-maybe-open-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-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-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): Use it.

* lisp/net/tramp-cmds.el (tramp-tainted-remote-process-buffers):
New defvar.
(tramp-cleanup-dired-buffer-p)
(tramp-delete-tainted-remote-process-buffer-function)
(kill-buffer-hook, tramp-cleanup-remote-process-p)
(tramp-cleanup-some-buffers): New defuns.
(tramp-cleanup-some-buffers-hook): New defcustom.  Add
`buffer-file-name', `tramp-cleanup-dired-buffer-p' and
`tramp-cleanup-remote-process-p' to the hook.
(kill-buffer-hook):
Add `tramp-delete-tainted-remote-process-buffer-function'.
(tramp-cleanup-all-buffers): Rework.

* lisp/net/tramp-compat.el (tramp-compat-always): New defalias.

* test/lisp/net/tramp-tests.el (tramp--test-always): Delete.
(tramp-test10-write-region, tramp-test21-file-links)
(tramp--test-deftest-direct-async-process)
(tramp-test37-make-auto-save-file-name)
(tramp-test38-find-backup-file-name)
(tramp-test39-make-lock-file-name)
(tramp-test39-detect-external-change): Use `tramp-compat-always'.
2023-04-26 18:06:39 +02:00
..
auth.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
autotype.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
bovine.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
calc.texi Merge from origin/emacs-29 2023-04-15 12:43:37 -04:00
cc-mode.texi Improve C++ concept indentation. 2023-04-14 16:37:33 +00:00
ChangeLog.1 ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
cl.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dbus.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
dired-x.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
doclicense.texi
ebrowse.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ede.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ediff.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
edt.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
efaq-w32.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
efaq.texi ; Minor addition to the Emacs FAQ 2023-04-08 10:41:53 +03:00
eglot.texi ; Minor copyedits to Eglot manual 2023-03-23 10:26:50 +00:00
eieio.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
emacs-gnutls.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
emacs-mime.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
epa.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
erc.texi Optionally prompt for more ERC entry-point params 2023-04-08 14:23:51 -07:00
ert.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eshell.texi eshell: Add 'rgrep' builtin 2023-04-10 21:00:17 -07:00
eudc.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eww.texi Teach 'eww-open-file' about prefix argument 2023-01-14 11:48:55 +02:00
flymake.texi ; * doc/misc/flymake.texi (Customizable variables): fix broken list 2023-04-13 21:38:47 +02:00
forms.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
gnus-faq.texi Delete redundant question from Gnus FAQ 2023-02-18 13:35:37 +01:00
gnus.texi ; * doc/misc/gnus.texi (Finding the Parent): Fix whitespace. 2023-04-15 12:55:35 +03:00
gpl.texi
htmlfontify.texi ; Fix last change: remove unused @anchor. 2023-01-15 11:52:46 +02:00
idlwave.texi Refer to EWW instead of w3 and w3m 2023-03-16 14:24:45 +01:00
ido.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
info.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mairix-el.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
Makefile.in ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
message.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mh-e.texi Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
modus-themes.org Update Modus themes to version 4.1.0 2023-02-22 20:00:13 +02:00
newsticker.texi Run newsticker's ticker only periodically (bug#59856) 2023-01-16 09:20:11 +01:00
nxml-mode.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
octave-mode.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org-setup.org ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org.org Update to Org 9.6.4-2-g0f6ae7 2023-04-16 21:13:08 -04:00
pcl-cvs.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
pgg.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
rcirc.texi Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
reftex.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
remember.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sc.texi Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
sem-user.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
semantic.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ses.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sieve.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
smtpmail.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
speedbar.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
srecode.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
texinfo.tex Update from Gnulib by running admin/merge-gnulib 2023-03-10 16:53:07 -08:00
todo-mode.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
tramp.texi New command 'tramp-cleanup-some-buffers' 2023-04-26 18:06:39 +02:00
trampver.texi Remove Emacs 26 compatibility from Tramp 2023-01-06 13:34:33 +01:00
transient.texi Update to Transient v0.3.7-218-g3dbb22a 2023-03-26 23:53:03 +02:00
url.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
use-package.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
vhdl-mode.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
vip.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
viper.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
vtable.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
widget.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
wisent.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
woman.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00