Dave Roberts ldave@droberts.com writes:
I was using Emacs to do some Lisp code browsing the other day. Along the way, I was trying to jump around to some definitions. I tried using M-. but the code had not been compiled or loaded into the inferior Lisp process. As a result, SLIME complained that it didn't know about the defun I was looking for. I turned off SLIME mode and generated a tags file using standard emacs. Using standard emacs Lisp-mode, I was able to browse the definitions using the tags file.
So, the question is, is it possible for SLIME to fall back to using the tags file like emacs Lisp-mode when it's standard behavior fails?
Certainly this is possible, but why not compile/load the module that you're browsing instead?
Otherwise (define-key slime-mode-map "\M-." 'find-tag) would rebind M-. to use TAGS in slime-mode. The original bindings can then by restored with (load "slime").
-Luke