From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Org campture recursively expands %-escapes Date: Sun, 03 Jan 2016 22:07:40 +0100 Message-ID: <87bn92qsmb.fsf@nicolasgoaziou.fr> References: <874mgb9gqv.fsf@nicolasgoaziou.fr> <87d1uwpm1a.fsf@nicolasgoaziou.fr> <87610o2wkz.fsf@nicolasgoaziou.fr> <87io4kn6cn.fsf@nicolasgoaziou.fr> <87oad2qw4z.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFpqX-0008MI-1Y for emacs-orgmode@gnu.org; Sun, 03 Jan 2016 16:05:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFpqT-0006YN-RB for emacs-orgmode@gnu.org; Sun, 03 Jan 2016 16:05:48 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:59028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFpqT-0006YJ-KW for emacs-orgmode@gnu.org; Sun, 03 Jan 2016 16:05:45 -0500 In-Reply-To: (Michael Brand's message of "Sun, 3 Jan 2016 21:39:07 +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: Michael Brand Cc: Org Mode Michael Brand writes: > On Sun, Jan 3, 2016 at 8:51 PM, Nicolas Goaziou > wrote: >> >> Michael Brand writes: >> >> > release_8.3.2-350-gbd3a2cb introduces a regression of "%()" in Org >> > feed templates. See >> > - commit release_7.8.10-1057-g042db37 >> > - (commit release_7.8.10-1068-ge1d5a31) >> > - http://thread.gmane.org/gmane.emacs.orgmode/56991 >> > >> > I just wrote an ERT for this functionality, can you please add it?: >> > >> > (should >> > (string= >> > "5 % Less (See\n Item \"3)\" Somewhere)\n Of THE [[http://orgmode.org > ]]\n >> > [2016-01-02 Sat]" >> > (org-feed-format-entry >> > '(:title "5 % less (see\n item \"3)\" somewhere)" ; %h >> > :link "http://ORGMODE.org" ; %a >> > :pubDate "Sat, 02 Jan 2016 12:00:00 +0000") ; %u >> > "%(capitalize \"%h\n of\") THE %(downcase \"%a\") %u" >> > nil))) >> >> I read the thread but I'm not sure where the regression is. Could you >> elaborate on what is failing here? > > The above ERT that I would like to be added succeeds on > release_8.3.2-349-gbd79085 and fails on release_8.3.2-350-gbd3a2cb. The only error I get is a difference of indentation before the date. Am I missing something ? Regards,