On Wed, Jul 13, 2011 at 10:09 AM, Largo84 <[email protected]> wrote: > Recent discussions here about clones and templates got me thinking > about possible mechanisms to do more in that area with Leo.
My apologies for the delay in responding. > The goal: [Snip] This seems reasonable. The "repository" becomes the "master" data: the data in the .leo files is, to use an old Leo term, "derived" from the master data. > Current status: I think your summary is accurate enough. > Envision solution: > There are three capabilities that Leo would need that don't exist > now that could make this possible: > 1) A procedure to copy a full path-to-node to the clipboard Easily done. Naturally, any path can break. In this case the path could break in at least two ways: if the clone repository moved, or if you move the .leo file to a different machine with a different repository path. Both of these could cause problems, but let's assume that you can live with the potential problems. > 2) A persistent @template-path that is distinct from the > current @path, but operates in the same way down through its > respective tree. Easy. > 3) Some headline directive (say @t) and a procedure to sync a > remote copy back to the original. Easy enough. > I would be interested to know if this capability is desirable and > possible. I think this approach has merit. Certainly, it has no global impact on Leo. Synced nodes are simple ordinary nodes as far as Leo is concerned. They could be cloned as well, probably without any ill effects. > As for me, I would have numerous opportunities to use this > capability. Also, please correct any of my wrong assumptions or > misunderstandings. I do not have the Python knowledge to even know > where to begin to write such code as to make this work, unfortunately. I've just filed a wishlist bug referencing this conversation: https://bugs.launchpad.net/leo-editor/+bug/816996 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.
