On Wednesday, June 28, 2017 at 11:53:42 AM UTC-5, vitalije wrote: So Leo actually reads four Leo documents before it starts opening your > document and it read it twice. >
When I open ekr.leo, I see the following: reading settings in C:\leo.repo\leo-editor\leo\config\leoSettings.leo reading settings in C:\Users\edreamleo\.leo\myLeoSettings.leo reading settings in C:\Users\edreamleo\ekr.leo So Leo opens *two* documents (the settings files) before opening ekr.leo, and then Leo reads ekr.leo twice. Is it really necessary? It is if we insist on present scheme for dealing > with settings. OTOH if Leo document was database it could contain all > settings in one place and even if we want to have settings per machine/per > user/ per folder and per document it can be done with no effort. We simply > need to open and attach several databases. Sqlite allows that out of the > box. > Or Leo could cache leoSettings.leo and myLeoSettings.leo, pretty much as described in #511 <https://github.com/leo-editor/leo-editor/issues/511>. The cache could even be a sqlite db. Edward -- 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 https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.