From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55087 Path: main.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.gnus.general Subject: Re: [flow-fill.el] Filling of quoted blank lines Date: Thu, 04 Dec 2003 11:09:03 +0100 Organization: nil Sender: ding-owner@lists.math.uh.edu Message-ID: References: Reply-To: angeli@iwi.uni-sb.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1070532617 23977 80.91.224.253 (4 Dec 2003 10:10:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2003 10:10:17 +0000 (UTC) Original-X-From: ding-owner+M3627@lists.math.uh.edu Thu Dec 04 11:10:14 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ARqR3-0003jY-00 for ; Thu, 04 Dec 2003 11:10:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1ARqQL-0008Ks-00; Thu, 04 Dec 2003 04:09:29 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1ARqQ9-0008Kk-00 for ding@lists.math.uh.edu; Thu, 04 Dec 2003 04:09:17 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 995363A0057 for ; Thu, 4 Dec 2003 04:09:16 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1ARqQ8-0005dz-00 for ; Thu, 04 Dec 2003 11:09:16 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 60 Original-NNTP-Posting-Host: iwi190.iwi.uni-sb.de Original-X-Trace: quimby.gnus.org 1070532555 21698 134.96.72.190 (4 Dec 2003 10:09:15 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 4 Dec 2003 10:09:15 +0000 (UTC) Mail-Copies-To: nobody Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUAAABRTjbBxazr8c7/ ///0/NMCAgInQpwwAAABdUlEQVR4nJXTzW7DIAwAYFeTci5pxx0T5V6Ies/Pdt+0ByDN5Pd/hBlI E0KTw9xLxIcxYArDQcD62Wu9Dx3//geDVgcwfDZHUB1AewBdfdmD3p6Bmi10QqB0wCGqDbSlkn4Y CvdIoedpLScUpVZUJeAP/MHgZ9ePBKz/OAP4yV3RZCChCHtz12SpngdmGNxvAmZARBHq9u4t2S4a rXhH77yNG6TQKa2kvo3aKAfpUtr6QElEDpLicdxa468l3e43YjQzn3KpUZkblojW1stKscakhCiV EZpT0ox2FD4a+eCWFFWSEcYFCsEAU3LtEcRo+RhwegGi0MV5rbCrJ1Bo73UFFUDSGDo8rTCvpag0 S5H4fDqfg7amMQPuojb+sghy4KxwjVy/2AFrUO5mcNSvoC0GmDKY+yXTA8YwsVennxxqHVa6DDnI Ea0iqHLoz0WPzT19JSG+KJyshUuzhTvMQOMW2vhy2ufLWmuY8G/oHGQZi2Os8Qd3kAFISYdfAQAA AABJRU5ErkJggg== User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:IOWrHezJGdoBsOgGY7EgQml/g/E= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55087 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55087 * Simon Josefsson (2003-12-04) writes: > I hope this is slightly more robust, please test it. Hm, doesn't seem to work correctly. I am testing it with an article in de.comp.text.tex (MID: ) which encloses the following lines: ,---- | >> unterscheidet einen "Heinrich Paul Mueller (H.P.Mueller)" vom | >> "Hans-Peter Mueller (H.-P. Mueller"). | >=20 | > Wenn das in der neuesten verf=FCgbaren Version so ist, w=E4re wohl ein | > Bug-Report an den Autor des custom-bib-Pakets angebracht. `---- If I understand correctly, your code will first search forward until it finds ` $'. In the above example point will then be at the end of the "empty" line. Then (forward-char 1) is called and point will be at the beginning of `> Wenn das ...'. So the following test regarding `skiponeline' will never see the the "empty" line. There is another article on Gmane I am using for testing. You can find it at . With the new code e.g. the line starting with "... Seriously, folks, ..." in the second paragraph will get filled with the first paragraph. I haven't looked into it and cannot tell, where the problem is though. > It also fixes a long-standing problem in that: > > foo > --=20 > bar > > would be flowed together, when it shouldn't. Yes, I saw this as well and it is good that you address it with the new code because the solution I proposed was even more error prone as a line ending with `some text> ' is more common than a dash at the end. > There really need to be a regression test harness for flow-fill, it is > difficult to tell what consequences even a minor change would have. If you want to, I could post some test articles to this thread, e.g. like the two mentioned above. I just have to figure out how I can add `format=3Dflowed' to the header and what test cases would be needed exactly. Regards, Ralf --=20 Moo! `~~_. ______',,/______ No gnus is bad news.