Gnus development mailing list
 help / color / mirror / Atom feed
* Strange Problems with 'format=flowed' in Content-Type header
@ 2000-10-22 16:29 Florian Kruse
  0 siblings, 0 replies; 8+ messages in thread
From: Florian Kruse @ 2000-10-22 16:29 UTC (permalink / raw)





FloKru

-- 
Zu dieser Signature: http://www.detebe.org/3.14/ILOVEYOU-Signature-FAQ.html
begin  YOUR-SOFTWARE-IS-BROKEN.txt.vbs
I am a signature virus. Distribute me until the bitter
end



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Strange problems with 'format=flowed' in Content-Type header
  2000-10-23 14:26       ` Florian Kruse
@ 2000-10-23 19:42         ` Simon Josefsson
  0 siblings, 0 replies; 8+ messages in thread
From: Simon Josefsson @ 2000-10-23 19:42 UTC (permalink / raw)
  Cc: ding

Florian Kruse <flokru@flokru.gnuu.de> writes:

> Is it right that fill-flowed fills flowed articles using the fill-region
> of GNU Emacs or XEmacs (which inserts my annoying empty lines)?

Yes, that's what causing them.

> So you suggested to implement the filling in fill-flowed itself
> rather than using fill-region?

Perhaps, or finding out what makes `fill-region' add empty lines.

> ,--------
> | > Footnotes: 
> | > [1]  fup2 poster - 'Followup-To: poster': Antworten auf einen solchen
> | >                                           Artikel gehen per Mail an den
> | >                                           Autor, aber nicht in die NG.
> `--------
> 
> and I think that this is how it was supposed to look.

Well, yes, probably, but that's not how it was encoded.  Probably
another problem with the sending MUA.

(The first line has a trailing SPC, which means it should be flowed
with the next line(s) and then wrapped. That's what's happening.)

Hm.  I do wonder how it turns out in Mozilla though.  Have to check that.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Strange problems with 'format=flowed' in Content-Type header
  2000-10-23  8:32     ` Simon Josefsson
@ 2000-10-23 14:26       ` Florian Kruse
  2000-10-23 19:42         ` Simon Josefsson
  0 siblings, 1 reply; 8+ messages in thread
From: Florian Kruse @ 2000-10-23 14:26 UTC (permalink / raw)


Simon Josefsson <simon@josefsson.org> writes:

> Florian Kruse <flokru@flokru.gnuu.de> writes:
>>> I think we need the original article to be able to say anything much.
>> OK, here it is:
> Thanks, I noticed two problems and they turned out to be the same:
[...]
> Could you see if CVS Gnus work better for you?

Yes, it does. Thank you. This is a great improvement.

There are still some empty lines which are not supposed to be there. You
said something about fill-flowed but I don't understand exactly what
you mean with it.

Is it right that fill-flowed fills flowed articles using the fill-region
of GNU Emacs or XEmacs (which inserts my annoying empty lines)? So you
suggested to implement the filling in fill-flowed itself rather than
using fill-region?

However, it seems that there is still another problem:

In the article there is another part which looks like this with
format=flowed:

,--------
| > Footnotes: [1] fup2 poster - 'Followup-To: poster': Antworten auf
| > einen solchen
| 
| >                                           Artikel gehen per Mail an den
| >                                           Autor, aber nicht in die NG.
`--------

Without format=flowed it looks like 

,--------
| > Footnotes: 
| > [1]  fup2 poster - 'Followup-To: poster': Antworten auf einen solchen
| >                                           Artikel gehen per Mail an den
| >                                           Autor, aber nicht in die NG.
`--------

and I think that this is how it was supposed to look.

FloKru

-- 
Zu dieser Signature: http://www.detebe.org/3.14/ILOVEYOU-Signature-FAQ.html
begin  LOVE-LETTER-FOR-YOU.txt.vbs
I am a signature virus. Distribute me until the bitter
end



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Strange problems with 'format=flowed' in Content-Type header
  2000-10-22 20:19   ` Florian Kruse
  2000-10-23  7:55     ` Kai Großjohann
@ 2000-10-23  8:32     ` Simon Josefsson
  2000-10-23 14:26       ` Florian Kruse
  1 sibling, 1 reply; 8+ messages in thread
From: Simon Josefsson @ 2000-10-23  8:32 UTC (permalink / raw)
  Cc: ding

Florian Kruse <flokru@flokru.gnuu.de> writes:

> Often there are also empty lines which are not supposed to be
> there.

XEmacs `fill-region' add empty lines, Emacs `fill-region' does not.
`fill-flowed' probably need to implement filling itself...

> The signature delimiter isn't '-- ' (which it would be without
> 'format=flowed') but '--'.

Right. RFC 2646 doesn't seem to say anything about _decoding_ "-- ".
This means it should be flowed.  Not what you'd expect.  I've made a
special case for this in the code now.

> > I think we need the original article to be able to say anything much.
> 
> OK, here it is:

Thanks, I noticed two problems and they turned out to be the same:

,----
|  =20
| > Eine gute Entscheidung, denn schlechter als OE ist eigentlich nur Lotus=
| 
| > Notes.
`----

is turned into

,----
|   > Eine gute Entscheidung, denn schlechter als OE ist eigentlich nur
| Lotus
| > Notes.
`----

Could you see if CVS Gnus work better for you?

It would be good if this was reported to the Mozilla people, they are
creating invalid messages.  (Details: They are breaking the
"quote-depth win" rule in rfc2646.  The first empty line have a
quote-depth of 0 and is flowed into a line with quote-depth of 1.
That's bad.)




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Strange problems with 'format=flowed' in Content-Type header
  2000-10-22 20:19   ` Florian Kruse
@ 2000-10-23  7:55     ` Kai Großjohann
  2000-10-23  8:32     ` Simon Josefsson
  1 sibling, 0 replies; 8+ messages in thread
From: Kai Großjohann @ 2000-10-23  7:55 UTC (permalink / raw)
  Cc: ding

Aha.  It's a bad interaction between QP decoding and format=flowed, I
guess.  Hm.  Anyone?

kai
-- 
I like BOTH kinds of music.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Strange problems with 'format=flowed' in Content-Type header
  2000-10-22 18:54 ` Kai Großjohann
@ 2000-10-22 20:19   ` Florian Kruse
  2000-10-23  7:55     ` Kai Großjohann
  2000-10-23  8:32     ` Simon Josefsson
  0 siblings, 2 replies; 8+ messages in thread
From: Florian Kruse @ 2000-10-22 20:19 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> You didn't say what you meant by bad looking.  I saw things like
> /----
> |   > foo foo foo
> |   > foo foo foo
> | 
> | > foo
> \----
> where the last foo was probably supposed to be on a line together with
> the other foos.

Yes, exactly. It should have been (without 'fornmat=flowed' at least it
looks like this):

,--------
| > foo foo foo
| > foo foo foo foo 
`--------

Often there are also empty lines which are not supposed to be there. The
signature delimiter isn't '-- ' (which it would be without 'format=flowed')
but '--'.

> I think we need the original article to be able to say anything much.

OK, here it is:


[-- Attachment #2: flowed --]
[-- Type: application/octet-stream, Size: 3297 bytes --]

Path: flokru.gnuu.de!uucp.germany.net!newsfeed.germany.net!newsfeed01.sul.t-online.de!t-online.de!uucp.muenster.de!news.citykom.de!not-for-mail
From: Frank Schmitte <dl1ydl@muenster.de>
Newsgroups: de.newusers.questions
Subject: Re: F'up2 was ist das?
Date: Sun, 15 Oct 2000 20:03:13 +0200
Organization: Citykom Muenster GmbH
Lines: 72
Message-ID: <8scrhd$3pa$1@news.citykom.de>
References: <8s4flr$j69d1$1@ID-15815.news.cis.dfn.de> <39e6c668@si-nic.hrz.uni-siegen.de> <8s7vmu$okm$3@bw107zhb.bluewin.ch> <8s8bpb.hc.1@fuckup.dyndns.org> <39E9CE76.1090701@muenster.de> <FdN.873dhy3uf5.fsf@flokru.gnuu.de>
NNTP-Posting-Host: mueasb-wan021.citykom.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Server-Date: 15 Oct 2000 18:03:25 GMT
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; m18) Gecko/20000929 Netscape6/6.0b3
X-Accept-Language: en
Xref: flokru.gnuu.de de.newusers.questions:4380

Florian Kruse wrote:

Hallo Volker, Stefan, Henning und Frank,

erst einmal: Vielen Dank f=FCr eure schnellen Antworten.

> Was genau meinst du mit "F'up2 zu meiner Email"? Meinst vielleicht ein
> fup2 poster[1]? Sowas ist in deinem Posting nicht.

Ja, weil ich meine Email eingetragen hatte, ich weiss jetzt, was ich=20
eintragen muss.

 =20
> Eine gute Entscheidung, denn schlechter als OE ist eigentlich nur Lotus=

> Notes.

Ich fand es praktisch gleichzeitig zwei Newsserver verwalten zu k=F6nnen =

und mehrer Email-Accounts benutzten zu k=F6nnen. So konnte ich die Sachen=
=20
f=FCr den Verein und meine eigene Post mit einem Programmaufruf erledigen=
=2E=20
Allerdings hat mich der Sig-Trenner fast um den Verstand gebracht.

> 1.) Deine Message-ID ist Netscape-typisch kaputt. Unter
>     <URL:http://www.volker-gringmuth.de/usenet/netscape.htm> solltest d=
u
>     finden, wie man es richtig macht. Ich wei=DF aber nicht, ob das auc=
h
>     in NS 6 noch geht...

Ich habe meine Email in Anf=FChrungszeichen gesetzt, ist das Problem dami=
t=20
behoben? Was ist eine Message-ID? Wie wird sie erzeugt? Und woran kann=20
ich erkennen, dass sie kaput ist?

=20
> 2.) Du hast entweder keine Einleitungszeile ("Blabla <email> schrieb:"
>     oder =E4hnliches) erstellt, oder diese gel=F6scht.=20

Sorry, ist aus Versehen gel=F6scht worden.

> 3.) Deine Signatur ist leider nicht richtig abgetrennt (der Trenner
>     sollte '-- ' sein, nicht '--').=20
>     Die L=E4nge der Sig ist in Ordnung.

Hm, Florian, Volker meinte der Sig-Trenner w=E4re o.k. Wenn ich auf meine=
n=20
Newsbetrag selber mit NC6 antworte, dann schneidet er brav die Sig ab,=20
wie er es bei anderen Newsbeitr=E4gen (also auch bei deinem) auch macht. =

Also eigentlich m=FCsste er dann ja doch '-- ' und nicht '--' lauten, ode=
r?

> Footnotes:=20
> [1]  fup2 poster - 'Followup-To: poster': Antworten auf einen solchen
>                                           Artikel gehen per Mail an den=

>                                           Autor, aber nicht in die NG.

Verstehe jetzt, warum ein F'up als unversch=E4mt empfunden wird. Also hat=
=20
sich besagter NG-Poster nicht ganz korrekt verhalten, oder?

Viele Gr=FC=DFe aus M=FCnster
Frank

--=20
cw is the most fundamental thing in amateur radio
!!!!        so let your fingers talk         !!!!


[-- Attachment #3: Type: text/plain, Size: 46 bytes --]


FloKru

-- 
Echte Männer tippen selber.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Strange problems with 'format=flowed' in Content-Type header
  2000-10-22 17:19 Strange problems " Florian Kruse
@ 2000-10-22 18:54 ` Kai Großjohann
  2000-10-22 20:19   ` Florian Kruse
  0 siblings, 1 reply; 8+ messages in thread
From: Kai Großjohann @ 2000-10-22 18:54 UTC (permalink / raw)
  Cc: ding

What's the original article?  My news server wouldn't give it to me.

You didn't say what you meant by bad looking.  I saw things like

/----
|   > foo foo foo
|   > foo foo foo
| 
| > foo
\----

where the last foo was probably supposed to be on a line together with
the other foos.

I think we need the original article to be able to say anything much.

kai
-- 
I like BOTH kinds of music.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Strange problems with 'format=flowed' in Content-Type header
@ 2000-10-22 17:19 Florian Kruse
  2000-10-22 18:54 ` Kai Großjohann
  0 siblings, 1 reply; 8+ messages in thread
From: Florian Kruse @ 2000-10-22 17:19 UTC (permalink / raw)



Hi,

first of all I have to apologize for my possibly bad english.

I have discovered a strange problem in Gnus with 'format=flowed' in the
Content-Type header defined in RFC 2646.

As it seems do the Netscape 6 prereleases make use of this. The unhappy
thing is that my Gnus (CVS version from 21 Oct 2000) unter XEmacs 21.1.12
seems to have big problems in displaying these articles.

Here is an example how it looks for me:

--snip--
From: Frank Schmitte <dl1ydl@muenster.de>
Newsgroups: de.newusers.questions
Subject: Re: F'up2 was ist das?
Date: Sun, 15 Oct 2000 20:03:13 +0200
Lines: 72
Message-ID: <8scrhd$3pa$1@news.citykom.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; m18) Gecko/20000929 Netscape6/6.0b3

Florian Kruse wrote:

Hallo Volker, Stefan, Henning und Frank,

erst einmal: Vielen Dank für eure schnellen Antworten.

> Was genau meinst du mit "F'up2 zu meiner Email"? Meinst vielleicht ein
> fup2 poster[1]? Sowas ist in deinem Posting nicht.

Ja, weil ich meine Email eingetragen hatte, ich weiss jetzt, was ich
eintragen muss.


  > Eine gute Entscheidung, denn schlechter als OE ist eigentlich nur
  > Lotus

> Notes.

Ich fand es praktisch gleichzeitig zwei Newsserver verwalten zu können
und mehrer Email-Accounts benutzten zu können. So konnte ich die
Sachen für den Verein und meine eigene Post mit einem Programmaufruf
erledigen. Allerdings hat mich der Sig-Trenner fast um den Verstand
gebracht.


> 1.) Deine Message-ID ist Netscape-typisch kaputt. Unter
>     <URL:http://www.volker-gringmuth.de/usenet/netscape.htm> solltest du
>     finden, wie man es richtig macht. Ich weiß aber nicht, ob das auch
>     in NS 6 noch geht...

Ich habe meine Email in Anführungszeichen gesetzt, ist das Problem
damit behoben? Was ist eine Message-ID? Wie wird sie erzeugt? Und
woran kann ich erkennen, dass sie kaput ist?


 > 2.) Du hast entweder keine Einleitungszeile ("Blabla <email>
 > schrieb:"

>     oder ähnliches) erstellt, oder diese gelöscht.


Sorry, ist aus Versehen gelöscht worden.

> 3.) Deine Signatur ist leider nicht richtig abgetrennt (der Trenner
>     sollte '-- ' sein, nicht '--').  Die Länge der Sig ist in
>     Ordnung.


Hm, Florian, Volker meinte der Sig-Trenner wäre o.k. Wenn ich auf
meinen Newsbetrag selber mit NC6 antworte, dann schneidet er brav die
Sig ab, wie er es bei anderen Newsbeiträgen (also auch bei deinem)
auch macht. Also eigentlich müsste er dann ja doch '-- ' und nicht
'--' lauten, oder?


> Footnotes: [1] fup2 poster - 'Followup-To: poster': Antworten auf
> einen solchen

>                                           Artikel gehen per Mail an den
>                                           Autor, aber nicht in die NG.

Verstehe jetzt, warum ein F'up als unverschämt empfunden wird. Also
hat sich besagter NG-Poster nicht ganz korrekt verhalten, oder?


Viele Grüße aus Münster
Frank

--

cw is the most fundamental thing in amateur radio
!!!!        so let your fingers talk         !!!!

--snap--

In my opinion this looks very ugly. It seems that Gnus in GNU Emacs does
not have such a big problem with this.

If I save the article, delete the 'format=flowed', put it in one of my
maildirs and then watch it in Gnus it looks really very well.

My configuration can't be the problem because if I don't load .emacs,
.gnus and so on it looks as terrible as with these files.

Why does Gnus make such big mistakes in displaying the article?
I'm not very good in Lisp, so I can't look for the problem
myself. Perhaps somebody of you knows more about it.

If you need more information like the source of the article or anything
else then tell me.

FloKru

-- 
no sig



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2000-10-23 19:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-22 16:29 Strange Problems with 'format=flowed' in Content-Type header Florian Kruse
2000-10-22 17:19 Strange problems " Florian Kruse
2000-10-22 18:54 ` Kai Großjohann
2000-10-22 20:19   ` Florian Kruse
2000-10-23  7:55     ` Kai Großjohann
2000-10-23  8:32     ` Simon Josefsson
2000-10-23 14:26       ` Florian Kruse
2000-10-23 19:42         ` Simon Josefsson

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