unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Condy Chen <condy0919@gmail.com>
Cc: 44397@debbugs.gnu.org
Subject: bug#44397: 28.0.50; tab-bar-mode: tab-switcher creates a new tab every time
Date: Tue, 03 Nov 2020 21:23:44 +0200	[thread overview]
Message-ID: <87sg9qz1kv.fsf@mail.linkov.net> (raw)
In-Reply-To: <8dggmbp0qmcamu5rf222i603.1604396275758@gmail.com> (Condy Chen's message of "Tue, 03 Nov 2020 17:37:55 +0800")

merge 44397 38624
thanks

>> `ibuffer' is a good analogy: it creates the special *Ibuffer* buffer,
>> and the same way `tab-switcher' creates the special *Tabs* tab.
>
> The problem is `tab-switcher' never reuses the *Tabs* tab and always
> create a new one.  After N `tab-switcher' calls, there are
> N additional tabs created if user has not deleted anyone.
>
>> I agree that the docstring should say that it creates a new tab,
>> even though `ibuffer' doesn't say that it creates a new buffer.
>
> Looks like the behavisor is expected?

It seems what you need is not tab-switcher, but the exact analog of
`ibuffer' to manage tabs the same way as `ibuffer' manages buffers.

Please see https://debbugs.gnu.org/38680 and https://debbugs.gnu.org/38624
where such `tab-list' is being developed.





      reply	other threads:[~2020-11-03 19:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-02 18:03 bug#44397: 28.0.50; tab-bar-mode: tab-switcher creates a new tab every time Zhiwei Chen
2020-11-02 21:30 ` Juri Linkov
2020-11-03  9:37   ` Condy Chen
2020-11-03 19:23     ` Juri Linkov [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87sg9qz1kv.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=44397@debbugs.gnu.org \
    --cc=condy0919@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).