emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Macros broken
@ 2009-06-22 12:02 Ulf Stegemann
  2009-06-22 12:48 ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Ulf Stegemann @ 2009-06-22 12:02 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Macros broken
  2009-06-22 12:02 Macros broken Ulf Stegemann
@ 2009-06-22 12:48 ` Carsten Dominik
  2009-06-22 14:46   ` Ulf Stegemann
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2009-06-22 12:48 UTC (permalink / raw)
  To: Ulf Stegemann; +Cc: emacs-orgmode

Fixed, thanks.

- Carsten

On Jun 22, 2009, at 2:02 PM, Ulf Stegemann wrote:

> 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
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Macros broken
  2009-06-22 12:48 ` Carsten Dominik
@ 2009-06-22 14:46   ` Ulf Stegemann
  2009-06-23  3:57     ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Ulf Stegemann @ 2009-06-22 14:46 UTC (permalink / raw)
  To: emacs-orgmode

Hi Carsten,

Carsten Dominik <carsten.dominik@gmail.com> wrote:

> Fixed, thanks.

great! Thank you. But you know that with your quick responses you feed
the rumours about multiple Carstens being out there :)

Ulf

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Re: Macros broken
  2009-06-22 14:46   ` Ulf Stegemann
@ 2009-06-23  3:57     ` Carsten Dominik
  2009-06-23  6:58       ` Ulf Stegemann
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2009-06-23  3:57 UTC (permalink / raw)
  To: Ulf Stegemann; +Cc: emacs-orgmode


On Jun 22, 2009, at 4:46 PM, Ulf Stegemann wrote:

> Hi Carsten,
>
> Carsten Dominik <carsten.dominik@gmail.com> wrote:
>
>> Fixed, thanks.
>
> great! Thank you. But you know that with your quick responses you feed
> the rumours about multiple Carstens being out there :)

Are you talking to me?  Or to the other one???

:-)

- Carsten

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Macros broken
  2009-06-23  3:57     ` Carsten Dominik
@ 2009-06-23  6:58       ` Ulf Stegemann
  0 siblings, 0 replies; 5+ messages in thread
From: Ulf Stegemann @ 2009-06-23  6:58 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <carsten.dominik@gmail.com> wrote:

> On Jun 22, 2009, at 4:46 PM, Ulf Stegemann wrote:
>
>> Hi Carsten,
>>
>> Carsten Dominik <carsten.dominik@gmail.com> wrote:
>>
>>> Fixed, thanks.
>>
>> great! Thank you. But you know that with your quick responses you feed
>> the rumours about multiple Carstens being out there :)
>
> Are you talking to me?  Or to the other one???

The other *one*? You mean there are only two of you???

Ulf

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-23  6:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-22 12:02 Macros broken Ulf Stegemann
2009-06-22 12:48 ` Carsten Dominik
2009-06-22 14:46   ` Ulf Stegemann
2009-06-23  3:57     ` Carsten Dominik
2009-06-23  6:58       ` Ulf Stegemann

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).