On Fri, Feb 10, 2012 at 3:39 PM, Edward K. Ream <[email protected]> wrote:

>>> - Leo will ignore the -c option (and give a warning) if Leo is already
>>> using the configFile for either leoSettings.leo or myLeoSettings.leo.
>>
>> Right, though my naive expectations of settings is that no harm comes
>> from loading a settings file .. 10 times, each time it overrides the same
>> keys with the same values.
>
> There is a design question here.  Consider the second search order:
>
> leoSettings.leo -> myLeoSettings.leo -> -c configFile -> theFile.leo
>
> How are we to make sense of this if the configFile appears twice on
> the list?  My head wants to explode, so I think it best to avoid the
> explosion and simply issue a warning ;-)

I doubt that the print-settings command knows about config files.  It
probably should. If so, it will be useful to define the priority of
config files exactly, which means, I think, that -c files should
appear only once in the (second) search order.

EKR

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