From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: filling bug in text-mode Date: Tue, 11 Oct 2005 18:42:31 -0400 Message-ID: References: <87psqdhq7n.fsf@jurta.org> <20051011.063411.71091056.wl@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1129070761 7461 80.91.229.2 (11 Oct 2005 22:46:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Oct 2005 22:46:01 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 12 00:45:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EPSr4-0007zt-Ui for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2005 00:44:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EPSr4-0008I5-Bi for ged-emacs-devel@m.gmane.org; Tue, 11 Oct 2005 18:44:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EPSpN-0007Va-QF for emacs-devel@gnu.org; Tue, 11 Oct 2005 18:42:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EPSpM-0007Ud-Ol for emacs-devel@gnu.org; Tue, 11 Oct 2005 18:42:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EPSpM-0007UJ-Er for emacs-devel@gnu.org; Tue, 11 Oct 2005 18:42:32 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EPSpM-0000Qb-Mp for emacs-devel@gnu.org; Tue, 11 Oct 2005 18:42:32 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EPSpL-0007Lt-QF; Tue, 11 Oct 2005 18:42:31 -0400 Original-To: Werner LEMBERG In-reply-to: <20051011.063411.71091056.wl@gnu.org> (message from Werner LEMBERG on Tue, 11 Oct 2005 06:34:11 +0200 (CEST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:43893 Archived-At: > The patch below fixes the bug. It assumes that more than one > successive periods should allow breaking even if they are > followed by just one space. > > That's not correct--it SHOULD demand two spaces or a newline, after > three periods, just as it does after one period. This was my first reaction too, but after some thinking I can't imagine a situation where you *really* want to prevent a line break after two or periods. We're talking about what sentence-end should match; that is to say, where M-e should stop. It should stop after an ellipsis if the ellipsis is followed by two spaces or a newline. An ellipsis followed by just one space is not the end of a sentence. As for filling, it does not break the line after a period followed by one space, because doing so would make it appear to be the end of a sentence.