[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master ca3763af5c: * lisp/tab-bar.el (tab-bar-fixed-width): New user
From: |
Po Lu |
Subject: |
Re: master ca3763af5c: * lisp/tab-bar.el (tab-bar-fixed-width): New user option. |
Date: |
Fri, 04 Nov 2022 16:02:47 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
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.
- Re: master ca3763af5c: * lisp/tab-bar.el (tab-bar-fixed-width): New user option.,
Po Lu <=