Proposed tweak for `slime-lisp-options'

Mirko Vukovic <[email protected]>
Newsgroups gmane.lisp.slime.devel
Message-ID <CAO73BAB8g=4Y6AmGF37PaHvakPFLG6dVBOKpRxa=d38gMLJQ1A@mail.gmail.com>
Hi,

`slime-lisp-options' in slime.el uses `split-string' to parse the contents
of `inferior-lisp-program'

This fails if the lisp program is in a path with spaces in it (such as
executables in Windows).  Quoting does not help.

One could instead use split-string-and-unquote:

(split-string-and-unquote "\"c:/Program Files (x86)/clisp-2.49/clisp.exe\"
-E iso-8859-1")

   ("c:/Program Files (x86)/clisp-2.49/clisp.exe" "-E" "iso-8859-1")


Mirko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.