unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
Subject: Re: shell-quote-argument and multibyte
Date: 18 Apr 2003 14:14:04 +0200	[thread overview]
Message-ID: <m3k7ds0zqr.fsf@cicero.benny.turtle-trading.net> (raw)
In-Reply-To: <8465pc7w8c.fsf@lucy.is.informatik.uni-duisburg.de>

Hi Kai,


kai.grossjohann@gmx.net (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	other threads:[~2003-04-18 12:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-13 20:28 shell-quote-argument and multibyte Lars Hansen
2003-04-13 21:57 ` Benjamin Riefenstahl
2003-04-13 22:02 ` Benjamin Riefenstahl
2003-04-15 13:16   ` Kenichi Handa
2003-04-15 17:52     ` Lars Hansen
2003-04-16  2:00       ` Kenichi Handa
2003-04-16  6:16         ` Lars Hansen
2003-04-16  6:28           ` Kenichi Handa
2003-04-17 13:54     ` Benjamin Riefenstahl
2003-04-17 19:35       ` Kai Großjohann
2003-04-18 12:14         ` Benjamin Riefenstahl [this message]
2003-04-18 15:35           ` Kai Großjohann
  -- strict thread matches above, loose matches on Subject: below --
2003-05-11 17:51 Lars Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3k7ds0zqr.fsf@cicero.benny.turtle-trading.net \
    --to=benjamin.riefenstahl@epost.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).