From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Tramp with global-auto-revert-mode. Date: Sat, 15 May 2004 14:33:47 -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> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084646234 13964 80.91.224.253 (15 May 2004 18:37:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 May 2004 18:37:14 +0000 (UTC) Cc: dak@gnu.org, emacs-devel@gnu.org, kai@emptydomain.de, storm@cua.dk Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat May 15 20:37:07 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 1BP41z-0007Yi-00 for ; Sat, 15 May 2004 20:37:07 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BP41y-0000es-00 for ; Sat, 15 May 2004 20:37:06 +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 1BP41A-0004ey-3y for emacs-devel@quimby.gnus.org; Sat, 15 May 2004 14:36:16 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BP3za-000458-GC for emacs-devel@gnu.org; Sat, 15 May 2004 14:34:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BP3ym-0003Sg-3r for emacs-devel@gnu.org; Sat, 15 May 2004 14:34:20 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BP3yl-0003SI-Mh for emacs-devel@gnu.org; Sat, 15 May 2004 14:33:47 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BP3yl-0007oh-5K; Sat, 15 May 2004 14:33:47 -0400 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on 14 May 2004 17:33:57 -0400) 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:23500 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23500 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? flyspell has to do this, so I think that proves this is legitimate. It could perhaps temporarily turn off all timers while doing this, so that they would not run until later. However, I think it makes more sense to say that timers have to run fast. That is a natural and easily understood requirement. If auto-revert is implemented by telling a post-command-hook or idle hook to do the job, then its timer could run fast.