notmuch-mode and org-capture

Tristan Cacqueray tdecacqu at redhat.com
Sun Nov 3 05:32:26 PST 2019


On Sun, Nov 03, 2019 at 09:05 David Edmondson wrote:
> On Sunday, 2019-11-03 at 01:04:47 +01, Leo Gaspard wrote: 
>
>> Hello, 
>> 
>> I have just come to notice that, when attempting to use 
>> org-capture in a notmuch-tree window with a message opened in 
>> the split screen below, the capture template doesn't actually 
>> have the link or the various replacements that are supposed to 
>> be done for the capture template, but only empty strings. 
>> 
>> I would assume that's due to a failure of the notmuch-tree mode 
>> of setting up the appropriate org-capture hooks. 
>> 
>> Steps to reproduce: - z something - enter - M-x org-capture then 
>> pick some template 
>> 
>> Do you know of a way of having such hooks? 
>
> It looks as though the version of ol-notmuch.el currently in 
> org-mode git has support for notmuch-tree (added in April 2019).
>
> Do you have the latest bits?
>

The org contrib lisp files got renamed earlier this year from
org-notmuch to ol-notmuch. Make sure to load the new one, for example
with use-package:

  (use-package ol-notmuch :after (org notmuch))

Cheers,
-Tristan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20191103/2bcc43da/attachment.sig>


More information about the notmuch mailing list