[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files
From: |
Michael Albinus |
Subject: |
bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba |
Date: |
Fri, 25 Jan 2013 14:29:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> If the file is in the network volume, it doesn't break.
>
> Thanks. So I guess user customizations is the only way to deal with
> this.
Well, I have committed this to trunk in revision #111603. There is now
an option `auto-revert-notify-exclude-dir-regexp', which could be used
to exclude directories from file notifications, and let files
autorevert via the file checks as done until now. Dani, in your case it
might be sufficient to apply
(setq auto-revert-notify-exclude-dir-regexp (regexp-quote "t:\myfile"))
I gave that option an initial value to exclude mounted files and remote
files. This value might be tuned in further tests.
With this patch I have also committed two other changes which I have
tested last days:
- File notifications are established for directories instead of single
files. w32notify does it by default already, and for the inotify setup
this is achieved by watching default-directory in autorevert.
- There is a new option `auto-revert-remote-files', which allows you to
revert remote files. Until now, remote files were excluded. The
default value of this option is nil.
I've started also performance tests, in order to see the difference
between file notifications and explicit file checks. This is not
finished yet.
Best regards, Michael.
- bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba, (continued)
- bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba, Eli Zaretskii, 2013/01/25
- bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba, Dani Moncayo, 2013/01/25
- bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba, Eli Zaretskii, 2013/01/25
- bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba, Dani Moncayo, 2013/01/25
- bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba, Eli Zaretskii, 2013/01/25
- bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba, Dani Moncayo, 2013/01/25
- bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba, Eli Zaretskii, 2013/01/25
- bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba,
Michael Albinus <=
bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba, Eli Zaretskii, 2013/01/24