emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Fabrice Popineau <fabrice.popineau@gmail.com>
To: Fabrice Popineau <fabrice.popineau@gmail.com>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Status of macro expansion
Date: Thu, 6 Aug 2015 18:10:59 +0200	[thread overview]
Message-ID: <CAFgFV9MFL9zpKXt63egTeAp=iBgmTQKZg_3Wp5fX8WA3BrqLCw@mail.gmail.com> (raw)
In-Reply-To: <87r3ngflpc.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

2015-08-06 18:03 GMT+02:00 Nicolas Goaziou <mail@nicolasgoaziou.fr>:

>
> AFAICT the first macro is correctly expanded. What makes you think it
> doesn't work?
>

Arrgh. My mistake.
It expands as I expected if I write the macro as:

#+MACRO: leftcolumn @@html:<div class="left">@@$1@@html:</div>@@


However, macros, being objects, cannot cross paragraphs. The second
> example is really 2 paragraphs, not a macro containing two lines.
>
>
Ok, so thanks for the confirmation (looking into old mails from the list,
that might have work at some point quite far in the past).

Fabrice

[-- Attachment #2: Type: text/html, Size: 1197 bytes --]

      reply	other threads:[~2015-08-06 16:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-06 15:52 Status of macro expansion Fabrice Popineau
2015-08-06 16:03 ` Nicolas Goaziou
2015-08-06 16:10   ` Fabrice Popineau [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='CAFgFV9MFL9zpKXt63egTeAp=iBgmTQKZg_3Wp5fX8WA3BrqLCw@mail.gmail.com' \
    --to=fabrice.popineau@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).