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#55207: 29.0.50; tab-bar-format-align-right only works correctly with monospace characters Date: Mon, 02 May 2022 22:06:24 +0300 Organization: LINKOV.NET Message-ID: <86h767pxe7.fsf@mail.linkov.net> References: <87y1zli75x.fsf@dsemy.com> <86levlf880.fsf@mail.linkov.net> <87bkwhdtd4.fsf@gnus.org> <86r15ddsh1.fsf@mail.linkov.net> <87zgk06jnn.fsf@dsemy.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="32996"; 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: Lars Ingebrigtsen , 55207@debbugs.gnu.org To: Daniel Semyonov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 02 21:24:12 2022 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 1nlbeW-0008R9-Nc for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 May 2022 21:24:12 +0200 Original-Received: from localhost ([::1]:32862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlbeV-00025a-I9 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 May 2022 15:24:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlbeM-00021E-Te for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 15:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlbeM-0000HS-Jy for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 15:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlbeM-0005Z7-FX for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 15:24: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, 02 May 2022 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55207 X-GNU-PR-Package: emacs Original-Received: via spool by 55207-submit@debbugs.gnu.org id=B55207.165151941921325 (code B ref 55207); Mon, 02 May 2022 19:24:02 +0000 Original-Received: (at 55207) by debbugs.gnu.org; 2 May 2022 19:23:39 +0000 Original-Received: from localhost ([127.0.0.1]:38023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlbdz-0005Xt-2y for submit@debbugs.gnu.org; Mon, 02 May 2022 15:23:39 -0400 Original-Received: from relay12.mail.gandi.net ([217.70.178.232]:42415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlbdw-0005XD-SK for 55207@debbugs.gnu.org; Mon, 02 May 2022 15:23:37 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 63BA9200003; Mon, 2 May 2022 19:23:28 +0000 (UTC) In-Reply-To: <87zgk06jnn.fsf@dsemy.com> (Daniel Semyonov's message of "Mon, 02 May 2022 18:25:48 +0300") 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:231280 Archived-At: > However, in the more complicated configuration I actually use it doesn't > make much of a difference: > ... > The icons on the mode line are small XBM images, the theme is Modus > Operandi. I guess you are using global-mode-string with XBM images. Could you then try something like this to see what number it returns? (string-pixel-width (string-trim-right (format-mode-line global-mode-string)))