[slime-devel] Proper way to bind keys in *slime-description* buffers only

Sebastian Tennant sebyte at smolny.plus.com
Thu Mar 10 05:53:10 UTC 2011


Quoth Helmut Eller <heller at common-lisp.net>:
> * Sebastian Tennant [2011-03-09 08:21] writes:
>
>> Hi lispers,
>>
>> What's the correct way to bind keys in *slime-description* buffers only?
>
> Those buffers are just in fundamental-mode so there is no easy way to do
> that.  What would you like to do?

*slime-description* buffers include the line:

 Source file: /path/to/file.lisp

I wrote a couple of tiny Emacs Lisp functions; one that moves point to the
leading '/' of the source file (bound to TAB) and another which visits the file
at point (bound to RET).

This is in the absence of M-. which doesn't work for me:

 Error: DEFINITION-SOURCE of function FOO did not contain meaningful information.

because (IIUC) I'm not loading pre-compiled .fasl files.

Seb
-- 
Emacs' AlsaPlayer - Music Without Jolts
Lightweight, full-featured and mindful of your idyllic happiness.
http://home.gna.org/eap





More information about the slime-devel mailing list