info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pgg-default-user-id with more than one UID


From: Richard Riley
Subject: Re: pgg-default-user-id with more than one UID
Date: Sat, 04 Apr 2009 08:31:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

Daiki Ueno <ueno@unixuser.org> writes:

>>>>>> In <87myaxbrr1.fsf@sunoano.org> 
>>>>>>  Suno Ano <suno.ano@sunoano.org> wrote:
>
>> Daiki, do you think you could provide an example for switching keys
>> based on their key ID and using gnus-parameters? That would be awesome!
>
> Here it is:
>
> (add-hook 'message-setup-hook
>         (lambda ()
>           (if gnus-newsgroup-name
>               (let ((signers (gnus-group-get-parameter
>                               gnus-newsgroup-name
>                               'mml2015-signers
>                               t)))
>                 (if signers
>                     (set (make-local-variable 'mml2015-signers)
>                          signers))))))
>
> Then, you will be able to set your key ID for a group with "G p" and
> something like:
>
> ((timestamp 18902 50694)
>  (mml2015-signers "9549F362"))
>
> Where "9549F362" is my key ID.
>
> Regards,

A nice example of using the standard gnus-posting-styles would be nice!


I tried setting the "cover" APi variable of epa-user-id, but it doesn't
seem to work.

Adding extra hooks seems an unnecessary complication.

regards,

r.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]