[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tags for functions
From: |
Ted Zlatanov |
Subject: |
Re: tags for functions |
Date: |
Wed, 28 Jan 2009 14:38:08 -0600 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) |
On Wed, 28 Jan 2009 13:40:01 -0500 Stefan Monnier <address@hidden> wrote:
JL> (when (and (functionp symbol) (setq docstr (documentation symbol t))
SM> Most docstrings (upon startup) are not kept in memory but in the DOC
SM> file instead. Calling `documentation' will load this file and look for
SM> the corresponding docstring there.
SM> I think the best/only way forward is to do something along the lines of
SM> cus-load.el, i.e. generate the data offline.
SM> Stefan "who still doesn't know what data we're talking about"
I'm interested in "@keyword" substrings of the docstring that indicate
the keywords for a particular function. The goals are to:
- list all keywords
- list all keywords for a function
- list all functions for a keyword
Juri's solution is slow, as Lennart noted, due to the `documentation'
issue you mentioned. I said I think a defun-after-hook would be the
best solution. Maybe it should be combined with a etc/DOC scan to find
all the existing keywords quickly.
Ted
- Re: tags for functions, (continued)
- Re: tags for functions, Glenn Morris, 2009/01/21
- Re: tags for functions, Ted Zlatanov, 2009/01/22
- Re: tags for functions, Juri Linkov, 2009/01/24
- Re: tags for functions, Ted Zlatanov, 2009/01/26
- Re: tags for functions, Juri Linkov, 2009/01/26
- Re: tags for functions, Ted Zlatanov, 2009/01/27
- Re: tags for functions, Juri Linkov, 2009/01/27
- Re: tags for functions, Lennart Borgman, 2009/01/27
- Re: tags for functions, Ted Zlatanov, 2009/01/28
- Re: tags for functions, Stefan Monnier, 2009/01/28
- Re: tags for functions,
Ted Zlatanov <=
- Re: tags for functions, Stefan Monnier, 2009/01/28
- Re: tags for functions, Ted Zlatanov, 2009/01/29
- Re: tags for functions, Stefan Monnier, 2009/01/29
- Re: tags for functions, Ted Zlatanov, 2009/01/30
- RE: tags for functions, Drew Adams, 2009/01/30
- Re: tags for functions, Ted Zlatanov, 2009/01/30
- Re: tags for functions, Juri Linkov, 2009/01/31
- Re: tags for functions, Stefan Monnier, 2009/01/30
- RE: tags for functions, Drew Adams, 2009/01/30
- Re: tags for functions, Lennart Borgman, 2009/01/29