On Sat, Oct 9, 2010 at 2:34 AM, zpcspm <[email protected]> wrote: > I learned to ignore the diffs related to the header of the outline - I > just don't look at them.
I assume you are talking about the a="E" attribute of <v> elements in .leo files :-) > I will be extremely happy if one day that data goes away from the > outline header. I don't see anymore how the persistence of expanded > nodes has a major positive impact. In fact, it does. This is non-negotiable. However, there are at least two ways of minimizing diffs in the .leo file: 1. Put a list of expanded nodes into the <globals> element of .leo files. 2. Put a list of expanded nodes into a local cache, separate from either .leo files or external files. The first is more "persistent", but the second is better for diff. Caching of *non-essential* info such as expansion "bits" could have been done at any time after Ville created his brilliant caching scheme. You post convinces me that such caching is very important. Imo, we can live with expanding only the ancestors of the selected node in the (rare!) cases in which the cache for a .leo file becomes invalid. So this is good. Thanks for your suggestion. I've created the following bug to remind me: https://bugs.launchpad.net/leo-editor/+bug/657334 As you can see, the bug has high priority. 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.
