emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] <M-S-left/right> changed?


From: Nick Dokos
Subject: Re: [O] <M-S-left/right> changed?
Date: Wed, 09 Jan 2013 22:40:52 -0500

James Harkins <address@hidden> wrote:

> It seems the behavior of <M-S-left> and <M-S-right> has changed.
> Previously, if I selected multiple subtrees and hit M-S-right, all the
> subtrees in the region would be demoted (or promoted, if I hit left
> instead). Now, the behavior is identical to <M-left/right>: only the
> subtree at the point is moved.
> 

I get different behavior from what you describe, with Org-mode
version 7.9.2 (release_7.9.2-948-gab17f9 @
/home/nick/elisp/org-mode/lisp/) and also going back to the version you
mention below and also 7.9.2 for good measure:

M-S-right behaves as you describe (it demotes the current subtree) but
M-right demotes all the headings in the region (nb: *not* subtrees necessarily,
unless the region encompasses the whole subtree). AFAICT, this has been
the case for ever. Cursory examination of the code confirms that this is
expected behavior and checking commit logs on org.el back to Dec. 11 did
not unearth anything (but I am exhausted, so you should apply appropriate
levels of salinity).

So maybe I'm doing things wrong, but I cannot duplicate your results and
I don't see any change in bahavior since 7.9.2. Perhaps you can try it
again, perhaps somebody else can confirm (your story or my story, as the
case might be).

HTH,
Nick

> Example:
> 
> * One
> * Two
> * Three
> * Four
> 
> If I position the point at the beginning of the "Two" line, and then
> hit C-space down down, the region encompasses both headings. I
> expected <M-S-right> to change both into second level entries.
> Instead, it demotes "Four" (which is not even in the region).
> 
> Intentional decision, or regression? I would argue the latter. The old
> behavior was quite useful and I don't know how to get it back.
> 
> My current version is:
> 
> Org-mode version 7.9.2 (release_7.9.2-882-gf47a71.dirty @
> /home/dlm/share/org-mode.git/lisp/)
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]