* bug#51649: 29.0.50; Emacs won't show hourglass
@ 2021-11-07 3:09 Lars Ingebrigtsen
2021-11-07 4:12 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-11-07 3:09 UTC (permalink / raw)
To: 51649
Test case:
(progn
(switch-to-buffer "*Messages*")
(while t))
Ideally, this should show the "hourglass" pointer after a second to show
that Emacs is busy, but ideally not do anything else.
But instead nothing happens -- no hourglass. Until I move the mouse
pointer, hit the keyboard, or otherwise do something to make Emacs
trigger an update. Then I get the hourglass -- but Emacs also shows the
*Message* buffer, which it shouldn't.
The latter is due to:
redisplay_preserve_echo_area (21);
which I added to x_show_hourglass -- but it fails to do what it was
supposed to (i.e., show the hourglass, and it has bad side effects). So
I've now removed it.
So... what is the way to make Emacs show the hourglass, but without
triggering any other redisplay?
In GNU Emacs 29.0.50 (build 58, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
of 2021-11-06 built on elva
Repository revision: 1733448994a6dea4dbc0c19c02d9d425469119ce
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux bookworm/sid
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#51649: 29.0.50; Emacs won't show hourglass
2021-11-07 3:09 bug#51649: 29.0.50; Emacs won't show hourglass Lars Ingebrigtsen
@ 2021-11-07 4:12 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-11-07 4:12 UTC (permalink / raw)
To: 51649
Lars Ingebrigtsen <larsi@gnus.org> writes:
> So... what is the way to make Emacs show the hourglass, but without
> triggering any other redisplay?
flush_frame (f);
Apparently. Now pushed.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-07 4:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-07 3:09 bug#51649: 29.0.50; Emacs won't show hourglass Lars Ingebrigtsen
2021-11-07 4:12 ` Lars Ingebrigtsen
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).