# HG changeset patch # User Romain Francoise # Date 1134506900 0 # Node ID fe8f45a3c8a72ed9225965632652a72276c05df0 # Parent 7c0bd57ed5950bc2ec94f17c5eaa41272c773518 (Scrolling only one line): Use `scroll-conservatively'. diff -r 7c0bd57ed595 -r fe8f45a3c8a7 man/ChangeLog --- a/man/ChangeLog Tue Dec 13 11:07:50 2005 +0000 +++ b/man/ChangeLog Tue Dec 13 20:48:20 2005 +0000 @@ -1,3 +1,7 @@ +2005-12-13 Romain Francoise + + * faq.texi (Scrolling only one line): Use `scroll-conservatively'. + 2005-12-12 Jay Belanger * faq.texi (Calc): Updated version number. diff -r 7c0bd57ed595 -r fe8f45a3c8a7 man/faq.texi --- a/man/faq.texi Tue Dec 13 11:07:50 2005 +0000 +++ b/man/faq.texi Tue Dec 13 20:48:20 2005 +0000 @@ -2503,14 +2503,17 @@ @cindex Scrolling only one line @cindex Reducing the increment when scrolling -Place the following Lisp form in your @file{.emacs} file: +Customize the @code{scroll-conservatively} variable with @kbd{M-x +customize-variable @key{RET} scroll-conservatively @key{RET}} and set it +to a large value like, say, 10000. For an explanation of what this +means, @inforef{Scrolling, Scrolling, emacs}. + +Alternatively, use the following Lisp form in your @file{.emacs}: @lisp -(setq scroll-step 1) +(setq scroll-conservatively most-positive-fixnum) @end lisp -@inforef{Scrolling, Scrolling, emacs}. - @node Replacing highlighted text, Editing MS-DOS files, Scrolling only one line, Common requests @section How can I replace highlighted text with what I type? @cindex @code{delete-selection-mode}