On Tue, Jun 23, 2009 at 7:55 PM, Graham Chiu <[email protected]> wrote:
>
> Except that now I am getting structure comments appearing in my
> tangled code even with the @silent directive before my @root directive
>
> eg: I now see amongst my tangled code
>
> # << Rebol Header >> (1 of 3)
>
> I didn't see this with 4.5.1 final which is what I have been using.
Hmm. I don't recall changing anything significant in the tangle code for a
long time, and I have essentially no memory of the details of the code.
There doesn't seem to be a relevant setting in leoSettings.leo.
So let's look at the code in leoTangle.py Tangle pass 2 does the output.
put_section looks like the place where the comment will be written.
Yes, I see a section called << put the section name in a comment >>. It is
called like this:
if self.print_mode != "silent":
<< Put the section name in a comment >>
Lets look again at where print_mode is set. Now we are getting somewhere.
It is inited to "verbose" in an init section. Let's look further. By happy
chance, I see print_mode_changed in tangle.scanAllDirectives.
This is the answer: I rewrote scanAllDirectives, and the init of print_mode
got deleted. I'll fix this for the next release. I'll probably have to dig
back through the archives to discover how users set it. Or maybe read the
docs :-)
Edward
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---