From: lama
Subject: allegro lisp question
Date: 
Message-ID: <bdnrfg$e15$1@news-int.gatech.edu>
Is there a way, in allegro lisp, to see the list of functions that the 
user defined and added to the history ?

From: Chris Riesbeck
Subject: Re: allegro lisp question
Date: 
Message-ID: <riesbeck-A3A9F7.12434530062003@news.it.northwestern.edu>
In article <············@news-int.gatech.edu>,
 lama <·····@cc.gatech.edu> wrote:

>Is there a way, in allegro lisp, to see the list of functions that the 
>user defined and added to the history ?

One answer below, but you probably don't want it.
You shouldn't be defining most of your functions 
in a listener or debug window to begin with. Define 
them in a file. That way you don't lose them when 
you leave Lisp, and you get better editing and 
layout support. Use the listener window
as a command panel to load and run things.

Also note that the history is just a list of the 
expressions you've typed to listener. It knows 
nothing about which commands define functions.

You can get a list of symbols that are currently
defined to be function names in a given package,
default common-lisp-user, with

(defun get-functions (&optional (pkg-name :common-lisp-user))
  (let ((fns nil)
        (package (find-package pkg-name)))
    (do-all-symbols (sym package)
      (when (and (eql (symbol-package sym) package)
                 (fboundp sym))
        (push sym fns)))
    (sort fns #'string< :key #'symbol-name)))

Sample usage:

  > (get-functions)

This includes any functions defined in files
you've loaded.
From: Kevin Layer
Subject: Re: allegro lisp question
Date: 
Message-ID: <mkadbqhr5n.fsf@*n*o*s*p*a*m*franz.com>
lama <·····@cc.gatech.edu> writes:

> Is there a way, in allegro lisp, to see the list of functions that the
> user defined and added to the history ?

If the definitions are in files, then (from Emacs) M-x
fi:list-changed-definitions will do it.