emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: MidLifeXis at PerlMonks <midlifexis@wightmanfam.org>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Regression bug in tangle/weave
Date: Thu, 30 Jun 2011 08:24:05 -0700 (PDT)	[thread overview]
Message-ID: <1309447445.43453.YahooMailNeo@web81602.mail.mud.yahoo.com> (raw)

It appears that there may be a regression problem with the current tangle/weave process.  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 autogenerated header section that included those two pieces of information on a single line.  Following is an org file snippet of my bug description.

* Bugs
** SOMEDAY org-mode bug with tangle and newlines      :BUG:
   :created: [2011-06-30 Thu 10:00]
   :ID: e4c992b5-4d35-443b-b34a-0fbda7c66aea
   - Added on [2011-06-30 Thu 10:00]
   [2011-06-30 Thu]

   A regression bug has surfaced in org-mode with the tangle/weave
   process mangling the following setup:

   #+begin_src perl :noweb yes :tangle testoutput.pl :shebang #!perl
   # <<generated-from>>
   print "Hello world\n";

   #+srcname: generated-from
   #+begin_src text :noweb yes
   Generated from <<file-name>> version <<file-version>>.

   #+srcname: file-name
   #+begin_src text :noweb yes

   #+srcname: file-version
   #+begin_src text :noweb yes

   The last it worked* was sometime in the early 7.4 timeframe.  If I
   get some time, I may do a bisect on it, although others are welcome
   to do the work required.  Timeframe is based on memory, not
   actual checking, so first a bisect needs to be done to find where
   it last worked.

*** Actual output

#+begin_src perl

# Generated from ATestFile.org
# Generated from  version
# Generated from <<file-name>> version .
print "Hello world\n";

*** Expected output (or at least similar)

#+begin_src perl

# Generated from ATestFile.org version

print "Hello world\n";

* End of org file

             reply	other threads:[~2011-06-30 15:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-30 15:24 MidLifeXis at PerlMonks [this message]
2011-06-30 18:30 ` Regression bug in tangle/weave Eric Schulte
2011-07-01 12:51   ` MidLifeXis at PerlMonks
2011-07-01 19:14     ` Eric Schulte
2011-07-01 20:40       ` MidLifeXis at PerlMonks
2011-07-01 21:36         ` Eric Schulte
2011-07-05 12:56         ` MidLifeXis at PerlMonks
2011-07-05 15:17           ` Eric Schulte
2011-07-09 16:14   ` Neeum Zawan
2011-07-10 15:46     ` Eric Schulte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1309447445.43453.YahooMailNeo@web81602.mail.mud.yahoo.com \
    --to=midlifexis@wightmanfam.org \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).