Gnus development mailing list
 help / color / mirror / Atom feed
From: Dave Love <fx@gnu.org>
Cc: ding@gnus.org
Subject: Re: [sdl.web@gmail.com: gnus makes emacs lose response]
Date: Thu, 06 Apr 2006 19:52:22 +0100	[thread overview]
Message-ID: <rzqirpmo7tl.fsf@loveshack.ukfsn.org> (raw)
In-Reply-To: Richard Stallman's message of "06-Apr-2006 16:37"

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

Richard Stallman <rms@gnu.org> writes:

> Can you still reproduce this problem?

As far as I know it still occurs, but I don't use the development
Emacs since it's too unstable and difficult to get fixed.

> If so, could you send a test case
> (perhaps the same one) again?

It would take me some time to reconstruct as I've forgotten the
details from the time I wasted before.  (I thought I said in the
previous message that I couldn't find the test case.)  This is all I
have archived.  Note that it's come up at least three times before.


[-- Attachment #2: Type: message/rfc822, Size: 1434 bytes --]

From: Dave Love <d.love@dl.ac.uk>
To: emacs-devel@gnu.org
Subject: Re: timer handlers and ^G
Date: 25 Oct 2001 12:31:58 +0100


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2.1: Type: text/plain, Size: 1307 bytes --]

From: Dave Love <d.love@dl.ac.uk>
To: emacs-devel@gnu.org
Subject: Re: timer handlers and ^G
Date: 25 Oct 2001 12:31:58 +0100

>>>>> "GM" == Gerd Moellmann <gerd.moellmann@t-online.de> writes:

 GM> We had that on pretest-bug recently.  I think it's not generally
 GM> a good idea, from the perspective of the user, to let C-g
 GM> interrupt functions run from a timer because (a) the user might
 GM> not be aware that such a function is running, and (b) because not
 GM> all such functions can cope with being interrupted.  I suggested
 GM> to Simon Josefson, I believe, to explicitly bind inhibit-quit to
 GM> nil in Gnus if Gnus can cope with that.

The problem with Gnus & al being able to hang Emacs¹ is due to the
timeouts it specifies on process operations not being honoured when
they're run from a timer.  (Normally `accept-process-output' on an
asynchronous article fetch is the culprit, and there is a loop
involving `select'.)

This was reported before, but no-one could find anything wrong with
process.c.  If I remember correctly, it is reproducible by running
from a timer a shell command which waits for a long time without
producing output.

Footnotes:

¹ If you happen to have `gnuserv' running, you can still use `gnudoit'
  to recover with `(top-level)' (?), as I recall.

  Also, the hang occurs under X.  On a tty, if you C-g twice in this
  situation, Emacs offers to auto-save and then abort and dump core.


             reply	other threads:[~2006-04-06 18:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-06 18:52 Dave Love [this message]
2006-04-07  2:19 ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2006-03-29 23:02 Richard Stallman
2006-04-05 18:30 ` Dave Love
2006-04-06 15:37   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rzqirpmo7tl.fsf@loveshack.ukfsn.org \
    --to=fx@gnu.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).