[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pgg-default-user-id with more than one UID
From: |
Suno Ano |
Subject: |
pgg-default-user-id with more than one UID |
Date: |
Sun, 29 Mar 2009 21:57:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
hi folks,
I am with up-to-date Gnus/Emacs and I use pgg.el for signing/encrypting
email. I am on Debian sid, using GPG (GNU Privacy Guard).
I have *two* (instead of just one) OpenPGP UIDs (User IDs) which I would
like to use based on what group I am sending email from.
`pgg-default-user-id' allows me to specify only one UID which is then
applied to each email no matter what group I send it from -- right now I
do this with
(add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime)
However, I use gnus-parameters to treat different groups differently
e.g. use different sender addresses etc. I want to use gnus-parameters
for selecting my OpenPGP UIDs as well.
The info manual mentions `(VARIABLE FORM)' at (Info-goto-node "(gnus)
Group Parameters") but then I am simply to inexperienced with elisp to
come up the the solution needed to selectively apply either one of my
OpenPGP UIDs based on what group I am sending email from.
Can anyone help?
pgpfNQ6RG81XO.pgp
Description: PGP signature
- pgg-default-user-id with more than one UID,
Suno Ano <=