[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell-quote-argument and multibyte

From: Benjamin Riefenstahl
Subject: Re: shell-quote-argument and multibyte
Date: 18 Apr 2003 14:14:04 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hi Kai,

address@hidden (Kai Großjohann) 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]