From 36710aa6967c96f69171126adf790415042d5948 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 6 Feb 2001 12:19:34 +0000 Subject: [PATCH] *** empty log message *** --- etc/NEWS | 2 +- lisp/ChangeLog | 5 +++++ man/abbrevs.texi | 8 ++++---- man/basic.texi | 12 ++++++------ 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index a9d260463d4..aafefa8d9a1 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1558,7 +1558,7 @@ appropriate for C-style escape sequences in strings. ** A new command `view-emacs-problems' (C-h P) displays the PROBLEMS file. +++ -** The Dabbrev package has a new user-option `dabbrev-ignored-regexps' +** The Dabbrev package has a new user-option `dabbrev-ignored-buffer-regexps' containing a list of regular expressions. Buffers matching a regular expression from that list, are not checked. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ad4725b524f..fd4975d7a1e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2001-02-06 Gerd Moellmann + + * dabbrev.el (dabbrev-ignored-buffer-regexps): Renamed from + dabbrev-ignored-regexps. + 2001-02-06 Eli Zaretskii * simple.el (kill-line): Doc fix. diff --git a/man/abbrevs.texi b/man/abbrevs.texi index 165527141c1..bd09917884b 100644 --- a/man/abbrevs.texi +++ b/man/abbrevs.texi @@ -350,10 +350,10 @@ buffers, unless you have set @code{dabbrev-check-all-buffers} to @code{nil}. @vindex dabbrev-ignored-buffer-regexps - A more fine control of the buffers that are scanned is possible by -customizing the variable @code{dabbrev-ignored-buffer-regexps}, which should -contain a list of regular expressions. Buffers matching a regular -expression from that list are not searched. + For finer control over which buffers to scan, customize the variable +@code{dabbrev-ignored-buffer-regexps}. Its value is a list of regular +expressions. If a buffer's name matches any of these regular +expressions, dynamic abbrev expansion skips that buffer. A negative argument to @kbd{M-/}, as in @kbd{C-u - M-/}, says to search first for expansions after point, and second for expansions diff --git a/man/basic.texi b/man/basic.texi index c323e1064b1..d741a8a16ef 100644 --- a/man/basic.texi +++ b/man/basic.texi @@ -175,8 +175,7 @@ Move backward one word (@code{backward-word}). @item C-n Move down one line, vertically (@code{next-line}). This command attempts to keep the horizontal position unchanged, so if you start in -the middle of one line, you end in the middle of the next. When on -the last line of text, @kbd{C-n} creates a new line and moves onto it. +the middle of one line, you end in the middle of the next. @item C-p Move up one line, vertically (@code{previous-line}). @item M-r @@ -219,10 +218,11 @@ to the end of another line. Normally, @code{track-eol} is @code{nil}. @xref{Variables}, for how to set variables such as @code{track-eol}. @vindex next-line-add-newlines - If non-@code{nil}, @kbd{C-n} on the last line of a buffer appends a -newline to it. If the variable @code{next-line-add-newlines} is -@code{nil}, the default, then @kbd{C-n} gets an error instead (like -@kbd{C-p} on the first line). + @kbd{C-n} normally gets an error when you use it on the last line of +the buffer (just as @kbd{C-p} gets an error on the first line). But +if you set the variable @code{next-line-add-newlines} to a +non-@code{nil} value, @kbd{C-n} on the last line of a buffer creates +an additional line at the end and moves down onto it. @node Erasing @section Erasing Text -- 2.39.5