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 23:39:25 +0100 Message-ID: <1460327965.3014477.574571857.1CF77AAA@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]:50273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apO0x-0003AU-DR for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 18:39:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apO0t-0003Sq-D6 for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 18:39:31 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:36279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apO0t-0003SL-8u for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 18:39:27 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 4B46120634 for ; Sun, 10 Apr 2016 18:39:26 -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 Nicolas, Upgraded to org 8.3.4, made no difference. But I have just now realised what the problem is! I have been using org-demote-subtree, not org-demote , Meta-Shift-Right, not Meta-Right. And org-demote does indeed work on an active region for me. I suppose you could argue that org-demote-subtree ought to do the same, but (a) there's no need and (b) there might be a question about what is meant by 'subtrees' in a region. Doh! Thanks for your help. 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