diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2018-02-24 16:33:26 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2018-02-24 16:33:43 -0700 |
commit | 4bb6ef288be9d31a93535bbfd5fb76c006cdcbb3 (patch) | |
tree | 8bfcc50ad109e718285272dbe4b91ef26757d9c5 /.emacs.d/snippets | |
parent | 8a92f6644845032d352c33a81bd81ad13ca4a5d7 (diff) | |
download | dotfiles-4bb6ef288be9d31a93535bbfd5fb76c006cdcbb3.tar.gz |
add flagged org-mode yasnippet
Diffstat (limited to '.emacs.d/snippets')
-rw-r--r-- | .emacs.d/snippets/org-mode/flagged | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.emacs.d/snippets/org-mode/flagged b/.emacs.d/snippets/org-mode/flagged new file mode 100644 index 00000000..96311a2f --- /dev/null +++ b/.emacs.d/snippets/org-mode/flagged @@ -0,0 +1,15 @@ +# To use this, find flagged thread in a notmuch search, use `c i` to +# invoke `notmuch-search-stash-thread-id`. Then go to an Org-mode doc +# and use this snippet to insert a link that will go to the thread +# with only starred messages expanded for view. +# +# The purpose of this is for cases where there are multiple actionable +# messages in a single thread, such that I want to view them all in a +# single buffer. I flag those, and create a link to the thread using +# this snippet. Creating Org links to individual messages would not +# achieve this. And having an 'inbox' tag which represents actionable +# but read messages would add overhead as I'd have to get used to +# removing that tag from messages, and sort out syncing the tag. The +# case comes up too rarely for it to be worth doing that. +# -- +[[notmuch:`(yank)` and tag:flagged][${1:Flagged messages in thread}]]
\ No newline at end of file |