On Tue, 15 Jul 2014 17:50:21 -0500 "Edward K. Ream" <edream...@gmail.com> wrote:
> On Tue, Jul 15, 2014 at 7:04 AM, 'Terry Brown' via leo-editor > > > It seems that the uA persisting code really should try and save uA > > info on nodes it can't match... > > > So what I was thinking was that the orphan nodes could have an UNL > > (in > their uAs :-) which points to the best guess imported node, perhaps > with a couple of helper commands... > > There is no such thing as a "best guess". The present code will use > any unl whose tail matches any node in the @auto tree. If that > doesn't work, Leo could create such a node, and put the uA in it. I > suppose one could then have a copy uA command. Not very exciting, > imo, but it might be useful in some situations. I guess it's a question of what the uA data is - I sometimes store very valuable data in uAs, but of course up until now never on an @auto file, in fact typically not in any @<file> type. So I'm not sure what people would store on nodes in @auto files, but if for example it was notes on things that need to be done to the code, and if for example one off the notes was "remember to replace my google password with prompt for user input before release", and if the note vanished and you subsequently forgot, you might be saddened by that :-) Silly example, but it seems in general people won't want data to only persist sometimes. Of course you did have to make uAs persistent :-) I think persistent gnxs would have done it for Kent. So just general interest, what happens when you delete __init__ from class A, do its uAs get assigned to __init__ in class B? And then where do B.__init__'s uAs get assigned? I really should try the code :-) Cheers -Terry -- 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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.