From: Eli Zaretskii <eliz@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 20744@debbugs.gnu.org, zhangda82@gmail.com
Subject: bug#20744: shell-quote-argument in Emacs 24.5 and Emacs 25 on Windows cannot figure out path correctly
Date: Sun, 07 Jun 2015 22:11:49 +0300 [thread overview]
Message-ID: <837frfmiyy.fsf@gnu.org> (raw)
In-Reply-To: <u67frfieis.fsf@fencepost.gnu.org>
> From: Glenn Morris <rgm@gnu.org>
> Cc: Da Zhang <zhangda82@gmail.com>, 20744@debbugs.gnu.org
> Date: Sun, 07 Jun 2015 14:01:31 -0400
>
> Eli Zaretskii wrote:
>
> > I'm sorry, but I don't see how we can accept such a change: it means
> > that when the Cygwin Bash is used as the shell, the ':' character will
> > not be quoted, which I think could cause trouble in some cases.
> >
> > Maybe some Bash expert could chime in and tell whether problems are
> > possible with Bash in this case.
>
> Not an expert (and didn't read the rest of the report), but I can't
> think of a reason why ':' would need quoting in Bash (unlike eg ';' or '&').
> What kind of thing are you thinking of?
PATH-style lists, maybe.
Anyway, if we think ':' doesn't need to be quoted, how about removing
it from the Posix branch of shell-quote-argument? Then we won't need
ugly hacks that try to detect Cygwin Bash used from a native Windows
Emacs.
next prev parent reply other threads:[~2015-06-07 19:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-05 16:33 bug#20744: shell-quote-argument in Emacs 24.5 and Emacs 25 on Windows cannot figure out path correctly Da Zhang
2015-06-05 20:13 ` Eli Zaretskii
2015-06-05 20:50 ` Da Zhang
2015-06-05 21:05 ` Da Zhang
2015-06-07 18:01 ` Glenn Morris
2015-06-07 19:11 ` Eli Zaretskii [this message]
2015-06-08 0:07 ` Glenn Morris
2015-06-08 0:24 ` Glenn Morris
2015-06-08 0:47 ` Glenn Morris
2015-06-08 2:43 ` Eli Zaretskii
2015-06-08 7:43 ` Michael Albinus
2015-06-08 14:31 ` Eli Zaretskii
2015-06-08 15:14 ` Michael Albinus
2015-06-08 16:22 ` Eli Zaretskii
2015-06-08 16:34 ` Michael Albinus
2015-06-08 14:03 ` Stefan Monnier
2016-08-10 0:51 ` npostavs
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=837frfmiyy.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=20744@debbugs.gnu.org \
--cc=rgm@gnu.org \
--cc=zhangda82@gmail.com \
/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.