From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Fran=C3=A7ois?= Allisson Subject: [PATCH] Tiny correction on documentation (org-capture template expansion) Date: Sat, 11 Apr 2015 12:15:03 +0200 Message-ID: <87y4lzc6ej.fsf@unil.ch> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgsPC-0000pm-UD for emacs-orgmode@gnu.org; Sat, 11 Apr 2015 06:12:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgsP9-00040Y-NP for emacs-orgmode@gnu.org; Sat, 11 Apr 2015 06:12:50 -0400 Received: from mailc.unil.ch ([130.223.27.60]:33551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgsP9-0003sz-By for emacs-orgmode@gnu.org; Sat, 11 Apr 2015 06:12:47 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org mode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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 %\\n Insert 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 --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-Fix-documentation-for-org-capture-template-expansion.patch Content-Transfer-Encoding: 8bit >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 --=-=-=--