unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Tristan Cacqueray <tdecacqu@redhat.com>
To: Leo Gaspard <leo@gaspard.io>, David Edmondson <dme@dme.org>,
	notmuch@notmuchmail.org
Subject: Re: notmuch-mode and org-capture
Date: Mon, 04 Nov 2019 02:12:09 +0000	[thread overview]
Message-ID: <87lfswe6fa.tristanC@fedora> (raw)
In-Reply-To: <8736f4cwzu.fsf@llwynog.ekleog.org>

[-- Attachment #1: Type: text/plain, Size: 1701 bytes --]


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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2019-11-04  2:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-03  0:04 notmuch-mode and org-capture Leo Gaspard
2019-11-03  9:05 ` David Edmondson
2019-11-03 13:32   ` Tristan Cacqueray
2019-11-04  0:21     ` Leo Gaspard
2019-11-04  2:12       ` Tristan Cacqueray [this message]
2019-11-04 10:41         ` Leo Gaspard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfswe6fa.tristanC@fedora \
    --to=tdecacqu@redhat.com \
    --cc=dme@dme.org \
    --cc=leo@gaspard.io \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).