From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 78A7B6DE0EB8 for ; Sun, 3 Nov 2019 16:21:18 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.396 X-Spam-Level: X-Spam-Status: No, score=-0.396 tagged_above=-999 required=5 tests=[AWL=-0.196, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id evK-s2vi9n0o for ; Sun, 3 Nov 2019 16:21:15 -0800 (PST) Received: from smtp.gaspard.ninja (grym.ekleog.org [94.23.42.210]) by arlo.cworth.org (Postfix) with ESMTPS id 1A5B06DE0EB0 for ; Sun, 3 Nov 2019 16:21:14 -0800 (PST) Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTP id 77a0601f; Mon, 4 Nov 2019 00:21:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gaspard.io; h=from :to:subject:in-reply-to:references:date:message-id:mime-version :content-type; s=grym-20170528; bh=LM8kShkfcRl1ZwPjPI9yezdQlHo=; b= M8b4+zjWhunoHlrcQLGi69BTOJrYcqhaJOlHu81SHVuOTMKACqZOrNW8mCeSH/Tm g1ug8ZCk4QOYr9wn3WvJQ3verCXSooA+vtXcljxaEYN5sdQ1e7oMz4kKXlH4ZUc5 qAlos0i5npm4rll+zqiG7UemN78P1QKssU5frSJvWno= Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTPS id 973b4c1d (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 4 Nov 2019 00:21:09 +0000 (UTC) Received: from localhost (llwynog [local]) by llwynog (OpenSMTPD) with ESMTPA id 08b1a6c9; Mon, 4 Nov 2019 00:21:09 +0000 (UTC) From: Leo Gaspard To: Tristan Cacqueray , David Edmondson , notmuch@notmuchmail.org Subject: Re: notmuch-mode and org-capture In-Reply-To: <87o8xtdr11.tristanC@fedora> References: <87blttesf4.fsf@llwynog.ekleog.org> <87o8xtdr11.tristanC@fedora> Date: Mon, 04 Nov 2019 01:21:09 +0100 Message-ID: <8736f4cwzu.fsf@llwynog.ekleog.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Nov 2019 00:21:18 -0000 Tristan Cacqueray 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?