On Fri, May 21, 2010 at 9:43 AM, Edward K. Ream <[email protected]> wrote:
> On Fri, May 21, 2010 at 9:22 AM, Kent Tenney <[email protected]> wrote:
>
>> Actually, I was referring to Leo's practice of pickling UAs unless
>> they are named str_xxx
>
> That's what I understood you to mean.
>
>> Pickling by default is Python-specific and unexpected if the
>> .leo file is generalized from providing persistence for Leo to
>> a datastore format. (my motivation for these suggestions)
>
> All that is necessary is that plugin writers understand and follow the
> str_ convention.  Imo, nothing more needs to happen.

Right, from inside Leo, such as plugins, one only needs know
Leo's convention for pickling UAs.

I am thinking of the .leo file as a graph datastore which is as
uncoupled as possible from Leo the editor/ide.

The pickling changes the .leo file from an XML datastore to
a _Python_ XML datastore, and reduces it's human readability.

This is a matter of "theoretical correctness" and would only be
of interest if .leo files gained some traction outside the Leo community.
I suppose that would be the right time to possibly re-visit issues such
as this, the only contraindication being the importance of first impressions.

Thanks,
Kent


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

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