emacs-devel
[Top][All Lists]
Advanced

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

Re: Some ideas to improve Tab Bar


From: Juri Linkov
Subject: Re: Some ideas to improve Tab Bar
Date: Tue, 02 Mar 2021 21:46:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> Instead of duplicating the same information in every mode line of every 
>> window,
>> now tab-bar-mode has a new variable tab-bar-format.  A new element
>> tab-bar-format-global can be added to its list.  In this case,
>> when `display-time-mode' is enabled and automatically updates the time string
>> every minute using a timer, it updates time on the tab bar,
>> without duplicating it in every mode line.
>
> Really nice! Thank you!
>
> Do you happen to have some snippet demonstrating the use of the newly
> added tab-bar variables/functions ?

Just add something like this to the init file:

(display-time-mode)
(setq tab-bar-format '(tab-bar-format-history
                       tab-bar-format-tabs
                       tab-bar-format-align-right
                       tab-bar-format-global))



reply via email to

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