all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: googleartist@yahoo.com (Artist)
Subject: Re: Functions using limited set of internals
Date: 27 Feb 2003 17:43:21 -0800	[thread overview]
Message-ID: <de3ad953.0302271743.6a1fd55f@posting.google.com> (raw)
In-Reply-To: x5y941g186.fsf@lola.goethe.zz

David Kastrup <dak@gnu.org> wrote in message news:<x5y941g186.fsf@lola.goethe.zz>...
> googleartist@yahoo.com (Artist) writes:
> 
> > googleartist@yahoo.com (Artist) writes:
> > 
> > > Hi,
> > >  I have been using emacs now for over an year.
> > >  and now I like to know how I can do some work with lisp.
> > >  
> > >  How I can find the built-in functions for lisp:
> > 
> > (let ((internals ()))
> >   (mapatoms (lambda (sym)
> >               (when (and (functionp sym) (subrp (symbol-function
> > sym)))
> >                 (push sym internals))))
> >   (insert (format "%S\n" internals)))
> > 
> > I've not found any predicate to distinguish between built-in functions
> > and special forms.
> 
> subr-arity

Hi,
 That's already been answered in another thread.
 Built-in functions and Special forms.
 What I am looking for is

1. Get name of all the functions. (defined with defun)
2. Find out all the 'built-in function' or 'special forms' it uses.

from 1 and 2 we have a table:
like:


defun frame-width (&optional frame) 
uses: cdr, assq, frame-parameters
defun set-border-color (color-name) 
uses: interactive, list, face-menu-read-color,
modify-frame-parameters,selected-frame, cons

etc..

Then it should go thro' my learned list of built-in and other
functions and special forms to match the above table to find the entry
for 'defun functions'.

This is to assist the progressive learning for  the command of 'what
is being learnt'.

Thanks,
Artist.

      reply	other threads:[~2003-02-28  1:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-27 15:55 Functions using limited set of internals Artist
2003-02-27 16:03 ` David Kastrup
2003-02-28  1:43   ` Artist [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=de3ad953.0302271743.6a1fd55f@posting.google.com \
    --to=googleartist@yahoo.com \
    /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.