From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: shell-quote-argument: make it behave as if on Unix? Date: Thu, 11 Apr 2002 21:11:45 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200204120311.g3C3Bjg22167@aztec.santafe.edu> References: <2950-Wed10Apr2002195652+0300-eliz@is.elta.co.il> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1018581205 11480 127.0.0.1 (12 Apr 2002 03:13:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 12 Apr 2002 03:13:25 +0000 (UTC) Cc: eliz@is.elta.co.il, 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 16vrV7-0002z3-00 for ; Fri, 12 Apr 2002 05:13:25 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16vrlB-0002oy-00 for ; Fri, 12 Apr 2002 05:30:01 +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 16vrUe-0000x8-00; Thu, 11 Apr 2002 23:12:56 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16vrTZ-0000jj-00; Thu, 11 Apr 2002 23:11:49 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g3C3Bja15480; Thu, 11 Apr 2002 21:11:45 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g3C3Bjg22167; Thu, 11 Apr 2002 21:11:45 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE 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:2556 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2556 > 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. It is more modular to keep this complexity within the Tramp module rather than complicate other parts of Emacs. So I'd rather you put the code you want into Tramp.