bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16005: inferior-lisp and filenames with spaces


From: Lars Ingebrigtsen
Subject: bug#16005: inferior-lisp and filenames with spaces
Date: Thu, 15 Jul 2021 09:10:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>>       (let ((cmdlist (split-string cmd)))
>>      (set-buffer (apply (function make-comint)
>>                         "inferior-lisp" (car cmdlist) nil (cdr cmdlist)))

[...]

> If we prompt the users for a shell command, we should expect the users
> to quote it as they would when they type at the shell's prompt.  is
> this prompt for the complete shell command, or is it only for the name
> of the program's executable file?  If the latter, we should run the
> result through shell-quote-argument before using it; if the former,
> the user should do the quoting, and there's no bug in Emacs.

It's the former.  The problem is that there is no way for the user to
quote the command, since we do a `split-string' on what they typed in
before executing it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]