emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org campture recursively expands %-escapes


From: Michael Brand
Subject: Re: [O] Org campture recursively expands %-escapes
Date: Sun, 3 Jan 2016 21:39:07 +0100

Hi Nicolas

On Sun, Jan 3, 2016 at 8:51 PM, Nicolas Goaziou <address@hidden> wrote:
>
> Michael Brand <address@hidden> 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.

Michael

reply via email to

[Prev in Thread] Current Thread [Next in Thread]