[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8531: 24.0.50; shell-quote-argument shouldn't escape special charact
From: |
Thierry Volpiatto |
Subject: |
bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters |
Date: |
Thu, 21 Apr 2011 18:34:37 +0200 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
>> Date: Thu, 21 Apr 2011 15:31:41 +0200
>>
>> > The command was "ls Vid\éos". It displayed the files in that
>> > directory.
>> Yes, but ls "Vid\éos" fail.
>
> Where did the quotes come from? shell-quote-argument doesn't add
> extra quotes.
>
>> The point is being able to do something like this:
>> (shell-command (format "ls %s" (shell-quote-argument (read-string "Fname:
>> "))))
>>
>> instead of e.g
>> (shell-command (format "ls '%s'" (read-string "Fname: ")))
>
> The former works for me without any changes. Are you sure you use the
> default version of shell-quote-argument?
Yes you're right, sorry, i was inserting ~/Vidéos.
So yes the problem is related only to eshell.
--
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, Thierry Volpiatto, 2011/04/21
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, Eli Zaretskii, 2011/04/21
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, Thierry Volpiatto, 2011/04/21
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, Eli Zaretskii, 2011/04/21
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, Thierry Volpiatto, 2011/04/21
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, Eli Zaretskii, 2011/04/21
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters,
Thierry Volpiatto <=
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, Glenn Morris, 2011/04/21
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, Eli Zaretskii, 2011/04/22
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, Glenn Morris, 2011/04/22
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, Eli Zaretskii, 2011/04/22
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, Thierry Volpiatto, 2011/04/22
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, Eli Zaretskii, 2011/04/22
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, Thierry Volpiatto, 2011/04/22