Hi all,
I couldn't make use of one of the template expansion, and I found that
a backslash was missing in the documentation, and now everything works
as expected. This:
%\n Insert the text entered at the nth %^{prompt}, where n is
a number, starting from 1.
should read like this
%\\nInsert the text entered at the nth %^{prompt}, where n is
a number, starting from 1.
I attached a patch,
Many thanks to all who contribute to this best software in the world,
Best,
François
>From 01dd431a07f1e236163696924acb93996e23fa2b Mon Sep 17 00:00:00 2001
From: François Allisson
Date: Sat, 11 Apr 2015 12:05:33 +0200
Subject: [PATCH] Fix documentation for org-capture template expansion
* doc/org.texi
TINYCHANGE
---
doc/org.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/org.texi b/doc/org.texi
index dfc25dc..c400f77 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -7282,7 +7282,7 @@ dynamic insertion of content. The templates are expanded in the order given her
@r{You may specify a default value and a completion table with}
@r{%^@{prompt|default|completion2|completion3...@}.}
@r{The arrow keys access a prompt-specific history.}
-%\n @r{Insert the text entered at the nth %^@{@var{prompt}@}, where @code{n} is}
+%\\n@r{Insert the text entered at the nth %^@{@var{prompt}@}, where @code{n} is}
@r{a number, starting from 1.}
%? @r{After completing the template, position cursor here.}
@end smallexample
--
2.1.4