Michael Brand <michael.ch.br...@gmail.com> writes: > 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?
I think you're mis-using "%i" place-holder. One feature is to repeat the leading text, so that, when you write, for example "> %i", "> " is repeated every line. Regards,