On Thu, Dec 4, 2014 at 11:35 AM, 'Terry Brown' via leo-editor <
leo-editor@googlegroups.com> wrote:

Unless I'm missing something, that's what @path nodes are supposed to
> do.  If you created a @edit file.txt under the @path node, the text
> directory would be created for saving file.txt in.
>
> http://leoeditor.com/directives.html
>

​This is a programming mistake by the OP.  c.fileName produces::

   <bound method Commands.fileName of Commander
   139748683191376: u'/path/to/your/outline.leo'>

which just happens to end in a something that kinda looks like a path, but
also contains cruft that could, and probably will, confuse
g.os_path_abspath.

To repeat, instead of c.filename, the OP should use c.fileName().

EKR

-- 
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to