emacs-devel
[Top][All Lists]
Advanced

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

Re: Getting a hourglass cursor


From: Jan Djärv
Subject: Re: Getting a hourglass cursor
Date: Tue, 15 Sep 2009 21:19:34 +0200
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)



Eli Zaretskii skrev:
Date: Tue, 15 Sep 2009 20:15:29 +0800
From: Jason Rumney <address@hidden>
CC: address@hidden

Eli Zaretskii wrote:
The case in point is "C-h H", which (at least on Windows) takes an
annoyingly long time.
On Windows, we don't support asynchronous timers, so the hourglass will only display if we spend a long time executing lisp code. C-h H is spending time doing redisplay (specifically finding fonts to display the various scripts), so the hourglass does not display.

Sorry, I'm not sure I understand: are you saying that "C-h H" _will_
display the hourglass cursor on X?  If so, where's the code that
starts the atimer which, when expires, will display the hourglass?
Can you (or someone else) please verify that the hourglass is indeed
displayed on X?

Well, not for C-h H here, it is too fast.  But (sleep-for 10) does indeed
start an hourglass.  The code that starts it is in xdisp.c.

For W32, it is in w32fns.c.



AFAICS, the code which sets this atimer is in start_hourglass.  But if
that is true, all the calls to start_hourglass are made on Windows as
well, and the hourglass should display on Windows as it does on other
platforms.  What am I missing?


Don't know.

        Jan D.




reply via email to

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