all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Smooth scrolling vertical and horizontal
@ 2007-08-13 16:13 Will
  2007-08-14 18:19 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Will @ 2007-08-13 16:13 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

how can I make Emacs scroll smoothly if I move the cursor to the right 
edge of the buffer?

I am working with a text file with truncated lines, but everytime I am 
moving the cursor to the right edge it jumps back to the center of the 
screen, which is irritating as I have to find the cursor again and 
scroll it to the right edge to see the rest of the line.

I am already having smooth scrolling in a vertical direction due to this 
code:
(setq-default scroll-step 1)
(setq-default scroll-conservatively 1000)
(setq-default scroll-margin 5)
(setq-default scroll-preserve-screen-position 't)

Thanks for helping in advance,

Will

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

* Re: Smooth scrolling vertical and horizontal
  2007-08-13 16:13 Smooth scrolling vertical and horizontal Will
@ 2007-08-14 18:19 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2007-08-14 18:19 UTC (permalink / raw)
  To: help-gnu-emacs

> I am already having smooth scrolling in a vertical direction due to this
> code:
> (setq-default scroll-step 1)
> (setq-default scroll-conservatively 1000)
> (setq-default scroll-margin 5)
> (setq-default scroll-preserve-screen-position 't)

Have you tried C-x v hscroll- ?


        Stefan

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

end of thread, other threads:[~2007-08-14 18:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-13 16:13 Smooth scrolling vertical and horizontal Will
2007-08-14 18:19 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.