emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add shell-quasiquote.


From: Eli Zaretskii
Subject: Re: [PATCH] Add shell-quasiquote.
Date: Wed, 21 Oct 2015 22:10:49 +0300

> From: Wolfgang Jenkner <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden
> Date: Wed, 21 Oct 2015 20:57:21 +0200
> 
> On Wed, Oct 21 2015, Eli Zaretskii wrote:
> 
> > That's the documented behavior, see the User Manual.
> 
> I know.  But you said in http://permalink.gmane.org/gmane.emacs.bugs/107739
> 
>     The standard shell of each
>     OS is well defined and known to the users of the respective systems.
>     Moreover, Emacs by default uses that shell automatically.
> 
> I'd say the standard shell is /bin/sh, which may be different from the
> (default) login shell (which is the value of SHELL, usually).

Yes, all true.  Which means we have a potential problem, because the
shell that Emacs uses to run shell commands might not be "the standard
shell", but some "unusual shell" for which shell-quote-argument might
(albeit in rare cases) produce incorrect results.  And that's what the
updated doc string says, in effect.

I guess patches to extend shell-quote-argument to cover more shells on
Posix systems should be welcome, and should get higher priority than
we thought.



reply via email to

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