From: Sebastian Spaeth Date: Mon, 26 Apr 2010 12:41:42 +0000 (+0200) Subject: Add the weird "shortcuts" for gpg signing mails X-Git-Url: https://git.cworth.org/git?p=obsolete%2Fnotmuch-wiki;a=commitdiff_plain;h=e327d141485449bb882678d6488590a4201cb07a Add the weird "shortcuts" for gpg signing mails --- diff --git a/emacstips.mdwn b/emacstips.mdwn index 816988a..5863ab6 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -249,10 +249,12 @@ As its name implies, notmuch isn't really doing that much (which is part of its * **how to sign/encrypt my messages with gpg** - You can manually sign your messages with gpg by - invoking `M-x mml-secure-sign-pgpmime` (or - `M-x mml-secure-encrypt-pgpmime`). To do so by default, I use this hook in - my .emacs file: + You can manually sign your messages with gpg by invoking `M-x + mml-secure-sign-pgpmime` (or `M-x + mml-secure-encrypt-pgpmime`). These functions are available via the + convenient (*cough cough*) keybindings `C-c C-m s p` and `C-c C-m c + p` by default. To sign my outgoing mail by default, I use this hook + in my .emacs file: ;;sign messages by default (add-hook 'message-setup-hook 'mml-secure-sign-pgpmime)