Leo's startup code is extremely complex.  It is becoming urgent to
simplify it.

Now is the time to do it, while many of the details of configuration
handling are fresh in my mind.

This will not be a simple project: there are many complex details that
are simply unavoidable.

However, the present code is surely needlessly complex in several
respects.  The most glaring is that Leo reads "local" files twice.
(Local files specified on the command line.)  This creates difficult
complications for the configuration code:  the configuration settings
read in the first read must somehow be "bridged" over to the commander
created in the second reading.

It's a mess.  It happened, presumably, because the gui was once a user
setting.  Now it's a command-line arg, which breaks a circular
dependency:  Leo can now load files completely without knowing
settings.

Anyway, I have to take a detour and do this now.  It may take several
days.  I'll probably create a new LoadManager class to help hide the
details.

Edward

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