X-Git-Url: https://git.cworth.org/git?p=obsolete%2Fnotmuch-wiki;a=blobdiff_plain;f=emacstips.mdwn;h=1e81764e02326e649882bd0bb7bb7c6bc0292967;hp=86bcb4466a4a5a269004eb8322493009bed05c57;hb=6487e999761aa40c749bde912711adc05aa6790c;hpb=09362e87f771dd37a5f04854499db0158c0c823c diff --git a/emacstips.mdwn b/emacstips.mdwn index 86bcb44..1e81764 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 + +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 derivitives, + + (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)