On Saturday, June 9, 2018 at 7:58:24 AM UTC-5, Terry Brown wrote: The freelayout machinery also writes to c.db to associate layout with > outline, and maybe g.db to store layouts. The qdock based layout system is > different but still needs something like c.db. >
Thanks for this. I have just created #925 <https://github.com/leo-editor/leo-editor/issues/925>, revise caching for the fast-read branch. The initial plans did not survive the first contact with the code ;-) The first idea was to eliminate everything *except* the .leo/db/globals folder, but that's unlikely to be a good idea. Instead, we can eliminate the .leo/db/globals folder by reserving the "leo_globals" prefix for global data, which will then be written to the appropriate per-file caching folders. After reviewing the code, it appears that g.enableDB flag will become unused, so --no-cache can be eliminated. *Summary* Plugins can continue to set setting c.db as they like. All keys starting with "leo_" will be reserved for Leo's core. No conflicts exist at present. The --no-cache option can probably be eliminated, but this is not certain yet. 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
