On Mon, 1 Mar 2010 10:50:13 -0800 (PST)
tfer <[email protected]> wrote:

> a lot of python files organized in a package
> directory structure, a little involved to go through duplicating the
> directory structure and writing a lot of @auto filenames.

Below's the doc string for the active_path plugin.  Hmm, it appears to be 
missing docs. on the @settings which you might want to use to automate tree 
populating.

@data active_path_ignore
  list
  of file
  patterns to ignore
@data active_path_autoload
  list
  of file
  patterns to load immediately

here's the docs.:

Synchronize @path nodes with folders.

If a node is named '@path path_to_folder', the content (file and folder names)
of the folder and the children of that node will synchronized whenever
the node's status-iconbox is double clicked.

For files not previously seen in a folder a new node will appear on top of
the children list (with a mark).

Folders appear in the list as /foldername/.  If you double click on the
icon-box of the folder node, it will have children added to it based on
the contents of the folder on disk.  These folders have the '@path' directive
as the first line of their body text.

When files are deleted from the folder and the list is updated by double
clicking the files will appear in the list as *filename* (or */foldername/*).

You can describe files and directories in the body of the nodes.

You can organize files and directories with organizer nodes, an organizer
node name cannot contain with '/'.

Files and folders can be created by entering a node with the required name as 
its headline
(must start and/or end with "/" for a folder) and then double clicking on the 
node's
status-iconbox.

@auto nodes can be set up for existing files can be loaded by
double clicking on the node's status-iconbox.  If you prefer
@shadow or something else use the "active_path_attype" setting,
without the "@".

There are commands on the Plugins active_path submenu:

    - show path - show the current path
    - set absolute path - changes a node "/dirname/" to "@path 
/absolute/path/to/dirname".
    - purge vanished (recursive) - remove *entries*
    - update recursive - recursive load of directories, use with caution on 
large
      file systems

If you want to use an input other than double clicking a node's status-iconbox
set active_path_event to a value like 'iconrclick1' or 'iconclick1'.

active_path is a rewrite of the at_directory plugin to use @path directives 
(which influence
@auto and other @file type directives), and to handle sub-folders more 
automatically.

-- 
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