GNU bug report logs - #46029
27.1; mail-archive-file-name cannot be changed once it is set.

Previous Next

Package: emacs;

Reported by: Muto <shack <at> muto.ca>

Date: Fri, 22 Jan 2021 05:20:01 UTC

Severity: normal

Found in version 27.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Muto <shack <at> muto.ca>
Cc: 46029 <at> debbugs.gnu.org
Subject: bug#46029: 27.1; mail-archive-file-name cannot be changed once it is set.
Date: Fri, 22 Jan 2021 09:42:25 +0200
> From: Muto <shack <at> muto.ca>
> Date: Thu, 21 Jan 2021 22:19:31 -0700
> 
> If I activate my first account with:
>   M-x mail-muto
> and start a new email with
>   C-x m
> The Fcc line will look correct.
> 
> But after that, if I use
>   M-x mail-muto2
> And start writing a new email, my signature, return address, and full
> name are updated, but my Fcc still has the old value of:
>   "~/.emacs.d/mymail/muto/sent"
> instead of the desired value:
>   "~/.emacs.d/mymail/muto2/sent"
> 
> This bug works the other way around (loading account 2 first), and it
> also occurs when I use 'mail-default-headers' instead of
> 'mail-archive-file-name'. 

Are you using message-mode (as opposed to mail-mode) to compose your
email messages?  If so, I think you need to change the value of
message-default-mail-headers when you switch accounts.  message-mode
picks up the values of mail-archive-file-name and mail-default-headers
when it starts up, and computes from them the value of
message-default-mail-headers, which it uses thereafter.




This bug report was last modified 4 years and 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.