X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=emacstips.mdwn;h=7baa679a3d125513d0f287173fd3ee2789e4f64e;hb=8e7ee8668cf5f575c7e30c9c30d68a5995be29db;hp=cfbcd3b6d0a20424eaa998d9fb0c105d52d14156;hpb=adcaf62cac3145f58c4bc1deced508e297046106;p=notmuch-wiki diff --git a/emacstips.mdwn b/emacstips.mdwn index cfbcd3b..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 @@ -758,6 +759,9 @@ In general it is nice to have a key for org-links (not just for notmuch). For ex (define-key global-map "\C-cl" 'org-store-link) +Note the package was renamed from `org-notmuch` to `ol-notmuch` in recent +versions of org-mode, and you might want to `(require 'ol-notmuch)` instead. + ## Viewing diffs in notmuch The following code allows you to view an inline patch in diff-mode @@ -864,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.