From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: shell-command - missing shell-quote-argument for program? Date: Thu, 05 Oct 2006 15:36:29 -0400 Message-ID: References: <452517DC.5010007@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160077035 27749 80.91.229.2 (5 Oct 2006 19:37:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Oct 2006 19:37:15 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 05 21:37:12 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 1GVZ1b-0006Vz-Al for ged-emacs-devel@m.gmane.org; Thu, 05 Oct 2006 21:36:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GVZ1a-0007QF-MW for ged-emacs-devel@m.gmane.org; Thu, 05 Oct 2006 15:36:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GVZ1N-0007OH-Qs for emacs-devel@gnu.org; Thu, 05 Oct 2006 15:36:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GVZ1L-0007N8-E2 for emacs-devel@gnu.org; Thu, 05 Oct 2006 15:36:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GVZ1L-0007N5-B2 for emacs-devel@gnu.org; Thu, 05 Oct 2006 15:36:39 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GVZ83-0007bb-SA for emacs-devel@gnu.org; Thu, 05 Oct 2006 15:43:36 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 8D3812CF05B; Thu, 5 Oct 2006 15:36:38 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 6EBEB3FE0; Thu, 5 Oct 2006 15:36:29 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 5E9506C8C9; Thu, 5 Oct 2006 15:36:29 -0400 (EDT) Original-To: Lennart Borgman In-Reply-To: <452517DC.5010007@student.lu.se> (Lennart Borgman's message of "Thu\, 05 Oct 2006 16\:34\:04 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca 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:60436 Archived-At: > Should not the program name be quoted by `shell-quote-argment' when it > is possible? I haven't looked at those cases, but I know that in some cases this is done on purpose so that you can use a program name such as "/some/command -arg1 -arg2". Stefan