Re: Severe bug while tangling

2011-01-24 Thread Edward K. Ream
On Sat, Jan 22, 2011 at 10:21 PM, Ivanov Dmitriy wrote: >> There are plenty of workarounds. The general idea is to create a view containing clones of nodes that you want to group in some way. How convenient this is may depend on the task you want to do. In the most complicated cases, you might

Re: Severe bug while tangling

2011-01-22 Thread Ivanov Dmitriy
> There are plenty of workarounds. What are they? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com. To unsubscribe from this group, send email to leo-editor+unsubscr...@googlegroups

Re: Severe bug while tangling

2011-01-22 Thread Edward K. Ream
On Wed, Jan 19, 2011 at 9:19 AM, Ivanov Dmitriy wrote: > Is it possible to have an option to save into the file, ignoring > orphan nodes? Not without changing the design and purpose of @file nodes, and that isn't going to happen. @file (aka @thin) nodes put all essential information into the ex

Re: Severe bug while tangling

2011-01-19 Thread Ivanov Dmitriy
Thanks for explanation! Also I found this: " Every @file node with children must not leave any of its descendant nodes' body text "unused" in its expansion. This means each named node must be referenced in body text , and unamed nodes have to be collected by use of either an @all or @others dire

Re: Severe bug while tangling

2011-01-19 Thread Edward K. Ream
On Jan 18, 5:57 am, "Edward K. Ream" wrote: > On Tue, Jan 18, 2011 at 5:51 AM, Edward K. Ream wrote: > > > Using @others allows you to use clones. > > As the output of the second post-script shows, this statement is > incorrect.  Leo silently ignores the second clone.  It should generate > a wa

Re: Severe bug while tangling

2011-01-18 Thread Edward K. Ream
On Tue, Jan 18, 2011 at 5:51 AM, Edward K. Ream wrote: > Using @others allows you to use clones. As the output of the second post-script shows, this statement is incorrect. Leo silently ignores the second clone. It should generate a warning. I'm not sure just now whether this is a bug or a fe

Re: Severe bug while tangling

2011-01-18 Thread Edward K. Ream
On Tue, Jan 18, 2011 at 5:51 AM, Edward K. Ream wrote: Oops, the result of the second postscript is:: #!/usr/bin/perl #@+leo-ver=5-thin #@+node:Dmitry.20110118012853.3754: * @file test.pl #@@first #@@language perl #@@tabwidth -4 use strict; use warnings; #@+others #@+node:Dmitry.20110118012853

Re: Severe bug while tangling

2011-01-18 Thread Edward K. Ream
On Mon, Jan 17, 2011 at 5:28 PM, Ivanov Dmitriy wrote: > @nosent worked, thx. But tangling sucks. Adding @c to the start of all but the root node produces the expected result. Having said that, I would recommend @file or @nosent instead of @root. In particular, you can use @file provided that y

Re: Severe bug while tangling

2011-01-17 Thread Ivanov Dmitriy
@nosent worked, thx. But tangling sucks. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com. To unsubscribe from this group, send email to leo-editor+unsubscr...@googlegroups.com. For

Re: Severe bug while tangling

2011-01-17 Thread Ville M. Vainio
On Tue, Jan 18, 2011 at 12:38 AM, Ivanov Dmitriy wrote: > I downloaded the latest version from bazaar: > > Leo 4.8 final, build 3752, November 26, 2010 > > and created a test file: > > http://live-wtr.ru/test.zip Why not try doing the same with @nosent? -- Ville M. Vainio @@ Forum Nokia -- Yo

Severe bug while tangling

2011-01-17 Thread Ivanov Dmitriy
I downloaded the latest version from bazaar: Leo 4.8 final, build 3752, November 26, 2010 and created a test file: http://live-wtr.ru/test.zip My idea was to create the file: #!/usr/bin/perl use strict; use warnings; my $i = 1;