notmuch-mode and org-capture

Tristan Cacqueray tdecacqu at redhat.com
Sun Nov 3 18:12:09 PST 2019


On Mon, Nov 04, 2019 at 01:21 Leo Gaspard wrote:
> 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?

Indeed the change isn't actually released, the rename happened in:
  https://code.orgmode.org/bzg/org-mode/commit/499c0a50cc4b11e37b91374af23cb27ab8fc20d2

Thus requiring org-notmuch should work for 9.2.3.

-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/20191104/13a48fd8/attachment-0001.sig>


More information about the notmuch mailing list