Hi Nicolas
On Sat, Jan 9, 2016 at 5:05 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
> Michael Brand <michael.ch.brand@gmail.com> 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
commit!
My current ERT for test-org-feed.el
(equal
"5 % Less (See\n Item \"3)\" Somewhere)"
(org-feed-format-entry
'(: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:
(equal
"5 % Less (See\n Item \"3)\" Somewhere)\n"
(let ((org-store-link-plist nil))
(org-capture-fill-template
"%(capitalize \"%i\")"
"5 % less (see\n item \"3)\" somewhere)")))
Am I doing something wrong?
Michael