bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#73005: [REGRESSION, BISECTED]: line numbers disappear when pressing


From: Konstantin Kharlamov
Subject: bug#73005: [REGRESSION, BISECTED]: line numbers disappear when pressing `df` in evil-mode
Date: Sun, 03 Nov 2024 22:34:04 +0300
User-agent: Evolution 3.54.0

On Sun, 2024-11-03 at 22:07 +0300, Konstantin Kharlamov wrote:
> On Sat, 2024-09-21 at 12:02 +0300, Eli Zaretskii wrote:
> > Ping! Can we please make some progress here?
> 
> Hello! Got some spare time, dug into it. Found a few interesting
> things:
> 
> 1. (not really interesting, but…) problem persists in current master
> 2. The exact function call that causes the problem is `(kill-all-
> local-
> variables t)` inside `(work-buffer--release)`. If I remove it,
> everything works as before.
> 
>    I guess this implies that bug is not in David's commit per se, but
> rather something that's always been present and just got triggered by
> David's commit.
> 3. There's an unrelated bug that confused this whole research, since
> it
> seemed like the function is never called: dong `M-x debug-on-entry
> string-pixel-width` does nothing even though `string-pixel-width` is
> called.

Great news! I reduced the testcase to just the vanilla Emacs
functional.

# The new steps to reproduce

1. Run emacs as `./build/src/emacs -Q --eval "(setq-default display-
line-numbers 'visual)"`
   
   A emacs with line numbers turned on should start
2. Evaluate `(define-key (make-sparse-keymap) [tab-bar] (lookup-key
global-map [tab-bar]))`

## Expected

Line numbers are still shown

## Actual

Line numbers disappear





reply via email to

[Prev in Thread] Current Thread [Next in Thread]