[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debbugs-tracker] bug#21952: closed (24.5; auto-revert-tail-mode doesn't
GNU bug Tracking System
[debbugs-tracker] bug#21952: closed (24.5; auto-revert-tail-mode doesn't work (perhaps because of nfs))
Fri, 02 Sep 2016 13:44:02 +0000
Your message dated Fri, 02 Sep 2016 15:43:33 +0200
with message-id <address@hidden>
and subject line Re: bug#21952: 24.5; auto-revert-tail-mode doesn't work
(perhaps because of nfs)
has caused the debbugs.gnu.org bug report #21952,
regarding 24.5; auto-revert-tail-mode doesn't work (perhaps because of nfs)
to be marked as done.
(If you believe you have received this mail in error, please contact
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message ---
24.5; auto-revert-tail-mode doesn't work (perhaps because of nfs)
Wed, 18 Nov 2015 10:00:15 -0500
I'm accustomed to monitoring the log files of running jobs with emacs
using auto-revert-tail-mode. This no longer works on Emacs 24, but
works fine on previous versions of Emacs. I don't know if the fact
that our disks are mounted via NFS is the problem or not, but I ran one
trial on a local disk in which auto-revert-tail-mode did work.
Standard form below:
emacs -Q logfile
In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
of 2015-04-13 on ln-ddever
Windowing system distributor `Scientific Linux', version 11.0.11300000
System Description: Red Hat Enterprise Linux Client release 6 (Carbon
value of $LC_ALL: en_US
Major mode: Fundamental
Minor modes in effect:
For information about GNU Emacs and the GNU system, type C-h C-a.
File changed on disk, content may be missing. Perform a full revert? (y or n) y
Reverting buffer `logfile'.
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils autorevert filenotify
vc-dispatcher vc-svn time-date tooltip electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)
((conses 16 72844 7584)
(symbols 48 17666 0)
(miscs 40 48 149)
(strings 32 9868 4609)
(string-bytes 1 283769)
(vectors 16 9186)
(vector-slots 8 386766 15190)
(floats 8 68 422)
(intervals 56 246 175)
(buffers 960 13)
(heap 1024 32659 870))
--- End Message ---
--- Begin Message ---
Re: bug#21952: 24.5; auto-revert-tail-mode doesn't work (perhaps because of nfs)
Fri, 02 Sep 2016 15:43:33 +0200
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
Dan Dever <address@hidden> writes:
> On 08/23/2016 04:22 AM, Michael Albinus wrote:
>> When autorevert detects a file on a known mount location,
>> `auto-revert-use-notify' is set to nil per default. See
>> `auto-revert-notify-exclude-dir-regexp', which uses
>> (regexp-opt '("/afs/" "/media/" "/mnt" "/net/" "/tmp_mnt/"))
>> Perhaps, the file Dan wants to watch is mounted somewhere else. In this
>> case I recommend to extend that variable.
>> Dan, could you check whether this works for you?
> This does work (tried it on emacs-25.0.95).
> I prefer just setting auto-revert-use-notify to nil, however, since
> we'd never be using auto-revert on locally mounted files anyways. But
> thanks for mentioning the alternative.
Thanks for checking. So I will close this bug.
> What also works is the configuration switch that we recently
> discovered (and have used to build 25.1-rc1/-rc2):
> I'm not sure I understand the preference for using a file notification
> utility by default for auto-revert when that utility only works on
> locally mounted files. I haven't worked in an environment where our
> storage has been locally mounted in decades, and I've never had a
> reason to use auto-revert at home.
There are good reasons for file notifications. Think about working in a
git-controlled directory of source files, where file changes could
happen outside Emacs. You want to be informed about, immediately.
But if you don't need it, it is totally OK to compile without file
Best regards, Michael.
--- End Message ---
|[Prev in Thread]
||[Next in Thread]|
- [debbugs-tracker] bug#21952: closed (24.5; auto-revert-tail-mode doesn't work (perhaps because of nfs)),
GNU bug Tracking System <=