all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: stucker <brown_emu@yahoo.com>
To: Help-gnu-emacs@gnu.org
Subject: emacs allout-mode
Date: Sun, 27 Sep 2009 19:15:33 -0700 (PDT)	[thread overview]
Message-ID: <25639808.post@talk.nabble.com> (raw)


Hi, 
I am wondering if anyone might share with me the secrets of allout.el. I am
interested in adapting this for my programming in R through ESS. I have read
through comments in the source code and the docstring but there are some
things that are still a bit confusing...

So from examining allout.el my understanding is that I want to mark up my
document in the following style (# is the comment char in R):

###_* heading 1
###_ = heading 2
...code...
###_ > another type of heading 2
...code...

with stylish-prefixes set to true, the set of distinctive bullets
"*+-=>()[{}&!?#%\"X@$~_\\:;^" can be used as different subtopic bullets.

However:
1. This works when I do allout-hide-bodies, but when I add (setq
allout-layout t) to the mode-hook and open an R file, some of the topics and
subtopics are hidden.
2. In allout.el:
"comment-start strings that do not end in spaces are tripled in
the header-prefix, and an `_' underscore is tacked on the end, to
distinguish them from regular comment strings.  comment-start
strings that do end in spaces are not tripled, but an underscore
is substituted for the space."
-> Is there something I do that will automatically convert my comments into
allout-style headings and sub-headings?

The main advantage I see for allout over outline is the easy keyboard
navigation (for my purposes, since I do not require encryption)... but is
there more? Is there also an allout export document that can be generated?
There is some comment in 'allout.el' which says:
"Easy rendering of exposed portions into numbered, latex, indented, etc
outline styles" leads me to believe so...

I was wondering if anyone could possibly confirm this and perhaps share some
ways in which they use allout mode (if at all, or do you use outline mode
code)? I already use folding-mode already to hide parts of interactive
scripts that I don't currently use, but don't want to delete... but was
looking for another folding mode that will structure my scripts.

Thank you!

Stephen
-- 
View this message in context: http://www.nabble.com/emacs-allout-mode-tp25639808p25639808.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





             reply	other threads:[~2009-09-28  2:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28  2:15 stucker [this message]
2009-09-29  9:24 ` emacs allout-mode Andreas Röhler
2009-10-02  8:34   ` stucker

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

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

  git send-email \
    --in-reply-to=25639808.post@talk.nabble.com \
    --to=brown_emu@yahoo.com \
    --cc=Help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.