Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: Behaviour of flow-fill before signature
Date: Wed, 26 Oct 2005 11:13:00 +0200	[thread overview]
Message-ID: <iluek68myjn.fsf@latte.josefsson.org> (raw)
In-Reply-To: <2n64rlcrvo.fsf@ccfs1.fuw.edu.pl> (Michal Jankowski's message of "Tue, 25 Oct 2005 21:34:51 +0200")

Michal Jankowski <Michal.Jankowski@fuw.edu.pl> writes:

> Hello,
>
> I have noticed that some "format=flowed;" messages are displayed
> incorrectly (?) - the signature is treated as part of the message and
> "flowed" together with it.
>
> It seems to happen whenever the last non-blank line before signature
> ends with a space, like this (quotes added for clarity):
>
> "Last line "
> ""
> "-- "
> "Sig"
>
> gets displayed as
> "Last line -- "
> "Sig"
>
> I'm using Gnus v5.10.2.
>
> For real example, see the usenet message
> <djlo5r$hom$1@atlantis.news.tpi.pl>
>
> Any ideas? One could argue that messages shouldn't end with "flowed"
> line and therefore the above message is malformed (?). But I'm seeing
> more and more messages formatted like this and would like to see Gnus
> displaying them better.

The RFC is clear on this, see quote below, the 
above would be incorrect.  However, this should be 
fixed in CVS, both for Gnus 5.10 and No Gnus, so an 
upgrade should solve the problem.

   An interpreting agent SHOULD allow for three exceptions to the rule
   that paragraphs end with a fixed line.  These exceptions are
   improperly constructed messages: a flowed line SHOULD be considered
   to end the paragraph if it is followed by a line of a different quote
   depth (see 4.5) or by a signature separator (see 4.3); the end of the
   body also ends the paragraph.

I have made this message an example of this problem, so that people
can test whether code works or not.  I had to fix a bug in No Gnus to
make unquoted lines flow too.

Last line 

-- 
Sig



  reply	other threads:[~2005-10-26  9:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-25 19:34 Michal Jankowski
2005-10-26  9:13 ` Simon Josefsson [this message]
2005-10-27 10:30   ` Reiner Steib
2005-10-27 12:23     ` Simon Josefsson

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=iluek68myjn.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    --cc=ding@gnus.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).