X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=emacstips.mdwn;h=7baa679a3d125513d0f287173fd3ee2789e4f64e;hb=8e7ee8668cf5f575c7e30c9c30d68a5995be29db;hp=f20b325208683388132fe4f60ba8e6e52fffef07;hpb=f04aa8e610c6b6e363c8ae0485c1a9f16278c6a5;p=notmuch-wiki diff --git a/emacstips.mdwn b/emacstips.mdwn index f20b325..7baa679 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -464,6 +464,7 @@ These functions are available via the standard `message-mode` keybindings ;; Sign messages by default. (add-hook 'message-setup-hook 'mml-secure-sign-pgpmime) + (setq mml-secure-openpgp-sign-with-sender t) This inserts the required `<#part sign=pgpmime>` into the beginning of the mail text body and will be converted into a pgp signature @@ -867,3 +868,9 @@ attachment. This is currently work in progress, but you can already add the hook to your `~/.emacs.d/notmuch-config.el` file to test it. Details available (and feedback welcome) in the [relevant discussion](https://notmuchmail.org/pipermail/notmuch/2018/026414.html). + +## Applying patches to git repositories + +The `notmuch-extract-thread-patches` and +`notmuch-extract-message-patches` commands from the `elpa-mailscripts` +package in Debian (and its derivatives) can do this for you.