From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Slawomir Nowaczyk Newsgroups: gmane.emacs.devel Subject: Re: shell-command - missing shell-quote-argument for program? Date: Thu, 12 Oct 2006 15:52:20 +0200 Message-ID: <20061012153032.C3A6.SLAWOMIR.NOWACZYK.847@student.lu.se> References: <20061010084635.0406.SLAWOMIR.NOWACZYK.847@student.lu.se> <452B4580.9020306@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1160661294 19786 80.91.229.2 (12 Oct 2006 13:54:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2006 13:54:54 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 12 15:54:50 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GY10T-0001XE-5D for ged-emacs-devel@m.gmane.org; Thu, 12 Oct 2006 15:53:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GY10S-0006gj-EY for ged-emacs-devel@m.gmane.org; Thu, 12 Oct 2006 09:53:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GY0zB-0005jR-JQ for emacs-devel@gnu.org; Thu, 12 Oct 2006 09:52:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GY0zA-0005iV-0l for emacs-devel@gnu.org; Thu, 12 Oct 2006 09:52:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GY0z9-0005iG-OA for emacs-devel@gnu.org; Thu, 12 Oct 2006 09:52:31 -0400 Original-Received: from [130.235.16.11] (helo=himmelsborg.cs.lth.se) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GY17N-00008L-Sm for emacs-devel@gnu.org; Thu, 12 Oct 2006 10:01:02 -0400 Original-Received: from [127.0.0.1] (slawek@dain [130.235.16.76]) by himmelsborg.cs.lth.se (8.13.6/8.13.6/perf-jw-tr) with ESMTP id k9CDqSXo028209 for ; Thu, 12 Oct 2006 15:52:29 +0200 (CEST) Original-To: Emacs Devel In-Reply-To: <452B4580.9020306@student.lu.se> X-Esmandil_Citation: done X-Mailer-Plugin: Popup Memopad for Becky!2 Ver.0.02 Rev.2 X-Mailer: Becky! ver. 2.25.02 [en] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60664 Archived-At: On Tue, 10 Oct 2006 09:02:24 +0200 Lennart Borgman wrote: #> > I am not entirely sure it is needed, but the following shouldn't #> > hurt in any case. #> > #> #> Thanks, but it looks to me that this should not be quoted. #> `python-command' is not just a file. #> #> My mistake. Sorry. Right, it looks like python-command may include arguments that should be passed to the interpreter. My patch is obviously wrong. Seems like it is up to a user customising this variable to make sure any meta characters are escaped properly... Does anyone think it would make sense to add some information about it to the doc string? Or are problems with that too unlikely to worry about them? -- Best wishes, Slawomir Nowaczyk ( slawomir.nowaczyk.847@student.lu.se ) A man needs a wife because, sooner or later, something is bound to happen that he can't blame on the Government.