From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konstantin Kharlamov Newsgroups: gmane.emacs.bugs Subject: bug#73005: [REGRESSION, BISECTED]: line numbers disappear when pressing `df` in evil-mode Date: Wed, 04 Sep 2024 19:00:10 +0300 Message-ID: References: <378550cb5821f2a459742bb78b960280024ee30a.camel@yandex.ru> <86a5go7o1r.fsf@gnu.org> <86frqf5zlj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1237"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.52.4 Cc: 73005@debbugs.gnu.org, da_vid@orange.fr To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 04 18:01:59 2024 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 1slsSF-00005m-0j for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Sep 2024 18:01:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slsRS-0000VW-Gn; Wed, 04 Sep 2024 12:01:10 -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 1slsRH-0000Ex-SC for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2024 12:01:03 -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 1slsRG-0007VT-QW for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2024 12:00:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=zkU2N2wXKfo3qtk43gFdmGc8FWRZlIZsQHxNS0DEqjg=; b=dMr+OAyxMUVt0WWCy5D26D0/exgfa6jPOXGOx7QL5cqpN/I5atExdnqqoeFvQFhrepYE8ofm2cLeTATOrhzaVM5Qb/wbT9mC9VWOtt3KQi4pkid4eH0BLCWTAhAzobtrZ7K9hhaOoBE2xDxNrT4itKZQHCmS0kRJkwctpdfkkkPiNPE0SURhfD3HlAq+p2E+xayaKNsQ65Xzb0c+RkkCCFFyaMO6uG+LQNw20yGRaXy/++SiJC0ZGwzvqQ8zyqKtUQzcdiiu6M6yzYgoQxLu61J1yv9tBrre3cN9gu0V6gSN5s9tr0NAB1eY+YbjwMBD0NeayoEay6I2cAEuW0wnYg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1slsSI-00063j-8P for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2024 12:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Konstantin Kharlamov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Sep 2024 16:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73005 X-GNU-PR-Package: emacs Original-Received: via spool by 73005-submit@debbugs.gnu.org id=B73005.172546570923273 (code B ref 73005); Wed, 04 Sep 2024 16:02:02 +0000 Original-Received: (at 73005) by debbugs.gnu.org; 4 Sep 2024 16:01:49 +0000 Original-Received: from localhost ([127.0.0.1]:35187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slsS5-00063I-0e for submit@debbugs.gnu.org; Wed, 04 Sep 2024 12:01:49 -0400 Original-Received: from forward502b.mail.yandex.net ([178.154.239.146]:60828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1slsS3-00063A-37 for 73005@debbugs.gnu.org; Wed, 04 Sep 2024 12:01:48 -0400 Original-Received: from mail-nwsmtp-smtp-production-main-36.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-36.sas.yp-c.yandex.net [IPv6:2a02:6b8:c10:2b05:0:640:2bb4:0]) by forward502b.mail.yandex.net (Yandex) with ESMTPS id 3751A5F86A; Wed, 4 Sep 2024 19:00:12 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-36.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id A0fKanCjCuQ0-1hKz6gzb; Wed, 04 Sep 2024 19:00:11 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1725465611; bh=zkU2N2wXKfo3qtk43gFdmGc8FWRZlIZsQHxNS0DEqjg=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=wZV5rEN9Cj200ujg5vX1+KeL4fHiyh9n+t4yyjoxfdefpRm99hydgg7kvcnrfPw8H eEohnd1hthNkoxqHd4Pf1oK8iWgQN2MVLjFM1PNSF3bw7buMyJlG0/ST55ZSGJeA+U P7prDIPSaQlkNrvJEF4gPvMtFLjAzu9WlVBG8NdE= Authentication-Results: mail-nwsmtp-smtp-production-main-36.sas.yp-c.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: <86frqf5zlj.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:291208 Archived-At: On Wed, 2024-09-04 at 16:15 +0300, Eli Zaretskii wrote: > > From: Konstantin Kharlamov > > Cc: 73005@debbugs.gnu.org, da_vid@orange.fr > > Date: Wed, 04 Sep 2024 16:02:27 +0300 > >=20 > > 1. Press f (it will wait for next character) > > 2. Press C-g to cancel the action > > 3. Press M-: > >=20 > > Result: line numbers disappear along with minibuffer popping up. > >=20 > > Another interesting point: after line numbers disappeared, if I > > evaluate `display-line-numbers` (i.e. just to see its value), line > > numbers immediately appear back. >=20 > Sounds like Evil does the above with current buffer set to the work > buffer where we calculate string-pixel-width, and where we therefore > disabled display-line-numbers? I git-grepped over Evil the word `work-buffer` and there is no matches. So there isn't direct call to `with-work-buffer`. Then I tried to `M-x debug-on-entry with-work-buffer` and reproduced the issue, but debugger wasn't triggered either. So doesn't seem like it.