From: Drew Adams <drew.adams@oracle.com>
To: Marcin Borkowski <mbork@wmi.amu.edu.pl>,
GNU Emacs users list <help-gnu-emacs@gnu.org>
Subject: RE: Best way to get hang of an elisp file?
Date: Fri, 18 Oct 2013 14:42:53 -0700 (PDT) [thread overview]
Message-ID: <62c5f353-d6a1-4c91-8057-88c7d11bbc49@default> (raw)
In-Reply-To: <20131018185232.2084581e@aga-netbook>
> I have a rather large elisp file, and I'd like to skim through it.
> I want to know more or less /what/ functions, variables etc. there
> are and what they /do/ instead of how they are implemented
...
> But I don't want to limit myself to Emacs when reading the file
I don't have an answer for use outside Emacs. But this can help in
Emacs:
In Icicle minor mode, `C-=' is by default `icicle-imenu'. It is a
multi-command that uses Imenu definition-recognizing regexps. It
lets you navigate among definitions (of functions, vars, macros, etc.,
depending on the language). You can use pattern matching, sorting,
and cycling.
But you can also ask for information about any definitions by
hitting one of the help keys during completion: `C-M-RET' (help on
the current definition), `C-M-down' (cycle to the next definition
and show its help), `C-M-mouse-2' (help on the definition clicked
in buffer *Completions*), etc.
The help for a given definition is shown in buffer *Help*. In the
case of Emacs things it is just what you would see using `C-h f',
`C-h v', `decribe-face', etc.: help on the particular Emacs-Lisp
object.
So you have three levels of information (3 lists) for such objects:
(1) their names, (2) their descriptions (help), and (3) their
definitions.
[There are also Icicles imenu commands for particular kinds of
things, e.g., `icicle-imenu-command', `icicle-imenu-user-option',
etc. There are also "full" versions of each of these commands.
The full versions use the whole definitions (e.g. whole defuns)
as search contexts - you can either navigate among them, as usual,
or search them and navigate among specific search hits.]
* http://www.emacswiki.org/Icicles_-_Search_Commands%2c_Overview
* http://www.emacswiki.org/Icicles_-_Other_Search_Commands#IciclesImenu
next prev parent reply other threads:[~2013-10-18 21:42 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 [this message]
2013-10-19 1:32 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=62c5f353-d6a1-4c91-8057-88c7d11bbc49@default \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=mbork@wmi.amu.edu.pl \
/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.
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).