From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Best way to get hang of an elisp file?
Date: Fri, 18 Oct 2013 21:32:11 -0400 [thread overview]
Message-ID: <jwvbo2mdp7p.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 20131018185232.2084581e@aga-netbook
> they /do/ instead of how they are implemented, I'm curious whether
> there exists something like "outline mode", hiding everything but the
Yes, it's called outline-minor-mode ;-)
For Elisp, I additionally use:
(add-hook 'outline-minor-mode-hook
(lambda ()
(when (and outline-minor-mode (derived-mode-p 'emacs-lisp-mode))
(hide-sublevels 1000))))
which starts outline-minor-mode by hiding all the bodies of functions.
I also use `reveal-mode' which automatically unhides the bodies when you
try to move the cursor into them (so you don't need to remember the key
sequences to use for opening/closing elements).
Stefan
next prev parent reply other threads:[~2013-10-19 1:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-18 16:52 Best way to get hang of an elisp file? Marcin Borkowski
2013-10-18 17:22 ` Thorsten Jolitz
2013-10-18 21:42 ` Drew Adams
2013-10-19 1:32 ` Stefan Monnier [this message]
2013-10-19 2:22 ` Drew Adams
2013-11-15 14:35 ` Sean Sieger
2013-11-16 16:06 ` Stefan Monnier
2013-11-18 20:40 ` Sean Sieger
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=jwvbo2mdp7p.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--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.