[Top][All Lists]

[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: Sat, 9 Jan 2016 17:31:00 +0100

Hi Nicolas

On Sat, Jan 9, 2016 at 5:05 PM, Nicolas Goaziou <address@hidden> wrote:
> Michael Brand <address@hidden> writes:
> > On the other hand commit release_8.3.3-415-ge2fbaee breaks the ERT
> > that I suggested in this thread or its simplification here:
> >
> >   (progn
> >     (require 'org-feed)
> >     (equal "\"A)" (org-feed-format-entry
> >                    '(:title "\"a)") "%(capitalize \"%h\")" nil)))
> Hopefully, this is now fixed in master.

It is, thank you. Incredibly fast 11 minutes from my report to your

My current ERT for test-org-feed.el

    "5 % Less (See\n Item \"3)\" Somewhere)"
     '(:title "5 % less (see\n item \"3)\" somewhere)")
     "%(capitalize \"%h\")" nil))

works now too. What does not work yet is my backport of the above ERT
to test-org-capture.el:

    "5 % Less (See\n Item \"3)\" Somewhere)\n"
    (let ((org-store-link-plist nil))
       "%(capitalize \"%i\")"
       "5 % less (see\n item \"3)\" somewhere)")))

Am I doing something wrong?


reply via email to

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