From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org, Jason Rumney <jasonr@gnu.org>
Subject: Re: Getting a hourglass cursor
Date: Tue, 15 Sep 2009 21:19:34 +0200 [thread overview]
Message-ID: <4AAFE8C6.8050102@swipnet.se> (raw)
In-Reply-To: <83iqfkxg82.fsf@gnu.org>
Eli Zaretskii skrev:
>> Date: Tue, 15 Sep 2009 20:15:29 +0800
>> From: Jason Rumney <jasonr@gnu.org>
>> CC: emacs-devel@gnu.org
>>
>> 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.
next prev parent reply other threads:[~2009-09-15 19:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-15 3:22 Getting a hourglass cursor Eli Zaretskii
2009-09-15 12:15 ` Jason Rumney
2009-09-15 12:19 ` Lennart Borgman
2009-09-15 12:32 ` Jason Rumney
2009-09-15 16:43 ` Lennart Borgman
2009-09-16 0:46 ` Jason Rumney
2009-09-16 1:23 ` Stefan Monnier
2009-09-15 17:36 ` Eli Zaretskii
2009-09-15 19:19 ` Jan Djärv [this message]
2009-09-15 20:20 ` Eli Zaretskii
2009-09-15 22:49 ` Jason Rumney
2009-09-15 23:38 ` Juanma Barranquero
2009-09-16 3:13 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AAFE8C6.8050102@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=jasonr@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.