[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30215: Visiting files from zip archives should not modify directory
From: |
Eli Zaretskii |
Subject: |
bug#30215: Visiting files from zip archives should not modify directory time |
Date: |
Wed, 24 Jan 2018 20:44:57 +0200 |
> From: Juri Linkov <juri@linkov.net>
> Cc: 30215@debbugs.gnu.org
> Date: Tue, 23 Jan 2018 23:29:34 +0200
>
> It modifies the time of the directory where the zip archive is located,
> e.g. visiting a file inside ~/dir/file.zip modifies the time of the
> directory ~/dir/ because during unzipping in that directory, arc-mode
> creates a temporary backup with the file name from ‘buffer-file-truename’.
> Setting ‘buffer-file-truename’ later prevents from creating this
> unnecessary backup copy that modifies the directory time.
If that's the problem, then I think it would be cleaner to disable
creation of lock files and backup files by less subtle means -- by
let-binding create-lockfiles and make-backup-files. Doing that by
leaving buffer-file-truename at nil leaves the code less clear IMO,
and relies on assumptions that might not hold at some future point.
- bug#30215: Visiting files from zip archives should not modify directory time, Juri Linkov, 2018/01/22
- bug#30215: Visiting files from zip archives should not modify directory time, Eli Zaretskii, 2018/01/23
- bug#30215: Visiting files from zip archives should not modify directory time, Juri Linkov, 2018/01/23
- bug#30215: Visiting files from zip archives should not modify directory time,
Eli Zaretskii <=
- bug#30215: Visiting files from zip archives should not modify directory time, Juri Linkov, 2018/01/24
- bug#30215: Visiting files from zip archives should not modify directory time, Eli Zaretskii, 2018/01/24
- bug#30215: Visiting files from zip archives should not modify directory time, Juri Linkov, 2018/01/25
- bug#30215: Visiting files from zip archives should not modify directory time, Eli Zaretskii, 2018/01/26
- bug#30215: Visiting files from zip archives should not modify directory time, Juri Linkov, 2018/01/27
- bug#30215: Visiting files from zip archives should not modify directory time, Eli Zaretskii, 2018/01/28
- bug#30215: Visiting files from zip archives should not modify directory time, Juri Linkov, 2018/01/28