emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ron Mitchell <ron@ronmitchell.co.uk>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Promote/demote an Active Region
Date: Sun, 10 Apr 2016 23:39:25 +0100	[thread overview]
Message-ID: <1460327965.3014477.574571857.1CF77AAA@webmail.messagingengine.com> (raw)
In-Reply-To: <87h9fandy1.fsf@nicolasgoaziou.fr>

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 <mail@nicolasgoaziou.fr>
To: Ron Mitchell <ron@ronmitchell.co.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: Promote/demote an Active Region
Date: Sun, 10 Apr 2016 09:03:02 +0200

Hello,

Ron Mitchell <ron@ronmitchell.co.uk> 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

      parent reply	other threads:[~2016-04-10 22:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-09 15:52 Promote/demote an Active Region Ron Mitchell
2016-04-09 19:37 ` Uwe Koloska
2016-04-10  7:03 ` Nicolas Goaziou
2016-04-10 16:07   ` Ron Mitchell
2016-04-10 20:39     ` Nicolas Goaziou
2016-04-10 22:39   ` Ron Mitchell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1460327965.3014477.574571857.1CF77AAA@webmail.messagingengine.com \
    --to=ron@ronmitchell.co.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).