Gnus development mailing list
 help / color / mirror / Atom feed
* Bad Subject folding (rfc2047) in 5.10.7 (was: Wrapping header fields)
       [not found] <m3acoum8cs.fsf@obelix.wegge.dk>
@ 2005-03-24 19:28 ` Reiner Steib
  2005-03-25  9:22   ` Bad Subject folding (rfc2047) in 5.10.7 Katsumi Yamaoka
  0 siblings, 1 reply; 3+ messages in thread
From: Reiner Steib @ 2005-03-24 19:28 UTC (permalink / raw)
  Cc: Anders Wegge Jakobsen

[ 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/



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

* Re: Bad Subject folding (rfc2047) in 5.10.7
  2005-03-24 19:28 ` Bad Subject folding (rfc2047) in 5.10.7 (was: Wrapping header fields) Reiner Steib
@ 2005-03-25  9:22   ` Katsumi Yamaoka
  2005-03-25  9:59     ` Miles Bader
  0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2005-03-25  9:22 UTC (permalink / raw)


Hi,

Please merge the changes I made in the v5-10 branch today into
the Emacs trunk.  However, please don't bring back them into the
Gnus trunk because they are for only Gnus v5.11.  The files which
I've changed in the v5-10 branch correspond to the following
ChangeLog entries:

2005-03-25  Katsumi Yamaoka  <yamaoka@jpl.org>
	* message.el
	* mm-util.el
	* rfc2047.el
2005-03-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
	Committed by Katsumi Yamaoka.
	* rfc2047.el
2005-03-25  Jesper Harder  <harder@ifa.au.dk>
	Committed by Katsumi Yamaoka.
	* rfc2047.el
2005-03-25  TSUCHIYA Masatoshi  <tsuchiya@namazu.org>
	Committed by Katsumi Yamaoka.
	* rfc2047.el

2005-03-25  Katsumi Yamaoka  <yamaoka@jpl.org>
	* emacs-mime.texi

>>>>> In <v9psxo7sik.fsf@marauder.physik.uni-ulm.de> Reiner Steib wrote:

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

Sorry I kept you waiting.  emacs-w3m 1.4.4 has been released.
I sync'd rfc2047.el with the trunk as a starter.  It has been
tested not only with recent Emacsen but also with Emacs 20.7 and
XEmacs 21.1.14.  I will take a vacation next week and will start
the work on nnrss.el from the week after next (i.e., April 4).

Regards,




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

* Re: Bad Subject folding (rfc2047) in 5.10.7
  2005-03-25  9:22   ` Bad Subject folding (rfc2047) in 5.10.7 Katsumi Yamaoka
@ 2005-03-25  9:59     ` Miles Bader
  0 siblings, 0 replies; 3+ messages in thread
From: Miles Bader @ 2005-03-25  9:59 UTC (permalink / raw)
  Cc: ding, Miles Bader

On Fri, 25 Mar 2005 18:22:17 +0900, Katsumi Yamaoka <yamaoka@jpl.org> wrote:
> Please merge the changes I made in the v5-10 branch today into
> the Emacs trunk.  However, please don't bring back them into the
> Gnus trunk because they are for only Gnus v5.11.

Gotcha.

-Miles
-- 
Do not taunt Happy Fun Ball.



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

end of thread, other threads:[~2005-03-25  9:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m3acoum8cs.fsf@obelix.wegge.dk>
2005-03-24 19:28 ` Bad Subject folding (rfc2047) in 5.10.7 (was: Wrapping header fields) Reiner Steib
2005-03-25  9:22   ` Bad Subject folding (rfc2047) in 5.10.7 Katsumi Yamaoka
2005-03-25  9:59     ` Miles Bader

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