Note that there are some explanatory texts on larger screens.

plurals
  1. POLoading SLIME editing commands in Emacs in LispBox
    primarykey
    data
    text
    <p>I'm using <a href="http://common-lisp.net/project/lispbox/" rel="nofollow">LispBox</a> on OS X. I was trying to use the SLIME command C-c C-] to close all open parentheses in a given S-expression. <strong>But the emacs status tells me that C-c C-] is undefined</strong>. When I manually type it in using "M-x slime-close-all-parens-in-sexp", it works. The commands for this are documented here: <a href="http://common-lisp.net/project/slime/doc/html/Editing-Commands.html" rel="nofollow">Slime docs</a></p> <p>I searched and found that SLIME doesn't load contrib modules by default, and that I need to add some config to my ~/.emacs file. The config needed is </p> <pre><code>(setq inferior-lisp-program "/opt/sbcl/bin/sbcl") ; your Lisp system (add-to-list 'load-path "~/hacking/lisp/slime/") ; your SLIME directory (require 'slime-autoloads) (slime-setup '(slime-scratch slime-editing-commands)) </code></pre> <p>as mentioned here: <a href="http://common-lisp.net/project/slime/doc/html/Loading-Contribs.html#Loading-Contribs" rel="nofollow">Loading contribs.</a></p> <p>I din't have an .emacs file at all on my system. So I created one and added the above, changing the relevant lines. When I start it up, nothings changed. Leading me to believe that this .emacs file is not being used for configuring the emacs session in the LispBox app.</p> <p>I did a search on the LispBox directory and found that there is a lispbox.el file deep inside the emacs.app folder that has the line:</p> <pre><code>(slime-setup '(slime-fancy slime-asdf slime-banner)) </code></pre> <p>Thinking that this is where slime is being setup for use in LispBox, I changed it to:</p> <pre><code>(slime-setup '(slime-fancy slime-asdf slime-banner slime-editing-commands)) </code></pre> <p>I restarted LispBox and still no change! </p> <ul> <li><strong>What can I do to get the slime-editing-commands loaded?</strong> </li> <li><strong>Is there a way to find out if emacs is using a particular configuration file?</strong></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload