todo.py is not referenced in any *.leo file from plugins/

3 views
Skip to first unread message

zpcspm

unread,
Mar 22, 2009, 9:10:48 AM3/22/09
to leo-editor
Is this ok?
I wanted to have a look at the source so I've tried to find the @thin
node there, but I couldn't find it. So I had to go to plugins/
directory and open todo.py in vim.
Aren't all plugins that belong to the leo distribution supposed to be
referenced in some leo outline? Perhaps I've looked in the wrong
place? Last time I've looked in the plugins/ directory there wasn't a
leoGuiPlugins.leo yet. Perhaps the old leoPlugins.leo outline was
split into more parts?

Terry Brown

unread,
Mar 22, 2009, 9:14:07 AM3/22/09
to leo-e...@googlegroups.com
On Sun, 22 Mar 2009 06:10:48 -0700 (PDT)
zpcspm <zpc...@gmail.com> wrote:

> Re: todo.py is not referenced in any *.leo file from plugins/
> Is this ok?

No, that was my mistake, I create them in leoPlugins.leo (i.e. the
editing copy bzr ignores) and then forget to move them over. I'll add
it right away.

Cheers -Terry

Terry Brown

unread,
Mar 22, 2009, 9:31:50 AM3/22/09
to leo-e...@googlegroups.com
On Sun, 22 Mar 2009 06:10:48 -0700 (PDT)
zpcspm <zpc...@gmail.com> wrote:

> Re: todo.py is not referenced in any *.leo file from plugins/

.py files in .../plugins referred to by no @thin nodes:

(*** three of them are mine, although I think at least one of those is
referenced by @shadow rather than @thin, I'll fix these now)

backlink.py ***
dyna_menu.py
dynacommon.py
exampleTemacsExtension.py
graphcanvas.py ***
gtkDialogs.py
gtkGui.py
initinclass.py
leo_interface.py
leo_pdf.py
mod_leo2ascd.py
override_commands.py
qt_main.py
qt_quicksearch.py
rst.py
rst2.py
scrolledmessage.py
searchbar.py
temacs.py
threading_colorizer.py
todo.py ***
usetemacs.py
zenity_file_dialogs.py

Terry Brown

unread,
Mar 22, 2009, 9:46:34 AM3/22/09
to leo-e...@googlegroups.com
On Sun, 22 Mar 2009 08:31:50 -0500
Terry Brown <terry_...@yahoo.com> wrote:

> (*** three of them are mine, although I think at least one of those is
> referenced by @shadow rather than @thin, I'll fix these now)

graphcanvas and backlinks.py are referenced by @shadow nodes, I'll
leave them that way unless Edward objects.

todo.py is added at r1666

Adding the @thin node was, as usual, fiddly. I tried @auto import, but
turns out I'd used @thin rather than @shadow in leoPlugins.leo, so that
didn't work. I'd already deleted leoPlugins.leo, so copy and paste was
out.

The empty @auto node I created and saved before reverting to trigger
the import very politely declined to trash the existing .py file,
good. The empty @thin node I used in the same way had no such qualms
and deleted todo.py, even though the node was empty and without
children. No problem, bzr revert todo.py and move the @thin in @thin
node that results up one level, but not a good process for the novice.

Cheers -Terry

zpcspm

unread,
Mar 22, 2009, 9:54:08 AM3/22/09
to leo-editor
On Mar 22, 3:46 pm, Terry Brown <terry_n_br...@yahoo.com> wrote:
> todo.py is added at r1666

Thank you.

PS: you have a typo in the word "version", but this has low importance.
Reply all
Reply to author
Forward
0 new messages