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: Feature freeze and Tramp? Date: 09 May 2004 16:11:17 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87zn8qlleb.fsf@emptyhost.emptydomain.de> <87d65gj5j2.fsf@emptyhost.emptydomain.de> <200405090211.i492B2S28986@raven.dms.auburn.edu> <200405091626.i49GQwF01227@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084133786 1267 80.91.224.253 (9 May 2004 20:16:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 May 2004 20:16:26 +0000 (UTC) Cc: bob@rattlesnake.com, kai@emptydomain.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 09 22:16:14 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 1BMuic-0001Eu-00 for ; Sun, 09 May 2004 22:16:14 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BMuib-0003b1-00 for ; Sun, 09 May 2004 22:16:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.33) id 1BMues-00082F-04 for emacs-devel@quimby.gnus.org; Sun, 09 May 2004 16:12:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.33) id 1BMueR-0007z0-PN for emacs-devel@gnu.org; Sun, 09 May 2004 16:11:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.33) id 1BMudv-0007aa-D2 for emacs-devel@gnu.org; Sun, 09 May 2004 16:11:54 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.33) id 1BMudr-0007Z1-Ge for emacs-devel@gnu.org; Sun, 09 May 2004 16:11:19 -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 AC53B209EB; Sun, 9 May 2004 16:11:17 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 40AD08C6AE; Sun, 9 May 2004 16:11:17 -0400 (EDT) Original-To: Luc Teirlinck In-Reply-To: <200405091626.i49GQwF01227@raven.dms.auburn.edu> Original-Lines: 15 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:22990 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22990 > auto-revert-mode causes the freeze. This looks like a bug in > auto-revert-mode. I will take a look at it and see whether I can fix it. The problem is likely to be that inhibit-quit is bound to non-nil while running timers (such as the auto-revert timer). So you might want to wrap the auto-revert timer code with `with-local-quit'. But it would probably be better to use with-local-quit at the place where it's actually needed: around any potentially indefinitely blocking piece of code. In this case it would be within Tramp around one of its calls to accept-process-output (or around one of the loops that calls accept-process-output). Stefan