GNU bug report logs - #53398
29.0.50; narrow-to-region induces buffer recentering

Previous Next

Package: emacs;

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jose A Ortega Ruiz <jao <at> gnu.org>
Cc: 53398 <at> debbugs.gnu.org
Subject: bug#53398: 29.0.50; narrow-to-region induces buffer recentering
Date: Fri, 21 Jan 2022 11:08:20 +0100
Jose A Ortega Ruiz <jao <at> gnu.org> writes:

>   - start composing a message, e.g. a reply, so that the current window
>     shows only a portion of the buffer, and not the signature
>
>   - with point somewhere on the lower half of the window, C-c C-z
>     (message-kill-to-signature)
>
>   - the text from point to signature is deleted alright, but the buffer
>     contents is recentered, as if one had invoked recenter /twice/, so
>     the window gets scrolled up.  previous behaviour was that the window
>     wouldn't scroll at all, one would just see the contents of the
>     buffer below point change (and show the signature).

I've tried reproducing this in Emacs 29 with various contents in the
buffer and with various window sizes, but `C-c C-z' doesn't seem to do
any recentring for me.

Can you create a test recipe, starting from "emacs -Q", that
demonstrates the problem?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.