[slime-devel] Emacs menus and warnings

Alex Goncharov alex-goncharov at comcast.net
Thu Apr 15 23:25:08 UTC 2010


,--- I/Alex (Thu, 15 Apr 2010 13:07:04 -0400) ----*
| |   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)))
--------------------------------------------------



-- Alex -- alex-goncharov at comcast.net --





More information about the slime-devel mailing list