From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Org campture recursively expands %-escapes Date: Sun, 29 Nov 2015 17:00:24 +0100 Message-ID: <87io4kn6cn.fsf@nicolasgoaziou.fr> References: <874mgb9gqv.fsf@nicolasgoaziou.fr> <87d1uwpm1a.fsf@nicolasgoaziou.fr> <87610o2wkz.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34N6-0004mr-DA for emacs-orgmode@gnu.org; Sun, 29 Nov 2015 10:58:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a34N3-00041J-5W for emacs-orgmode@gnu.org; Sun, 29 Nov 2015 10:58:40 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:53983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a34N3-00041C-0E for emacs-orgmode@gnu.org; Sun, 29 Nov 2015 10:58:37 -0500 In-Reply-To: <87610o2wkz.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 27 Nov 2015 00:02:36 +0100") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: Thomas Preindl , emacs-orgmode@gnu.org >> i think i understand. maybe we need another way to pass %i. > > I guess we could restict "%()" evaluation to the Sexp defined in the > initial template. I committed a patch along those lines in master. Please let me know if anything goes wrong with capture templates.