> > Your problem should not be dependant on the inferior lisp program. > With emacs "22.0.50.1", I've got not problem with > inferior-lisp-mode. Typing C-x C-e at the end of each of the following > s-expressions:
I didn't mean to imply that the behaviour of the keychords was characteristic of GCL; CLISP gave the same results. One of the Emacs lists might have been a better forum for the question. You're right, the commands "C-h-a lisp-eval-last-sexp", and "C-h-k C-x C-e" do indicate that C-x C-e is also a bona fide command for evaluation in an inferior Lisp. C-x C-e appears to differ from C-M-x and C-c C-e in the position of point within the defun; literally the "last sexpression" is evaluated as indicated earlier with quoted expressions abbreviated with the apostrophe, and variables that are not delimited. For instance, the second sexpression in: (setf last-sexp 'c-x-c-e entire-defuns 'c-m-x) (mapcar #'cons '(c-x-c-e c-m-x) '((last-sexp) (entire-defuns)))) evaluates using C-M-x, or C-c C-e, with point immediately before, after, or anywhere within the defun to: ((C-X-C-E LAST-SEXP) (C-M-X ENTIRE-DEFUNS)) whereas typing C-x C-e at the end of the variable "last-sexp" evaluates only to: C-X-C-E Using C-x C-e appears to be useful for evaluating single sexpressions which are either not defuns, or are contained within defuns when evaluation of the entire defun is not required. My point, though, is that from a user's point of view, section V.10 "Running an External Lisp" ought to clarify the differences in application of the pertinent keychords, in particular, the keychord C-c C-e compared with C-M-x, which are both bound to lisp-eval-defun. One may be redundant. I would be happy to have further information. Adrienne _______________________________________________ Gcl-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gcl-devel
