From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: shell-quote-argument: make it behave as if on Unix? Date: Thu, 11 Apr 2002 17:57:03 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200204111453.g3BErBr21336@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1018540839 5018 127.0.0.1 (11 Apr 2002 16:00:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 11 Apr 2002 16:00:39 +0000 (UTC) Cc: 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 16vh03-0001Ip-00 for ; Thu, 11 Apr 2002 18:00:39 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16vhFu-0004QP-00 for ; Thu, 11 Apr 2002 18:17:02 +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 16vgzd-0000IV-00; Thu, 11 Apr 2002 12:00:13 -0400 Original-Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16vgwg-00009e-00; Thu, 11 Apr 2002 11:57:10 -0400 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g3BFv9b15065; Thu, 11 Apr 2002 17:57:09 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id RAA27345; Thu, 11 Apr 2002 17:57:04 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id E18213AEF1; Thu, 11 Apr 2002 17:57:03 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: <200204111453.g3BErBr21336@aztec.santafe.edu> (Richard Stallman's message of "Thu, 11 Apr 2002 08:53:11 -0600 (MDT)") Original-Lines: 19 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) 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:2537 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2537 Richard Stallman writes: > The Tramp package sends commands to a remote Unix host. These > commands sometimes include filenames, so I pass those through > shell-quote-argument. > > I think you should copy the code you want into your own source file > and give it a different function name. Sure, I can do that. I was trying to avoid the duplication of code, since calling shell-quote-argument allows me to profit from its improvements. (It was you who suggested to me to use shell-quote-argument instead of my home-grown function in the first place. This was many months ago.) kai -- Silence is foo!