all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: Eli Zaretskii <eliz@is.elta.co.il>, emacs-devel@gnu.org
Subject: Re: shell-quote-argument: make it behave as if on Unix?
Date: 12 Apr 2002 16:07:23 +0200	[thread overview]
Message-ID: <5xr8llypr8.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <vafk7rdjhte.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de>

Kai.Grossjohann@CS.Uni-Dortmund.DE (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 <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2002-04-12 14:07 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-10 13:46 shell-quote-argument: make it behave as if on Unix? Kai Großjohann
2002-04-10 16:56 ` Eli Zaretskii
2002-04-10 21:10   ` Kai Großjohann
2002-04-10 21:29     ` Stefan Monnier
2002-04-12  3:11     ` Richard Stallman
2002-04-12  4:09       ` Stefan Monnier
2002-04-12 10:16         ` Eli Zaretskii
2002-04-12 11:43           ` Kim F. Storm
2002-04-12 15:18             ` Eli Zaretskii
2002-04-12 18:46           ` Stefan Monnier
2002-04-12 11:07   ` Kai Großjohann
2002-04-12 14:07     ` Kim F. Storm [this message]
2002-04-12 13:38       ` Kai Großjohann
2002-04-12 15:20         ` Eli Zaretskii
2002-04-12 16:55           ` Kai Großjohann
2002-04-12 18:51             ` Eli Zaretskii
2002-04-13 19:07               ` Richard Stallman
2002-04-13 19:18                 ` Kai Großjohann
2002-04-15 21:54                   ` Richard Stallman
2002-04-15 12:16                 ` Stefan Monnier
2002-04-16 20:17                   ` Richard Stallman
2002-04-11 14:53 ` Richard Stallman
2002-04-11 15:57   ` Kai Großjohann
2002-04-12 19:49     ` Richard Stallman
2002-04-16  9:25   ` Kai Großjohann
2002-04-16  9:35     ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5xr8llypr8.fsf@kfs2.cua.dk \
    --to=storm@cua.dk \
    --cc=eliz@is.elta.co.il \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.