mu4e: support message-user-organization

Automatically include Organziation: if set and update when changing the context.

Fixes: issue #2112.
This commit is contained in:
Dirk-Jan C. Binnema
2021-11-07 12:46:15 +02:00
parent 90a748aba1
commit 67b16acbb2
4 changed files with 16 additions and 2 deletions

View File

@ -2458,6 +2458,7 @@ when starting; see the discussion in the previous section.
:to "aliced@@home.example.com")))
:vars '( ( user-mail-address . "aliced@@home.example.com" )
( user-full-name . "Alice Derleth" )
( message-user-organization . "Homebase" )
( mu4e-compose-signature .
(concat
"Alice Derleth\n"
@ -2473,6 +2474,7 @@ when starting; see the discussion in the previous section.
(string-match-p "^/Arkham" (mu4e-message-field msg :maildir))))
:vars '( ( user-mail-address . "aderleth@@miskatonic.example.com" )
( user-full-name . "Alice Derleth" )
( message-user-organization . "Miskatonic University" )
( mu4e-compose-signature .
(concat
"Prof. Alice Derleth\n"