From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: googleartist@yahoo.com (Artist) Newsgroups: gmane.emacs.help Subject: Re: Functions using limited set of internals Date: 27 Feb 2003 17:43:21 -0800 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1046396812 30180 80.91.224.249 (28 Feb 2003 01:46:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 28 Feb 2003 01:46:52 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18oZbt-0007qV-00 for ; Fri, 28 Feb 2003 02:46:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18oZb1-00015k-01 for gnu-help-gnu-emacs@m.gmane.org; Thu, 27 Feb 2003 20:45:55 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 52 Original-NNTP-Posting-Host: 68.37.117.130 Original-X-Trace: posting.google.com 1046396601 13463 127.0.0.1 (28 Feb 2003 01:43:21 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 28 Feb 2003 01:43:21 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:110708 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7209 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7209 David Kastrup wrote in message news:... > 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.