From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37521 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: "> > >" space removal removes too many spaces? Date: Sun, 05 Aug 2001 15:57:40 +0200 Message-ID: References: <878zgy62mg.fsf@deneb.enyo.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172921 14331 80.91.224.250 (21 Oct 2002 04:02:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:02:01 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 21216 invoked from network); 5 Aug 2001 13:56:24 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 5 Aug 2001 13:56:24 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated) by dolk.extundo.com (8.11.3/8.11.3) with ESMTP id f75DuRw14714; Sun, 5 Aug 2001 15:56:28 +0200 Original-To: Florian Weimer In-Reply-To: <878zgy62mg.fsf@deneb.enyo.de> (Florian Weimer's message of "Sun, 05 Aug 2001 15:46:31 +0200") Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 31 Xref: main.gmane.org gmane.emacs.gnus.general:37521 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37521 Florian Weimer 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.