Bill Clementson's Blog

Bits and pieces (mostly Lisp-related) that I collect from the ether.

July 2004
Sun Mon Tue Wed Thu Fri Sat
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Jun  Aug

Open CL files in SLIME from the ACL IDE - Part 2

Thursday, July 22, 2004

The other day, I showed how you could use the ACL IDE under MS Windows and have it call up SLIME/Emacs whenever you need to open a CL source file. However, there were a couple of problems with the code that I posted:

  1. The ACL ELI key bindings (in addition to the SLIME key bindings) were still active in Lisp source buffers. Since I wanted to use ELI only for the hand shake with the ACL IDE and not for editing CL code (I'm using SLIME for that), I didn't want the ELI key bindings.
  2. ELI changes the Emacs mode for any file that is supposed to be opened under "lisp-mode" to "common-lisp-mode" (an ELI-specific mode). I didn't want this override as ELI does a lot of stuff to common-lisp-mode (also, it might be confusing to people who are used to being in lisp-mode when they're working in SLIME).
So, I modified the code to take care of these two issues. I modified the original entry, so you can get the updated code from the original post.

emacs Copyright © 2005 by Bill Clementson