[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnus PGP signature bug and fix
From: |
Katsumi Yamaoka |
Subject: |
Re: gnus PGP signature bug and fix |
Date: |
Thu, 02 Feb 2006 10:10:02 +0900 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
>>>>> In <87bqxr18li.fsf@lapin-bleu.net> Max Froumentin wrote:
> Gnus (latest CVS) generates wrong MIME encoded messages
> when an inline PGP signature is included along with an attachment.
> When a multipart message is sent, gnus builds a buffer by adding each
> part sequentially, top to bottom. But there's a bug with the code that
> generates inline signed parts: the point is not moved back to the bottom of
> the buffer, and so the following parts are inserted at the wrong place.
I could reproduce the problem by the following message:
--8<---------------cut here---------------start------------->8---
From: yamaoka@jpl.org
To: yamaoka@jpl.org
Subject: test
--text follows this line--
< #part sign=pgp >
foo
< #part type="text/plain" disposition=inline >
bar
--8<---------------cut here---------------end--------------->8---
> A fix is simple: after each part is generated, move the point back to
> the end.
Thank you for the patch. I've applied it to both the CVS trunk
and the v5-10 branch.