From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Tramp with global-auto-revert-mode. Date: 15 May 2004 00:55:52 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200405122254.i4CMsUj29445@raven.dms.auburn.edu> <200405122326.i4CNQk929511@raven.dms.auburn.edu> <200405132324.i4DNOBs14811@raven.dms.auburn.edu> <200405140008.i4E08lb14858@raven.dms.auburn.edu> <871xln4xmc.fsf-monnier+emacs@gnu.org> <87oeorb5pq.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084577504 7972 80.91.224.253 (14 May 2004 23:31:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 May 2004 23:31:44 +0000 (UTC) Cc: David Kastrup , Kai Grossjohann , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat May 15 01:31:34 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOm9O-0004wL-00 for ; Sat, 15 May 2004 01:31:34 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOm9N-0002cA-01 for ; Sat, 15 May 2004 01:31:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOm5k-0006fR-1R for emacs-devel@quimby.gnus.org; Fri, 14 May 2004 19:27:48 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BOm5c-0006f3-KT for emacs-devel@gnu.org; Fri, 14 May 2004 19:27:40 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BOlcB-0000rA-IE for emacs-devel@gnu.org; Fri, 14 May 2004 18:57:49 -0400 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOlav-0000WD-Tv; Fri, 14 May 2004 18:56:03 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id 5FA2447FE1E; Sat, 15 May 2004 00:55:55 +0200 (CEST) Original-To: Stefan Monnier In-Reply-To: Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23446 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23446 Stefan Monnier writes: > >> If a timer does something like accept-process-output, stopping other > >> timers would probably be a mistake. > > But it seems quite bogus for a timer to do that ... as it blocks > > interactive use. > > IMO, timers should be "fast". > > 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? timer-event-handler sets inhibit-quit to t before calling the timer's function, so if that function calls accept-process-output, it should explicitly set inhibit-quit to nil -- but how does that affect the timer system ? -- Kim F. Storm http://www.cua.dk