From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 20:25:12 +0200 Message-ID: <835yt3962f.fsf@gnu.org> References: <878ry0y884.fsf.ref@yahoo.com> <878ry0y884.fsf@yahoo.com> <83ee7sa17b.fsf@gnu.org> <878ry0whrm.fsf@yahoo.com> <83a6ig9zxc.fsf@gnu.org> <86h7cogg2d.fsf@mail.linkov.net> 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="17305"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 51648@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 07 19:26:27 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 1mjms7-0004HG-9Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 19:26:27 +0100 Original-Received: from [::1] (port=49086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjms6-00069G-1s for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Nov 2021 13:26:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjmri-0005ak-8p for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 13:26:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43140) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjmri-0004VH-0R for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 13:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mjmrh-0007e9-LA for bug-gnu-emacs@gnu.org; Sun, 07 Nov 2021 13:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Nov 2021 18:26:01 +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.163630953329352 (code B ref 51648); Sun, 07 Nov 2021 18:26:01 +0000 Original-Received: (at 51648) by debbugs.gnu.org; 7 Nov 2021 18:25:33 +0000 Original-Received: from localhost ([127.0.0.1]:54684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjmrF-0007dM-CE for submit@debbugs.gnu.org; Sun, 07 Nov 2021 13:25:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjmrD-0007dA-F5 for 51648@debbugs.gnu.org; Sun, 07 Nov 2021 13:25:32 -0500 Original-Received: from [2001:470:142:3::e] (port=52398 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjmr7-0004NE-Ip; Sun, 07 Nov 2021 13:25:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=YxFuxmKR1+Pv4pZTPfOt8keyNkA+cNWOoH50gzfLlzY=; b=FEgdf1MapcxggpU/Ooco 1L/1G8QtzBWBMch+/5NuuisvDKOljZYJ20TBsxSbcZ/AM49VPSa+rWin2sw5AgTz95Qcjv43gpVXD ixf5pLYFw97xOjDDwkvO+k0PopBYngnRh60UV6dRiPVms2g2yKQlGpwbO17F6dQ/7gYpt8z462sQD hUTp8qEBDJLqs6RDFG6MWCbETIi2e+qmAu2HESv4lFVMGV19r6DTOlMdljyo15JEmiZwtLIYZAnMd nisaBEW4qbic8vvF2OfkMnWW5MkWo2By3osAm43wkw+nn6u2/b9l3pIHsboUWHvPgD4OpJWiVzaRN HFR88Zvu7kxvxQ==; Original-Received: from [87.69.77.57] (port=2774 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjmr7-0001Ab-4S; Sun, 07 Nov 2021 13:25:25 -0500 In-Reply-To: <86h7cogg2d.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 07 Nov 2021 19:37:22 +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:219276 Archived-At: > From: Juri Linkov > Cc: Po Lu , 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.