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 20:51:40 +0100 Message-ID: <87oad2qw4z.fsf@nicolasgoaziou.fr> References: <874mgb9gqv.fsf@nicolasgoaziou.fr> <87d1uwpm1a.fsf@nicolasgoaziou.fr> <87610o2wkz.fsf@nicolasgoaziou.fr> <87io4kn6cn.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFoex-0002VV-Ie for emacs-orgmode@gnu.org; Sun, 03 Jan 2016 14:49:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFoeu-0006ob-CN for emacs-orgmode@gnu.org; Sun, 03 Jan 2016 14:49:47 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:60802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFoeu-0006oW-6K for emacs-orgmode@gnu.org; Sun, 03 Jan 2016 14:49:44 -0500 In-Reply-To: (Michael Brand's message of "Sun, 3 Jan 2016 12:44:13 +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: Thomas Preindl , Org Mode Hello, 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? Thank you. -- Nicolas Goaziou