From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/10024 Path: main.gmane.org!not-for-mail From: Sudish Joseph Newsgroups: gmane.emacs.gnus.general Subject: Re: Preformatting features of Emacs Date: 28 Feb 1997 18:59:18 -0500 Sender: sj@atreides.eng.mindspring.net Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.101) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035149960 21918 80.91.224.250 (20 Oct 2002 21:39:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:39:20 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id QAA06237 for ; Fri, 28 Feb 1997 16:17:18 -0800 Original-Received: from atreides.eng.mindspring.net (atreides.eng.mindspring.net [207.69.183.11]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Sat, 1 Mar 1997 00:59:49 +0100 Original-Received: (qmail 31334 invoked by uid 52477); 28 Feb 1997 23:59:18 -0000 Original-To: ding@ifi.uio.no In-Reply-To: Per Abrahamsen's message of 28 Feb 1997 23:47:31 +0100 Original-Lines: 44 X-Mailer: Red Gnus v0.82/XEmacs 20.0 Xref: main.gmane.org gmane.emacs.gnus.general:10024 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:10024 Per Abrahamsen writes: > This is what `W w' does, and it fills the example you gave correctly. I just had to show an example of the extent of the bad karma between filladapt and "W w". :-) -Sudish Paul Franklin writes: Hmm. I've been really happy with filladapt. It seems to do a better >job than either gnus-article-fill-cited-article or >message-fill-yanked-message, but it only does one paragraph at a >time. The real win is that it's smart enough to notice changes in >citation levels and treat them as paragraph boundaries even if >there's no line separating them. The problem is that it's paragraph-oriented. It craps out when fed a region containing blank lines, by converting the blank line preceding a paragraph into a space(!). Try putting the region across the next 3 lines and filling it. This is paragraph a. This is paragraph b. This is paragraph c. This gets filled as: This is paragraph a. This is paragraph b. This is paragraph c. This makes "W w" an ugly transform for most messages I read. This is because it wasn't a paragraph to begin with, of course. I have a patch that "fixes" this, but Kyle Jones sez we shouldn't be calling it that way in the first place. > Will changing gnus-article-fill-cited-article and >message-fill-yanked-message to use filladapt if it's present address >your concerns? If not, could you be more specific as to why this is >insufficient? IMO, The Right Thing to do is exactly what Per stated. His cite stuff is far, far, far, far (etc, you get the idea) more knowledgeable about mail and news citation boundaries (which is what we need, not paragraphs in the usual sense) than filladapt is. It can mark such regions (I expect it already does this) and stuff like "W w" should be iterating over such regions and feeding each region separately to the fill functions. -Sudish