diff options
| author | Michael Albinus | 2021-07-13 19:50:05 +0200 |
|---|---|---|
| committer | Michael Albinus | 2021-07-13 19:50:05 +0200 |
| commit | cce84822f72e6cd4af7bfa351a4da2c9bdc5bb81 (patch) | |
| tree | a200828f55384268354d7fbb972e98765d111ca2 /etc | |
| parent | 7a803ecd3d455999cfc9266fa219d58109fac786 (diff) | |
| download | emacs-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/NEWS | 15 |
1 files changed, 11 insertions, 4 deletions
| @@ -1464,12 +1464,15 @@ buffer to a file under the "/tmp/" directory. This is useful, if (in | |||
| 1464 | rare cases) Tramp blocks Emacs, and we need further debug information. | 1464 | rare 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. |
| 1468 | directory must be confirmed. In order to suppress this confirmation, | 1468 | In order to deactivate this, set user option |
| 1469 | set 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 |
| 1473 | temporary directory must be confirmed. In order to suppress this | ||
| 1474 | confirmation, set user option 'tramp-allow-unsafe-temporary-files' to | ||
| 1475 | t. | ||
| 1473 | 1476 | ||
| 1474 | ** Tempo | 1477 | ** Tempo |
| 1475 | 1478 | ||
| @@ -2183,6 +2186,10 @@ This option allows controlling where lock files are written. It uses | |||
| 2183 | the same syntax as 'auto-save-file-name-transforms'. | 2186 | the same syntax as 'auto-save-file-name-transforms'. |
| 2184 | 2187 | ||
| 2185 | +++ | 2188 | +++ |
| 2189 | *** New user option 'remote-file-name-inhibit-locks'. | ||
| 2190 | When 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'. |
| 2187 | This can be used to transform (and suppress) strings from entering the | 2194 | This can be used to transform (and suppress) strings from entering the |
| 2188 | kill ring. | 2195 | kill ring. |