# HG changeset patch # User Jim Blandy # Date 734422876 0 # Node ID fb3509fdf8b7d3fe4b60d1419a883664d1923d34 # Parent 190371d9bc2e279f04d5945a3fd2d6dbfcf6cca3 Sat Apr 10 00:39:29 1993 Jim Blandy (jimb@totoro.cs.oberlin.edu) * paragraphs.el (sentence-end, forward-sentence): Doc fixes. diff -r 190371d9bc2e -r fb3509fdf8b7 lisp/textmodes/paragraphs.el --- a/lisp/textmodes/paragraphs.el Sat Apr 10 06:20:55 1993 +0000 +++ b/lisp/textmodes/paragraphs.el Sat Apr 10 06:21:16 1993 +0000 @@ -37,7 +37,11 @@ (defconst sentence-end (purecopy "[.?!][]\"')}]*\\($\\| $\\|\t\\| \\)[ \t\n]*") "\ *Regexp describing the end of a sentence. -All paragraph boundaries also end sentences, regardless.") +All paragraph boundaries also end sentences, regardless. + +In order to be recognized as the end of a sentence, the ending period, +question mark, or exclamation point must be followed by two spaces, +unless it's inside some sort of quotes or parenthesis.") (defconst page-delimiter "^\014" "\ *Regexp describing line-beginnings that separate pages.") @@ -178,7 +182,7 @@ (end-of-paragraph-text)))))) (defun forward-sentence (&optional arg) - "Move forward to next`sentence-end'. With argument, repeat. + "Move forward to next `sentence-end'. With argument, repeat. With negative argument, move backward repeatedly to `sentence-beginning'. The variable `sentence-end' is a regular expression that matches ends of