notmuch-mode and org-capture

Leo Gaspard leo at gaspard.io
Sun Nov 3 16:21:09 PST 2019


Tristan Cacqueray <tdecacqu at redhat.com> writes:
> 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))

Hmm I'm on 9.2.3 for the time being, and there appears to be no change
to anything named `notmuch` between 9.2.3 and 9.2.6.

Is the change you're talking of unreleased yet?


More information about the notmuch mailing list