sjlevine / atom-slime

Write lisp code efficiently with Atom
MIT License
68 stars 13 forks source link

fix: added option to pass arguments to the lisp process #60

Open bsmr opened 7 years ago

bsmr commented 7 years ago

I use linedit for sbcl, and use the --no-linedit command line switch, as suggested by linedit. For GNU Emacs with [slime]() the following statement should be added to `.emacs':

(setq inferior-lisp-program "sbcl --noinform --no-linedit")

I run into some problems with atom-slime without this command line argument. Because I didn't want to write a shell wrapper for slime, I started to create this little fix.

It adds a string to be passed to the Lisp process (default value is --no-linedit) and has a switch to enable passing this string (default value is false).

I also added a "Slime -> Connect" menu entry. It may be a bit more convenient than Ctrl-Shift-P.