From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: gnus makes emacs lose response Date: Mon, 25 Sep 2006 11:22:15 -0400 Message-ID: <878xk8eztk.fsf@furball.mit.edu> References: <87slijekhg.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1159197973 21361 80.91.229.2 (25 Sep 2006 15:26:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Sep 2006 15:26:13 +0000 (UTC) Cc: emacs-devel@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 25 17:26:05 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GRsHx-0006kF-Tl for ged-emacs-devel@m.gmane.org; Mon, 25 Sep 2006 17:22:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRsHx-0003fP-CE for ged-emacs-devel@m.gmane.org; Mon, 25 Sep 2006 11:22:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GRsHl-0003fC-O4 for emacs-devel@gnu.org; Mon, 25 Sep 2006 11:22:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRsHk-0003ex-Vf for emacs-devel@gnu.org; Mon, 25 Sep 2006 11:22:21 -0400 Original-Received: from [18.72.1.2] (helo=south-station-annex.mit.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GRsMB-00008s-UE for emacs-devel@gnu.org; Mon, 25 Sep 2006 11:26:56 -0400 Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id k8PFMFU0025726; Mon, 25 Sep 2006 11:22:15 -0400 (EDT) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by grand-central-station.mit.edu (8.13.6/8.9.2) with ESMTP id k8PFM7WU012924; Mon, 25 Sep 2006 11:22:07 -0400 (EDT) Original-Received: from furball.mit.edu (SYDNEYPACIFIC-TWO-EIGHTY-FOUR.MIT.EDU [18.95.6.29]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id k8PFM3pe027183; Mon, 25 Sep 2006 11:22:04 -0400 (EDT) Original-Received: from cyd by furball.mit.edu with local (Exim 3.36 #1 (Debian)) id 1GRsHf-0000eX-00; Mon, 25 Sep 2006 11:22:15 -0400 Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "Sun\, 24 Sep 2006 20\:39\:50 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.217 X-Scanned-By: MIMEDefang 2.42 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60202 Archived-At: Stefan Monnier writes: >> This behavior is 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. > >> However, the result is that when the `gnus-demon' timer function calls >> accept-process-output, it can't be interrupted. > >> I'm not sure what the best way to handle this is. Anyone? > > `with-local-quit'. > The manual should be changed to point to it, I've checked in a fix, which Leon has confirmed to fix his problem. (I've updated the lispref manual too.)