From: stucker <brown_emu@yahoo.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: emacs allout-mode
Date: Fri, 2 Oct 2009 01:34:06 -0700 (PDT) [thread overview]
Message-ID: <25712250.post@talk.nabble.com> (raw)
In-Reply-To: <4AC1D23F.1000900@easy-emacs.de>
Hi Andreas, thanks for your response!
Andreas Röhler wrote:
>
> AFAIU if you have already a structured text, whose
> hierarchies you may adress, simply outline-mode or
> hs-minor-mode should be the suitable tools.
>
So I guess I am not sure what allout.el is even capable of, but I did like
two things about it:
1) someone already made a decision about the hierarchy structure for
outlining
2) the hot keys for moving around (h,o,...) were convenient
I can't seem to reproduce my problem with using fancy heading bullets (using
'>' vs '='), but in the meantime I edited outline-mode for ESS to mimic the
structure of the allout headings -
(add-hook 'ess-mode-hook 'my-ess-outline-hook)
(defun my-ess-outline-level ()
(let (buffer-invisibility-spec)
(save-excursion
(search-forward-regexp
"^###_\\(\\*\\|[ ]+[+-=>()[{}&!?#%\"X@$~_\\:;^]\\)")
(- (current-column) 3))))
(defun my-ess-outline-hook ()
(setq outline-regexp "^###_")
(setq outline-level 'my-ess-outline-level)
(outline-minor-mode t)
(hide-body)
)
... I also thought it might be convenient in case I ever figured out more
about allout and decided it was worth switching to in the future (then my
documents would be somewhat compatible?). I also bound a few of the
show/hide functions of outline-mode to easier key strokes than the default
so I think I'm getting the functionality I was hoping to get from allout. If
you (or others on the list) has a few insights as to what additional
features allout might provide, I'd be interested to hear - but it seems like
outline-mode may be sufficient for my purposes, as you suggest.
Thanks!
-Stephen
--
View this message in context: http://www.nabble.com/emacs-allout-mode-tp25639808p25712250.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
prev parent reply other threads:[~2009-10-02 8:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-28 2:15 emacs allout-mode stucker
2009-09-29 9:24 ` Andreas Röhler
2009-10-02 8:34 ` stucker [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25712250.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.