[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add shell-quasiquote.
From: |
Michael Albinus |
Subject: |
Re: [PATCH] Add shell-quasiquote. |
Date: |
Wed, 21 Oct 2015 16:40:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Random832 <address@hidden> writes:
> It doesn't have a documented way for the caller to insist that the
> string be quoted for a POSIX shell rather than the user's shell. In
> particular, the (undocumented) mechanism that Tramp uses to get this
> behavior will obviously break in the presence of (as recommended by the
> documentation) an advised or completely overridden version of the
> function put in place by a user who has an unusual shell.
>
> Maybe what needs to be done is to have separate functions
> shell-quote-argument-msdos, shell-quote-argument-nt,
> shell-quote-argument-posix, and then have shell-quote-argument call
> those based on the user's shell.
I'm in favor of this proposal. Could be also an optional argument to
`shell-quote-argument', instead of four functions.
Tramp has to handle backwards compatibility then, but hey!, this is
daily business :-)
Best regards, Michael.
- Re: Maintainers and contributors, (continued)
- Re: Maintainers and contributors, Eli Zaretskii, 2015/10/22
- Re: Maintainers and contributors, John Wiegley, 2015/10/22
- Re: Maintainers and contributors, Dmitry Gutov, 2015/10/22
- Re: Maintainers and contributors, John Wiegley, 2015/10/22
- Re: Maintainers and contributors, Jay Belanger, 2015/10/22
- Re: Maintainers and contributors, Jay Belanger, 2015/10/22
- Re: [PATCH] Add shell-quasiquote., Random832, 2015/10/20
- Re: [PATCH] Add shell-quasiquote., David Kastrup, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., Eli Zaretskii, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., Random832, 2015/10/21
- Re: [PATCH] Add shell-quasiquote.,
Michael Albinus <=
- Re: [PATCH] Add shell-quasiquote., Eli Zaretskii, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., David Kastrup, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., Eli Zaretskii, 2015/10/22
- Re: [PATCH] Add shell-quasiquote., Random832, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., Eli Zaretskii, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., Stephen J. Turnbull, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., David Kastrup, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., Steinar Bang, 2015/10/26
- Re: [PATCH] Add shell-quasiquote., Wolfgang Jenkner, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., Eli Zaretskii, 2015/10/21