GNU bug report logs - #51490
Show an indicator when Emacs is busy somewhere in the Emacs window

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Fri, 29 Oct 2021 18:00:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, stefan <at> marxist.se, 51490 <at> debbugs.gnu.org
Subject: bug#51490: Show an indicator when Emacs is busy somewhere in the Emacs window
Date: Thu, 22 Sep 2022 13:08:25 +0000
>>>> Aren't they the simplest graphical element drawn by Emacs, a simple 
>>>> black-and-white bitmap?
>>>
>>> No, they aren't.  They are certainly not black-and-white: they use 
>>> faces.
>>
>> They use faces to get at the colours, but nothing beyond that, I think?
>
> Yes, only the colors.  But accessing the faces means you cannot do that 
> while the Lisp machine is doing something.
>

But would it be really necessary to access these faces each time the 
indicator would be drawn?  We could for example cache the values of these 
two colors somewhere, or decide to do something different and use a 
specific function to set these two colors without going through the whole 
face machinery, something like (set-busy-indicator-colors FOREGROUND 
BACKGROUND).




This bug report was last modified 2 years and 329 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.