From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Gaspard Subject: org-capture fails to insert link even on :immediate-finish templates Date: Sun, 03 Nov 2019 01:06:01 +0100 Message-ID: <87a79desd2.fsf@llwynog.ekleog.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38769) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iR3PD-00063e-Fa for emacs-orgmode@gnu.org; Sat, 02 Nov 2019 20:06:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iR3PC-0000Pa-G6 for emacs-orgmode@gnu.org; Sat, 02 Nov 2019 20:06:07 -0400 Received: from grym.ekleog.org ([94.23.42.210]:60410 helo=smtp.gaspard.ninja) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iR3PB-0000AW-Rz for emacs-orgmode@gnu.org; Sat, 02 Nov 2019 20:06:06 -0400 Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTP id 5311fd7c for ; Sun, 3 Nov 2019 00:06:01 +0000 (UTC) Received: by smtp.gaspard.ninja (OpenSMTPD) with ESMTPS id 1b08ef7b (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sun, 3 Nov 2019 00:06:01 +0000 (UTC) Received: from localhost (llwynog [local]) by llwynog (OpenSMTPD) with ESMTPA id 702f52da for ; Sun, 3 Nov 2019 00:06:01 +0000 (UTC) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello, I have an org-capture template with :immediate-finish t. In notmuch-mode, it looks like org-capture support is not implemented yet for the search interfaces, and so when capturing on these interfaces (without noticing), I get a capture without the link. Is it possible to make org-capture fail loudly when capturing a =:immediate-finish t= template for which all the substitutions didn't succeed, instead of just having empty strings at the substitution locations? Thank you! Leo