From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: shell-quote-argument: make it behave as if on Unix? Date: Wed, 10 Apr 2002 17:29:21 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200204102129.g3ALTLH27564@rum.cs.yale.edu> References: <2950-Wed10Apr2002195652+0300-eliz@is.elta.co.il> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1018475881 13057 127.0.0.1 (10 Apr 2002 21:58:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 10 Apr 2002 21:58:01 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16vQ6L-0003OR-00 for ; Wed, 10 Apr 2002 23:58:01 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16vQLn-0005KM-00 for ; Thu, 11 Apr 2002 00:13:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16vPfZ-0001XN-00; Wed, 10 Apr 2002 17:30:21 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16vPeh-0001RP-00 for ; Wed, 10 Apr 2002 17:29:27 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g3ALTLH27564; Wed, 10 Apr 2002 17:29:21 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2524 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2524 > "Eli Zaretskii" writes: > > > It strikes me that we should add to shell-quote-argument an optional > > argument that will cause it to quote a shell argument for specific OS. > > If the optional argument is omitted or nil, let it default to > > system-type. > > > > What do you think? > > This sounds like a good idea. If there is a way to check whether > this new feature is available, that'd be perfect. (Then Tramp can Trivial: call it with the extra arg and see if it succeeds. Stefan