From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: fill-paragraph vs. financial institutions Date: Wed, 30 Aug 2006 01:08:59 +0300 Organization: JURTA Message-ID: <87hczv5jx1.fsf@jurta.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156890262 15326 80.91.229.2 (29 Aug 2006 22:24:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Aug 2006 22:24:22 +0000 (UTC) Cc: emacs-devel@gnu.org, jidanni@jidanni.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 30 00:24:19 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GIC0F-0007lv-IT for ged-emacs-devel@m.gmane.org; Wed, 30 Aug 2006 00:24:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIC0F-00021v-0b for ged-emacs-devel@m.gmane.org; Tue, 29 Aug 2006 18:24:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GIBza-0001Ss-Kt for emacs-devel@gnu.org; Tue, 29 Aug 2006 18:23:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GIBzZ-0001RW-O8 for emacs-devel@gnu.org; Tue, 29 Aug 2006 18:23:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIBzZ-0001RE-8x for emacs-devel@gnu.org; Tue, 29 Aug 2006 18:23:33 -0400 Original-Received: from [62.64.120.200] (helo=relay01.kiev.sovam.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GIC8m-0000hj-Kp; Tue, 29 Aug 2006 18:33:05 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.60) (envelope-from ) id 1GIByZ-000BR3-8I; Wed, 30 Aug 2006 01:22:31 +0300 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 29 Aug 2006 13:18:16 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Scanner-Signature: 1e897a521fdb5eac39b1f944f187ca57 X-DrWeb-checked: yes X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 230 [August 29 2006] X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0242], KAS30/Release 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:59089 Archived-At: > adaptive-fill-regexp has an explicit alternative to match prefixes > such as `NNN.' This would only apply in the case where the first two > lines of a paragraph both start that way. > > Maybe we should delete that case. Is that really a case that people > use? In some kinds of outlines, the first line of a paragraph would > start that way, but you wouldn't put the prefix on every line. > Can anyone think of a reason why we should keep this case? Sometimes I get bitten by this too when Emacs convert a list of floating point numbers e.g. 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 into 0.1 0.2 3 0.4 5 0.6 7 0.8 Note that adaptive-fill-regexp also supports prefixes of numbers in parentheses like "(1)". I never encountered a situation where such prefixes cause a problem, so I suggest only to remove a point (underlined below) from this part of adaptive-fill-regexp: "\\((?[0-9]+[.)][ ]*\\)*" = -- Juri Linkov http://www.jurta.org/emacs/