unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 9480@debbugs.gnu.org, kjambunathan@gmail.com
Subject: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting?
Date: Tue, 13 Sep 2011 18:27:17 +0300	[thread overview]
Message-ID: <83sjo0wjhm.fsf@gnu.org> (raw)
In-Reply-To: <jwvty8go9bp.fsf-monnier+emacs@gnu.org>

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Tue, 13 Sep 2011 09:35:11 -0400
> Cc: 9480@debbugs.gnu.org
> 
> > My shell-file-name is set to "bash" (cygwin version). My Emacs is
> 
> AFAIK this code does not run any shell.

Yes, and that's the problem: by default Cygwin apps glob their
command-line arguments when invoked from a non-Cygwin program,
assuming that those non-Cygwin programs expect them to.

This should generally work fine, except that IMO globbing in this case
is simply buggy: the braces are removed although a real shell would
expand "{0}" into itself.





  reply	other threads:[~2011-09-13 15:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-12  7:09 bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? Jambunathan K
2011-09-12  7:29 ` Eli Zaretskii
2011-09-12  9:05   ` Jambunathan K
2011-09-12 10:51     ` Eli Zaretskii
2011-09-12 11:22       ` Jambunathan K
2011-09-12 11:50         ` Antoine Levitt
2011-09-12 11:56           ` Eli Zaretskii
2011-09-13  4:46             ` Jambunathan K
2011-09-13  1:39         ` Richard Stallman
2011-09-13  4:03       ` Glenn Morris
2011-09-13  4:37         ` Eli Zaretskii
2011-09-13  5:14           ` Jambunathan K
2011-09-13  6:17           ` Jambunathan K
2011-09-13  6:54             ` Eli Zaretskii
2011-09-13 18:05               ` Stefan Monnier
2011-09-13 13:35 ` Stefan Monnier
2011-09-13 15:27   ` Eli Zaretskii [this message]
2011-09-13 18:21     ` Glenn Morris
2011-09-14 10:58       ` Jambunathan K
2011-09-14 11:57         ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83sjo0wjhm.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=9480@debbugs.gnu.org \
    --cc=kjambunathan@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).