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#65554: 30.0.50; help-echo string for truncated tab-bar names is not viewable Date: Mon, 28 Aug 2023 19:57:49 +0300 Organization: LINKOV.NET Message-ID: <86a5ubcdf6.fsf@mail.linkov.net> References: <87zg2d396h.fsf@gmail.com> <86zg2cikpe.fsf@mail.linkov.net> <86bkerhd3h.fsf@mail.linkov.net> <87msyb2rij.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15449"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 65554@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 28 18:59:41 2023 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 1qafaX-0003q7-NW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Aug 2023 18:59:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qafZu-0007LE-Nc; Mon, 28 Aug 2023 12:59:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qafZs-0007Kj-Ov for bug-gnu-emacs@gnu.org; Mon, 28 Aug 2023 12:59:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qafZo-0002aR-DD for bug-gnu-emacs@gnu.org; Mon, 28 Aug 2023 12:59:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qafZu-0003GO-Q7 for bug-gnu-emacs@gnu.org; Mon, 28 Aug 2023 12:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Aug 2023 16:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65554 X-GNU-PR-Package: emacs Original-Received: via spool by 65554-submit@debbugs.gnu.org id=B65554.169324191812496 (code B ref 65554); Mon, 28 Aug 2023 16:59:02 +0000 Original-Received: (at 65554) by debbugs.gnu.org; 28 Aug 2023 16:58:38 +0000 Original-Received: from localhost ([127.0.0.1]:48940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qafZW-0003FU-44 for submit@debbugs.gnu.org; Mon, 28 Aug 2023 12:58:38 -0400 Original-Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]:46945) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qafZT-0003FC-HY for 65554@debbugs.gnu.org; Mon, 28 Aug 2023 12:58:36 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 8B752E0005; Mon, 28 Aug 2023 16:58:21 +0000 (UTC) In-Reply-To: <87msyb2rij.fsf@gmail.com> (Visuwesh's message of "Mon, 28 Aug 2023 19:33:32 +0530") X-GND-Sasl: juri@linkov.net 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268642 Archived-At: >> Next I could rename tab-bar-tab-name-format-function to >> tab-bar-tab-name-format-functions with the default value >> composed from the code fragments of tab-bar-tab-name-format-default: >> >> '(tab-bar-tab-name-format-hints >> tab-bar-tab-name-format-close-button >> tab-bar-tab-name-format-face >> ) >> >> Then you will be able to customize it to: >> >> '(tab-bar-tab-name-format-truncate >> tab-bar-tab-name-format-hints >> tab-bar-tab-name-format-close-button >> tab-bar-tab-name-format-face >> ) >> >> That first will truncate the tab name, then add numeric hints to the >> truncated name, then add the close button, then put faces on the final string >> that will be displayed on the tab bar. > > That would be much more convenient, and make the customisation around > the tab name a lot less confusing. Now tab-bar-tab-name-format-functions is pushed to master. Please try to customize it and add tab-bar-tab-name-format-truncated to the top of the list. PS: I think no functions/defcustoms should be obsoleted with this change.