Re: aeca2fc: @path is now valid in body text of @ nodes

2018-03-28 Thread Edward K. Ream
On Tue, Mar 27, 2018 at 8:17 PM, Edward K. Ream  wrote:

> On Tuesday, March 27, 2018 at 3:15:51 PM UTC-5, Edward K. Ream wrote:
>>
>>
>> Next, the recursive import code will insert @path directives when it is
>> safe and useful to do so, namely for imported @clean nodes.
>>
>
> Done at e0ed35f. The "add_path" keyword arg to c.recursiveImport controls
> whether the @path directive will be added.  This is true by default.
>

​I've been dithering a bit about this.  I think changing the default
behavior is ok, but It might cause surprises.  Let me know what you think.

Also, the present code adds the @path directive for all kinds of @
nodes.  Again, I think that's reasonable, but I'm not sure.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: aeca2fc: @path is now valid in body text of @ nodes

2018-03-27 Thread Edward K. Ream
On Tuesday, March 27, 2018 at 3:15:51 PM UTC-5, Edward K. Ream wrote:
>
>
> Next, the recursive import code will insert @path directives when it is 
> safe and useful to do so, namely for imported @clean nodes.
>

Done at e0ed35f. The "add_path" keyword arg to c.recursiveImport controls 
whether the @path directive will be added.  This is true by default.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


aeca2fc: @path is now valid in body text of @ nodes

2018-03-27 Thread Edward K. Ream
Previously, I have no idea why, @path directives were explicitly disallowed 
in the body text of @ nodes.

But it's actually very useful to put them there, especially when studying 
code recursively imported.  Why? Because nodes can be moved freely--they 
aren't constrained to be children of an @path node.

Next, the recursive import code will insert @path directives when it is 
safe and useful to do so, namely for imported @clean nodes.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.