aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMichael Albinus2021-07-13 19:50:05 +0200
committerMichael Albinus2021-07-13 19:50:05 +0200
commitcce84822f72e6cd4af7bfa351a4da2c9bdc5bb81 (patch)
treea200828f55384268354d7fbb972e98765d111ca2 /etc
parent7a803ecd3d455999cfc9266fa219d58109fac786 (diff)
downloademacs-cce84822f72e6cd4af7bfa351a4da2c9bdc5bb81.tar.gz
emacs-cce84822f72e6cd4af7bfa351a4da2c9bdc5bb81.zip
Add remote-file-name-inhibit-locks
* doc/emacs/files.texi (Interlocking): * doc/lispref/files.texi (File Locks): * doc/misc/tramp.texi (Auto-save File Lock and Backup): Add remote-file-name-inhibit-locks. * etc/NEWS: New user option 'remote-file-name-inhibit-locks'. * lisp/files.el (remote-file-name-inhibit-locks): New defcustom. * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist): * lisp/net/tramp-crypt.el (tramp-crypt-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-sh.el (tramp-sh-file-name-handler-alist): * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): * lisp/net/tramp-sshfs.el (tramp-sshfs-file-name-handler-alist): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler-alist): Use `tramp-handle-make-lock-file-name'. * lisp/net/tramp.el (tramp-allow-unsafe-temporary-files): Fix docstring. (tramp-handle-make-lock-file-name): New defun. * test/lisp/net/tramp-tests.el (tramp-test39-lock-file): Extend test.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS15
1 files changed, 11 insertions, 4 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 923cfcc4722..fd661a1e7a6 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1464,12 +1464,15 @@ buffer to a file under the "/tmp/" directory. This is useful, if (in
1464rare cases) Tramp blocks Emacs, and we need further debug information. 1464rare cases) Tramp blocks Emacs, and we need further debug information.
1465 1465
1466+++ 1466+++
1467*** Writing sensitive auto-save or backup files to the local temporary 1467*** Tramp supports lock files now.
1468directory must be confirmed. In order to suppress this confirmation, 1468In order to deactivate this, set user option
1469set user option 'tramp-allow-unsafe-temporary-files' to t. 1469'remote-file-name-inhibit-locks' to t.
1470 1470
1471+++ 1471+++
1472*** Tramp supports file locks now. 1472*** Writing sensitive auto-save, backup or lock files to the local
1473temporary directory must be confirmed. In order to suppress this
1474confirmation, set user option 'tramp-allow-unsafe-temporary-files' to
1475t.
1473 1476
1474** Tempo 1477** Tempo
1475 1478
@@ -2183,6 +2186,10 @@ This option allows controlling where lock files are written. It uses
2183the same syntax as 'auto-save-file-name-transforms'. 2186the same syntax as 'auto-save-file-name-transforms'.
2184 2187
2185+++ 2188+++
2189*** New user option 'remote-file-name-inhibit-locks'.
2190When non-nil, this option suppresses lock files for remote files.
2191
2192+++
2186*** New user option 'kill-transform-function'. 2193*** New user option 'kill-transform-function'.
2187This can be used to transform (and suppress) strings from entering the 2194This can be used to transform (and suppress) strings from entering the
2188kill ring. 2195kill ring.