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
On Wed, Feb 26, 2014 at 7:12 PM, Mirko Vukovic mirko.vukovic@gmail.com wrote:
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")
Makes sense. I've create an issue for the next release. https://github.com/slime/slime/issues/116
Feel free to attach an actual patch to that issue. :-)
Luís Oliveira luismbo@gmail.com writes:
On Wed, Feb 26, 2014 at 7:12 PM, Mirko Vukovic mirko.vukovic@gmail.com wrote:
One could instead use split-string-and-unquote:
Feel free to attach an actual patch to that issue. :-)
He already has, basically: there's a single instance offending to be replaced. I've created a pull request to be merged after 2.4, #117. It will close #116 automatically.
João
On Wed, Feb 26, 2014 at 6:09 PM, João Távora joaotavora@gmail.com wrote:
Luís Oliveira luismbo@gmail.com writes:
On Wed, Feb 26, 2014 at 7:12 PM, Mirko Vukovic mirko.vukovic@gmail.com
wrote:
One could instead use split-string-and-unquote:
Feel free to attach an actual patch to that issue. :-)
He already has, basically: there's a single instance offending to be replaced. I've created a pull request to be merged after 2.4, #117. It will close #116 automatically.
Thanks :-)