unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#3751: 23.0.95; C-h H does not display hourglass cursor
@ 2009-07-04 10:11 Eli Zaretskii
  2011-09-17  6:27 ` Lars Magne Ingebrigtsen
  2019-11-02  6:01 ` Stefan Kangas
  0 siblings, 2 replies; 6+ messages in thread
From: Eli Zaretskii @ 2009-07-04 10:11 UTC (permalink / raw)
  To: emacs-pretest-bug

On MS Windows, "C-h H" takes as much as 10 seconds (on a 3GHz
machine), but no hourglass cursor is displayed during that time,
making it look like nothing is going on.

If displaying an hourglass cursor during the time Emacs prepares to
display etc/HELLO is difficult, at the very least please display some
informative message that ends with "please wait..." in the echo area.


In GNU Emacs 23.0.95.1 (i386-mingw-nt5.1.2600)
 of 2009-06-27 on HOME-C4E4A596F7
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1255
  default-enable-multibyte-characters: t

Major mode: RMAIL

Minor modes in effect:
  shell-dirtrack-mode: t
  desktop-save-mode: t
  show-paren-mode: t
  display-time-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  line-number-mode: t

Recent input:
C-h H M-x r e p o r t - 0 e m <tab> <backspace> <backspace>
<backspace> e m <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading vc-cvs...done
View mode: type C-h for help, h for commands, q to quit.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#3751: 23.0.95; C-h H does not display hourglass cursor
  2009-07-04 10:11 bug#3751: 23.0.95; C-h H does not display hourglass cursor Eli Zaretskii
@ 2011-09-17  6:27 ` Lars Magne Ingebrigtsen
  2011-09-17  9:14   ` Eli Zaretskii
  2019-11-02  6:01 ` Stefan Kangas
  1 sibling, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-17  6:27 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 3751

Eli Zaretskii <eliz@gnu.org> writes:

> On MS Windows, "C-h H" takes as much as 10 seconds (on a 3GHz
> machine), but no hourglass cursor is displayed during that time,
> making it look like nothing is going on.
>
> If displaying an hourglass cursor during the time Emacs prepares to
> display etc/HELLO is difficult, at the very least please display some
> informative message that ends with "please wait..." in the echo area.

Adding a "please wait..." message is easy enough, but is there any way
to determine when the wait is over?  Emacs hangs in redisplay, probably?

And just leaving the "please wait..." after the wait is over wouldn't be
nice, either.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#3751: 23.0.95; C-h H does not display hourglass cursor
  2011-09-17  6:27 ` Lars Magne Ingebrigtsen
@ 2011-09-17  9:14   ` Eli Zaretskii
  2011-09-18  8:00     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2011-09-17  9:14 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 3751

> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
> Cc: 3751@debbugs.gnu.org
> Date: Sat, 17 Sep 2011 08:27:39 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > On MS Windows, "C-h H" takes as much as 10 seconds (on a 3GHz
> > machine), but no hourglass cursor is displayed during that time,
> > making it look like nothing is going on.
> >
> > If displaying an hourglass cursor during the time Emacs prepares to
> > display etc/HELLO is difficult, at the very least please display some
> > informative message that ends with "please wait..." in the echo area.
> 
> Adding a "please wait..." message is easy enough, but is there any way
> to determine when the wait is over?  Emacs hangs in redisplay, probably?
> 
> And just leaving the "please wait..." after the wait is over wouldn't be
> nice, either.

Would it work to let-bind view-mode-hook to some function that will
just clear the echo area, around the call to view-file?





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#3751: 23.0.95; C-h H does not display hourglass cursor
  2011-09-17  9:14   ` Eli Zaretskii
@ 2011-09-18  8:00     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-18  8:00 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 3751

Eli Zaretskii <eliz@gnu.org> writes:

>> Adding a "please wait..." message is easy enough, but is there any way
>> to determine when the wait is over?  Emacs hangs in redisplay, probably?
>> 
>> And just leaving the "please wait..." after the wait is over wouldn't be
>> nice, either.
>
> Would it work to let-bind view-mode-hook to some function that will
> just clear the echo area, around the call to view-file?

Hm.  Would that work?  I though that (basically) Emacs just put the
HELLO file in a window, and then the redisplay engine starts churning
and churning while the OS is loading all the fonts.

To clear the "please wait..." message you'd have to have a hook that's
run after redisplay is "finished", if that is even a possible concept.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#3751: 23.0.95; C-h H does not display hourglass cursor
  2009-07-04 10:11 bug#3751: 23.0.95; C-h H does not display hourglass cursor Eli Zaretskii
  2011-09-17  6:27 ` Lars Magne Ingebrigtsen
@ 2019-11-02  6:01 ` Stefan Kangas
  2019-11-02  8:21   ` Eli Zaretskii
  1 sibling, 1 reply; 6+ messages in thread
From: Stefan Kangas @ 2019-11-02  6:01 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 3751

Eli Zaretskii <eliz@gnu.org> writes:

> On MS Windows, "C-h H" takes as much as 10 seconds (on a 3GHz
> machine), but no hourglass cursor is displayed during that time,
> making it look like nothing is going on.
>
> If displaying an hourglass cursor during the time Emacs prepares to
> display etc/HELLO is difficult, at the very least please display some
> informative message that ends with "please wait..." in the echo area.

Hi Eli,

Here is another bug of yours that was reported 10 years ago.  Is this
still an issue?  It seems to me that it would be easy to add a message
using progress-reporter.

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#3751: 23.0.95; C-h H does not display hourglass cursor
  2019-11-02  6:01 ` Stefan Kangas
@ 2019-11-02  8:21   ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2019-11-02  8:21 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 3751

> From: Stefan Kangas <stefan@marxist.se>
> Cc: 3751@debbugs.gnu.org
> Date: Sat, 02 Nov 2019 07:01:23 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > On MS Windows, "C-h H" takes as much as 10 seconds (on a 3GHz
> > machine), but no hourglass cursor is displayed during that time,
> > making it look like nothing is going on.
> >
> > If displaying an hourglass cursor during the time Emacs prepares to
> > display etc/HELLO is difficult, at the very least please display some
> > informative message that ends with "please wait..." in the echo area.
> 
> Hi Eli,
> 
> Here is another bug of yours that was reported 10 years ago.  Is this
> still an issue?  It seems to me that it would be easy to add a message
> using progress-reporter.

It is still an issue, and the reason is the details of how the
hourglass cursor display is implemented on MS-Windows.

I'd like this bug report to be left open, because it is an example of
quite a few other situations where a prolonged operation doesn't cause
the hourglass cursor to be displayed.  I still hope that someone will
add or modify the code to produce the expected effect in those cases.

If someone wants to work on this, I can provide more details.

Thanks.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-02  8:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-04 10:11 bug#3751: 23.0.95; C-h H does not display hourglass cursor Eli Zaretskii
2011-09-17  6:27 ` Lars Magne Ingebrigtsen
2011-09-17  9:14   ` Eli Zaretskii
2011-09-18  8:00     ` Lars Magne Ingebrigtsen
2019-11-02  6:01 ` Stefan Kangas
2019-11-02  8:21   ` Eli Zaretskii

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).