From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#67248: 30.0.50; string-pixel-width is affected by the global value of display-line-numbers Date: Sat, 18 Nov 2023 18:36:08 +0200 Message-ID: <0136405b-ebd4-dd01-5350-2569357040a2@yandex.ru> References: <8cc52908-98c6-b853-a679-b4ac29755555@yandex.ru> <83fs13o7n3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12500"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: 67248-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 18 17:37:24 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 1r4OJv-00034f-TX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Nov 2023 17:37:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r4OJd-0002Ue-J3; Sat, 18 Nov 2023 11:37:05 -0500 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 1r4OJZ-0002Tx-R7 for bug-gnu-emacs@gnu.org; Sat, 18 Nov 2023 11:37:02 -0500 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 1r4OJZ-0005KP-J3 for bug-gnu-emacs@gnu.org; Sat, 18 Nov 2023 11:37:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r4OJa-0005B2-5Y for bug-gnu-emacs@gnu.org; Sat, 18 Nov 2023 11:37:02 -0500 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Nov 2023 16:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 67248 X-GNU-PR-Package: emacs Mail-Followup-To: 67248@debbugs.gnu.org, dgutov@yandex.ru, dgutov@yandex.ru Original-Received: via spool by 67248-done@debbugs.gnu.org id=D67248.170032538519850 (code D ref 67248); Sat, 18 Nov 2023 16:37:01 +0000 Original-Received: (at 67248-done) by debbugs.gnu.org; 18 Nov 2023 16:36:25 +0000 Original-Received: from localhost ([127.0.0.1]:49409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4OIy-0005A6-J0 for submit@debbugs.gnu.org; Sat, 18 Nov 2023 11:36:24 -0500 Original-Received: from forward502b.mail.yandex.net ([2a02:6b8:c02:900:1:45:d181:d502]:51798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4OIx-00059s-46 for 67248-done@debbugs.gnu.org; Sat, 18 Nov 2023 11:36:24 -0500 Original-Received: from mail-nwsmtp-smtp-production-main-17.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-17.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:96a1:0:640:9109:0]) by forward502b.mail.yandex.net (Yandex) with ESMTP id C92535E9CF; Sat, 18 Nov 2023 19:36:15 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-17.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id CaqQeqdOfGk0-mWXJ1Bgk; Sat, 18 Nov 2023 19:36:15 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1700325375; bh=a1yAJr7DE2AoLWAO8olwMIe+8TKUXS3DS18QiWcQsc4=; h=In-Reply-To:From:Subject:Message-ID:Cc:References:Date:To; b=TIfm0oAwRdgqYWgJcG9LlLeo7SrwkNmfor58A3OQrD8FqWzHBf02J5tOeIIC6K/GZ GiYrqSJxqr8/LzUZ8Qup8ydxmWpfs5P9mzSbIzTFEwjYh2q28gXdq6ZRHQ7Axx7x9N h4aU4pIh62a6h0mFvhb/j2xD0TpZXBlcexcxHx5s= Authentication-Results: mail-nwsmtp-smtp-production-main-17.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id AC6CE27C0054; Sat, 18 Nov 2023 11:36:12 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 18 Nov 2023 11:36:12 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudegvddgkeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegughhuthhovheshigrnhguvgigrdhruheqnecuggftrfgrth htvghrnheptdffgeegkeelteevtdekleethfeftdduvdegkedtkedujefhfedtveeftdff udevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hguhhtohhvodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqddufeeffeelleeh hedvqddvleegjeejjeejiedqughguhhtohhvpeephigrnhguvgigrdhruhesfhgrshhtmh grihhlrdgtohhm X-ME-Proxy: Feedback-ID: ib1d9465d:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 18 Nov 2023 11:36:11 -0500 (EST) Content-Language: en-US In-Reply-To: <83fs13o7n3.fsf@gnu.org> 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:274561 Archived-At: Version: 29.2 On 18/11/2023 09:14, Eli Zaretskii wrote: > I don't see a need for such drastic measures, certainly not due to > this bug. Having the variable and the mode in this case is not > different from other similar cases, for example, word-wrap vs > visual-line-mode. At least word-wrap and visual-line-mode have different names. And the latter provides a bunch of other features than the former. display-line-numbers and display-line-numbers-mode sound totally identical, so I'm not at all surprised that the author of the referenced bug report customized both of them. That's a usability problem. > Thanks, I think this is indeed the right solution. Please install the patch on the emacs-29 branch. Okay, pushed as 0128495afde. Thanks.