From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [babel] problem removing label from src Date: Thu, 12 Nov 2009 18:36:14 -0700 Message-ID: References: <4AFBBF99.1010001@ifi.uio.no> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8l5O-0002pY-Ed for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 20:36:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8l5H-0002ot-HJ for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 20:36:23 -0500 Received: from [199.232.76.173] (port=45309 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8l5H-0002oq-EZ for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 20:36:19 -0500 Received: from mail-yw0-f194.google.com ([209.85.211.194]:60469) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8l5H-0001eP-4w for emacs-orgmode@gnu.org; Thu, 12 Nov 2009 20:36:19 -0500 Received: by ywh32 with SMTP id 32so2867706ywh.14 for ; Thu, 12 Nov 2009 17:36:18 -0800 (PST) In-Reply-To: <4AFBBF99.1010001@ifi.uio.no> ("Martin G. =?utf-8?Q?Skj=C3=A6?= =?utf-8?Q?veland=22's?= message of "Thu, 12 Nov 2009 08:56:09 +0100") 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: =?utf-8?Q?Martin_G=2E_Skj=C3=A6veland?= Cc: emacs-orgmode@gnu.org Hi Martin, Thanks for pointing this out, our regular-expression was greedily consuming too much of the source block switches. I've just pushed up a change which should fix you issue. Best -- Eric "Martin G. Skj=C3=A6veland" writes: > 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 "" > > > > #+end_src > > Line no. [[(imp)]] is important! > --------------end--------- > > gives me > > 1: > 2: > 3: > Line no. 2 is important! > > > The label and reference works, but the label is not fully > removed. is left behind. > > Thanks! > Martin > > > > _______________________________________________ > 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