Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Space character inside an argument (emacs lisp)

Tags:

emacs

lisp

elisp

In windows, I set the variable inferior-lisp-program to be (shell-quote-argument "D:/Program Files/ccl/wx86cl.exe").

But when I run inferior lisp with the command run-lisp, emacs responds:

Searching for program: no such file or directory, "D:/Program

It seemed that emacs treats "D:/Program Files/ccl/wx86cl.exe" as two arguments "D:/Program and Files/ccl/wx86cl.exe" separated by a space character.

How can I make emacs treat "D:/Program Files/ccl/wx86cl.exe" as a whole?

like image 432
wyqtl Avatar asked Nov 29 '25 08:11

wyqtl


1 Answers

Try using the old "Progra~1" compatibility name for "Program Files". So,

(setq inferior-lisp-program "D:/Progra~1/ccl/wx86cl.exe")
like image 147
scvalex Avatar answered Dec 02 '25 04:12

scvalex



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!