Thanks for your reply Richard but then still, it is not working. Here is my current setup:
,----[ My basic settings for pgg ] | (require 'pgg) | | (setq pgg-default-scheme 'gpg) | (setq pgg-scheme 'gpg) | | (setq pgg-query-keyserver t) | (setq pgg-default-keyserver-address "subkeys.pgp.net") | | (setq gnus-message-replysign t | gnus-message-replyencrypt t | gnus-message-replysignencrypted t | mm-verify-option 'always | mm-decrypt-option 'always | ) | | (add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime) `---- And the second part, the gnus-parameters; below is only *one* group where I try to set a particular UID in line 25: 1 (setq gnus-parameters 2 `( 3 4 5 [skipping a lot of lines ...] 6 7 8 (,priv-my-gmail0-mail-address-gp 9 ; .... spam rules ............ 10 (spam-contents gnus-group-spam-classification-ham) 11 (spam-process-destination . "nnimap:m.junk") 12 (spam-process ((spam spam-use-blacklist) 13 (ham spam-use-whitelist) ; for ham groups only 14 (ham spam-use-bogofilter) ; for ham groups only 15 (spam spam-use-bogofilter))) 16 ; .... agent parameters ...... 17 (agent-predicate . true) 18 (agent-score . file) 19 ; - - agent score rule - - 20 ; .... posting style ......... 21 (posting-style 22 (name priv-my-name) 23 (address priv-my-sunoano1-mail-address) 24 (signature-file (concat emacs-root-dir "gnus/sig/m.realname")) 25 (eval (setq pgg-gpg-user-id "[email protected]")) 26 ) 27 ; .... group parameters ...... 28 (display . 20) 29 ; .... local variables ....... 30 ) 31 32 33 [skipping a lot of lines ...] 34 35 36 ) 37 ) The odd thing is that no matter what I do, I am always prompted for one and only one UID even if I set the second one as shown above in line 25. (as an example, this post is signed with my first UID, the one that always pops up with pinentry no matter what) If I try to send a mail from the group specified above and then check (in the article buffer) with "C-h v pgg-gpg-user-id RET" the correct UID shows (the one given in line 25) but when I hit C-c C-c to ship of the mail, pinentry asks me for the other UID i.e. not the one specified in line 25 and shown with C-h v in the article buffer. Does anyone know what is going on here? All I want is to chose among my two GPG (GNU Privacy Guard) keys for signing, depending on which group I send mail from ...
pgpS1MxyZi2IL.pgp
Description: PGP signature
_______________________________________________ info-gnus-english mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-gnus-english
