On 04/09/2024 6:00 PM, Konstantin Kharlamov wrote:
On Wed, 2024-09-04 at 16:15 +0300, Eli Zaretskii wrote:
From: Konstantin Kharlamov <hi-an...@yandex.ru>
Cc: 73...@debbugs.gnu.org, da_...@orange.fr
Date: Wed, 04 Sep 2024 16:02:27 +0300
1. Press f (it will wait for next character)
2. Press C-g to cancel the action
3. Press M-:
Result: line numbers disappear along with minibuffer popping up.
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.
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.
Could it be that a temporary buffer named " *work*" is being used somewhere?
In which case there could be nasty side effects with the same buffer being
used by `with-work-buffer'?
Just a wild guess.