unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: Emacs-Devel <emacs-devel@gnu.org>
Subject: Re: When is hourglass shown?
Date: Fri, 04 Mar 2005 21:30:48 +0100	[thread overview]
Message-ID: <4228C578.4090600@swipnet.se> (raw)
In-Reply-To: <jwvsm3bxlrn.fsf-monnier+emacs@gnu.org>

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.

  reply	other threads:[~2005-03-04 20:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-04 17:34 When is hourglass shown? Jan D.
2005-03-04 19:33 ` Stefan Monnier
2005-03-04 20:30   ` Jan D. [this message]
2005-03-05 10:51   ` Eli Zaretskii
2005-03-05 10:45 ` Eli Zaretskii
2005-03-05 11:17   ` Jan D.
2005-03-05 12:00     ` Lennart Borgman
2005-03-05 12:38       ` Jan D.
2005-03-06  0:41         ` Richard Stallman
2005-03-10 19:10           ` Jan D.
2005-03-05 15:11       ` Jason Rumney
2005-03-05 17:24     ` Eli Zaretskii
2005-03-05 18:18       ` Jan D.
2005-03-05 20:11         ` Nick Roberts
  -- strict thread matches above, loose matches on Subject: below --
2005-03-02 16:05 Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4228C578.4090600@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).