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: Fri, 04 Mar 2005 21:30:48 +0100 Message-ID: <4228C578.4090600@swipnet.se> References: <42289C1F.7060709@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1109968896 18624 80.91.229.2 (4 Mar 2005 20:41:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Mar 2005 20:41:36 +0000 (UTC) Cc: Emacs-Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 04 21:41:35 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D7JY1-0001rF-SY for ged-emacs-devel@m.gmane.org; Fri, 04 Mar 2005 21:37:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7JrG-00036e-19 for ged-emacs-devel@m.gmane.org; Fri, 04 Mar 2005 15:57:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D7Jqe-0002yG-5h for emacs-devel@gnu.org; Fri, 04 Mar 2005 15:56:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D7JqS-0002tM-Qe for emacs-devel@gnu.org; Fri, 04 Mar 2005 15:56:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7JqS-0002mr-AN for emacs-devel@gnu.org; Fri, 04 Mar 2005 15:56:24 -0500 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D7JRi-0004Ro-7s for emacs-devel@gnu.org; Fri, 04 Mar 2005 15:30:50 -0500 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep02.bredband.com with ESMTP id <20050304203049.OBHW27886.mxfep02.bredband.com@coolsville.localdomain>; Fri, 4 Mar 2005 21:30:49 +0100 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: Stefan Monnier In-Reply-To: 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:34186 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34186 Stefan Monnier wrote: >>>Can someone please tell me when an hourglass is shown on X Emacs? Is it >>>shown for an operation like ediff-buffers (that takes a long time on my pc)? >>>Is it shown for indent-region? >>> >>> > > > >>Not for indent-region (it should be IMHO). >> >> > >Are you sure? I thought it was command-agnostic (i.e. it simply displays >an hourglass if more than X seconds have passed since Emacs was last ready >to process keyboard input). > >[ ... trying out (setq indent-line-function (lambda () (while t))) ... ] > >Duh! You're right. Hmm... how does this thing work? > I only tried M-x indent-region. For that no hourglass is shown. But if invoked with M-C-\ an hourglass is shown. Turns out that M-x ... calls minibuffer-complete-and-exit, and that function throws so the start hourglass action is unwind and canceled. A bit inconsistent here. Jan D.