emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastien.guerry@wikimedia.fr>
To: Leo Alekseyev <dnquark@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tab/S-Tab cycling behavior: how to include #+begin_src and #+results blocks
Date: Fri, 11 Feb 2011 13:18:26 +0100	[thread overview]
Message-ID: <87aai2vk6l.fsf@gnu.org> (raw)
In-Reply-To: <AANLkTi=h+eQ8v2sOgVZ9EK0sd_ELrgAvTioXjsnchoEv@mail.gmail.com> (Leo Alekseyev's message of "Thu, 13 Jan 2011 18:22:38 -0500")

Hi Leo,

Leo Alekseyev <dnquark@gmail.com> 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

      reply	other threads:[~2011-02-11 12:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-13 23:22 Tab/S-Tab cycling behavior: how to include #+begin_src and #+results blocks Leo Alekseyev
2011-02-11 12:18 ` Bastien [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aai2vk6l.fsf@gnu.org \
    --to=bastien.guerry@wikimedia.fr \
    --cc=dnquark@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).