[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34723: 27.0.50; customize and improve diff-mode recentering
From: |
Stefan Monnier |
Subject: |
bug#34723: 27.0.50; customize and improve diff-mode recentering |
Date: |
Fri, 22 Mar 2019 15:32:53 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> Sometimes it's also not eager enough (if the hunk is longer than half of
>> the screen, it shouldn't just recenter but it should likely scroll
>> further so that more than half of the screen shows the hunk).
> Yes. In that specific case, we could call (recenter 0) to make more
> (or all of) the hunk visible.
I think in some cases I'd like it, yes. But would you?
I thought you didn't want recentering in next-hunk at all‽
Also I'm not sure if it would annoy me more often than not, which is
probably why I haven't bothered to try and code it up.
>> Did that only refer to `scroll-conservatively`? If not, could you
>> clarify which scroll-related variable setting is not respected,
>> and when?
> Hm, I'm not sure if there was another variable that the behavior
> affects (can't find one now). This is no big issue; it's an argument
> for making the behavior customizable.
Yes, feel free to add such a custom var.
Stefan
- bug#34723: 27.0.50; customize and improve diff-mode recentering, (continued)
- bug#34723: 27.0.50; customize and improve diff-mode recentering, Charles A. Roelli, 2019/03/05
- bug#34723: 27.0.50; customize and improve diff-mode recentering, Eli Zaretskii, 2019/03/05
- bug#34723: 27.0.50; customize and improve diff-mode recentering, Charles A. Roelli, 2019/03/05
- bug#34723: 27.0.50; customize and improve diff-mode recentering, Eli Zaretskii, 2019/03/06
- bug#34723: 27.0.50; customize and improve diff-mode recentering, Charles A. Roelli, 2019/03/07
- bug#34723: 27.0.50; customize and improve diff-mode recentering, Stefan Monnier, 2019/03/13
- bug#34723: 27.0.50; customize and improve diff-mode recentering, Stefan Monnier, 2019/03/13
- bug#34723: 27.0.50; customize and improve diff-mode recentering, Charles A. Roelli, 2019/03/16
- bug#34723: 27.0.50; customize and improve diff-mode recentering, Stefan Monnier, 2019/03/16
- bug#34723: 27.0.50; customize and improve diff-mode recentering, Charles A. Roelli, 2019/03/16
- bug#34723: 27.0.50; customize and improve diff-mode recentering,
Stefan Monnier <=