From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: filling bug in text-mode Date: Tue, 11 Oct 2005 10:31:25 -0400 Message-ID: References: <20051005.224026.229265335.wl@gnu.org> <878xx5m16r.fsf@jurta.org> <8764s7i93p.fsf@jurta.org> <87psqdhq7n.fsf@jurta.org> <85y850frgr.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129041492 1470 80.91.229.2 (11 Oct 2005 14:38:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Oct 2005 14:38:12 +0000 (UTC) Cc: Juri Linkov , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 11 16:38:03 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EPLBS-00008L-0g for ged-emacs-devel@m.gmane.org; Tue, 11 Oct 2005 16:32:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EPLBR-0006US-TA for ged-emacs-devel@m.gmane.org; Tue, 11 Oct 2005 10:32:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EPLAI-0005uP-Qp for emacs-devel@gnu.org; Tue, 11 Oct 2005 10:31:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EPLAH-0005te-B3 for emacs-devel@gnu.org; Tue, 11 Oct 2005 10:31:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EPLAH-0005tX-2T for emacs-devel@gnu.org; Tue, 11 Oct 2005 10:31:37 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EPLAC-0000IV-FR; Tue, 11 Oct 2005 10:31:32 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id CAE812CF659; Tue, 11 Oct 2005 10:31:30 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 49BCD4AC00A; Tue, 11 Oct 2005 10:31:26 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 2C0EAE6C1D; Tue, 11 Oct 2005 10:31:26 -0400 (EDT) Original-To: David Kastrup In-Reply-To: <85y850frgr.fsf@lola.goethe.zz> (David Kastrup's message of "Tue, 11 Oct 2005 09:22:28 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.849, requis 5, autolearn=not spam, AWL 0.05, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:43869 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. > Why? A single period can signify a part of an abbreviation, like in > Richard M. Stallman, but I can't see three periods doing the same. IIRC the problem is what to do when filling foo bar... baz Should it turn into foo bar... baz or foo bar... baz By making "bar... baz" unbreakable we make sure that we can always choose the second option. Stefan