Daiki Ueno <[email protected]> writes:

>>>>>> In <[email protected]> 
>>>>>>  Suno Ano <[email protected]> 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.
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to