emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: xfq <xfq.free@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: About documentation of macro replacement
Date: Sat, 20 Apr 2013 13:56:00 +0200	[thread overview]
Message-ID: <87r4i5o1pr.fsf@gmail.com> (raw)
In-Reply-To: <CAAF+z6Go6xd-HL4YZxg1+d19P7eCK_pjnCvd5tDbJXQC0oLu7A@mail.gmail.com> (xfq's message of "Sat, 20 Apr 2013 19:34:41 +0800")

Hello,

xfq <xfq.free@gmail.com> 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

      reply	other threads:[~2013-04-20 11:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-20 11:34 About documentation of macro replacement xfq
2013-04-20 11:56 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r4i5o1pr.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=xfq.free@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).