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

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

bug#59624: Usning global-mode-string for small screens


From: Heime
Subject: bug#59624: Usning global-mode-string for small screens
Date: Sun, 27 Nov 2022 02:51:58 +0000

A convenenient way to update the mode-line is to use "global-mode-string".  
This is quite powerful
because I can easily insert and remove the information in "global-mode-string" 
that one introduces 
in the mode-line.  For instance, one can add an indicator "Indic" in the mode.  
Then easily remove 
it by resetting "global-mode-string".

Yet introducing global-mode-string, gets to be printed after the mode-lighters. 
 This is a problem
far small screens.  

(setq act "Indic")
(push '("" act) global-mode-string)

A more appropriate implementation could allow one to decide where to insert 
"global-mode-string"
(beginning, before buffer-name, before mode-lighter, end) or some other way 
suitable to people 
who have to endure small screens.





reply via email to

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