On Mar 29, 2:04 am, thyrsus <[EMAIL PROTECTED]> wrote:
> I'm afraid I don't understand the question.

Pardon for being obscure. Here's a simple example:

--- cut here ---

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet ekr_test?>
<leo_file>
<leo_header file_format="2" tnodes="0" max_tnode_index="0"
clone_windows="0"/>
<globals body_outline_ratio="0.5">
        <global_window_position top="0" left="0" height="679" width="938"/>
        <global_log_window_position top="0" left="0" height="0" width="0"/>
</globals>
<preferences/>
<find_panel_settings/>
<vnodes>
<v t="shadow.20080329095632"><vh>@chapters</vh></v>
<v t="shadow.20080329095703" a="E" tnodeList="shadow.
20080329095703,shadow.20080329095859"><vh>@file /tmp/demo/run.py</vh>
<v t="shadow.20080329095859"><vh>&lt;&lt; imports &gt;&gt;</vh></v>
</v>
<v t="shadow.20080329095723" a="EV" tnodeList="shadow.
20080329095723,shadow.20080329095759,shadow.20080329095839"><vh>@file /
tmp/demo/mymodule.py</vh>
<v t="shadow.20080329095759" a="E"><vh>class HelloWorld</vh>
<v t="shadow.20080329095839"><vh>hello_world</vh></v>
</v>
</v>
</vnodes>
<tnodes>
<t tx="shadow.20080329095632"></t>
<t tx="shadow.20080329095703">@language python
&lt;&lt; imports &gt;&gt;

if __name__ == '__main__':
    hello = mymodule.HelloWorld()
    hello.hello_world()</t>
<t tx="shadow.20080329095723">@language python
@others</t>
<t tx="shadow.20080329095759">class HelloWorld:
    @others</t>
<t tx="shadow.20080329095839">def hello_world(self):
    print 'Hello, world!'</t>
<t tx="shadow.20080329095859">import mymodule</t>
</tnodes>
</leo_file>

--- cut here ---

I have two @file nodes in this outline. If I want to export the clean
(with sentinels removed) derived files to /tmp/demo/clean, I can make
the following changes:

"@file / tmp/demo/run.py" -> "@nosent / tmp/demo/clean/run.py"
"@file / tmp/demo/mymodule.py" -> "@nosent / tmp/demo/clean/
mymodule.py"

and save the outline.

So my question is: is it possible to get the clean derived files
without having to convert manually each @file node in the outline to a
@nosent node? The reason for this is that I can have hundreds of
derived files and I might need clean snapshots often.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to