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.
_______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel