help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Always reread some files


From: Frédéric Bothamy
Subject: Re: Always reread some files
Date: Fri, 29 Nov 2002 16:42:44 +0100
User-agent: Mutt/1.3.28i

* arthur.chereau <arthur.chereau@voila.fr> [2002-11-29 15:25] :
> > > I always want to reread those files.
> >
> > auto-revert-mode
> >
> 
> Unfortunately this doesn't work because the *.log files buffers are opened 
> immediately after their modification, that is:
> - I compile
> - a .log file is created
> - I open the .log file
> - I recompile
> - the .log file is modified
> - I open the .log file buffer (immediately, so auto-revert is too slow for 
> that)
> - Emacs asks me if it should reread the .log file
> - auto-revert reverts the file, but it's too late
> 
> That's why I would like to disable the revert question for all *.log files.

Maybe use the variable revert-without-query using a regexp like this :
".+\.log$" and set a lower auto-revert-interval (5 by default).

Fred




reply via email to

[Prev in Thread] Current Thread [Next in Thread]