unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 30215@debbugs.gnu.org
Subject: bug#30215: Visiting files from zip archives should not modify directory time
Date: Sun, 28 Jan 2018 23:28:32 +0200	[thread overview]
Message-ID: <87tvv5u0zj.fsf@mail.linkov.net> (raw)
In-Reply-To: <83shapj3ry.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 28 Jan 2018 19:23:45 +0200")

>> >> 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	other threads:[~2018-01-28 21:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-22 21:52 bug#30215: Visiting files from zip archives should not modify directory time Juri Linkov
2018-01-23 16:41 ` Eli Zaretskii
2018-01-23 21:29   ` Juri Linkov
2018-01-24 18:44     ` Eli Zaretskii
2018-01-24 21:36       ` Juri Linkov
2018-01-25  3:30         ` Eli Zaretskii
2018-01-25 21:41           ` Juri Linkov
2018-01-26  7:59             ` Eli Zaretskii
2018-01-27 21:16               ` Juri Linkov
2018-01-28 17:23                 ` Eli Zaretskii
2018-01-28 21:28                   ` Juri Linkov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvv5u0zj.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=30215@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).