emacs-devel
[Top][All Lists]
Advanced

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

Re: Tramp with global-auto-revert-mode.


From: Richard Stallman
Subject: Re: Tramp with global-auto-revert-mode.
Date: Sat, 15 May 2004 14:33:47 -0400

    Agreed, but accept-process-output is not always slow and we don't always get
    to choose.  I've hacked my Emacs to signal an error if accept-process-output
    is called (without timeout) with inhibit-quit set to non-nil and discovered
    that some package (IIRC, flyspell) does exactly that.  Of course, ispell
    is a local process that always responds immeditely, right?
    Anyway: how could flyspell do its job without calling 
    accept-process-output from a timer or a post-command-hook?

flyspell has to do this, so I think that proves this is legitimate.
It could perhaps temporarily turn off all timers while doing this,
so that they would not run until later.

However, I think it makes more sense to say that timers have to run
fast.  That is a natural and easily understood requirement.

If auto-revert is implemented by telling a post-command-hook or idle hook
to do the job, then its timer could run fast.





reply via email to

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