From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Subject: shell-quote-argument bug on w32
Date: Mon, 25 Sep 2006 15:41:16 +0200 [thread overview]
Message-ID: <4517DC7C.90106@student.lu.se> (raw)
shell-quote-argument actually is an "os quote argument". It does not
check what shell is actually used. This is a bug in my opinion, but you
notice it mostly on w32 where different shells are actually used.
I think therefore that shell-quote-argument should check shell-file-name
at least when system-type is 'windows-nt. My suggestion for fixing this
is introducing a variable like below and do the needed changes to
`shell-quote-argument':
(defcustom shell-quote-types
'( ("cmdproxy" w32cmd) )
"Type of quoting to use for inferior shell.
A list of cons cells where the car of each cell is a regexp that
is matched against `shell-file-name' by
`shell-quote-argument'. When a match is found the corresponding
quoting type given by the cdr of the cons cell is used."
:type '(repeat (list regexp symbol))
:group 'shell)
next reply other threads:[~2006-09-25 13:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-25 13:41 Lennart Borgman [this message]
2006-09-25 13:59 ` shell-quote-argument bug on w32 Jason Rumney
2006-09-25 19:36 ` Lennart Borgman
2006-09-25 21:40 ` Jason Rumney
2006-09-25 23:05 ` Jason Rumney
2006-09-25 19:26 ` Eli Zaretskii
2006-09-25 19:51 ` Lennart Borgman
2006-09-26 3:13 ` Stefan Monnier
2006-09-26 11:11 ` Lennart Borgman
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=4517DC7C.90106@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
/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.