bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: split window after entering view-mode: scroll length not adjusted


From: David desJardins
Subject: Re: split window after entering view-mode: scroll length not adjusted
Date: Tue, 28 Aug 2001 00:01:32 -0700

Eli Zaretskii <address@hidden> writes:
> You specifically asked to be told how to see something similar in
> Less, so I did that.  Is something wrong with that?

What's wrong is that your example isn't anything like the bug that
people are discussing.

> The point is, Less does let you set the size of the page, and once
> set, SPC and DEL don't change it.  It's obvious to me that someone who
> wrote view.el tried to provide similar functionality.

Fine.  And, in the process, the author introduced a bug, which is that
if you never set the page size, the code scrolls by the initial window
size, rather than by the current window size.

> For example, if you use `z' in view-mode, and then resize the window, 
> what would you like Emacs to do about the page size?

It seems perfectly reasonable for it to then retain the page size that
you explicitly set.  As it does.  The bug isn't in that case.  The bug
is in the case where the page size is never explicitly set.

                                        David desJardins



reply via email to

[Prev in Thread] Current Thread [Next in Thread]