[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: |
Fri, 22 Apr 2011 08:03:30 +0200 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) |
Glenn Morris <rgm@gnu.org> 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
- bug#8531: 24.0.50; shell-quote-argument shouldn't escape special characters, (continued)
- 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, 2011/04/21
- 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 <=
- 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