Gnus development mailing list
 help / color / mirror / Atom feed
* article body filling: fill-prefix too long for specified width
@ 2002-03-24 17:33 Pavel Janík
  2002-03-25 12:57 ` Katsumi Yamaoka
  2002-03-25 16:12 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Pavel Janík @ 2002-03-24 17:33 UTC (permalink / raw)
  Cc: GNU Emacs pretest bug list

[-- Attachment #1: Type: text/plain, Size: 1822 bytes --]

Hi,

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.

Debugger entered--Lisp error: (error "fill-prefix too long for specified width")
  signal(error ("fill-prefix too long for specified width"))
  error("fill-prefix too long for specified width")
  fill-delete-prefix(1889 #<marker (moves after insertion) at 1965 in *Article*> "                                                                            ")
  fill-region-as-paragraph(1889 1966 left nosqueeze)
  fill-region(1889 1966 left nosqueeze)
  fill-flowed()
  mm-inline-text((#<buffer  *mm*> ("text/plain" (charset . "ISO-8859-2") (format . "flowed")) 8bit nil nil nil nil nil))
  mm-display-inline((#<buffer  *mm*> ("text/plain" (charset . "ISO-8859-2") (format . "flowed")) 8bit nil nil nil nil nil))
  mm-display-part((#<buffer  *mm*> ("text/plain" (charset . "ISO-8859-2") (format . "flowed")) 8bit nil nil nil nil nil) t)

[...]

  gnus-mime-display-single((#<buffer  *mm*> ("text/plain" (charset . "ISO-8859-2") (format . "flowed")) 8bit nil nil nil nil nil))
  gnus-mime-display-part((#<buffer  *mm*> ("text/plain" (charset . "ISO-8859-2") (format . "flowed")) 8bit nil nil nil nil nil))
  gnus-display-mime()
  gnus-article-prepare-display()
  gnus-article-prepare(91419 nil)
  gnus-summary-display-article(91419 nil)
  gnus-summary-select-article(nil nil pseudo)
  gnus-summary-scroll-up(1)
  call-interactively(gnus-summary-scroll-up)

-- 
Pavel Janík

Use free-form input when possible.
                  --  The Elements of Programming Style (Kernighan & Plaugher)

[-- Attachment #2: q --]
[-- Type: application/octet-stream, Size: 2156 bytes --]

From nobody Sun Mar 24 18:30:48 2002
X-From-Line: linux-return-145240-Pavel=janik.cz@linux.cz  Wed Mar 20 23:16:53 2002
Return-Path: <linux-return-145240-Pavel=janik.cz@linux.cz>
Received: from odysseus.linux.cz (odysseus.fi.muni.cz [147.251.48.205])
	by mmnet.cz (8.9.3/8.9.3) with SMTP id XAA22383
	for <Pavel@janik.cz>; Wed, 20 Mar 2002 23:16:52 +0100
Received: (qmail 3358 invoked by uid 30); 20 Mar 2002 21:53:45 -0000
Mailing-List: contact linux-help@linux.cz; run by ezmlm
Precedence: bulk
Reply-To: linux@linux.cz
Delivered-To: mailing list linux@linux.cz
Received: (qmail 3288 invoked from network); 20 Mar 2002 21:53:41 -0000
X-Gnus-Mail-Source: directory:/home/pavel/.Spool/
Message-ID: <3C98FCEC.6080604@top.cz>
Date: Wed, 20 Mar 2002 22:19:40 +0100
From: "Ing. Karel Babka" <dekls@top.cz>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226
X-Accept-Language: en-us
MIME-Version: 1.0
To: linux@linux.cz
Subject: pppd multilink
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 28
Xref: SnowWhite.SuSE.cz Linux:91419
X-Gnus-Article-Number: 91419   Wed Mar 20 23:28:47 2002

Pou¾ívám FRITZ!X ISDN@2line USB (tzn, ¾e nemá MAC),  RH 7.2 a pppd 2.4.1.

Podle man (sekce MULTILINK)  pppd detekuje, ¾e øízená linka je pøipojena 
k tomu samému 'peerovi',  jako ji¾ existující linka dle shodného 'peers 
endpoint diskriminátoru' a vytvoøí vícenásobné spojení, tzv. 'multilink 
bundle'.

Mám funèní soubor parametrù "isp", volám jej pøíkazem 'pppd call 
isdn/isp', pøidám tam 'multilink' a posléze je¹tì 'endpoint IP:N.M.O.P', 
co¾ je ip pøidìlená rozhraní ppp0, popøípadì i 'endpoint phone:XYZ', co¾ 
je èíslo druhé linky. Spojení se ustanoví, ale multilink se nekoná, 
pakety nabíhají jen na ppp0, ppp1 si ani ne¹krtne.

Provider je Volný, multilink podporuje, pod Woknama to bì¾í O.K.

Máte nìkdo vyøe¹en multilink na USB zaøízení?
Díky.

Karel Babka

 



---------------------------------------------------------------------------
Meta-FAQ (odhlá¹ení, archív, FAQ a dal¹í): http://www.linux.cz/mailing-list
TIP: Musi vase odpoved jit do konference nebo staci jen autorovi?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: article body filling: fill-prefix too long for specified width
  2002-03-24 17:33 article body filling: fill-prefix too long for specified width Pavel Janík
@ 2002-03-25 12:57 ` Katsumi Yamaoka
  2002-03-25 16:12 ` Stefan Monnier
  1 sibling, 0 replies; 5+ messages in thread
From: Katsumi Yamaoka @ 2002-03-25 12:57 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

>>>>> In <m3g02phnwu.fsf@Janik.cz> 
>>>>>	Pavel@Janik.cz (Pavel Janík) wrote:

> 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.

> Debugger entered--Lisp error: (error "fill-prefix too long for sp...
>   signal(error ("fill-prefix too long for specified width"))
>   error("fill-prefix too long for specified width")
>   fill-delete-prefix(1889 #<marker (moves after insertion) at 196...
>   fill-region-as-paragraph(1889 1966 left nosqueeze)
>   fill-region(1889 1966 left nosqueeze)
>   fill-flowed()
>   mm-inline-text((#<buffer  *mm*> ("text/plain" (charset . "ISO-8...

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:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: flow-fill.el.diff --]
[-- Type: text/x-patch, Size: 491 bytes --]

--- 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))))))))

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: article body filling: fill-prefix too long for specified width
  2002-03-24 17:33 article body filling: fill-prefix too long for specified width Pavel Janík
  2002-03-25 12:57 ` Katsumi Yamaoka
@ 2002-03-25 16:12 ` Stefan Monnier
  2002-03-25 20:38   ` Pavel Janík
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2002-03-25 16:12 UTC (permalink / raw)
  Cc: ding, GNU Emacs pretest bug list

> Hi,
> 
> 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,


	Stefan




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: article body filling: fill-prefix too long for specified width
  2002-03-25 16:12 ` Stefan Monnier
@ 2002-03-25 20:38   ` Pavel Janík
  2002-03-25 21:52     ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Janík @ 2002-03-25 20:38 UTC (permalink / raw)
  Cc: ding, GNU Emacs pretest bug list

   From: "Stefan Monnier" <monnier+gnu/emacs/pretest@rum.cs.yale.edu>
   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
<yamaoka@jpl.org> 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))))))))

--- cut here ---

-- 
Pavel Janík

I'll have to convert to a program whose config files I can understand anyway
some day.
                  -- Kurt Garloff about migrating from Sendmail to Postfix



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: article body filling: fill-prefix too long for specified width
  2002-03-25 20:38   ` Pavel Janík
@ 2002-03-25 21:52     ` Stefan Monnier
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2002-03-25 21:52 UTC (permalink / raw)
  Cc: Stefan Monnier, ding, GNU Emacs pretest bug list

>    From: "Stefan Monnier" <monnier+gnu/emacs/pretest@rum.cs.yale.edu>
>    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
> <yamaoka@jpl.org> 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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-03-25 21:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-24 17:33 article body filling: fill-prefix too long for specified width Pavel Janík
2002-03-25 12:57 ` Katsumi Yamaoka
2002-03-25 16:12 ` Stefan Monnier
2002-03-25 20:38   ` Pavel Janík
2002-03-25 21:52     ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).