From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Stegemann Subject: Macros broken Date: Mon, 22 Jun 2009 14:02:51 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MIiF1-0000u7-Vx for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 08:03:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIiEx-0000o6-1Q for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 08:03:15 -0400 Received: from [199.232.76.173] (port=45023 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIiEw-0000nQ-8L for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 08:03:10 -0400 Received: from main.gmane.org ([80.91.229.2]:33065 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MIiEv-0001ZJ-Fi for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 08:03:09 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MIiEs-00049D-2V for emacs-orgmode@gnu.org; Mon, 22 Jun 2009 12:03:06 +0000 Received: from london.zeitform.net ([146.140.213.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Jun 2009 12:03:06 +0000 Received: from ulf-news by london.zeitform.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Jun 2009 12:03:06 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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--- [...]

1 baz

ACR

[...] --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