From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: luangruo@yahoo.com, 51648@debbugs.gnu.org
Subject: bug#51648: 28.0.60; `tab-bar-close-button' and `tab-bar-new-button' should be documented in the manual
Date: Sun, 07 Nov 2021 20:25:12 +0200 [thread overview]
Message-ID: <835yt3962f.fsf@gnu.org> (raw)
In-Reply-To: <86h7cogg2d.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 07 Nov 2021 19:37:22 +0200)
> From: Juri Linkov <juri@linkov.net>
> Cc: Po Lu <luangruo@yahoo.com>, 51648@debbugs.gnu.org
> Date: Sun, 07 Nov 2021 19:37:22 +0200
>
> >> > What should be possible is to find the customization by browsing the
> >> > tab-bar Custom group. If that is not currently possible (I didn't
> >> > check), then we should probably do something to fix that.
> >>
> >> It isn't, FWIW. Thanks.
> >
> > Juri, can we please fix this? Thanks.
>
> Please specify to what extent it should be customizable.
>
> Currently configuration of these buttons is possible with e.g.
>
> (setq tab-bar-close-button
> (propertize " x"
> 'display
> `(image :type svg
> :file "checkbox-mixed.svg"
> :margin ,tab-bar-button-margin
> :ascent center)
> 'close-tab t
> :help "Click to close tab"))
>
> (setq tab-bar-new-button
> (propertize " + "
> 'display
> `(image :type svg
> :file "checked.svg"
> :margin ,tab-bar-button-margin
> :ascent center)
> :help "Click to add tab"))
>
> that uses SVG images. Also it's possible to use Unicode chars with
>
> (setq tab-bar-close-button (propertize " x" 'display (propertize "✕" 'face 'tab-bar-tab-inactive) 'close-tab t))
> (setq tab-bar-new-button (propertize " + " 'display (propertize "➕" 'face 'tab-bar-tab)))
I thought there were some defcustom's for that, but they weren't
easily discoverable by browsing the tab-bar customization group. But
if you didn't intend to let users customize those, it's up to you.
next prev parent reply other threads:[~2021-11-07 18:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <878ry0y884.fsf.ref@yahoo.com>
2021-11-07 3:07 ` bug#51648: 28.0.60; `tab-bar-close-button' and `tab-bar-new-button' should be documented in the manual Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-07 7:12 ` Eli Zaretskii
2021-11-07 7:23 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-07 7:40 ` Eli Zaretskii
2021-11-07 8:05 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-07 17:37 ` Juri Linkov
2021-11-07 18:25 ` Eli Zaretskii [this message]
2021-11-07 18:31 ` Juri Linkov
2021-11-07 18:41 ` Eli Zaretskii
2021-11-07 20:00 ` Juri Linkov
2021-11-08 0:32 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-08 9:02 ` Juri Linkov
2022-09-15 16:20 ` Juri Linkov
2022-10-23 18:11 ` Juri Linkov
2021-11-08 17:46 ` Juri Linkov
2022-01-27 18:45 ` Juri Linkov
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=835yt3962f.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=51648@debbugs.gnu.org \
--cc=juri@linkov.net \
--cc=luangruo@yahoo.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 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.