From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Tab/S-Tab cycling behavior: how to include #+begin_src and #+results blocks Date: Fri, 11 Feb 2011 13:18:26 +0100 Message-ID: <87aai2vk6l.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=36083 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnrxe-0003CP-Tk for emacs-orgmode@gnu.org; Fri, 11 Feb 2011 07:18:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pnrx8-0001js-EK for emacs-orgmode@gnu.org; Fri, 11 Feb 2011 07:18:23 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:34973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pnrx8-0001jX-3K for emacs-orgmode@gnu.org; Fri, 11 Feb 2011 07:18:22 -0500 Received: by fxm12 with SMTP id 12so2784515fxm.0 for ; Fri, 11 Feb 2011 04:18:21 -0800 (PST) In-Reply-To: (Leo Alekseyev's message of "Thu, 13 Jan 2011 18:22:38 -0500") 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: Leo Alekseyev Cc: emacs-orgmode@gnu.org Hi Leo, Leo Alekseyev writes: > 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. Not what you're asking for, but this might help: ,----[ org-hide-block-startup ] | Documentation: | Non-nil means entering Org-mode will fold all blocks. | This can also be set in on a per-file basis with | | #+STARTUP: hideblocks | #+STARTUP: showblocks `---- Also, I think org-cycle should only understand the file structure, not the content structure - and I guess it's reasonable to consider blocks are part of the content structure. HTH, -- Bastien