From: Reiner Steib <reinersteib+gmane@imap.cc>
Cc: Anders Wegge Jakobsen <wegge@wegge.dk>
Subject: Bad Subject folding (rfc2047) in 5.10.7 (was: Wrapping header fields)
Date: Thu, 24 Mar 2005 20:28:35 +0100 [thread overview]
Message-ID: <v9psxo7sik.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m3acoum8cs.fsf@obelix.wegge.dk> (Anders Wegge Jakobsen's message of "23 Mar 2005 21:10:27 +0100")
[ Taking this from gnu.emacs.gnus to the ding list. ]
On Wed, Mar 23 2005, Anders Wegge Jakobsen wrote:
> I've discovered that sometimes the Subject: line in the header of
> outgoing messages are wrapped at an odd position, like this:
>
> Subject:
> Re: Forsvarsminister svært bevæbnet i Afghanistan
>
> Probably because the subject is encoded:
>
> =?iso-8859-1?q?Re:_Forsvarsminister_sv=E6rt_bev=E6bnet_i_Afghanistan? =
>
> I'm not sure if that is legal or not, but as it has the effect that I
> can't see my own postings, I suspect that the same is true for others
> as well. So, what can I do about this?
>
> Gnus v5.9.0
IIRC it is legal, but not good practice.
In the current development version, we get:
--8<---------------cut here---------------start------------->8---
ELISP> (and (require 'gnus) (require 'rfc2047) gnus-version)
"No Gnus v0.3"
ELISP> (with-temp-buffer
(insert "Subject: Re: Forsvarsminister svært bevæbnet i Afghanistan")
(rfc2047-encode-region (point-min) (point-max))
(buffer-string))
"Subject: Re: Forsvarsminister =?iso-8859-1?Q?sv=E6rt_bev=E6bnet?= i\n Afghanistan"
--8<---------------cut here---------------end--------------->8---
This is good. But with the stable version (5.10.7 or from Emacs CVS),
we get folding directly after "Re: ":
--8<---------------cut here---------------start------------->8---
ELISP> (and (require 'gnus) (require 'rfc2047) gnus-version)
"Gnus v5.11"
ELISP> (with-temp-buffer
(insert "Subject: Re: Forsvarsminister svært bevæbnet i Afghanistan")
(rfc2047-encode-region (point-min) (point-max))
(buffer-string))
"Subject: Re:\n =?iso-8859-1?q?Forsvarsminister_sv=E6rt_bev=E6bnet_i_Afghanistan?="
--8<---------------cut here---------------end--------------->8---
We already considered to sync `rfc2047.el' in the stable branch with
the trunk version. I hope Katsumi Yamaoka will find to do it, see
<http://thread.gmane.org/v93bvpyk3d.fsf%40marauder.physik.uni-ulm.de>.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next parent reply other threads:[~2005-03-24 19:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m3acoum8cs.fsf@obelix.wegge.dk>
2005-03-24 19:28 ` Reiner Steib [this message]
2005-03-25 9:22 ` Bad Subject folding (rfc2047) in 5.10.7 Katsumi Yamaoka
2005-03-25 9:59 ` Miles Bader
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=v9psxo7sik.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=wegge@wegge.dk \
/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).