emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [babel] problem removing label from src


From: Martin G. Skjæveland
Subject: [Orgmode] [babel] problem removing label from src
Date: Thu, 12 Nov 2009 08:56:09 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Hi all,

I use the -r -l option for source blocks to change the format of labels. This works in org-mode without org-babel, but this does not fully work with org-babel (and I really like org-babel, so that's a shame :) )

The following

--------------start---------
#+begin_src xml -n -r -l "<!--(ref:%s)-->"
  <test>
    <important/> <!--(ref:imp)-->
  </test>
#+end_src

Line no. [[(imp)]] is important!
--------------end---------

gives me

1:  <test>
2:    <important/> <!---->
3:  </test>
   Line no. 2 is important!


The label and reference works, but the label is not fully removed. <!----> is left behind.

Thanks!
Martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]