Hi all,
I'm having trouble expanding the '%\N' template in org-capture.
For example, with the following template:
(add-to-list 'org-capture-templates
'("t" "TEST" entry
(file+headline "~/org/test.org" "TEST")
"** TODO %?
:PROPERTIES:
:TITLE: %^{TITLE}
:AUTHOR: %^{AUTHOR}p
:END:
%\1 %\2"))
The properties are read correctly, but "%\1 %\2" expands to "%^A %^B".
Either escaping the backslashes ("%\\1 %\\2") or reading the template above
from a file throws an error:
: org-capture: Capture abort: Wrong type argument: stringp, nil
Org mode version 9.7-pre (release_9.6.29-1474-g1c5492)
Best,
Bruno.