plugins config question

3 views
Skip to first unread message

Kent Tenney

unread,
Nov 16, 2008, 8:31:08 AM11/16/08
to leo-e...@googlegroups.com
I am finding that a plugin I've been using is no longer loading,
I don't yet know if it's something I did, or a change in Leo.
While investigating I found this.

The node
@settings-->Plugins-->@enabled-plugins
in config/leoSettings.leo
says

# The FIRST mention of a plugin controls whether the plugin is enable or not:
# - If the plugin's name is commented out, it is disabled, otherwise
it is enabled.
# - Plugins not appearing here are disabled.

This seems to say that if a plugin file name is commented, it cannot be enabled
by settings by @settings downstream. Is this true?

Is there a difference between a plugin file name not appearing and appearing
in a commented line?

Thanks,
Kent

Edward K. Ream

unread,
Nov 16, 2008, 10:40:42 AM11/16/08
to leo-e...@googlegroups.com
On Sun, Nov 16, 2008 at 7:31 AM, Kent Tenney <kte...@gmail.com> wrote:

> While investigating I found this.
>
> The node
> @settings-->Plugins-->@enabled-plugins
> in config/leoSettings.leo
> says
>
> # The FIRST mention of a plugin controls whether the plugin is enable or not:
> # - If the plugin's name is commented out, it is disabled, otherwise
> it is enabled.
> # - Plugins not appearing here are disabled.

This comment is obsolete. Leo now will enable a plugin if it is
mentioned in any non-commented-out line anywhere in an
@enabled-plugins node. The general consensus was that the new
behavior is much less confusing than the old.

I'll remove this comment from leoSettings.leo.

Edward

Reply all
Reply to author
Forward
0 new messages