From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Suggestion for demoting collapsed branch Date: Tue, 05 May 2009 09:36:34 -0400 Message-ID: <9522.1241530594@gamaville.dokosmarshall.org> References: <332088.92645.qm@web30406.mail.mud.yahoo.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1Kq1-0002MM-UJ for emacs-orgmode@gnu.org; Tue, 05 May 2009 09:37:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1Kpz-0002JC-UC for emacs-orgmode@gnu.org; Tue, 05 May 2009 09:37:37 -0400 Received: from [199.232.76.173] (port=46138 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1Kpz-0002Iz-PZ for emacs-orgmode@gnu.org; Tue, 05 May 2009 09:37:35 -0400 Received: from qmta05.emeryville.ca.mail.comcast.net ([76.96.30.48]:45123) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1Kpz-0004dp-7p for emacs-orgmode@gnu.org; Tue, 05 May 2009 09:37:35 -0400 In-Reply-To: Message from Kevin Haddock of "Sun, 03 May 2009 23:58:48 PDT." <332088.92645.qm@web30406.mail.mud.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Kevin Haddock Cc: emacs-orgmode@gnu.org Kevin Haddock 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- 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