all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Konstantin Kharlamov <Hi-Angel@yandex.ru>
Cc: 73005@debbugs.gnu.org, da_vid@orange.fr
Subject: bug#73005: [REGRESSION, BISECTED]: line numbers disappear when pressing `df` in evil-mode
Date: Tue, 03 Sep 2024 18:30:08 +0300	[thread overview]
Message-ID: <86a5go7o1r.fsf@gnu.org> (raw)
In-Reply-To: <378550cb5821f2a459742bb78b960280024ee30a.camel@yandex.ru> (message from Konstantin Kharlamov on Tue, 03 Sep 2024 17:46:09 +0300)

> Cc: da_vid@orange.fr
> From: Konstantin Kharlamov <Hi-Angel@yandex.ru>
> Date: Tue, 03 Sep 2024 17:46:09 +0300
> 
> CCing the commit author.
> 
> Sorry for using external plugin, but master has two separate unrelated
> critical regressions (the other one is going via link in *Help* buffer
> and getting Emacs locked up with 100% CPU and quickly increasing memory
> usage, which complicates reducing the steps), and since there's a clear
> commit that introduced the problem I decided to report it as is.
> 
> # Steps to reproduce
> 
> 1. Make sure you're in the Emacs repository and `./build/src/emacs` is
> the built binary
> 2. Execute `git clone --depth 1 https://github.com/emacs-evil/evil
> /tmp/evil`
> 3. Execute `PATH="$(pwd)/build/src/:$PATH" make -C /tmp/evil emacs`
> (Emacs with Evil loaded will start)
> 4. Press `n` to refuse running tests
> 5. Turn line numbers on by evaluating: (setq-default display-line-
> numbers 'visual)
> 6. Press `df`

What does "df" do?  Does it somehow end up calling string-pixel-width?

IOW, please show how string-pixel-width is related to the above.

> ## Expected
> 
> Line numbers are still shown
> 
> ## Actual
> 
> Line numbers disappear
> 
> # Additional information
>    
> The commit that introduced the problem:
>    
>    commit dffdbc1f1fd6569c518e2e3b5e771a54e9e9483f (HEAD)
>    Author: David Ponce <da_vid@orange.fr>
>    Date:   Thu Aug 22 16:56:11 2024 +0200
>    
>        Use 'with-work-macro' in 'string-pixel-width'

Does it help to replace

   (setq display-line-numbers nil

with

   (setq-local display-line-numbers nil

in string-pixel-width?





  reply	other threads:[~2024-09-03 15:30 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-03 14:46 bug#73005: [REGRESSION, BISECTED]: line numbers disappear when pressing `df` in evil-mode Konstantin Kharlamov
2024-09-03 15:30 ` Eli Zaretskii [this message]
2024-09-03 16:18   ` Konstantin Kharlamov
2024-09-04 13:02     ` Konstantin Kharlamov
2024-09-04 13:15       ` Eli Zaretskii
2024-09-04 16:00         ` Konstantin Kharlamov
2024-09-04 22:07           ` David Ponce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-05  5:49             ` Eli Zaretskii
2024-09-21  9:02               ` Eli Zaretskii
2024-09-21  9:09                 ` Konstantin Kharlamov
2024-09-21 10:10                 ` David Ponce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-03 19:07                 ` Konstantin Kharlamov
2024-11-03 19:34                   ` Konstantin Kharlamov
2024-11-03 19:59                     ` Konstantin Kharlamov
2024-11-03 21:56                   ` David Ponce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-04  1:05                     ` Konstantin Kharlamov
2024-11-04  9:02                       ` David Ponce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-04 13:13                         ` Eli Zaretskii
2024-11-04 13:58                           ` David Ponce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-04 16:38                             ` Eli Zaretskii
2024-11-04 19:39                               ` David Ponce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-04 19:50                                 ` Konstantin Kharlamov
2024-11-04 19:53                                   ` Konstantin Kharlamov
2024-11-04 20:08                                     ` David Ponce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-05  9:37                                       ` David Ponce via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-09 11:02                         ` Eli Zaretskii
2024-09-03 16:32   ` Konstantin Kharlamov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86a5go7o1r.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=73005@debbugs.gnu.org \
    --cc=Hi-Angel@yandex.ru \
    --cc=da_vid@orange.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.