From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43999 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.gnus.general Subject: Re: article body filling: fill-prefix too long for specified width Date: Mon, 25 Mar 2002 16:52:55 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <200203252152.g2PLqtm14363@rum.cs.yale.edu> References: <200203251612.g2PGCSY12966@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1017094449 18707 127.0.0.1 (25 Mar 2002 22:14:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2002 22:14:09 +0000 (UTC) Cc: "Stefan Monnier" , ding@gnus.org, GNU Emacs pretest bug list Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16pcjA-0004rU-00 for ; Mon, 25 Mar 2002 23:14:09 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16pch6-0000hu-00; Mon, 25 Mar 2002 16:12:00 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 25 Mar 2002 16:12:06 -0600 (CST) Original-Received: from epithumia.math.uh.edu (epithumia.math.uh.edu [129.7.128.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id QAA27008 for ; Mon, 25 Mar 2002 16:11:58 -0600 (CST) Original-Received: (from tibbs@localhost) by epithumia.math.uh.edu (8.11.2/8.11.1) id g2PMBkr04113 for ding@hpc.uh.edu; Mon, 25 Mar 2002 16:11:46 -0600 Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA26847 for ; Mon, 25 Mar 2002 15:53:12 -0600 (CST) Original-Received: (qmail 27880 invoked by alias); 25 Mar 2002 21:52:59 -0000 Original-Received: (qmail 27875 invoked from network); 25 Mar 2002 21:52:59 -0000 Original-Received: from rum.cs.yale.edu (128.36.229.169) by gnus.org with SMTP; 25 Mar 2002 21:52:59 -0000 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g2PLqtm14363; Mon, 25 Mar 2002 16:52:55 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Pavel@Janik.cz (Pavel =?iso-8859-2?q?Jan=EDk?=) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43999 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43999 > From: "Stefan Monnier" > Date: Mon, 25 Mar 2002 11:12:28 -0500 > > Hi Stefan, > > > > I have received attached e-mail, which can not be displayed in Gnus (from > > > CVS) running in current CVS Emacs. The message > > > > > > fill-prefix too long for specified width > > > > > > is shown. fill-column is 75 in my setup. Additional details on > > > request. I still have this article so I can test your changes. > > > > It must be a bug in my changes in fill.el. > > I can't look at it just now, so I'll get back to you later, > > I do not know where the bug is, but this change from Katsumi Yamaoka > fixed this particular problem: > > --- cut here --- > I'm not sure of myself but I think the value of `fill-prefix' > should be controlled by flow-fill.el, however it will be altered > by `fill-region-as-paragraph' if it isn't specified. Here's a > patch for a tentative plan: > > --- flow-fill.el~ 2002-01-14 22:01:23.000000000 +0000 > +++ flow-fill.el 2002-03-25 12:55:36.039833946 +0000 > @@ -134,7 +134,8 @@ > (end-of-line)) > (unless sig > (let ((fill-prefix (when quote (concat quote " "))) > - (fill-column (eval fill-flowed-display-column))) > + (fill-column (eval fill-flowed-display-column)) > + adaptive-fill-mode) > (fill-region (fill-flowed-point-at-bol) > (min (1+ (fill-flowed-point-at-eol)) (point-max)) > 'left 'nosqueeze)))))))) This indeed will prevent the buggy code from running. But it doesn't fix the bug. Of course, the patch might still be correct for flow-fill.el, I don't know. Stefan