From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: %( in capture template Date: Wed, 11 Jan 2017 09:56:51 +0100 Message-ID: <87inpmug8c.fsf@nicolasgoaziou.fr> References: <87bmveo58e.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRGcZ-0001fd-TR for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 05:59:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRGcZ-0007dj-9F for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 05:59:12 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:46706) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cRGcZ-0007dO-41 for emacs-orgmode@gnu.org; Wed, 11 Jan 2017 05:59:11 -0500 In-Reply-To: (Samuel Wales's message of "Tue, 10 Jan 2017 17:20:51 -0700") 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: Samuel Wales Cc: Nick Dokos , emacs-orgmode@gnu.org Hello, Samuel Wales writes: > here are the entries: > > ("p" "Protocol p" entry > (file+headline "/home/org/executive--a.org" "xyzzy-remember") > "%(alpha-org-protocol-string \"%:link\" \"%:description\" > \"%i\")" :prepend t :immediate-finish t :jump-to-captured t) > ("L" "Protocol L" entry > (file+headline "/home/org/executive--a.org" "xyzzy-remember") > "%(alpha-org-protocol-string \"%:link\" \"%:description\" > \"%i\")" :prepend t :immediate-finish t :jump-to-captured t) I fixed an issue with :jump-to-captured in conjunction with a nil `org-capture-bookmark'. Now, I can use the following template without issue ("B" "BUG!" entry (file+headline "/tmp/bug-capture.org" "test") "%(concat \"* headline\" \"%:link\" \"%:description\" \"%i\")" :prepend t :immediate-finish t :jump-to-captured t) Note that `alpha-org-protocol-string' is expected to create a valid Org tree (or headline). Could you confirm it is now working as expected? Thank you. Regards, -- Nicolas Goaziou