[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.92; View-scroll-page-forward/backward does wrong in text mode a
From: |
Chong Yidong |
Subject: |
Re: 23.0.92; View-scroll-page-forward/backward does wrong in text mode after text-scale-increase/decrease |
Date: |
Sun, 12 Jul 2009 12:44:08 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Juri Linkov <address@hidden> writes:
>> View-mode, written in the dawn of time, assumes that all lines have the
>> default height. The following patch changes it so that
>> scroll-up/scroll-down are passed nil arguments where possible; then
>> Emacs will automatically determine how to scroll by one page, taking
>> variable-height lines and text-scaling into account.
>>
>> It's not good to make this kind of change at this stage in the release,
>> but this bug would be pretty annoying if you happen to come across it,
>> and that's much more likely now we've introduced the text-scaling
>> commands. Could someone on emacs-devel help review the patch?
>
> I noticed that this patch causes a regression: typing RET used to put
> point to the last line at the end of the window, but now typing RET keeps
> point on the same line.
Thanks. This regression isn't serious enough for a fix in the branch, I
think (the docstring of View-scroll-line-forward does not say that point
should go to the last line). But I'll see what I can do for the trunk.