[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with gnus-alias identity rules
From: |
Giovanni Biscuolo |
Subject: |
problem with gnus-alias identity rules |
Date: |
Tue, 25 May 2021 14:04:44 +0200 |
Hello,
I'm using gnus-alias.el (via Guix package) to manage my email
identities, notmuch is my MUA.
I've set up my gnus-alias-identity-alist and it works: I'm able to
select my identities via M-x gnus-alias-select-identity
I've set up a message hook like the one suggested in notmuch
documentation (https://notmuchmail.org/emacstips/#index16h2):
--8<---------------cut here---------------start------------->8---
;; Determine identity when message-mode loads
(add-hook 'message-setup-hook 'gnus-alias-determine-identity)
--8<---------------cut here---------------end--------------->8---
I've set up my gnus-alias-identity-rules (via Customize) like this:
--8<---------------cut here---------------start------------->8---
'(gnus-alias-add-identity-menu t)
'(gnus-alias-identity-rules
'(("Biscuolo rule v.01"
("to" "<\\(.+\\)@biscuolo.net>" previous)
"biscuolo-\\1")))
'(gnus-alias-unknown-identity-rule 'error)
'(gnus-alias-use-buttonized-from t)
--8<---------------cut here---------------end--------------->8---
(I've experimented various identity-rules variant, especially
"previous"->"current")
When I /reply/ to an email received with this headers:
--8<---------------cut here---------------start------------->8---
GitHub <noreply@github.com> (Yest. 11:59) ()
Subject: [GitHub] Please verify your email address.
To: Giovanni Biscuolo <g380@biscuolo.net>
--8<---------------cut here---------------end--------------->8---
gnus-alias does not select the identity I would like: biscuolo-g380 in
this case. This is the debug message (verbosity 9):
--8<---------------cut here---------------start------------->8---
[GADI] New Headers
[GADI] ===========
In-Reply-To:
<60ab78ede3255_437dc5bc67622@github-highworker-1d03ea7.ac4-iad.github.net.mail>
From: Giovanni Biscuolo <giovanni@biscuolo.net>
To: GitHub <noreply@github.com>
Subject: Re: [GitHub] Please verify your email address.
References:
<60ab78ede3255_437dc5bc67622@github-highworker-1d03ea7.ac4-iad.github.net.mail>
[GADI] Evaluating <Biscuolo rule v.01>
[MSG] Using the <(biscuolo-giovanni)> Identity
--8<---------------cut here---------------end--------------->8---
Please what am I doing wrong here?
--
Giovanni Biscuolo
«Si può sperare
Che il mondo torni a quote più normali».
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- problem with gnus-alias identity rules,
Giovanni Biscuolo <=