X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=emacstips.mdwn;h=d17b05961be0779d3ed78235bd10f644f29ea17d;hb=24d033149e3e920d201ef80b91e06e8ba441f416;hp=86bcb4466a4a5a269004eb8322493009bed05c57;hpb=8262329e77f1263c56e3df6be60553fe026e5982;p=obsolete%2Fnotmuch-wiki diff --git a/emacstips.mdwn b/emacstips.mdwn index 86bcb44..d17b059 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -694,3 +694,20 @@ To have clickable buttons for notmuch messages and threads, add the following to ("\\(?:id\\|mid\\|thread\\):[0-9A-Za-z][0-9A-Za-z.@-]*" 0 notmuch-show 0) If you have notmuch-pick installed, it works fine for this as well. + +## Linking to notmuch messages from org-mode + +Support for linking to notmuch messages is distributed with org-mode, +but as a contrib file, so you might have to work a bit to load it. + +In Debian and derivatives, + + (add-to-list 'load-path "/usr/share/org-mode/lisp") + +Then + + (require 'org-notmuch) + +In general it is nice to have a key for org-links (not just for notmuch). For example + + (define-key global-map "\C-cl" 'org-store-link)