From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Should shell-quote-argument really use (eq system-type 'windows-nt)? Date: Mon, 07 Mar 2005 15:20:12 +0100 Message-ID: References: <47393.217.194.34.123.1110200368.squirrel@wwws.franken.de> <003301c5231d$9c2f3390$0200a8c0@sedrcw11488> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110205062 12129 80.91.229.2 (7 Mar 2005 14:17:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2005 14:17:42 +0000 (UTC) Cc: Stephan Stahl , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 07 15:17:41 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8J1z-0007fL-L8 for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2005 15:16:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8JLl-00082B-TM for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2005 09:36:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D8JLW-0007zZ-18 for emacs-devel@gnu.org; Mon, 07 Mar 2005 09:36:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D8JLS-0007y5-BH for emacs-devel@gnu.org; Mon, 07 Mar 2005 09:36:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8JLS-0007y2-96 for emacs-devel@gnu.org; Mon, 07 Mar 2005 09:36:30 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D8J5i-0003WA-NU for emacs-devel@gnu.org; Mon, 07 Mar 2005 09:20:14 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1D8J5i-0004an-8l; Mon, 07 Mar 2005 09:20:14 -0500 Original-To: "Lennart Borgman" In-Reply-To: <003301c5231d$9c2f3390$0200a8c0@sedrcw11488> (Lennart Borgman's message of "Mon, 7 Mar 2005 14:53:31 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34277 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34277 "Lennart Borgman" writes: > ----- Original Message ----- > From: "Stephan Stahl" > >> I think shell-quote-argument should not use >> (eq system-type'windows-nt) >> instead it should take shell-file-name into account. >> >> It seems very usual for emacs users on w32 to use cygwin or mingw. >> Right now shell-quote-argument would return something wrong when bash >> or some "intelligent" shell is used on w32 because it assumes a dumb >> w32 shell. >> >> What do others think about this (little tested) change? > > I have not tested your change but I think your idea is good. Seconded. We don't want to _force_ w32 users to use bad shells. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum