Re: Spaces in Windows pathnames
Robert Folland <[email protected]> 28 Apr 2002 00:14:35 +0200
| Newsgroups | gmane.lisp.ilisp.general |
|---|---|
| Message-ID | <[email protected]> |
Robert Folland <[email protected]> writes: > I have installed a Lisp implementation under "C:\Program Files" on > Windows. > > ILISP does not accept a string with spaces in the file path, but it works > if I put it under C:\tmp". > > I could jost move stuff of course, but is there a way to use such > path names? I asked this on comp.emacs, and got this reply: ----------------------------------------------------- From: David Kastrup <[email protected]> Subject: Re: Space in Windows file name Newsgroups: comp.emacs Date: 27 Apr 2002 12:46:30 +0200 Organization: T-Online Robert Folland <[email protected]> writes: > Eli Zaretskii <[email protected]> writes: > > > Robert Folland wrote: > > > > > > I am trying to set a file path with a string containing "C:\Program > > > Files" and it does not work. A filename without spaces works. > > > > What do you mean exactly by ``set a file path''? What Emacs command or > > function or variable are you trying to use, and how. The details matter. > > OK, this is what I mean: > > (setq lispworks-program > ; "c:/tmp/lww-ilisp-capi.exe") > "c:/Program Files/Xanalys/LispWorks/lww-ilisp-capi.exe") > > The line commented out works, the other one does not... This is used > when I start lispworks as an inferior Lisp-process from emacs with the > ILISP package. > > So is the problem with the ILISP-package, or is it a general problem > with spaces in filenames/filepaths? I suppose the former: the ILISP pachage author might have forgotten to judiciously employ the Emacs-function shell-quote-argument where appropriate. Please report this to him as a bug, with this advice appended. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum Email: [email protected] ------------------------------------------------ I have reinstalled to another directory now, so it is not important to me anymore. But we may want to get this right anyway, since "C:\Program Files\..." is the default install directory for LispWorks. -Robert