Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: "> > >" space removal removes too many spaces?
Date: Sun, 05 Aug 2001 15:57:40 +0200	[thread overview]
Message-ID: <iluelqqehij.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <878zgy62mg.fsf@deneb.enyo.de> (Florian Weimer's message of "Sun, 05 Aug 2001 15:46:31 +0200")

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

> Well, what I wanted to say is the following.  Looking just at one line
> is certainly not enough.  Consider at the following example:
> 
>> According to our analysis, we have a total of
>>>50 cases in which our software fails.  This
>> is, of course, not acceptable.
> 
> '>' may appear at the beginning of a line accidently, and we certainly
> want to supply the space character in this case.

First, wouldn't it be very complicated to solve your case?  It's much
easier to assume that ">" in the first position indicate a quoted
line.  I don't see how you programatically can easily separate your
case from e.g.

> According to your analysis
>>42 is a nice number
> you indicate that 42 is a nice number.

but suggestions are welcome. :)

Secondly, RFC 2646 compliant MUAs should never generate this case in
the first place.  Even if you don't generate RFC 2646 (Gnus doesn't)
you could QP encode the character to prevent the ambiguity.  In Gnus
you could put text properties on quote ">" characters to separate them
from any ">" characters the user enters (of course a user should be
able to insert quote ">" characters as well) and when sending the
mail, QP encode the quote ">" characters.  But this becomes quite
complicated for little gain, I think.



  reply	other threads:[~2001-08-05 13:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-05 11:53 Kai Großjohann
2001-08-05 12:05 ` Norbert Koch
2001-08-05 12:15   ` Kai Großjohann
2001-08-05 12:23     ` Norbert Koch
2001-08-05 13:03 ` Simon Josefsson
2001-08-05 13:10   ` Simon Josefsson
2001-08-05 13:46   ` Florian Weimer
2001-08-05 13:57     ` Simon Josefsson [this message]
2001-08-05 14:24       ` Nuutti Kotivuori
2001-08-05 14:49         ` Florian Weimer
2001-08-05 21:23           ` Nuutti Kotivuori
2001-08-05 14:47       ` Florian Weimer
2001-08-05 17:25         ` Kai Großjohann
2001-08-05 17:55           ` Florian Weimer
2001-08-05 19:30         ` Simon Josefsson
2001-08-05 20:11           ` Florian Weimer
2001-08-05 20:45             ` Kai Großjohann
2001-08-05 20:08         ` Kai Großjohann
2001-08-05 23:11   ` Paul Jarc
2001-08-06  6:33     ` Florian Weimer

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=iluelqqehij.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).