emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo Alekseyev <dnquark@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Tab/S-Tab cycling behavior: how to include #+begin_src and #+results blocks
Date: Thu, 13 Jan 2011 18:22:38 -0500	[thread overview]
Message-ID: <AANLkTi=h+eQ8v2sOgVZ9EK0sd_ELrgAvTioXjsnchoEv@mail.gmail.com> (raw)

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

             reply	other threads:[~2011-01-13 23:22 UTC|newest]

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

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='AANLkTi=h+eQ8v2sOgVZ9EK0sd_ELrgAvTioXjsnchoEv@mail.gmail.com' \
    --to=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).