From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ron Mitchell Subject: Re: Promote/demote an Active Region Date: Sun, 10 Apr 2016 17:07:18 +0100 Message-ID: <1460304438.2938682.574358889.4E88BCE5@webmail.messagingengine.com> References: <87h9fandy1.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apHz8-0006yW-40 for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 12:13:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apHz4-0002rI-UE for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 12:13:14 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apHz4-0002n4-Q9 for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 12:13:10 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id ABF5520606 for ; Sun, 10 Apr 2016 12:07:18 -0400 (EDT) In-Reply-To: <87h9fandy1.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hi Nicolas, Thanks, that's interesting. When I do Meta-Shift-Right on your example (with, as in yours, the region set to the first two lines): * H1 ** H11 * H2 I get * H1 *** H11 * H2 It's not a problem with key binding, because I get the same result if I execute the command 'org-demote-subtree'. Regards Ron ----- Original message ----- From: Nicolas Goaziou To: Ron Mitchell Cc: emacs-orgmode@gnu.org Subject: Re: Promote/demote an Active Region Date: Sun, 10 Apr 2016 09:03:02 +0200 Hello, Ron Mitchell writes: > In "2.5 Structure Editing" the org info manual says > > "When there is an active region (Transient Mark mode), promotion and > demotion work on all headlines in the region." > > That doesn't work for me. Only the line at point is pro- or de- moted. I cannot reproduce it. E.g., in the following document, where region boundaries are marked with |, |* H1 ** H11| * H2 using M-Right gives ** H1 *** H11 * H2 Regards, -- Nicolas Goaziou