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

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`

## 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'
       
       Tweak the implementation of 'string-pixel-width' to run
       faster and use less memory.  Also cater for the case where
       this function is called in parallel (bug#72689).
       * lisp/emacs-lisp/subr-x.el (string-pixel-width): Use
       `with-work-macro'.  Prefer `remove-text-properties' to
       `propertize' to avoid creating a new string on each call.
   
    lisp/emacs-lisp/subr-x.el | 22 +++++++++++++---------
    1 file changed, 13 insertions(+), 9 deletions(-)
   [03.09.2024-17:13:32] constantine@dell-g15  ~/Projects/builds/emacs-
   git/src/emacs-git ‹node-›  ‹› (dffdbc1f1fd*) 
   





             reply	other threads:[~2024-09-03 14:46 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-03 14:46 Konstantin Kharlamov [this message]
2024-09-03 15:30 ` bug#73005: [REGRESSION, BISECTED]: line numbers disappear when pressing `df` in evil-mode Eli Zaretskii
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=378550cb5821f2a459742bb78b960280024ee30a.camel@yandex.ru \
    --to=hi-angel@yandex.ru \
    --cc=73005@debbugs.gnu.org \
    --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.