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

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

Re: signing all mail by default


From: Kevin Brubeck Unhammer
Subject: Re: signing all mail by default
Date: Wed, 12 Feb 2014 13:21:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Charles Philip Chan <cpchan@bell.net> writes:

> Kevin Brubeck Unhammer <unhammer@fsfe.org> writes:
>
>> I would love to simply say
>>
>>     (add-hook 'message-setup-hook 'mml-secure-message-sign)
>>
>> and have all mail signed by default. Unfortunately, this hook is
>> called before gnus inserts reply text (so the <#secure thing is put
>> below quoted text) and for certain emails even makes my Emacs hang
>> (with 100 % CPU usage).
>
> Strange, there must be something in your setting that is preventing
> that. The "<#secure method=pgpmime mode=sign>" line is always inserted
> below the "--text follows this line--" for me with 0% cpu usage. Try
> bisecting your config. Also, I just notice, I am using
> "gnus-message-setup-hook" and not "message-setup-hook", so try that
> instead.

Ah, that worked! Actually, I now have both:

    (add-hook 'gnus-message-setup-hook 'mml-secure-message-sign)
    (add-hook 'message-setup-hook 'mml-secure-message-sign)

and it no longer hangs, and all email gets signed at the right place.
Thank you :-)

-- 
Kevin Brubeck Unhammer

GPG: 0x766AC60C

Attachment: pgpOiIL8aPUaA.pgp
Description: PGP signature


reply via email to

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