From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.devel Subject: Re: shell-quote-argument and multibyte Date: 18 Apr 2003 14:14:04 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <3E99C876.3000809@math.ku.dk> <200304151316.WAA24268@etlken.m17n.org> <8465pc7w8c.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1050671091 18591 80.91.224.249 (18 Apr 2003 13:04:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 18 Apr 2003 13:04:51 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 18 15:04:46 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 196VXq-0004pG-00 for ; Fri, 18 Apr 2003 15:04:46 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 196Vb9-0003dJ-00 for ; Fri, 18 Apr 2003 15:08:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 196VWq-0000t4-0A for emacs-devel@quimby.gnus.org; Fri, 18 Apr 2003 09:03:44 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 196VWO-0000NU-00 for emacs-devel@gnu.org; Fri, 18 Apr 2003 09:03:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 196VWB-0000CI-00 for emacs-devel@gnu.org; Fri, 18 Apr 2003 09:03:03 -0400 Original-Received: from [193.28.100.184] (helo=mail.epost.de) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 196VTY-00074t-00 for emacs-devel@gnu.org; Fri, 18 Apr 2003 09:00:20 -0400 Original-Received: from cicero.benny.turtle-trading.net.epost.de (62.155.186.118) by mail.epost.de (6.7.015) id 3E5ED894004D9C3E for emacs-devel@gnu.org; Fri, 18 Apr 2003 15:00:19 +0200 Original-To: emacs-devel@gnu.org In-Reply-To: <8465pc7w8c.fsf@lucy.is.informatik.uni-duisburg.de> Original-Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13282 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13282 Hi Kai, kai.grossjohann@gmx.net (Kai Gro=DFjohann) writes: > Now, suppose you have a string x which is a filename. Then you > encode that string into the corresponding filename encoding, which > just happens to be an encoding which uses ESC. And then you pass > the whole shebang to shell-quote-argument which will then happily > escape the ESC for you. I may be missing something, but why is ESC especially a problem? Shouldn't shell-quote-argument do just exactly those modifications that the shell will undo? So that the combination of shell-quote-argument and the actual parsing of the command-line in the shell is a no-op? so long, benny