Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: article body filling: fill-prefix too long for specified width
Date: Mon, 25 Mar 2002 21:57:28 +0900	[thread overview]
Message-ID: <yosuu1r47qkn.fsf@jpl.org> (raw)
In-Reply-To: <m3g02phnwu.fsf@Janik.cz>

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

  reply	other threads:[~2002-03-25 12:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-24 17:33 Pavel Janík
2002-03-25 12:57 ` Katsumi Yamaoka [this message]
2002-03-25 16:12 ` Stefan Monnier
2002-03-25 20:38   ` Pavel Janík
2002-03-25 21:52     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yosuu1r47qkn.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).