Closed morganwillcock closed 3 months ago
Correct me if I am wrong but I am under the impression you are addressing a problem specific to a peculiar configuration. If so why don't you just add an advice around the org-msg-post-setup
function to take care of this ?
I would argue that:
I wouldn't class the problem as configuration specific because the value is currently being reverted for all configurations.
Thank for the extra explanation, this is what I needed to fully understand your point.
When
message-make-fqdn
is called as part of constructing a message ID, the value ofuser-mail-address
is likely to be used to provide the domain portion of the ID. Restore the killed value ofuser-mail-address
afterorg-msg-edit-mode
is activated, to ensure that message IDs show a domain that matches the sender.The let binding seemed a safer option than marking the symbol as
permanent-local
. (I imagine thatuser-mail-address
is likely to be referenced in other modes which are not related to sending mail.)