emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When is hourglass shown?


From: Jan D.
Subject: Re: When is hourglass shown?
Date: Fri, 04 Mar 2005 21:30:48 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]