Gnus development mailing list
 help / color / mirror / Atom feed
From: Ralf Angeli <dev.null@iwi.uni-sb.de>
Subject: Re: [flow-fill.el] Filling of quoted blank lines
Date: Mon, 19 Jan 2004 11:05:14 +0100	[thread overview]
Message-ID: <buga56$f18$1@quimby.gnus.org> (raw)
In-Reply-To: <bqiihe$12f$1@quimby.gnus.org>

* Ralf Angeli (2003-12-02) writes:

> there are quite some people out there using Mozilla with
> `format=flowed' enabled.  This is handled nicely by `flow-fill.el'
> except when it comes to quoted blank lines.  Mozilla is quoting them
> with `> \n' where `flow-fill.el' sees soft line breaks at the end. The
> lines are filled and disappear.  You can have a look at an example in
> comp.text.tex; the MID is <news:bqia0o$2tm$02$1@news.t-online.com>.
> Compare the display of the message using `C-u g' and `g'.  In the
> latter case some lines are missing.
>
> Is this the intended behaviour?  I find it a little bit irritating and
> sometimes don't even want to answer such posts as I am afraid that
> Gnus messes up the text.

I'd like to revitalize this rather old thread as I am occasionally
still seeing this.  An example were Gnus really messes up the display
is [1].  The raw message looks like this:

,----
| Frank Küster wrote:
| > "Tino Langer" <tino.langer@tournex.de> schrieb:
| > 
| > 
| >>Wie heißt denn der Zähler für die Tabellen - ich habe das leider nicht
| >>gefunden.
| > 
| > 
| > Damit kannst du höchstens das Symptom kurieren, aber nicht das Problem
| > lösen. Und früher oder später treffen dich dann andere Symptome des
| > gleichen Problems.
| 
| natürlich löst er damit das longtable-Problem, so es das ist.
| 
| Herbert
`----

And the result displayed by Gnus looks like this:

,----
| Frank Küster wrote:
| > "Tino Langer" <tino.langer@tournex.de> schrieb:
| > 
| >>Wie heißt denn der Zähler für die Tabellen - ich habe das leider nicht
| >>gefunden.
| > Damit kannst du höchstens das Symptom kurieren, aber nicht das
| > Problem
| > lösen. Und früher oder später treffen dich dann andere Symptome des
| > gleichen Problems.
| 
| natürlich löst er damit das longtable-Problem, so es das ist.
| 
| Herbert
`----

The original message was produced by Mozilla.  I managed to find a bug
description[2] in Mozilla's bug management system where the developers
express their views upon this kind of quoting, i.e. their
interpretation of RFC2646.  The important note is comment #5 made by
Ben Bucksch:

,----
| I would interpret
| <quote src="ftp://venera.isi.edu/in-notes/rfc2646.txt">
| 4.4.   Space-Stuffing
| [...]
|    On reception, if the
|    first character of a line is a space, it is logically deleted.  This
|    occurs after the test for a quoted line, and before the test for a
|    flowed line.
|    [...]
|    Other lines MAY be space-stuffed as desired.
| [...]
| 4.5.  Quoting
| [...]
|    Note that because of space-stuffing, the lines
|        >> Exit, Stage Left
|    and
|        >>Exit, Stage Left
|    are semantically identical; both have a quote-depth of two, and a
|    content of "Exit, Stage Left".
| </quote>
| in the way that ">> " is a space-stuffed, quoted and empty line and thus not
| flowed.
`----

I am sharing this view.

As it is currently a bit annoying that `flow-fill.el' doesn't behave
like this I thought about an option to disable it completely as a
quick fix.

If I understand it correctly this could be done by adding another
check to `mm-view.el' (mm-inline-text) in the `when' statement just
before `fill-flowed' is called (line 348).  But this would need a new
defcustom or defvar. (First I thought about abusing
`fill-flowed-encode-column' but it doesn't seem suitable due to its
intention mentioned in the doc string and because it is not available
before `flow-fill.el' is loaded.)

Regards,
Ralf

Footnotes:

[1] <URL:http://groups.google.com/groups?as_umsgid=%3Cbu3nuh%24g2d%2407%241@news.t-online.com%3E>

[2] <URL:http://bugzilla.mozilla.org/show_bug.cgi?id=43455>

-- 
 Moo!
     `~~_.
______',,/______ No Gnus is good news.



  parent reply	other threads:[~2004-01-19 10:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-02 17:35 Ralf Angeli
2003-12-02 18:00 ` Simon Josefsson
2003-12-02 18:16   ` Ralf Angeli
2003-12-03  8:23   ` Ralf Angeli
2003-12-03 22:07     ` Ralf Angeli
2003-12-03 23:21       ` Simon Josefsson
2003-12-04 10:09         ` Ralf Angeli
2003-12-04 15:36           ` Simon Josefsson
2004-01-19 10:05 ` Ralf Angeli [this message]
2004-01-27 14:43   ` Ralf Angeli
2004-01-27 20:46     ` Simon Josefsson
2004-01-28  8:04       ` Ralf Angeli
2004-01-28 16:47         ` 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='buga56$f18$1@quimby.gnus.org' \
    --to=dev.null@iwi.uni-sb.de \
    --cc=angeli@iwi.uni-sb.de \
    /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).