From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Alekseyev Subject: Tab/S-Tab cycling behavior: how to include #+begin_src and #+results blocks Date: Thu, 13 Jan 2011 18:22:38 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=37832 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdWV7-0006bi-QG for emacs-orgmode@gnu.org; Thu, 13 Jan 2011 18:22:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdWV6-0006i2-QN for emacs-orgmode@gnu.org; Thu, 13 Jan 2011 18:22:41 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:41578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdWV6-0006hn-KB for emacs-orgmode@gnu.org; Thu, 13 Jan 2011 18:22:40 -0500 Received: by fxm12 with SMTP id 12so2177843fxm.0 for ; Thu, 13 Jan 2011 15:22:39 -0800 (PST) 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: emacs-orgmode@gnu.org I rely heavily on org-cycling/org-global-cycling to see an outline view of the document. It would help if I could use #+begin_src and #+results blocks, and possibly some others, in this outline view. Specifically, I would like to be able to do the following: (a) When cycling with S-Tab, between "contents" and "show all" I would like a step where all the #+begin_src and #+results blocks are folded. I realize that they start out open and then remember their folding state; the "remembered" state of these blocks, if it is different from "all folded" or "all open", could potentially be included as another step before "show all". (b) Same when I'm cycling with Tab; I would like to have an option of showing the subtree with all #+begin_src and #+results blocks folded before showing the completely unfolded subtree. Is this possible to implement?.. Let me know! --Leo