GNU bug report logs -
#53398
29.0.50; narrow-to-region induces buffer recentering
Previous Next
Reported by: Jose A Ortega Ruiz <jao <at> gnu.org>
Date: Thu, 20 Jan 2022 21:00:02 UTC
Severity: normal
Tags: moreinfo, wontfix
Found in version 29.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Sun, Jan 23 2022, Lars Ingebrigtsen wrote:
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>> So I don't think there's anything in this behavior that isn't
>> expected. If you want to prevent recentering, try setting
>> max-mini-window-height to 1, so that mini-windows aren't resized. (I
>> didn't try it, though.) Or just don't ask the echo-area messages to
>> display so much stuff.
>
> Yes, I don't think there's anything much we could do on the Emacs side
> here -- any function that issues a message while narrowing is in effect
> will lead to recentring with a set-message function like this.
just for my own understanding: are you saying that the fact that the
minibuffer displays more than one line causes a re-centering of my
current buffer? why is that normal? if i M-: (message "a\nb\n"), should
i expect that my current buffer is recentered? (it isn't).
(also, for the record, the message displayed by that custom set-message
does not span more than one line, as far as i can tell.)
This bug report was last modified 3 years and 119 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.