From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stig Brautaset Subject: [PATCH] Clarify documentation for the %\1, .., %\N template expansion Date: Wed, 19 Oct 2016 01:26:30 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwdmd-0006qv-Cp for emacs-orgmode@gnu.org; Tue, 18 Oct 2016 19:27:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwdma-000807-5G for emacs-orgmode@gnu.org; Tue, 18 Oct 2016 19:26:59 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:49792) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bwdmZ-0007xk-VJ for emacs-orgmode@gnu.org; Tue, 18 Oct 2016 19:26:56 -0400 Received: from mfilter14-d.gandi.net (mfilter14-d.gandi.net [217.70.178.142]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 312FD172093 for ; Wed, 19 Oct 2016 01:26:54 +0200 (CEST) Received: from relay4-d.mail.gandi.net ([IPv6:::ffff:217.70.183.196]) by mfilter14-d.gandi.net (mfilter14-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id wvzeWbjqKTXL for ; Wed, 19 Oct 2016 01:26:52 +0200 (CEST) Received: from localhost (business-178-015-072-178.static.arcor-ip.net [178.15.72.178]) (Authenticated sender: mailbox@brautaset.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 551EA172095 for ; Wed, 19 Oct 2016 01:26:47 +0200 (CEST) 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" To: emacs-orgmode@gnu.org Hello! I failed to understand this part of the template expansion, and I'm hoping you will consider this an improvement. I mistook the %\n for a newline and glossed over the description. I'm hoping this makes it clearer that it's a sequence of placeholders. I haven't signed the CLA, but I'm hoping this change is small enough for that not to be necessary. (Although I don't have a problem with signing the CLA if you prefer that.) diff --git a/contrib/orgmanual.org b/contrib/orgmanual.org index 8b8ae1e..5a7904d 100644 --- a/contrib/orgmanual.org +++ b/contrib/orgmanual.org @@ -7060,10 +7060,10 @@ here: ~%^{prompt|default|completion2|completion3...}~. The arrow keys access a prompt-specific history. -- %\n :: +- %\1, %\2, ..., %\N :: - Insert the text entered at the nth %^{PROMPT}, where ~n~ is - a number, starting from 1. + Insert the text entered at the Nth %^{PROMPT}, where ~N~ is + a number starting from 1. - %? :: -- 2.8.4 (Apple Git-73)