From: Camille Bourgoin <monsieur.camille@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how to search inside functions definition
Date: Fri, 13 Jul 2007 01:12:21 +0200 [thread overview]
Message-ID: <87wsx5qkru.fsf@linuxette.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: mailman.3407.1184261909.32220.help-gnu-emacs@gnu.org
Eric Hanchrow <offby1@blarg.net> writes:
>>>>>> "Camille" == Camille Bourgoin <monsieur.camille@gmail.com> writes:
>
> Camille> Hello, I want to list all the primitive functions in
> Camille> Emacs with a search within their definitions. But I
> Camille> don't know how to do this.
>
> I wonder if this is what you want:
>
> (let ((funcs '()))
> (mapatoms (lambda (a)
> (if (and (fboundp a)
> (subrp (symbol-function a)))
> (setq funcs (cons a funcs)))))
> funcs)
>
> --
> Like most people, I would like to use the words ''parameters''
> and ''behoove'' in the same sentence, but I am not sure how.
> -- A Question for 'Ask Mister Language Person'
>
>
>
Yes ! it seems to be good, there is the result (very long) :
(read load-average delete-window internal-lisp-face-attribute-values
minibuffer-depth search-backward-regexp identity bobp command-execute
user-full-name next-single-char-property-change set-time-zone-rule
quit-process process-contact % directory-files nlistp copy-marker
terminal-coding-system * + downcase image-size - buffer-base-buffer
type-of / eobp overlay-get skip-chars-forward frame-char-width < = >
get internal-set-font-selection-order kill-buffer continue-process
... etc ... etc ... etc ... etc ...
process-command x-open-connection region-beginning encode-big5-char
generic-character-list plist-put while elt invocation-directory
widget-apply line-end-position)
thank you :)
i'm going to examinate the code in order to understood what it does ;)
--
Camille "Mesmento" Bourgoin
jabber : mr.camille@im.apinc.org
web : http://jbbourgoin.free.fr
next prev parent reply other threads:[~2007-07-12 23:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-12 13:50 how to search inside functions definition Camille Bourgoin
2007-07-12 16:03 ` Drew Adams
2007-07-12 17:11 ` Peter Dyballa
2007-07-12 17:30 ` Eric Hanchrow
[not found] ` <mailman.3406.1184260368.32220.help-gnu-emacs@gnu.org>
2007-07-12 23:00 ` Camille Bourgoin
2007-07-13 7:50 ` Peter Dyballa
[not found] ` <mailman.3407.1184261909.32220.help-gnu-emacs@gnu.org>
2007-07-12 23:12 ` Camille Bourgoin [this message]
[not found] <mailman.3401.1184256263.32220.help-gnu-emacs@gnu.org>
2007-07-12 22:56 ` Camille Bourgoin
2007-07-13 0:01 ` Lennart Borgman (gmail)
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=87wsx5qkru.fsf@linuxette.i-did-not-set--mail-host-address--so-tickle-me \
--to=monsieur.camille@gmail.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.
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).