emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-cycle Collapse and Expand
@ 2012-07-08  9:04 Esben Stien
  2012-07-12  6:30 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Esben Stien @ 2012-07-08  9:04 UTC (permalink / raw)
  To: emacs-orgmode

I find it confusing that TAB is bound to org-cycle, which cycles through
3 states. 

It first expands a node, then it expands leaf nodes and then it
collapses the node againt. 

I'd like it to just expand and collapse the current node. 

Any way to set this in some variable?. 

-- 
Esben Stien is b0ef@e     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-cycle Collapse and Expand
  2012-07-08  9:04 org-cycle Collapse and Expand Esben Stien
@ 2012-07-12  6:30 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-07-12  6:30 UTC (permalink / raw)
  To: Esben Stien; +Cc: emacs-orgmode

Hi Esben,

Esben Stien <b0ef@esben-stien.name> writes:

> I'd like it to just expand and collapse the current node. 

There is `org-show-subtree'.

You can create a new key binding like this:

  (org-defkey org-mode-map "\C-c\C-S" 'org-show-subtree)

Then TAB and C-cC-S to expand/collapse.

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-12  6:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-08  9:04 org-cycle Collapse and Expand Esben Stien
2012-07-12  6:30 ` Bastien

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).