unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* scrolling problem
@ 2006-08-21  7:52 CloudStrife
  2006-08-21 21:34 ` Colin S. Miller
  2006-08-21 22:26 ` Johan Bockgård
  0 siblings, 2 replies; 5+ messages in thread
From: CloudStrife @ 2006-08-21  7:52 UTC (permalink / raw)


When i scroll in emacs 21.2.1 it scrolls such that the line at the
bottom is present in the middle, in the next screen. I donot know what
options to change.
this happens when i use Ctrl-n or arrow keys.
the same is the prob wid scroll up.
Is there a soln to this?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: scrolling problem
  2006-08-21  7:52 scrolling problem CloudStrife
@ 2006-08-21 21:34 ` Colin S. Miller
  2006-08-22  4:45   ` CloudStrife
  2006-08-21 22:26 ` Johan Bockgård
  1 sibling, 1 reply; 5+ messages in thread
From: Colin S. Miller @ 2006-08-21 21:34 UTC (permalink / raw)


CloudStrife wrote:
> When i scroll in emacs 21.2.1 it scrolls such that the line at the
> bottom is present in the middle, in the next screen. I donot know what
> options to change.
> this happens when i use Ctrl-n or arrow keys.
> the same is the prob wid scroll up.
> Is there a soln to this?
> 

CloudStrife,

This behaviour is called "jump scroll". It can be disabled by
inserting into your .emacs file
(setq scroll-step 1)

However, on XEmacs, I still get jump-scrolling sometimes,
normally after scrolling a large number of single lines.

HTH,
Colin S. Miller


-- 
Replace the obvious in my email address with the first three letters of the hostname to reply.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: scrolling problem
  2006-08-21  7:52 scrolling problem CloudStrife
  2006-08-21 21:34 ` Colin S. Miller
@ 2006-08-21 22:26 ` Johan Bockgård
  2006-08-22  4:48   ` CloudStrife
  1 sibling, 1 reply; 5+ messages in thread
From: Johan Bockgård @ 2006-08-21 22:26 UTC (permalink / raw)


"CloudStrife" <santosh.iitm2002@gmail.com> writes:

> When i scroll in emacs 21.2.1 it scrolls such that the line at the
> bottom is present in the middle, in the next screen. I donot know
> what options to change. this happens when i use Ctrl-n or arrow
> keys. the same is the prob wid scroll up. Is there a soln to this?

(setq scroll-conservatively 1000)

-- 
Johan Bockgård

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: scrolling problem
  2006-08-21 21:34 ` Colin S. Miller
@ 2006-08-22  4:45   ` CloudStrife
  0 siblings, 0 replies; 5+ messages in thread
From: CloudStrife @ 2006-08-22  4:45 UTC (permalink / raw)


Thanks a lot Colin. It worked. I had been bugged by this from a long
time and was contemplating switching to someother editor.
Thankyou
CloudStrife

Colin S. Miller wrote:
> CloudStrife wrote:
> > When i scroll in emacs 21.2.1 it scrolls such that the line at the
> > bottom is present in the middle, in the next screen. I donot know what
> > options to change.
> > this happens when i use Ctrl-n or arrow keys.
> > the same is the prob wid scroll up.
> > Is there a soln to this?
> >
>
> CloudStrife,
>
> This behaviour is called "jump scroll". It can be disabled by
> inserting into your .emacs file
> (setq scroll-step 1)
>
> However, on XEmacs, I still get jump-scrolling sometimes,
> normally after scrolling a large number of single lines.
>
> HTH,
> Colin S. Miller
>
>
> --
> Replace the obvious in my email address with the first three letters of the hostname to reply.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: scrolling problem
  2006-08-21 22:26 ` Johan Bockgård
@ 2006-08-22  4:48   ` CloudStrife
  0 siblings, 0 replies; 5+ messages in thread
From: CloudStrife @ 2006-08-22  4:48 UTC (permalink / raw)


Hi Johan,
How is your solution different from that given by Collin?
Does it do the same thing? can you explain your command?

Johan Bockgård wrote:
> "CloudStrife" <santosh.iitm2002@gmail.com> writes:
>
> > When i scroll in emacs 21.2.1 it scrolls such that the line at the
> > bottom is present in the middle, in the next screen. I donot know
> > what options to change. this happens when i use Ctrl-n or arrow
> > keys. the same is the prob wid scroll up. Is there a soln to this?
> 
> (setq scroll-conservatively 1000)
> 
> -- 
> Johan Bockgård

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-08-22  4:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-21  7:52 scrolling problem CloudStrife
2006-08-21 21:34 ` Colin S. Miller
2006-08-22  4:45   ` CloudStrife
2006-08-21 22:26 ` Johan Bockgård
2006-08-22  4:48   ` CloudStrife

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).