GNU bug report logs -
#34723
27.0.50; customize and improve diff-mode recentering
Previous Next
Reported by: charles <at> aurox.ch
Date: Sun, 3 Mar 2019 20:33:01 UTC
Severity: minor
Found in version 27.0.50
Full log
Message #41 received at 34723 <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 05 Mar 2019 22:22:41 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
>
> It keeps point closer to the center of the window and away from the
> window edges. I though that's what you wanted, because doing that
> will show more context around the match.
Right. I spoke earlier about calling reposition-window from
diff-hunk-next as a possible replacement for recenter, and Juri
suggested an equivalent behavior for Isearch, and the aim of these
changes is to show the most useful context around point -- which does
not necessarily mean keeping point close to the center of the window.
For example, with the Isearch example I gave, point can end up
anywhere in the window after searching, since reposition-window tries
to position the first line of the function definition on the first
screen line.
This bug report was last modified 6 years and 87 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.