From mboxrd@z Thu Jan 1 00:00:00 1970 From: MidLifeXis at PerlMonks Subject: Regression bug in tangle/weave Date: Thu, 30 Jun 2011 08:24:05 -0700 (PDT) Message-ID: <1309447445.43453.YahooMailNeo@web81602.mail.mud.yahoo.com> Reply-To: MidLifeXis at PerlMonks Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcJ6C-00009P-55 for emacs-orgmode@gnu.org; Thu, 30 Jun 2011 11:24:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcJ6A-0002cJ-KP for emacs-orgmode@gnu.org; Thu, 30 Jun 2011 11:24:11 -0400 Received: from nm22-vm0.access.bullet.mail.mud.yahoo.com ([66.94.236.137]:47619) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QcJ6A-0002bz-7i for emacs-orgmode@gnu.org; Thu, 30 Jun 2011 11:24:10 -0400 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 It appears that there may be a regression problem with the current tangle/w= eave process.=A0 I used to be able to have a noweb section for the name of = the file, another for the version of the file, and then have an autogenerat= ed header section that included those two pieces of information on a single= line.=A0 Following is an org file snippet of my bug description.=0A=0A=0A*= Bugs=0A** SOMEDAY org-mode bug with tangle and newlines=A0=A0=A0=A0=A0 :BU= G:=0A=A0=A0 :PROPERTIES:=0A=A0=A0 :created: [2011-06-30 Thu 10:00]=0A=A0=A0= :ID: e4c992b5-4d35-443b-b34a-0fbda7c66aea=0A=A0=A0 :END:=0A=A0=A0 :LOGBOOK= :=0A=A0=A0 - Added on [2011-06-30 Thu 10:00]=0A=A0=A0 :END:=0A=A0=A0 [2011-= 06-30 Thu]=0A=0A=A0=A0 A regression bug has surfaced in org-mode with the t= angle/weave=0A=A0=A0 process mangling the following setup:=0A=0A=A0=A0 #+be= gin_src perl :noweb yes :tangle testoutput.pl :shebang #!perl=0A=A0=A0 # <<= generated-from>>=0A=A0=A0 print "Hello world\n";=0A=A0=A0 #+end_src=0A=0A= =A0=A0 #+srcname: generated-from=0A=A0=A0 #+begin_src text :noweb yes=0A=A0= =A0 Generated from <> version <>.=0A=A0=A0 #+end_s= rc=0A=0A=A0=A0 #+srcname: file-name=0A=A0=A0 #+begin_src text :noweb yes=0A= =A0=A0 ATestFile.org=0A=A0=A0 #+end_src=0A=0A=A0=A0 #+srcname: file-version= =0A=A0=A0 #+begin_src text :noweb yes=0A=A0=A0 1.2.3.4=0A=A0=A0 #+end_src= =0A=0A=A0=A0 The last it worked* was sometime in the early 7.4 timeframe.= =A0 If I=0A=A0=A0 get some time, I may do a bisect on it, although others a= re welcome=0A=A0=A0 to do the work required.=A0 Timeframe is based on memor= y, not=0A=A0=A0 actual checking, so first a bisect needs to be done to find= where=0A=A0=A0 it last worked.=0A=0A=0A*** Actual output=0A=0A#+begin_src = perl=0A#!perl=0A=0A# Generated from ATestFile.org=0A# Generated from=A0 ver= sion 1.2.3.4=0A# Generated from <> version .=0A# =0Aprint "Hello= world\n";=0A#+end_src=0A=0A*** Expected output (or at least similar)=0A=0A= #+begin_src perl=0A#!perl=0A=0A# Generated from ATestFile.org version 1.2.3= .4.=0A=0Aprint "Hello world\n";=0A#+end_src=0A=0A* End of org file=0A