From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Alan Dorman Subject: BUG: coderef labels not stripped when tangling Date: Wed, 23 Jan 2013 08:05:13 -0500 Message-ID: <87ehhcuk1i.fsf@ironicdesign.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ty012-0002fn-9g for emacs-orgmode@gnu.org; Wed, 23 Jan 2013 08:05:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ty00z-0005SA-PA for emacs-orgmode@gnu.org; Wed, 23 Jan 2013 08:05:20 -0500 Received: from portia.ironicdesign.com ([206.166.194.232]:56636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ty00z-0005Rb-KL for emacs-orgmode@gnu.org; Wed, 23 Jan 2013 08:05:17 -0500 Received: from localhost (localhost [127.0.0.1]) by portia.ironicdesign.com (Postfix) with QMQP id A26AD18A80B2 for ; Wed, 23 Jan 2013 07:05:15 -0600 (CST) Received: from ogg.local (cpe-024-211-190-016.nc.res.rr.com [24.211.190.16]) (Authenticated sender: mdorman@ironicdesign.com) by incoming.antespam.com (Postfix) with ESMTPSA id 1C0881D941A7 for ; Wed, 23 Jan 2013 07:05:14 -0600 (CST) 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: emacs-orgmode@gnu.org 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. Mike.