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

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

Re: Window recentering on wrapped lines


From: digifork
Subject: Re: Window recentering on wrapped lines
Date: Sun, 9 Dec 2001 11:50:21 -0500

----- Original Message -----
From: "Eli Zaretskii" <eliz@is.elta.co.il>
To: "digifork" <digifork@hotmail.com>
Cc: <bug-gnu-emacs@gnu.org>
Sent: Sunday, December 09, 2001 4:41 AM
Subject: Re: Window recentering on wrapped lines


> But it's not good for us to guess what the problem is.  So please post
> an exact recipe to reproduce the problem you see, starting with the
> command "emacs -q --no-site-file", and please include the description
> of the display as you see it, and the display you thought you should
> have seen in that case.

Here are the instructions to reproduce the behavior:

1. emacs -q --no-site-file

2. M-x set-variable -> Set variable: scroll-step -> Set scroll-step to
value: 1

3. M-x M-f -> Find file: <Any file you want>
   Preferably use a longer file with long lines

4. If necessary, resize the window to get continuation lines

5. Use the down-arrow key to scroll through the file

You will see that whenever the cursor reaches a line that has continuation
lines that are off the screen, the screen will skip those continuation lines
and recenter itself.

I feel that correct behavior is that emacs should scroll the buffer down by
the number that is set in scroll-step, regardless of what type of line it
is. Which means that in this case, when reaching a continuation line that is
off the screen, the buffer should be scrolled by one line and shouldn't be
recentered.

-digi



reply via email to

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