all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matthias Meulien <orontee@gmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: emacs-devel@gnu.org
Subject: Re: Fix width tabs
Date: Fri, 18 Feb 2022 15:45:48 +0100	[thread overview]
Message-ID: <87sfsgfd2b.fsf@gmail.com> (raw)
In-Reply-To: <865ypcmx6s.fsf@mail.linkov.net> (Juri Linkov's message of "Fri,  18 Feb 2022 09:49:15 +0200")

Juri Linkov <juri@linkov.net> writes:

>> When a tab has multiple windows, its name is updated depending on
>> current buffer name.  Switching window (C-x o) results in the tab being
>> renamed.
>
> This problem doesn't exist when tab-bar-tab-name-function
> shows all window buffers with tab-bar-tab-name-all.
> So a possible solution is to enable this by default.

Thanks I didn't knew tab-bar-tab-name-all. Unfortunately visiting a new
window expands the tab name and thus there's the same problem.

> (...)
>> But I've not found a way to do that with current options. Is it
>> already possible?
>
> Yes, it's possible to do by writing a new function for
> tab-bar-tab-name-function.  There was a similar function
> for fixed tab widths in tab-line.el, but after discussions
> it was removed because it wasted too much screen space
> with empty spaces used to adjust for fixed widths.

I don't understand how it could waste more space than the
tab-bar-tab-name-all function you mentionned.

>> My understanding is that it's the default behavior in other applications
>> like Firefox. Is there good reason to have different default?
>
> The good reason is to have the more compact tab bar.
> If you want, you could try experimenting by writing a function
> for tab-bar-tab-name-function with padding every tab name
> by proportional amount of space.

I'll try this. Thanks a lot!
-- 
Matthias



  reply	other threads:[~2022-02-18 14:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-17 21:31 Fix width tabs Matthias Meulien
2022-02-18  7:49 ` Juri Linkov
2022-02-18 14:45   ` Matthias Meulien [this message]
2022-02-19 17:05     ` Juri Linkov
2022-02-21  8:30       ` Juri Linkov
2022-02-21 12:38         ` Matthias Meulien
2022-02-22 17:18           ` Juri Linkov
2022-10-27  7:40         ` Juri Linkov
2022-10-30 19:50           ` Matthias Meulien
2022-11-02 18:01             ` Juri Linkov
2022-11-04  7:48               ` Juri Linkov
2022-11-04  8:07                 ` Eli Zaretskii
2022-11-05 17:12                   ` Juri Linkov
2022-11-05 17:28                     ` Eli Zaretskii
2022-11-05 18:20                       ` Juri Linkov
2022-11-05 17:56                     ` tomas
2022-11-05 18:17                       ` Juri Linkov
2022-11-06 10:59                     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfsgfd2b.fsf@gmail.com \
    --to=orontee@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.