Gnus development mailing list
 help / color / mirror / Atom feed
* Re: gnus makes emacs lose response
@ 2006-09-23 18:18 Chong Yidong
  2006-09-23 23:42 ` Luc Teirlinck
  2006-09-26 17:26 ` Leo
  0 siblings, 2 replies; 7+ messages in thread
From: Chong Yidong @ 2006-09-23 18:18 UTC (permalink / raw)
  Cc: ding

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?

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: gnus makes emacs lose response
@ 2006-04-06 20:41 Dave Love
  0 siblings, 0 replies; 7+ messages in thread
From: Dave Love @ 2006-04-06 20:41 UTC (permalink / raw)
  Cc: Richard Stallman, ding, Leon

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> Leon, the OP, wrote that it's not fixed for him yet.  But he uses the
> unicode branch (Emacs/23.0) which might not contain Kim's patch yet.

[That sounds courageous.]  Anyhow, I'm glad if it's eventually been
fixed.  I'm surprised it doesn't appear to bite more people.



^ permalink raw reply	[flat|nested] 7+ messages in thread
* [sdl.web@gmail.com: gnus makes emacs lose response]
@ 2006-03-29 23:02 Richard Stallman
  2006-04-05 18:30 ` Dave Love
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Stallman @ 2006-03-29 23:02 UTC (permalink / raw)


Would someone please take a look?

------- Start of forwarded message -------
To: emacs-pretest-bug@gnu.org
From: Leon <sdl.web@gmail.com>
Date: Wed, 29 Mar 2006 03:44:12 +0100
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: gnus makes emacs lose response
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed 
	version=3.0.4

Dear all,

If I am using gnus and disconnect the network cable, after a while
emacs will lose response. C-g won't work. I have to `killall emacs'. I
think this is due to demon trying to fetch news/emails.

My setting of demon in gnus:
- --8<---------------cut here---------------start------------->8---
;; fetch email while idle
(gnus-demon-add-handler 'gnus-group-get-new-news 3 t)
(gnus-demon-init)
- --8<---------------cut here---------------end--------------->8---

Regards,
- -- 
Leon



_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-09-26 19:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-23 18:18 gnus makes emacs lose response Chong Yidong
2006-09-23 23:42 ` Luc Teirlinck
2006-09-26 17:26 ` Leo
2006-09-26 18:08   ` Chong Yidong
2006-09-26 19:20     ` Leo
  -- strict thread matches above, loose matches on Subject: below --
2006-04-06 20:41 Dave Love
2006-03-29 23:02 [sdl.web@gmail.com: gnus makes emacs lose response] Richard Stallman
2006-04-05 18:30 ` Dave Love
2006-04-06 15:37   ` Richard Stallman
2006-04-06 16:43     ` gnus makes emacs lose response Reiner Steib

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).