[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: split window after entering view-mode: scroll length not adjusted
From: |
Eli Zaretskii |
Subject: |
Re: split window after entering view-mode: scroll length not adjusted |
Date: |
Mon, 27 Aug 2001 18:30:45 +0300 (IDT) |
On 27 Aug 2001, Miles Bader wrote:
> "Eli Zaretskii" <eliz@is.elta.co.il> writes:
> > > > This is a feature: the page size used by SPC and DEL does not change
> > > > automatically when you resize the window. Use `z' and `w' to update
> > > > the page size as well.
> > >
> > > Please, consider to change the default (for version 22 or something);
> > > alway obey the rule of "less surprise".
> >
> > view-mode emulates programs (such as Less) which behave in this way.
> > People who are used to that won't be surprised.
>
> ??????
>
> If you resize the terminal window that `less' is displaying its output
> in, the paging commands (SPC, b) will page by the new size, not the old
> one.
The OP wasn't talking about resizing the terminal window (which
produces SIGWINCH and triggers recomputation in Less).
> I too find view-mode's behavior in this case pretty annoying...
Then either uze `z' and `w' instead if SPC and DEL, or rebind SPC and
DEL to call View-scroll-page-{for,back}ward-set-page-size instead of
their default bindings. If you look at the code, it's pretty much
obvious this is done on purpose, and I certainly can see circumstances
where it's useful. I can also see why someone might want a different
behavior, but that's why Emacs has customizations.
This thread started with a bug report (``I am pleased to say that I
have found a bug in view mode.''). I can surely say one thing: a bug
this isn't.
- split window after entering view-mode: scroll length not adjusted, Dan Jacobson, 2001/08/26
- Re: split window after entering view-mode: scroll length not adjusted, Eli Zaretskii, 2001/08/26
- Re: split window after entering view-mode: scroll length not adjusted, Karl Eichwalder, 2001/08/26
- Re: split window after entering view-mode: scroll length not adjusted, David desJardins, 2001/08/27
- Re: split window after entering view-mode: scroll length not adjusted, Eli Zaretskii, 2001/08/28
- Re: split window after entering view-mode: scroll length not adjusted, David desJardins, 2001/08/28
- Re: split window after entering view-mode: scroll length not adjusted, Eli Zaretskii, 2001/08/28
- Re: split window after entering view-mode: scroll length not adjusted, David desJardins, 2001/08/28
- Re: split window after entering view-mode: scroll length not adjusted, Miles Bader, 2001/08/28
- Re: split window after entering view-mode: scroll length not adjusted, Dan Jacobson, 2001/08/28
- Re: split window after entering view-mode: scroll length not adjusted, Dan Jacobson, 2001/08/27