From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: BUG: coderef labels not stripped when tangling Date: Wed, 13 Feb 2013 15:21:29 +0100 Message-ID: <878v6s9tw6.fsf@bzg.ath.cx> References: <87ehhcuk1i.fsf@ironicdesign.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5dDO-0005bE-Nt for emacs-orgmode@gnu.org; Wed, 13 Feb 2013 09:21:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5dDJ-0000Re-9y for emacs-orgmode@gnu.org; Wed, 13 Feb 2013 09:21:38 -0500 Received: from mail-wi0-f176.google.com ([209.85.212.176]:51253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5dDJ-0000RW-3X for emacs-orgmode@gnu.org; Wed, 13 Feb 2013 09:21:33 -0500 Received: by mail-wi0-f176.google.com with SMTP id hm14so5746421wib.15 for ; Wed, 13 Feb 2013 06:21:32 -0800 (PST) In-Reply-To: <87ehhcuk1i.fsf@ironicdesign.com> (Michael Alan Dorman's message of "Wed, 23 Jan 2013 08:05:13 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Alan Dorman Cc: emacs-orgmode@gnu.org Hi Michael, Michael Alan Dorman writes: > Using Org-mode to write in a literate style is a lot of fun. When I > read about coderef labels, they seemed likely to make it even better. > > The only problem is that they aren't stripped during tangling. If you > tangle this: > > #+BEGIN_SRC sh -n -r :noweb tangle :shebang #!/bin/sh :tangle tangle-test.sh > echo "Working" (ref:working) > #+END_SRC > > You end up with: > > #!/bin/sh > > echo "Working" (ref:working) > > That seems like a bug. Indeed. This show now be fixed (both in maint and master). Please let us know if not. Thanks a lot for reporting this nasty bug! -- Bastien