1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

(Scrolling only one line): Use `scroll-conservatively'.

This commit is contained in:
Romain Francoise 2005-12-13 20:48:20 +00:00
parent 4c0252a56b
commit 156d1e47fb
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2005-12-13 Romain Francoise <romain@orebokech.com>
* faq.texi (Scrolling only one line): Use `scroll-conservatively'.
2005-12-12 Jay Belanger <belanger@truman.edu>
* faq.texi (Calc): Updated version number.

View File

@ -2503,14 +2503,17 @@ consult the documentation of the variables @code{ps-printer-name},
@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}