* Re: Org suggestion: option which allows moving subtrees freely
2009-08-11 9:36 ` Scot Becker
@ 2009-08-11 9:56 ` Carsten Dominik
2009-08-11 10:12 ` PT
2009-08-11 9:57 ` Eric S Fraga
2009-08-11 9:57 ` Giovanni Lanzani
2 siblings, 1 reply; 12+ messages in thread
From: Carsten Dominik @ 2009-08-11 9:56 UTC (permalink / raw)
To: Scot Becker; +Cc: PT, emacs-orgmode
The good reason is this:
* heading
** A child
*** a grand child
if you try to move the grand child up, the integrity of the
tree is broken because then you have
* heading
*** a grand child
** A child
Even worse if you move a child beyond the first top-level heading.
I do M-left M-up M-right to get past a parent. When moving down,
M-left M-down M-right will get you to the end of that subtree, but
otherwise it works just fine.
- Carsten
On Aug 11, 2009, at 11:36 AM, Scot Becker wrote:
> +1
>
> I always supposed there was some Good Reason (tm) for prohibiting
> this, which I hadn't yet understood, so I never asked for it before.
> But since PT asked, I'll join in.
>
> Scot
>
>
> On Tue, Aug 11, 2009 at 10:24 AM, PT<spamfilteraccount@gmail.com>
> wrote:
>> Often I want to move an item or a subtree to an other location
>> with M-up/down and I get the message "Cannot move past superior
>> level".
>>
>> I think there could be an option allowing this behavior. In
>> practice I found sometimes it would be quicker and easier to move
>> stuff under a different heading in the same file by simply using
>> Meta+cursor keys than using the refill interface.
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Org suggestion: option which allows moving subtrees freely
2009-08-11 9:56 ` Carsten Dominik
@ 2009-08-11 10:12 ` PT
2009-08-11 10:35 ` PT
0 siblings, 1 reply; 12+ messages in thread
From: PT @ 2009-08-11 10:12 UTC (permalink / raw)
To: emacs-orgmode
Carsten Dominik <carsten.dominik <at> gmail.com> writes:
>
> I do M-left M-up M-right to get past a parent. When moving down,
> M-left M-down M-right will get you to the end of that subtree, but
> otherwise it works just fine.
It seems like something which org could also do if the user sets the option.
If I move the tree up with M-up and it sees I'm at the parent heading then it
could set the header level to the same as the parent's, move the item above the
parent and leave it there, letting me do the rest of the positioning manually.
So it would spare at least an M-left for the user which doesn't seem much, but
small things add up in the long run.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Org suggestion: option which allows moving subtrees freely
2009-08-11 10:12 ` PT
@ 2009-08-11 10:35 ` PT
2009-08-11 12:04 ` Tassilo Horn
0 siblings, 1 reply; 12+ messages in thread
From: PT @ 2009-08-11 10:35 UTC (permalink / raw)
To: emacs-orgmode
PT <spamfilteraccount <at> gmail.com> writes:
>
> So it would spare at least an M-left for the user which doesn't seem much, but
> small things add up in the long run.
>
Maybe the M-right part wouldn't be too hard either. If above the
moved up header (which is now at the same level as its previous
parent header after an automatic M-left) there is an other header
on the same level then it could be put under it with an automatic
M-right.
It could spare 2 keypresses which would be a real improvement.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Org suggestion: option which allows moving subtrees freely
2009-08-11 10:35 ` PT
@ 2009-08-11 12:04 ` Tassilo Horn
0 siblings, 0 replies; 12+ messages in thread
From: Tassilo Horn @ 2009-08-11 12:04 UTC (permalink / raw)
To: emacs-orgmode
PT <spamfilteraccount@gmail.com> writes:
Hi!
>> So it would spare at least an M-left for the user which doesn't seem
>> much, but small things add up in the long run.
>>
>
> Maybe the M-right part wouldn't be too hard either. If above the moved
> up header (which is now at the same level as its previous parent
> header after an automatic M-left) there is an other header on the same
> level then it could be put under it with an automatic M-right.
>
> It could spare 2 keypresses which would be a real improvement.
I can't see that this would be a big improvement. If you want to move
the subtree that far away that the number of keystrokes invoced makes a
difference, then probably you should have used refiling in the first
run.
At least I'm one of those that would accidentially destroy the document
structure with such an automatic reparenting. ;-)
Well, as optional feature I don't have an opinion. But I think you
could add an around advice to `org-metaup' to get that behavior. Simply
ad-do-it and catch a possible error. If there was none, you are ok. If
there was one, you have to call `org-metaleft' followed by `org-metaup'
again.
Bye,
Tassilo
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Org suggestion: option which allows moving subtrees freely
2009-08-11 9:36 ` Scot Becker
2009-08-11 9:56 ` Carsten Dominik
@ 2009-08-11 9:57 ` Eric S Fraga
2009-08-11 9:57 ` Giovanni Lanzani
2 siblings, 0 replies; 12+ messages in thread
From: Eric S Fraga @ 2009-08-11 9:57 UTC (permalink / raw)
To: Scot Becker; +Cc: PT, emacs-orgmode
At Tue, 11 Aug 2009 10:36:16 +0100,
Scot Becker wrote:
>
> +1
>
> I always supposed there was some Good Reason (tm) for prohibiting
> this, which I hadn't yet understood, so I never asked for it before.
> But since PT asked, I'll join in.
+1
ditto. I often find myself doing an arbitrary sequence of M-up,
M-left, M-up, M-right, M-up, with one or more instances of each of
these actions as required, all to move past a higher level heading
/barrier/.
but I can't say I'm all that bothered, especially if there is a Good
Reason why this is not possible!
eric
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Org suggestion: option which allows moving subtrees freely
2009-08-11 9:36 ` Scot Becker
2009-08-11 9:56 ` Carsten Dominik
2009-08-11 9:57 ` Eric S Fraga
@ 2009-08-11 9:57 ` Giovanni Lanzani
2 siblings, 0 replies; 12+ messages in thread
From: Giovanni Lanzani @ 2009-08-11 9:57 UTC (permalink / raw)
To: emacs-orgmode; +Cc: ulissesroc
> +1
>
> I always supposed there was some Good Reason (tm) for prohibiting
> this, which I hadn't yet understood, so I never asked for it before.
> But since PT asked, I'll join in.
>
> Scot
>
>
> On Tue, Aug 11, 2009 at 10:24 AM, PT<spamfilteraccount@gmail.com> wrote:
>> Often I want to move an item or a subtree to an other location
>> with M-up/down and I get the message "Cannot move past superior
>> level".
>>
>> I think there could be an option allowing this behavior. In
>> practice I found sometimes it would be quicker and easier to move
>> stuff under a different heading in the same file by simply using
>> Meta+cursor keys than using the refill interface.
>>
+2
Now what I have to do in order to get it is to to M-right and then M-up,
and M-left to accomplish the same results.
Giovanni
^ permalink raw reply [flat|nested] 12+ messages in thread