Juri Linkov <juri@jurta.org> writes: > branch: master > commit ca3763af5cc2758ec71700029558e6ecc4379ea9 > Author: Juri Linkov <juri@linkov.net> > Commit: Juri Linkov <juri@linkov.net> > > * lisp/tab-bar.el (tab-bar-fixed-width): New user option. > > (tab-bar-fixed-width-max): New user option. > (tab-bar-fixed-width-min): New variable. > (tab-bar-fixed-width-faces): New variable. > (tab-bar--fixed-width-hash): New function. > (tab-bar-make-keymap-1): Use 'tab-bar-fixed-width'. > > https://lists.gnu.org/archive/html/emacs-devel/2022-10/msg02067.html > --- > etc/NEWS | 5 +++ > lisp/tab-bar.el | 112 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++- > 2 files changed, 116 insertions(+), 1 deletion(-) > > diff --git a/etc/NEWS b/etc/NEWS > index a185967483..f3a58366fe 100644 > --- a/etc/NEWS > +++ b/etc/NEWS > @@ -1076,6 +1076,11 @@ the corresponding deleted frame. > > ** Tab Bars and Tab Lines > > +--- > +*** New user option 'tab-bar-fixed-width' to automatically resize tabs. > +Another option 'tab-bar-fixed-width-max' defines the maximum tab width > +that by default is 220 pixels on GUI and 20 characters on a tty. Shouldn't this be some multiple of the display scale by default? If not, tabs will end up tiny for users of high-resolution displays.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4