Assuming you are using my .emacs, here is a summary of the behavior you should get when using XEmacs ("xemacs") or GNU Emacs ("emacs") on X-Windows or on ttys (dumb terminals). (A) ON BOTH GNU EMACS AND XEMACS WHEN RUNNING UNDER X WINDOWS o M-l (ie ESC then lowercase L or Alt-l) will start Lisp. If Lisp is already started, then M-l just switches you there. You can also use the pulldown "Buffers" menu to switch among any existing buffers. o Within the buffer running Lisp, M-p will scroll through the previously entered forms. So if you just typed in a complicated expression and want to do almost the same thing, M-p will pop it back up, then you can edit it and hit RETURN. o For filenames ending .lisp or .lsp: - They will get "fontified" with function name in one color, comments in another, etc. This will also work for C, C++, Pascal, and Prolog files. - RETURN will take you to next line plus indent to proper level. - If you hit TAB the current line will be reindented to proper level, no matter where on the line the cursor is. - If the cursor is inside a function definition, then hitting C-x d will compile the definition of that function. You will stay in current Lisp source code buffer. - If the cursor is inside a function definition, then hitting C-x d will compile the definition of that function. You will stay in current Lisp source code buffer. - If the cursor is inside a function definition, then hitting C-x C-d will compile the definition of that function. You will switch to the buffer that is running Lisp. - When you type a R paren the matching L paren will briefly blink. o Doing M-x clman will prompt you for a Lisp function or variable name, and then print the manual page for that with highlighting in various fonts. You can print out this buffer for permanent info. (B) ON XEMACS ONLY (WHEN RUNNING UNDER X) o You will have a Lisp pulldown menu that gives you access to all of the above functionality plus a bunch more. o The File pulldown menu will have 2 entries that let you print the source code maintaining some of the font info (see the Intro-Functions.lisp I handed out - it was printed this way). Note that this will also work for C or C++ or Pascal or Prolog files, or for the buffer that is the output of clman. o When the cursor is next to a R paren, the matching L paren will blink on and off. (C) ON XEMACS ONLY (WHEN RUNNING ON TTYS (IE NON-X)) o You will get a more limited "fontification" of code. Works for at least Lisp, C, C++, Pascal, and Prolog. o You can still print the code maintaining this font info. C-x p prints whole buffer. C-x C-p prints only the currently selected region. o M-l still starts Lisp, M-p still scrolls through previous input in Lisp, C-x d still sends a function definition over to Lisp, C-x C-d still sends the definition over plus takes you to Lisp, matching parens will still blink as they are entered, autoindentation will still be done, and M-x clman will still print out a Lisp manual page (albeit with more limited font highlighting). (D) ON GNU EMACS (WHEN RUNNING ON TTYS (IE NON-X)) o M-l still starts Lisp, M-p still scrolls through previous input in Lisp, C-x d still sends a function definition over to Lisp, C-x C-d still sends the definition over plus takes you to Lisp, matching parens will still blink as they are entered, autoindentation will still be done, and M-x clman will still print out a Lisp manual page (albeit without font highlighting). Please send email if you find any problems or have any questions. - Marty