From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#16005: inferior-lisp and filenames with spaces Date: Thu, 15 Jul 2021 09:10:33 +0200 Message-ID: <877dhsm4ra.fsf@gnus.org> References: <5298F8AD.5020606@earthlink.net> <87zguop2du.fsf@gnus.org> <83czrk6p1r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27021"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 16005@debbugs.gnu.org, sdlitvin@earthlink.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 15 09:11:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3vWb-0006q8-Li for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jul 2021 09:11:13 +0200 Original-Received: from localhost ([::1]:59648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3vWa-0002rH-NB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Jul 2021 03:11:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3vWQ-0002r5-LU for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 03:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35067) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3vWQ-0006Rs-Dc for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 03:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3vWQ-0006Jx-84 for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2021 03:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jul 2021 07:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16005 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 16005-submit@debbugs.gnu.org id=B16005.162633304324270 (code B ref 16005); Thu, 15 Jul 2021 07:11:02 +0000 Original-Received: (at 16005) by debbugs.gnu.org; 15 Jul 2021 07:10:43 +0000 Original-Received: from localhost ([127.0.0.1]:46612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3vW7-0006JN-AC for submit@debbugs.gnu.org; Thu, 15 Jul 2021 03:10:43 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:53670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3vW6-0006JB-3Q for 16005@debbugs.gnu.org; Thu, 15 Jul 2021 03:10:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=z2S45FzYfSrio7QZtvFo/14wx38N3qMzgiVFLRPw8WE=; b=elG2KmjlWG+W5rvcmUX0wU9H4B q8PR2oTIMvLFf6c0YdC9cA5CaDpo0SIgaiYp0CKGCpblWKCVCoUo0TND8jUAoQYyzK86kC6ONKfnX YMXhUfmJncrKz0HQXk26+7iXBO/EQaF0/e7QFng6HX6QmqLfuwc1YZBWtE38LHVP2QKs=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3vVx-0005ET-OF; Thu, 15 Jul 2021 09:10:36 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEWFEReKKiilnJGS WVRyDxNgIx4qJR56hHn///9MMD0NAAAAAWJLR0QIht6VegAAAAd0SU1FB+UHDwcICzpaqdIAAAGU SURBVDjLddHBUuMwDAZgZUju0TbhAWCmPZelu1czyD3HOM6dqWMegAOvj2S7JS6pD53WX35JUQHK g/HAn0eADe6vAeDuAeDpgT9qle4rh9hCgs1ffgKGDCjQJoiPnBO4kUoR0skAhqH6DVWLsdbvBBpc LyUAqVS+cTxyrVTjuQUuYVJ0DN40I0O7hKPSIcxDbzoZaglDwwD3JvYWIEXyrfF1CD5thCOvDEQS qgOXer+fGZAXlyBGjkHOUGFbldDI/dzKFutLKTonnJKN1KBygpsogdm2e1nJpRQXUxPDZJ1ssf0B UDxsOAX3abCrgH4SsVI4/ft8R6j59wVojtN+nSwiFTDGxO602SO9LEAPU4zMThKwAr0xRPUCKN4H ezCu6DHlwMejNgWMCUL4r/sS8v3But4V4NPavdVuDbbe9lc9xnOiH8s3dwIf28EeSnCjTn+t7Yi6 AtIbDq/PVCR0BnLPssMF+Ay64/WUCenuBa5LcWSWwUuIGMZ1oBDnW4G8g1XQ+gbQRLdKZdjdgLft Ouin8A0rqO3Ehwu7/gAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNy0xNVQwNzowODoxMSswMDow MKgM0qoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDctMTVUMDc6MDg6MTErMDA6MDDZUWoWAAAA AElFTkSuQmCC X-Now-Playing: Privacy's _Fabric 94: Steffi_: "Broke" In-Reply-To: <83czrk6p1r.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 15 Jul 2021 09:58:56 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210004 Archived-At: Eli Zaretskii 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