help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indicator in mode-line


From: Heime
Subject: Re: Indicator in mode-line
Date: Thu, 24 Nov 2022 14:21:56 +0000

To update the mode-line I have been setting up global-mode-string

(setq act "Test")
(push '("" act) global-mode-string)
(force-mode-line-update) 

But executing the above has not changed the mode-line.


------- Original Message -------
On Thursday, November 24th, 2022 at 12:52 AM, Heime 
<heimeborgia@protonmail.com> wrote:


> I want to issue some indicator to the mode-line when some condition happens 
> (error,
> warning, notification).
> 
> I can add things to the mode-line is the following way.
> 
> (setq mode-line-format (list "Indc " mode-line-format))
> (force-mode-line-update)
> 
> But also require a way for the user to acknowledge the indicator
> and be able to switch the indicator off - returning the mode-line
> as original.
> 
> What kind of indications would work well in getting user attention?
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]