From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: shell-quote-argument and multibyte Date: Thu, 17 Apr 2003 21:35:47 +0200 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <8465pc7w8c.fsf@lucy.is.informatik.uni-duisburg.de> References: <3E99C876.3000809@math.ku.dk> <200304151316.WAA24268@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050609336 16524 80.91.224.249 (17 Apr 2003 19:55:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2003 19:55:36 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Apr 17 21:55:34 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 196FSA-00049B-00 for ; Thu, 17 Apr 2003 21:53:50 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 196FV8-000176-00 for ; Thu, 17 Apr 2003 21:56:54 +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 196FNG-0005YJ-02 for emacs-devel@quimby.gnus.org; Thu, 17 Apr 2003 15:48:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 196FLx-00054Y-00 for emacs-devel@gnu.org; Thu, 17 Apr 2003 15:47:25 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 196FIy-00044Y-00 for emacs-devel@gnu.org; Thu, 17 Apr 2003 15:44:36 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 196FIT-0003nV-00 for emacs-devel@gnu.org; Thu, 17 Apr 2003 15:43:49 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 196FFV-0003Gk-00 for ; Thu, 17 Apr 2003 21:40:45 +0200 Mail-Followup-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 196FC3-0002zg-00 for ; Thu, 17 Apr 2003 21:37:11 +0200 Original-Lines: 17 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:LvBDrfXowjT4sEfGqiW+zJEfvtU= 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:13269 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13269 Benjamin Riefenstahl writes: > That does mean that, to do the right thing, I will currently have to > encode the file names myself, right? I have the nagging feeling that there might be problems with this. Are there encodings that use ESC as a special character? I think so. 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'm not sure that this is the desired result. -- file-error; Data: (Opening input file no such file or directory ~/.signature)