bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30215: Visiting files from zip archives should not modify directory


From: Juri Linkov
Subject: bug#30215: Visiting files from zip archives should not modify directory time
Date: Sat, 27 Jan 2018 23:16:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> Creation of a backup file is not a problem, because backups are created
>> on saving.
>
> What about auto-saving in general, and the new auto-save-visited-mode
> in particular?

The default value of `auto-save-visited-interval' is 5 seconds, but the
time of extracting a file from the archive is measured in microseconds.

BTW, while looking at `auto-save-visited-mode', I noticed that the
docstring of `save-some-buffers' could be improved:

diff --git a/lisp/files.el b/lisp/files.el
index 00622cf..98ad209 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -5220,7 +5220,7 @@ save-some-buffers
 This command first saves any buffers where `buffer-save-without-query' is
 non-nil, without asking.
 
-Optional argument (the prefix) non-nil means save all with no questions.
+Optional ARG (the prefix) non-nil means save all with no questions.
 Optional second argument PRED determines which buffers are considered:
 If PRED is nil, all the file-visiting buffers are considered.
 If PRED is t, then certain non-file buffers will also be considered.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]