Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: recent message.el quote changes.
Date: Wed, 08 Aug 2001 12:59:32 +0100	[thread overview]
Message-ID: <ilu4rrioj8b.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <87y9ovshio.fsf@deneb.enyo.de> (Florian Weimer's message of "Tue, 07 Aug 2001 23:10:39 +0200")

Florian Weimer <fw@deneb.enyo.de> writes:

>> ,----
>> | >I think some servers MIME parse messages and store them in another
>> | >equivalent format somehow, and when clients requests RFC822-messages
>> | >it reconstructs MIME delimiters and MIME headers.  All the 
>> | information
>> | >is there, but since the signature was calculated over the first MIME
>> | >delimiters/headers the reconstruction often breaks the signature.
>> `----
>
> I think I'm going to write a comb quoting detector and restorer.

Maybe changing the current algorithm to assume that a line is quoted
only if preceeded by blank line into a negative; "a line is not
considered quoted if it starts with > and the next character is
[0-9]"?

I don't think words beginning with ">" are that common that we need to
assume that lines beginning with such words need to be preceeded by
blank lines to be regarded as quoted.  (Five points for anyone who
managed to follow that logic.)  I'm not sure I like the
blank-lines-preceed-quoted-lines assumption, there's no specification
I know of that suggests that.

I'm starting to lean towards my first patch, I'd rather have a simple
algorithm that fails sometimes than a complicated algorithm that fails
sometimes.  As it stands, the simple algorithm fails less frequent
than the complicated as well.

> BTW, does Outlook always use '>' and never '> '?

Maybe that approach is simpler/better, and it is OK with both usefor
and RFC2646.  But it doesn't look good.



  reply	other threads:[~2001-08-08 11:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-07 17:31 Simon Josefsson
2001-08-07 19:20 ` Kai Großjohann
2001-08-07 21:10 ` Florian Weimer
2001-08-08 11:59   ` Simon Josefsson [this message]
2001-08-08 20:35   ` Raymond Scholz

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=ilu4rrioj8b.fsf@barbar.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).