Michael Sperber | 17 Dec 2003 18:14
Picon

Don't mess with Scheme mode


Hi there,

I use ILISP for Common Lisp, but not for Scheme.  I assumed,

(setq lisp-source-modes '(lisp-mode))

would prevent ILISP from messing with scheme-mode.  Unfortunately, it
doesn't prevent ILISP from changing the scheme-mode keymap.  I submit
that's wrong.  Here's a patch.

(Please cc me on any followups, as I'm not subscribed to ilisp-devel <at> .)

2003-12-17  Mike Sperber  <sperber <at> informatik.uni-tuebingen.de>

	* ilisp-key.el (ilisp-bindings): Don't setup mode bindings if mode
	isn't in `lisp-source-modes.'
Index: ilisp-key.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/ilisp/ilisp-key.el,v
retrieving revision 1.4
diff -u -r1.4 ilisp-key.el
--- ilisp-key.el	3 Jun 2002 23:37:01 -0000	1.4
+++ ilisp-key.el	17 Dec 2003 17:07:28 -0000
 <at>  <at>  -257,9 +257,11  <at>  <at> 
   (when (fboundp 'lisp-mode-commands)
(Continue reading)

Matthias Koeppe | 7 Jan 2004 16:24
Picon

Re: Don't mess with Scheme mode

Michael Sperber <sperber <at> informatik.uni-tuebingen.de> writes:

> I use ILISP for Common Lisp, but not for Scheme.  I assumed,
>
> (setq lisp-source-modes '(lisp-mode))
>
> would prevent ILISP from messing with scheme-mode.  Unfortunately, it
> doesn't prevent ILISP from changing the scheme-mode keymap.  I submit
> that's wrong.  Here's a patch. [...]

Thanks, I have checked it into CVS.

--

-- 
Matthias Koeppe -- http://www.math.uni-magdeburg.de/~mkoeppe

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

Gmane