On Tuesday, February 7, 2012 11:55:49 PM UTC+7, Terry wrote:
>
>
> >> is there a recommended way to use Leo (presumably with activepath) so 
> that I can automate bringing the whole dirstruc tree in so that it's all 
> "read-only" AFA Leo is concerned? I then want to be able to refactor 
> externally - rename folders and files, add/delete move directory branches 
> around in the filesystem, maybe not open Leo for weeks, and then when I do, 
> everything is updated and brought in in sync.
>
> Of the top of my head response - I think there's a setting for active_path 
> that lets you specify which kind of @<file> node is used
> for importing files.  It's possibly, if my import approach was quick and 
> dirty enough :-) that you could get away with setting that to
> "@view", and you'll just get the file contents loaded into a node which 
> will never write anything (because @view isn't a real @<file> type).
>
That's very helpful thanks, I hadn't caught that directive.

Apparently it's only mentioned 
here<http://webpages.charter.net/edreamleo/plugins.html#at-view-py>- perhaps it 
should be added to the more general pages, perhaps 
here<http://webpages.charter.net/edreamleo/directives.html#part-1-file-directives>?

If that's no good, then I'll try @shadow (which I've been using without any 
apparent trouble) with the read-only plugin. . .

For updating, as long as you're sure there's nothing in the tree you want, 
> you can just delete the whole thing and have active_path load it again. 
>  When you do an update it marks nodes for files which are no longer present 
> with asterisks, that might be useful for checking for things in Leo not 
> present on the filesystem.
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/leo-editor/-/PtUAo2H72noJ.
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