emacs-devel
[Top][All Lists]
Advanced

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

Re: gnus makes emacs lose response


From: Leo
Subject: Re: gnus makes emacs lose response
Date: Tue, 26 Sep 2006 18:26:24 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

On Sat, 09/23/2006 19:18 +0100, Chong Yidong wrote:

> After some further communication with Leon, I think I know the
> problem: accept-process-output is called by the timer function
> `gnus-demon' (which is a valid but IIUC not commonly-used component of
> Gnus).  However, as documented in the Lisp Reference manual:
>
>    Emacs binds `inhibit-quit' to `t' before calling the timer
>    function, because quitting out of many timer functions can leave
>    things in an inconsistent state.  This is normally unproblematical
>    because most timer functions don't do a lot of work.  Indeed, for a
>    timer to call a function that takes substantial time to run is
>    likely to be annoying.
>
> The result in this case is that this accept-process-output can't be
> interrupted, and Emacs can hang if the process doesn't reply (e.g., if
> the connection dies).
>
> I'm not sure what the best way to handle this is.  Anyone?

The ChangeLog says it's fixed. But I can't see the actually
fix. gnus-demon.el has not been changed for 7 month.

-- 
Leo





reply via email to

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