emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ulf Stegemann <ulf-news@zeitform.de>
To: emacs-orgmode@gnu.org
Subject: Macros broken
Date: Mon, 22 Jun 2009 14:02:51 +0200	[thread overview]
Message-ID: <zf.upn1vpc4gt0.fsf@zeitform.de> (raw)

Hi,

with today's version of Org mode and CVS Emacs (23.1.50.1) macro
expansion seems to be broken. An org file like

--8<--------------------------snip-------------------------->8---
#+MACRO: foo BAR

* baz

{{{foo}}}
--8<--------------------------snap-------------------------->8---

exported to HTML produces

--8<--------------------------snip-------------------------->8---
[...]

<div id="outline-container-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> baz </h2>
<div class="outline-text-2" id="text-1">


<p>
ACR
</p></div>

[...]
--8<--------------------------snap-------------------------->8---

The `ACR' origins from the first line of the file, i.e. different first
lines result in different expansions.

I'm not aware of any settings I have that should influence macro
handling, so I guess this is reproduce-able.

Ulf

             reply	other threads:[~2009-06-22 12:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-22 12:02 Ulf Stegemann [this message]
2009-06-22 12:48 ` Macros broken Carsten Dominik
2009-06-22 14:46   ` Ulf Stegemann
2009-06-23  3:57     ` Carsten Dominik
2009-06-23  6:58       ` Ulf Stegemann

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=zf.upn1vpc4gt0.fsf@zeitform.de \
    --to=ulf-news@zeitform.de \
    --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).