unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Lennart Borgman" <lennart.borgman.073@student.lu.se>
Subject: Hourglass - how is it started and ended?
Date: Sun, 27 Feb 2005 01:25:20 +0100	[thread overview]
Message-ID: <001101c51c62$dba84d20$0200a8c0@sedrcw11488> (raw)

I got a bit irritated that Emacs did not stop to show an hourglass after an
operation ended so I looked into the code. However while trying to find the
code for this I first stumbled on some other problems. I have some
difficulties to understand the code for starting the hourglass cursor:

1) There is a function start_hourglass. This starts a timer that turns on
the hourglass. The function start_hourglass begins with cancel_hourglass
which cancels the timer if it is already active and removes the hourglass if
it is shown. Why is it useful to begin with this? I would expect
start_hourglass to just do nothing if the hourglass was already shown (and
perhaps also if the timer was active). Can anyone please explain this?

2) In w32fns.c start_hourglass has a "#if 0" around the whole body part. Is
this actually run?? (The hourglass is shown on w32.)

             reply	other threads:[~2005-02-27  0:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-27  0:25 Lennart Borgman [this message]
2005-02-27  5:05 ` Hourglass - how is it started and ended? Eli Zaretskii
2005-02-27  8:54   ` 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='001101c51c62$dba84d20$0200a8c0@sedrcw11488' \
    --to=lennart.borgman.073@student.lu.se \
    /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).