--- Begin Message ---
Subject: |
24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba |
Date: |
Thu, 24 Jan 2013 09:55:13 +0100 |
Hello,
At work, I've just observed a regression in the trunk [1] wrt the
emacs-24 branch [2].
If I visit some file, say "t:\myfile" (where t: is a network unit,
mounted via samba, that points to an hp-ux server), and I enable
auto-revert-mode, the buffer is not reverted when some other program
changes the contents of the file.
The problem doesn't show up when the file is stored in a local unit
(c:\) but fails in the above case.
I've observed this bug in version [1], but not in version [2].
----- Footnotes ------------
[1]
In GNU Emacs 24.3.50.1 (i386-mingw-nt5.2.3790)
of 2013-01-22 on ODIEONE
Bzr revision: 111584 address@hidden
Windowing system distributor `Microsoft Corp.', version 5.2.3790
Configured using:
`configure --with-gcc (4.7) --no-opt --enable-checking --cflags
-IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib'
[2]
In GNU Emacs 24.2.92.1 (i386-mingw-nt5.2.3790)
of 2013-01-16 on MS-W8-DANI
Bzr revision: 111185 address@hidden
Windowing system distributor `Microsoft Corp.', version 5.2.3790
Configured using:
`configure --with-gcc (4.7) --no-opt --enable-checking --cflags
-Ic:/emacs/libs/libXpm-3.5.10/include -Ic:/emacs/libs/libXpm-3.5.10/src
-Ic:/emacs/libs/libpng-dev_1.4.3-1_win32/include
-Ic:/emacs/libs/zlib-dev_1.2.5-2_win32/include
-Ic:/emacs/libs/giflib-4.1.4-1-lib/include
-Ic:/emacs/libs/jpeg-6b-4-lib/include
-Ic:/emacs/libs/tiff-3.8.2-1-lib/include
-Ic:/emacs/libs/libxml2-2.7.8-w32-bin/include/libxml2
-Ic:/emacs/libs/gnutls-3.1.5-w32/include
-Ic:/emacs/libs/libiconv-1.14-2-mingw32-dev/include'
--
Dani Moncayo
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#13540: 24.3.50; Regression in trunk: auto-revert-mode fails on files accessed via samba |
Date: |
Thu, 14 Feb 2013 11:09:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Michael Albinus <address@hidden> writes:
> Eli Zaretskii <address@hidden> 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.
--- End Message ---