You were right, I was asking about paste-node.

The thing is, in the described scenario (the node gnx's that we are going
to paste have disappeared from the outline, IE, been cut), the
paste-retaining-clones *would behave exactly as paste-node* with the
addition that the nodes would have kept their gnx (their identity) after a
cut/paste.

IMO, this would be consistent with the current results of moving nodes
through the outline (when you move a node, your gnx are stable, cut/paste
should do the same).

As you know I always wanted a permanent gnx reference, to be able to
solidly use gnx in my scripts (its very quick and easy) and I could forget
about unl's that way.

Well, guess I'll have to put it in my @commands tree :)
Thanks Edward.


On Tue, Jul 29, 2014 at 12:28 PM, Edward K. Ream <edream...@gmail.com>
wrote:

> On Thu, Jul 24, 2014 at 8:33 AM, Fidel N <fidelpe...@gmail.com> wrote:
>
> > Shouldn't paste-clone do a paste-retaining-clones by default when no more
> > nodes with same gnx are in the outline?
>
> Leo has no paste-clone command.  I assume you are asking about the
> paste-node command.
>
> Imo, the answer should be "no".  paste-node should be distinct at all
> times from paste-retaining-clones.
>
> This is an important example of the zen-of-python principle, "explicit
> is better than implicit". http://legacy.python.org/dev/peps/pep-0020/
>
> You are, of course, free to create your own paste command, say using
> @command, that works as you suggest.
>
> 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 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.
>

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

Reply via email to