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: Sun, 28 Jan 2018 23:28:32 +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.
>
> "Microseconds"?  Does that include very large files? what about
> archives on remote machines?

When enabling ‘auto-save-visited-mode’ doesn't mean the wish to
auto-save everything after 5 seconds of idle time, then
‘auto-save-visited-mode’ should have a filter to exclude some files such
as archives by name or by mode from auto-saving because currently there
is no other way to disable ‘auto-save-visited-mode’ other than stop its
timer.  IOW, this can be addressed in a separate request when necessary.

BTW, I noticed another 2 places that needed the same change and fixed them.





reply via email to

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