Subject: Re: bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters

From: Thierry Volpiatto <[email-masked]>
Date: Fri, 22 Apr 2011 08:03:30 +0200

Glenn Morris <[email-masked]> writes:

> Thierry Volpiatto wrote:
>
>> So yes the problem is related only to eshell.
>
> Why do you want/need to call shell-quote-argument inside eshell?
For compatibility with Windows filenames:

--8<---------------cut here---------------start------------->8---
(goto-char (point-max))
(insert
 (format "cd '%s'" anything-ff-default-directory))
(eshell-send-input)))
--8<---------------cut here---------------end--------------->8---

As there is no evaluation inside the quotes,
this actually works fine, but before that, i wrote it with
shell-quote-argument, which was working fine excepted with accentued char.

-- 
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997