unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: tumashu  <tumashu@163.com>
To: "Juri Linkov" <juri@linkov.net>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re:Re: [patch] two patchs about tab-bar.el
Date: Sun, 12 Sep 2021 17:34:17 +0800 (CST)	[thread overview]
Message-ID: <5f4b14df.1541.17bd95b7e6d.Coremail.tumashu@163.com> (raw)
In-Reply-To: <87k0jmjn9v.fsf@mail.linkov.net>


















At 2021-09-12 15:03:04, "Juri Linkov" <juri@linkov.net> wrote:
>> This is my tab-bar config
>>
>> (setq display-buffer-alist
>>       '((eh-display-buffer-in-tab-p
>>          display-buffer-in-tab
>>          (reusable-frames . visible))))
>
>Thanks, now everything is clear.  Then we need to decide
>what alist parameters should define your preference
>of using the current tab.  One possible new parameter
>could be 'prefer-current-tab':
>
>  (setq display-buffer-alist
>        '((eh-display-buffer-in-tab-p
>           display-buffer-in-tab
>           (reusable-frames . visible)
>           (prefer-current-tab . t))))
>
>But 'tab-bar-get-buffer-tab' already has argument 'ignore-current-tab'
>that could be used to implement what you want.  Then if someone doesn't want
>to prefer the current tab, this can be configured with:
>
>  (setq display-buffer-alist
>        '((eh-display-buffer-in-tab-p
>           display-buffer-in-tab
>           (reusable-frames . visible)
>           (ignore-current-tab . t))))
>
>So I propose to use the existing argument 'ignore-current-tab'
>with these meanings of its values:
>
>- nil: prefer the current tab;
>- t: ignore the current tab.
>
>Do you agree?

agree





  reply	other threads:[~2021-09-12  9:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-10  4:39 [patch] two patchs about tab-bar.el tumashu
2021-09-10  6:33 ` Juri Linkov
2021-09-10 13:18   ` tumashu
2021-09-10 13:24   ` tumashu
2021-09-10 13:36   ` tumashu
2021-09-10 16:17     ` Juri Linkov
2021-09-10 18:33   ` tumashu
2021-09-12  7:03     ` Juri Linkov
2021-09-12  9:34       ` tumashu [this message]
2021-09-12 16:10         ` Juri Linkov
2021-09-10 23:48 ` Feng Shu

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=5f4b14df.1541.17bd95b7e6d.Coremail.tumashu@163.com \
    --to=tumashu@163.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 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).