[slime-devel] Emacs menus and warnings

Mark Harig idirectscm at aim.com
Sat Apr 17 05:14:42 UTC 2010


> | |   emacs -Q --load ~/.emacs.d/your-slime-init.el
> | |
> | | If the problem is still occurring then mail a copy of your
> | | initialization code to this list.  It should then be reproducible 
by
> | | other SLIME users.
> | I'll do this tonight or in that proximity.
>
> With this minimal .el, the problem exists for me (an empty SLIME
> menu):
>
> --------------------------------------------------
> (defun my-load-slime ()
>   (interactive)
>   (unless (featurep 'slime)
>     (dolist (dir '("/app/lisp/slime/contrib" "/app/lisp/slime"))
>       (add-to-list 'load-path dir))
>     (require 'slime))
>   ;; (slime-setup '(slime-fancy slime-autodoc)) ;; this line doesn't 
make a
> difference for menu
>   )
>
> (defun my-start-slime ()
>   (interactive)
>   (let ((buf (current-buffer)))
>     (my-load-slime)
>
>     (let ((cmucl-coding-system 'utf-8-unix))
>       (setq slime-lisp-implementations (list (list 'cmucl (list 
(concat (getenv
> "CMUCL_HOME") "/bin/lisp"))
>                            :coding-system cmucl-coding-system))
>         slime-net-coding-system cmucl-coding-system))
>
>     (slime)
>     (slime-define-keys slime-prefix-map
>       ("\C-z" 'slime-switch-to-output-buffer)
>       ("\M-p" 'slime-repl-set-package))
>     (pop-to-buffer buf)
>    (slime-mode)))

I installed your initialization code (modified for my `load-path' and
Lisp implementation) and started it with Emacs 23.1 and the latest
revisions of SLIME's files in its CVS repository, and started Emacs
with

  emacs -Q --load your-slime-init.el

I did not see the problems that you are seeing with menus.

Some things to try:

- Be sure that you're specifying '-Q' or '--quick' to Emacs to
  eliminate the possibility that some other Emacs-Lisp code is
  interfering with your initialization code, above.

- Delete all compiled Emacs-Lisp files (*.elc) in your SLIME directory
  tree.

- Check the *Messages* buffer for any error messages that might
  provide some information about why SLIME is not working.




More information about the slime-devel mailing list