1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 13:10:57 -08:00
emacs/doc
Michael Albinus 6536112bdc Handle sensitive auto-save or backup remote files (Bug#45245)
* doc/misc/tramp.texi (Auto-save and Backup):
Describe tramp-allow-unsafe-temporary-files.
(Ad-hoc multi-hops): Use proper format.

* etc/NEWS: Mention confirmation for writing sensitive auto-save
or backup remote files to the local temporary directory..

* lisp/net/tramp-cache.el (tramp-dump-connection-properties):
Strengthen test.

* lisp/net/tramp.el (tramp-allow-unsafe-temporary-files): New defcustom.
(tramp-handle-find-backup-file-name)
(tramp-handle-make-auto-save-file-name): Don't expose sensible
auto-save or backup files on local temporary directory.  (Bug#45245)

* test/lisp/net/tramp-tests.el (tramp--test-always): New defalias.
(tramp-test10-write-region, tramp-test21-file-links)
(tramp--test--deftest-direct-async-process): Use it.
(tramp-test37-make-auto-save-file-name)
(tramp-test38-find-backup-file-name): Extend tests.
2021-06-14 11:25:13 +02:00
..
emacs Allow save-interprogram-paste-before-kill to be a number 2021-06-13 14:04:45 +02:00
lispintro Remove references to very old versions of Emacs from eintr 2021-04-03 00:53:43 +02:00
lispref Improve handling of dedicated flag for side windows (Bug#48493) 2021-06-14 09:59:11 +02:00
man * doc/man/emacs.1.in: Minor fixes. 2021-06-08 02:00:29 +02:00
misc Handle sensitive auto-save or backup remote files (Bug#45245) 2021-06-14 11:25:13 +02:00