[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-quote-argument: make it behave as if on Unix?
From: |
Kim F. Storm |
Subject: |
Re: shell-quote-argument: make it behave as if on Unix? |
Date: |
12 Apr 2002 16:07:23 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 |
address@hidden (Kai Großjohann) writes:
> Another possibility is to keep the current behavior and just document
> it:
>
> This function uses the variable `system-type' to see what kind of
> quoting is to take place. You can bind that variable before
> calling this function to effect a different kind of quoting. For
> example, the following gives you Unix-style quoting even when
> Emacs is running on Windows-like systems:
> (let ((system-type 'not-windows)) (shell-quote-argument "..."))
>
Excecpt that this addition to the doc string is larger (and more
complex) than the changes needed to add and document an optional
target-system-type parameter :-)
But I agree that this would suffice, and maybe a shorter doc string
would be sufficient [Don't give an example -- this is for lisp
experts anyway]... Maybe this is enough:
The variable `system-type' determines the kind of quoting performed.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: shell-quote-argument: make it behave as if on Unix?, (continued)
- Re: shell-quote-argument: make it behave as if on Unix?, Eli Zaretskii, 2002/04/10
- Re: shell-quote-argument: make it behave as if on Unix?, Kai Großjohann, 2002/04/10
- Re: shell-quote-argument: make it behave as if on Unix?, Stefan Monnier, 2002/04/10
- Re: shell-quote-argument: make it behave as if on Unix?, Richard Stallman, 2002/04/11
- Re: shell-quote-argument: make it behave as if on Unix?, Stefan Monnier, 2002/04/12
- Re: shell-quote-argument: make it behave as if on Unix?, Eli Zaretskii, 2002/04/12
- Re: shell-quote-argument: make it behave as if on Unix?, Kim F. Storm, 2002/04/12
- Re: shell-quote-argument: make it behave as if on Unix?, Eli Zaretskii, 2002/04/12
- Re: shell-quote-argument: make it behave as if on Unix?, Stefan Monnier, 2002/04/12
Re: shell-quote-argument: make it behave as if on Unix?, Kai Großjohann, 2002/04/12
- Re: shell-quote-argument: make it behave as if on Unix?,
Kim F. Storm <=
- Re: shell-quote-argument: make it behave as if on Unix?, Kai Großjohann, 2002/04/12
- Re: shell-quote-argument: make it behave as if on Unix?, Eli Zaretskii, 2002/04/12
- Re: shell-quote-argument: make it behave as if on Unix?, Kai Großjohann, 2002/04/12
- Re: shell-quote-argument: make it behave as if on Unix?, Eli Zaretskii, 2002/04/12
- Re: shell-quote-argument: make it behave as if on Unix?, Richard Stallman, 2002/04/13
- Re: shell-quote-argument: make it behave as if on Unix?, Kai Großjohann, 2002/04/13
- Re: shell-quote-argument: make it behave as if on Unix?, Richard Stallman, 2002/04/15
Re: shell-quote-argument: make it behave as if on Unix?, Stefan Monnier, 2002/04/15
Re: shell-quote-argument: make it behave as if on Unix?, Richard Stallman, 2002/04/16
Re: shell-quote-argument: make it behave as if on Unix?, Richard Stallman, 2002/04/11