From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Quickly fold/unfold a node Date: Wed, 12 Sep 2012 17:27:34 +0200 Message-ID: <87wqzzxnvd.fsf@altern.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBoqw-0004Ol-50 for emacs-orgmode@gnu.org; Wed, 12 Sep 2012 11:27:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBoqm-0006Dc-Hw for emacs-orgmode@gnu.org; Wed, 12 Sep 2012 11:27:46 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:38308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBoqm-0006DV-CK for emacs-orgmode@gnu.org; Wed, 12 Sep 2012 11:27:36 -0400 Received: by wgbdt14 with SMTP id dt14so1148554wgb.30 for ; Wed, 12 Sep 2012 08:27:35 -0700 (PDT) In-Reply-To: (Giacomo M.'s message of "Wed, 12 Sep 2012 17:16:37 +0200") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giacomo M Cc: emacs-orgmode@gnu.org Hi Giacomo, Giacomo M writes: > I would like to quickly go from FOLDED to CHILDREN to FOLDED skipping > the SUBTREE step in the visibility cycle (especially for the cases > when CHILDREN and SUBTREE are the same). > Any suggestion on how to do it would be very appreciated, You can bind `org-show-subtree' to a key like this: (define-key org-mode-map (kbd "\C-cs") 'org-show-subtree) Hitting `C-c s' will then show the complete subtree. Hitting TAB again on the headline will fold it. HTH, -- Bastien