From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs 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 19:37:22 +0200 Organization: LINKOV.NET Message-ID: <86h7cogg2d.fsf@mail.linkov.net> References: <878ry0y884.fsf.ref@yahoo.com> <878ry0y884.fsf@yahoo.com> <83ee7sa17b.fsf@gnu.org> <878ry0whrm.fsf@yahoo.com> <83a6ig9zxc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39878"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Po Lu , 51648@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 07 18:48:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjmH7-000A8j-9i for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 18:48:13 +0100 Original-Received: from [::1] (port=36350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjmH5-00047B-ES for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 12:48:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjmGx-00045r-C8 for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 12:48:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43084) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjmGx-0007ec-2i for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 12:48:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mjmGx-0006hu-1B for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 12:48:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Nov 2021 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51648 X-GNU-PR-Package: emacs Original-Received: via spool by 51648-submit@debbugs.gnu.org id=B51648.163630725725649 (code B ref 51648); Sun, 07 Nov 2021 17:48:02 +0000 Original-Received: (at 51648) by debbugs.gnu.org; 7 Nov 2021 17:47:37 +0000 Original-Received: from localhost ([127.0.0.1]:54625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjmGW-0006fc-Nr for submit@debbugs.gnu.org; Sun, 07 Nov 2021 12:47:36 -0500 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:38173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjmGV-0006eb-DY for 51648@debbugs.gnu.org; Sun, 07 Nov 2021 12:47:35 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 448CC2000A; Sun, 7 Nov 2021 17:47:27 +0000 (UTC) In-Reply-To: <83a6ig9zxc.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 07 Nov 2021 09:40:15 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:219272 Archived-At: >> > 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))) So I'd simply add such examples to the docstrings of these variables for emacs-28.