emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Kevin Haddock <kevinhaddock@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Suggestion for demoting collapsed branch
Date: Tue, 05 May 2009 09:36:34 -0400	[thread overview]
Message-ID: <9522.1241530594@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Kevin Haddock <kevinhaddock@yahoo.com> of "Sun, 03 May 2009 23:58:48 PDT." <332088.92645.qm@web30406.mail.mud.yahoo.com>

Kevin Haddock <kevinhaddock@yahoo.com> wrote:

> 
> When a branch is collapsed (e.g. invisible), demoting the header should demote all the subnodes also.
> 
> For example, if I have:
> 
> * a
> * b
> * c
> ** ca
> ** cb
> ** cd
> * d
> 
> and I have the cursor on * c and hit alt-right it would just demote *
> c to ** c, but if c is collapsed ('* c...') hitting alt-right on it
> should demote * c to ** c but when I expand * c, ** ca should now be
> *** ca, ** cb should be *** cb, etc...
> 
> This way I can quickly demote whole sections of the tree by just
> collapsing them.  I would think this would be the expected behavior.
> Perhaps I am missing a mechanism to easily do it.  I am pretty new to
> org-mode.

Have you tried M-S-<right> on the heading to be demoted? Or from the Org
menu, Edit Structure/Demote Subtree? Eventually, you get the key combo into
your fingers and then it's quicker than "collapse, demote, uncollapse"
would be, although I admit that your idea has a certain elegance -
the fly in the ointment is how hard it would be to implement and that
I am in no position to evaluate.

> 
> Thanks for the otherwise great utility,
> 

Whatchoo mean "otherwise"? :-) Just kidding :-)

Nick

  reply	other threads:[~2009-05-05 13:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-04  6:58 Suggestion for demoting collapsed branch Kevin Haddock
2009-05-05 13:36 ` Nick Dokos [this message]
2009-05-05 14:18 ` Sebastian Rose

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=9522.1241530594@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kevinhaddock@yahoo.com \
    /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).