On Mon, 4 Apr 2016 10:08:57 -0700 (PDT)
john lunzer <
lun...@gmail.com> wrote:
> I fully agree. With one caveat, after the removal of :
>
> chapter-clone-node-to
> chapter-copy-node-to
> chapter-move-node-to
>
> There is still a need for these generalized commands that work
> anywhere:
>
> clone-marked-here
> copy-marked-here
> move-marked-here
>
> I find it near impossible to move multiple nodes around in Leo. I've
> been looking for a multi-select version of copy/cut/clone for ages,
Although it doesn't move multiple nodes in one action, this is largely
the gap the "quickmove" plugin is aimed at. You mark a destination to
receive nodes, storing them either last child or first child, then go
an apply the action to the nodes you want to move. quickmove does not
follow the moved node, so you keep you place and can quickly move
multiple nodes. There's a single keyboard based destination
available, and any number of icon bar based destinations. You can
control whether nodes are moved / copied / cloned / linked to the
destination.
Cheers -Terry
> Leo should have these out of the box. Leo has clone-marked-nodes but
> I find it oddly inconvenient that it throws them at the end of the
> outline (by going down there I lose my spot in the outline, seems
> unnecessary). These generalized commands should behave just as copy
> and cut do in respect to their paste behavior. You don't really need
> the "-here" on the those commands but I was trying to differentiate
> them from the existing clone-marked-nodes.
>
> I think these new commands would offer a lot of flexibility and
> efficiency in organizing outlines (especially very large outlines).
>
> On Sunday, April 3, 2016 at 4:59:45 AM UTC-4, Edward K. Ream wrote:
> >
> > If you use Leo's chapters, please read the following carefully.
> > Unless I hear howls of protest, I'll make the following changes.
> > Don't panic, there will be ample time for comments.
> >
> > At present, Leo's supports the following chapter-related commands:
> >
> > chapter-clone-node-to
> > chapter-convert-node-to
> > chapter-copy-node-to
> > chapter-create
> > chapter-create-from-node
> > chapter-move-node-to
> > chapter-remove
> > chapter-rename
> > chapter-select
> >
> > Imo, *only *the chapter-select command is needed. It should be
> > improved, as explained in point 3 below. All other commands should
> > be removed:
> >
> > 1. The new chapters code dynamically updates the list of chapter
> > names whenever the list is needed. As a result, the user can do the
> > following commands *more easily* by creating, renaming, moving,
> > copying or deleting @chapter nodes:
> >
> > chapter-convert-node-to
> > chapter-create
> > chapter-create-from-node
> > chapter-rename
> > chapter-remove commands
> >
> > The old (brain dead) code needed these commands to update internal
> > data structures. The new code updates the structures as needed.
> >
> > 2. Now that @chapter nodes need no longer be children of an
> > @chapters nodes, it is *easier *for the user to move or clone nodes
> > between chapters using Leo existing clone, copy-node, paste-node
> > and *especially* the cffm commands. As a result, these
> > *ridiculously clumsy* commands should be retired:
> >
> > chapter-clone-node-to
> > chapter-copy-node-to
> > chapter-move-node-to
> >
> > I wonder whether anyone actually has ever used these commands. Do
> > you?
> > 3. At present, the chapter-select uses a non-standard, *clumsy*,
> > way of prompting for a chapter name. Instead, the Alt-x code should
> > have a hook that allows the chapters code to add/remove
> > chapter-select commands. So after <alt-x>chap<tab>, the user would
> > see:
> >
> > chapter-select-(chapter-name-1)
> > chapter-select-(chapter-name-2)
> >
> > that is, the list of chapter names, in alphabetical order. As
> > always, tab completion would allow the user to select the desired
> > chapter quickly.
> >
> > Furthermore, *users should be able to bind keystrokes to these
> > commands*, even though they are created dynamically. This may be a
> > bit tricky to do, but it is the *correct *thing to do. It maintains
> > the desired *illusion* of simplicity.
> >
> > *Summary*
> >
> > Imo, only the chapter-select command should remain, and it should
> > be improved as just discussed.
> >
> > Chapters are *almost* like hoists, with the following differences: