From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: When is hourglass shown? Date: Sat, 5 Mar 2005 13:38:59 +0100 Message-ID: References: <42289C1F.7060709@swipnet.se> <01c52170$Blat.v2.4$97d80e60@zahav.net.il> <003001c5217b$28b6f4a0$0200a8c0@sedrcw11488> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110026538 19321 80.91.229.2 (5 Mar 2005 12:42:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2005 12:42:18 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 05 13:42:18 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D7Ybi-0002bH-Ug for ged-emacs-devel@m.gmane.org; Sat, 05 Mar 2005 13:42:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7Yot-0000XZ-Gc for ged-emacs-devel@m.gmane.org; Sat, 05 Mar 2005 07:55:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D7Ynz-0000T2-9L for emacs-devel@gnu.org; Sat, 05 Mar 2005 07:54:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D7Yns-0000Q4-8C for emacs-devel@gnu.org; Sat, 05 Mar 2005 07:54:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7Yns-0000Pu-27 for emacs-devel@gnu.org; Sat, 05 Mar 2005 07:54:44 -0500 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D7YZS-0005F8-3S; Sat, 05 Mar 2005 07:39:50 -0500 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep02.bredband.com with ESMTP id <20050305123948.RHWD27886.mxfep02.bredband.com@coolsville.localdomain>; Sat, 5 Mar 2005 13:39:48 +0100 In-Reply-To: <003001c5217b$28b6f4a0$0200a8c0@sedrcw11488> Original-To: "Lennart Borgman" X-Mailer: Apple Mail (2.619.2) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:34215 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34215 > ----- Original Message ----- > From: "Jan D." > >> This does not always work, as in the case of M-x indent-region versus >> C-M-\. Both starts the hourglass timer, but the first stops it >> directly afterwards. > > I am glad you took this up since it is rather confusing when trying to > get > things working on w32 (where it currently does not work at all as far > as I > can see). What is the reason it is stopped when using M-x? Is this a > general > behaviour when using M-x or is it just indent-region? AFAIK it is a general M-x behaviour. Pressing return in the minibuffer starts the hourglass, and then invokes minibuffer-complete-and-exit. This function throws so the start_hourglass done after return is canceled by an unwind-protect (in keyboard.c, command_loop_1(), around line 1784). This may be a bug. I've checked 21.3 and it is the same there so it is not a regression. Jan D.