<<< Date Index >>>     <<< Thread Index >>>

Re: bug#1882: mutt-1.5.6i: reverse_name is used when composing a _new_ message when viewing aanother one (not in index)



Hello,

On Wed, 19 May 2004, andre@xxxxxxxxxxxxxx wrote:

> You can start a new message from the index screen, or while displaying
> a message. When you do so in the later case, the From header of your
> new message is set to $reverse_name (value taken from the message you
> are currently reading).  [Composing a new message from the index screen
> works fine.]
> 
> In other words the From behaves as if you were replying to, not
> composing a new message.

Reproduced with mutt >= 20031205.
20031201 doesn't have this bug.
So, this must be a side effect of the fix for #1716.

Mutt calls ci_send_message with arguments
(0, NULL, NULL, Context, NULL) in main menu and
(0, NULL, NULL, extra->ctx, extra->hdr) in pager(20041205 or newer) and
(0, NULL, NULL, NULL, NULL) in pager(20031201 or older).

Hey Alain, Why did you include extra->hdr?
How about calling just
ci_send_message (0, NULL, NULL, extra->ctx, NULL);?

Thanks,
-- 
tamo