# HG changeset patch # User Gerd Moellmann # Date 981461974 0 # Node ID 3ec035fea54adea5c26d1b876e4293c2e69dd5b8 # Parent 7db14d32feb2379f2af57151e4f59f43ff9d84ba *** empty log message *** diff -r 7db14d32feb2 -r 3ec035fea54a etc/NEWS --- a/etc/NEWS Tue Feb 06 12:06:33 2001 +0000 +++ b/etc/NEWS Tue Feb 06 12:19:34 2001 +0000 @@ -1558,7 +1558,7 @@ ** 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 -r 7db14d32feb2 -r 3ec035fea54a lisp/ChangeLog --- a/lisp/ChangeLog Tue Feb 06 12:06:33 2001 +0000 +++ b/lisp/ChangeLog Tue Feb 06 12:19:34 2001 +0000 @@ -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 -r 7db14d32feb2 -r 3ec035fea54a man/abbrevs.texi --- a/man/abbrevs.texi Tue Feb 06 12:06:33 2001 +0000 +++ b/man/abbrevs.texi Tue Feb 06 12:19:34 2001 +0000 @@ -350,10 +350,10 @@ @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 -r 7db14d32feb2 -r 3ec035fea54a man/basic.texi --- a/man/basic.texi Tue Feb 06 12:06:33 2001 +0000 +++ b/man/basic.texi Tue Feb 06 12:19:34 2001 +0000 @@ -175,8 +175,7 @@ @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 @@ @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