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#64971: 30.0.50; string-pixel-width return value is affected by 'line-prefix Date: Thu, 10 Aug 2023 12:17:55 +0300 Message-ID: <83zg2zi7cs.fsf@gnu.org> References: <871qgoi900.fsf@localhost> <83y1iv29t9.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14243"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64971-done@debbugs.gnu.org To: yantar92@posteo.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 10 11:18:13 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 1qU1o3-0003SK-Tu for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Aug 2023 11:18:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qU1o0-0003iF-Is; Thu, 10 Aug 2023 05:18:08 -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 1qU1nu-0003bg-PC for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2023 05:18:04 -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 1qU1nu-0000Gu-Gi for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2023 05:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qU1nu-0006F1-Cn for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2023 05:18:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Aug 2023 09:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 64971 X-GNU-PR-Package: emacs Mail-Followup-To: 64971@debbugs.gnu.org, eliz@gnu.org, yantar92@posteo.net Original-Received: via spool by 64971-done@debbugs.gnu.org id=D64971.169165906723962 (code D ref 64971); Thu, 10 Aug 2023 09:18:02 +0000 Original-Received: (at 64971-done) by debbugs.gnu.org; 10 Aug 2023 09:17:47 +0000 Original-Received: from localhost ([127.0.0.1]:41381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qU1ne-0006EQ-Vp for submit@debbugs.gnu.org; Thu, 10 Aug 2023 05:17:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qU1nd-0006EE-Ab for 64971-done@debbugs.gnu.org; Thu, 10 Aug 2023 05:17:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qU1nY-0000ED-2q; Thu, 10 Aug 2023 05:17:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/TcGynRZ1nhbzbgxoXjTEG9YHJZpldAoB/5+8a4SW60=; b=qdHA2dpQG/iv L3VM0KRp+Ib+n5irngb3E0/4xCUIQrRMRYO9hsNevH6r7YI7BvjIlNliIFRYdiN9VPgIT86eXOcCY C1ZsXnhvUEv1mXDLJolz+oDA56stxvVAQ23qPJaODhseVyDiKXRI8ny4C4r7vp4lWNV6vJtSupsUI n5T2Fr6rwpjbs01sXTGz76rhwtLAQKeakZ6VERiLjbMBSu/mxCcKjDWVaEOJhgoG3BbTSnW2cRfXR 6QgLDWJEU9RXteA8EggD1ardK8tH5iQmdWmrG6++cAl/xOWlGzyyyFRW+w1Yxa1rj/YqW2tqmn/BN ULpOK7LdQdeBlLMjk4Ci2A==; In-Reply-To: <83y1iv29t9.fsf@gnu.org> (message from Eli Zaretskii on Mon, 31 Jul 2023 21:52:02 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267112 Archived-At: > Cc: 64971@debbugs.gnu.org > Date: Mon, 31 Jul 2023 21:52:02 +0300 > From: Eli Zaretskii > > > From: Ihor Radchenko > > Date: Mon, 31 Jul 2023 12:02:55 +0000 > > > > > > According to the docstring of `string-pixel-width', it "Return the width > > of STRING in pixels." > > > > Consider the following: > > > > (string-pixel-width "asd") ;=> 30 > > (string-pixel-width (propertize "asd" 'line-prefix "123")) ;=> 60 > > Thanks, should be fixed now on the emacs-29 branch. No further comments, so I assume the bug is indeed fixed, and I'm closing it.