From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: About documentation of macro replacement Date: Sat, 20 Apr 2013 13:56:00 +0200 Message-ID: <87r4i5o1pr.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTWOx-0008Th-4m for emacs-orgmode@gnu.org; Sat, 20 Apr 2013 07:56:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UTWOv-0008LN-Fg for emacs-orgmode@gnu.org; Sat, 20 Apr 2013 07:56:19 -0400 Received: from mail-we0-x231.google.com ([2a00:1450:400c:c03::231]:45948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTWOv-0008L9-8t for emacs-orgmode@gnu.org; Sat, 20 Apr 2013 07:56:17 -0400 Received: by mail-we0-f177.google.com with SMTP id o7so4501518wea.22 for ; Sat, 20 Apr 2013 04:56:16 -0700 (PDT) In-Reply-To: (xfq's message of "Sat, 20 Apr 2013 19:34:41 +0800") 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: xfq Cc: emacs-orgmode@gnu.org Hello, xfq writes: > I think info:org#Macro%20replacement should be refined. I really don't > understand what this node is talking about. It says: > > You can define text snippets with > #+MACRO: name replacement text $1, $2 are arguments > > What does "$1", "$2" mean here? It isn't mentioned before, and I only > know what it means in the spreadsheet. And it doesn't look like a > C/Lisp/m4/TeX macro. $1 and $2 are placeholders for macro arguments. $1 will be replaced by the first argument and $2 by the second one. You can provide a new phrasing for the section and we'll consider adding it to the manual. Regards, -- Nicolas Goaziou