From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Tramp with global-auto-revert-mode. Date: 14 May 2004 19:04:26 -0400 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 1084579210 10809 80.91.224.253 (15 May 2004 00:00:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 May 2004 00:00:10 +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 02:00:02 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 1BOmaw-00064K-00 for ; Sat, 15 May 2004 02:00:02 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BOmaw-00038I-00 for ; Sat, 15 May 2004 02:00:02 +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 1BOmZw-0005dR-N9 for emacs-devel@quimby.gnus.org; Fri, 14 May 2004 19:59:00 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BOmYB-0004vY-1X for emacs-devel@gnu.org; Fri, 14 May 2004 19:57:11 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BOljm-0002dJ-IV for emacs-devel@gnu.org; Fri, 14 May 2004 19:05:37 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BOljD-0002UF-TK; Fri, 14 May 2004 19:04:33 -0400 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id C6BD020AC3; Fri, 14 May 2004 19:04:27 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id B3FC18CA23; Fri, 14 May 2004 19:04:26 -0400 (EDT) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: Original-Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.9, requis 5, BAYES_00 -4.90) 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:23453 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23453 >> 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 ? It doesn't except that it's while debugging such blocking-with-quit-inhibited bugs that I discovered the above example of a perfectly valid call to accept-process-output from a piece of code that needs to be run from a timer or a post-command-hook. Stefan