From unknown Fri Jun 20 07:14:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#9480 <9480@debbugs.gnu.org> To: bug#9480 <9480@debbugs.gnu.org> Subject: Status: 24.0.50; (vc-git) stash@{n} - requires shell quoting? Reply-To: bug#9480 <9480@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:14:04 +0000 retitle 9480 24.0.50; (vc-git) stash@{n} - requires shell quoting? reassign 9480 emacs submitter 9480 Jambunathan K severity 9480 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 12 03:14:29 2011 Received: (at submit) by debbugs.gnu.org; 12 Sep 2011 07:14:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R30ir-00057T-DH for submit@debbugs.gnu.org; Mon, 12 Sep 2011 03:14:29 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R30io-00057K-UD for submit@debbugs.gnu.org; Mon, 12 Sep 2011 03:14:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R30eb-0006Xr-Qc for submit@debbugs.gnu.org; Mon, 12 Sep 2011 03:10:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:37699) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R30eb-0006Xm-NZ for submit@debbugs.gnu.org; Mon, 12 Sep 2011 03:10:05 -0400 Received: from eggs.gnu.org ([140.186.70.92]:52469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R30ea-0008IE-J7 for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 03:10:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R30eZ-0006W3-6e for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 03:10:04 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]:55910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R30eZ-0006Vy-11 for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 03:10:03 -0400 Received: by pzk36 with SMTP id 36so7120175pzk.17 for ; Mon, 12 Sep 2011 00:10:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type; bh=YUA6oCLPgT3Zga/+SMC72G3X/Mk07BchkydjFR99Ujk=; b=VKBtBDG1dk4zMh0+PTl329YVMYJBkp57apFK9pClwXpWX1I0bDiF0GRA52EnlKChn8 ZeXeYPF0EoVD5hqBPmihP+OEGZrHXgJL18prOzQW33906219EC7Q1WmWfpjweUi6IkjG /gLs9LvBrEWEDppW1uGYJlVHrfEKrmMI3jd0g= Received: by 10.68.22.102 with SMTP id c6mr199965pbf.158.1315811401556; Mon, 12 Sep 2011 00:10:01 -0700 (PDT) Received: from JAMBU-NETBOOK ([115.242.149.42]) by mx.google.com with ESMTPS id f8sm25295372pbc.3.2011.09.12.00.09.56 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Sep 2011 00:10:00 -0700 (PDT) From: Jambunathan K To: bug-gnu-emacs@gnu.org Subject: 24.0.50; (vc-git) stash@{n} - requires shell quoting? Date: Mon, 12 Sep 2011 12:39:43 +0530 Message-ID: <81sjo2fd8o.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) --=-=-= Content-Type: text/plain While in a *vc-dir* buffer (backed by git) and trying to show or apply a stash fails. I am attaching "works for me" patch that shell-quotes stash@{n} argument. With this "patch", the stash commands work as expected. My shell-file-name is set to "bash" (cygwin version). My Emacs is In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-09-06 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt' Additional Info: ,---- | VC backend : Git | Working dir: ~/src/org-mode/ | Branch : master | Remote : orgmode@orgmode.org:org-mode.git | Stash : | {0}: On master: custom tables <----- `---- FWIW, the stash line has following keymap: ,---- | (keymap | (83 . vc-git-stash-snapshot) | (80 . vc-git-stash-pop-at-point) | (65 . vc-git-stash-apply-at-point) | (13 . vc-git-stash-show-at-point) | (61 . vc-git-stash-show-at-point) | (11 . vc-git-stash-delete-at-point) | (down-mouse-3 . vc-git-stash-menu) | (mouse-2 . ignore)) `---- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=vc-git.el.patch *** a/vc-git.el Mon Sep 12 12:14:06 2011 --- b/vc-git.el Mon Sep 12 12:16:41 2011 *************** *** 1066,1085 **** (interactive) (let ((stash (vc-git-stash-get-at-point (point)))) (when (y-or-n-p (format "Remove stash %s ? " stash)) ! (vc-git--run-command-string nil "stash" "drop" (format "stash@%s" stash)) (vc-dir-refresh)))) (defun vc-git-stash-show-at-point () (interactive) ! (vc-git-stash-show (format "stash@%s" (vc-git-stash-get-at-point (point))))) (defun vc-git-stash-apply-at-point () (interactive) ! (vc-git-stash-apply (format "stash@%s" (vc-git-stash-get-at-point (point))))) (defun vc-git-stash-pop-at-point () (interactive) ! (vc-git-stash-pop (format "stash@%s" (vc-git-stash-get-at-point (point))))) (defun vc-git-stash-menu (e) (interactive "e") --- 1066,1093 ---- (interactive) (let ((stash (vc-git-stash-get-at-point (point)))) (when (y-or-n-p (format "Remove stash %s ? " stash)) ! (vc-git--run-command-string nil "stash" "drop" ! (shell-quote-argument ! (format "stash@%s" stash))) (vc-dir-refresh)))) (defun vc-git-stash-show-at-point () (interactive) ! (vc-git-stash-show ! (shell-quote-argument ! (format "stash@%s" (vc-git-stash-get-at-point (point)))))) (defun vc-git-stash-apply-at-point () (interactive) ! (vc-git-stash-apply ! (shell-quote-argument ! (format "stash@%s" (vc-git-stash-get-at-point (point)))))) (defun vc-git-stash-pop-at-point () (interactive) ! (vc-git-stash-pop ! (shell-quote-argument ! (format "stash@%s" (vc-git-stash-get-at-point (point)))))) (defun vc-git-stash-menu (e) (interactive "e") --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 12 03:33:42 2011 Received: (at 9480) by debbugs.gnu.org; 12 Sep 2011 07:33:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R311R-00077N-AK for submit@debbugs.gnu.org; Mon, 12 Sep 2011 03:33:42 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R311O-00077F-9p for 9480@debbugs.gnu.org; Mon, 12 Sep 2011 03:33:39 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R30xC-0005jC-06; Mon, 12 Sep 2011 03:29:18 -0400 Date: Mon, 12 Sep 2011 03:29:18 -0400 Message-Id: From: Eli Zaretskii To: Jambunathan K In-reply-to: <81sjo2fd8o.fsf@gmail.com> (message from Jambunathan K on Mon, 12 Sep 2011 12:39:43 +0530) Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: Jambunathan K > Date: Mon, 12 Sep 2011 12:39:43 +0530 > > While in a *vc-dir* buffer (backed by git) and trying to show or apply a > stash fails. > > I am attaching "works for me" patch that shell-quotes stash@{n} > argument. With this "patch", the stash commands work as expected. > > My shell-file-name is set to "bash" (cygwin version). My Emacs is > > In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) Can you tell what does git see as its arguments without the quoting? I would like to establish whether this is some bug specific to the Windows build of Emacs, since other systems that use Bash evidently don't need this change. TIA From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 12 05:10:30 2011 Received: (at 9480) by debbugs.gnu.org; 12 Sep 2011 09:10:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R32X8-0005Xa-N5 for submit@debbugs.gnu.org; Mon, 12 Sep 2011 05:10:30 -0400 Received: from mail-pz0-f47.google.com ([209.85.210.47]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R32X6-0005XS-4t for 9480@debbugs.gnu.org; Mon, 12 Sep 2011 05:10:29 -0400 Received: by pzk2 with SMTP id 2so5374060pzk.20 for <9480@debbugs.gnu.org>; Mon, 12 Sep 2011 02:06:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=8XuE/5YSySFxF4iKi339npdlyBjEVsKUtUw3AmVJi0E=; b=T6Gwp3Mp0atZUtZnJ2mVWTqlMyAm1SEK1dritCA5rE3AJYc5XWPV+m/Duuia1q1SkC QStrJ59taOmxSuuXSpBpopR2vNaprJC5+4m9bk7TzNYWqjM5d7ljC0+GljiUQpDJMMZM wSmk2DoJCEmnxVZgLlmtrsBYQFQdxjDaqSpcQ= Received: by 10.68.199.233 with SMTP id jn9mr9208pbc.102.1315818366818; Mon, 12 Sep 2011 02:06:06 -0700 (PDT) Received: from JAMBU-NETBOOK ([115.184.17.197]) by mx.google.com with ESMTPS id f6sm6849293pbp.2.2011.09.12.02.06.01 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Sep 2011 02:06:05 -0700 (PDT) From: Jambunathan K To: Eli Zaretskii Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> Date: Mon, 12 Sep 2011 14:35:48 +0530 In-Reply-To: (Eli Zaretskii's message of "Mon, 12 Sep 2011 03:29:18 -0400") Message-ID: <81d3f6t9jn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) Eli Zaretskii writes: >> From: Jambunathan K >> Date: Mon, 12 Sep 2011 12:39:43 +0530 >> >> While in a *vc-dir* buffer (backed by git) and trying to show or apply a >> stash fails. >> >> I am attaching "works for me" patch that shell-quotes stash@{n} >> argument. With this "patch", the stash commands work as expected. >> >> My shell-file-name is set to "bash" (cygwin version). My Emacs is >> >> In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) > > Can you tell what does git see as its arguments without the quoting? > I would like to establish whether this is some bug specific to the > Windows build of Emacs, since other systems that use Bash evidently > don't need this change. With the failing setup and (setq vc-command-messages t) I see the following in the *Messages* buffer and it seems OK to me ,---- *Messages* | Running git update-index --refresh . in background... done | Running git diff-index --relative -z -M HEAD -- . in background... done | Running git ls-files -z -o --directory --no-empty-directory --exclude-standard -- . in background... done | Running git stash show -p stash@{0} . in background... done `---- But in the *vc-git-stash* buffer I see the following message ,---- *vc-git-stash* | '-p stash@0' is not a stash `---- Not the absence of `{' `}' in the error report. I hope that provides some clue on what the underlying git sees. With my "works for me" changes, I see the following ,---- *Messages* | Running git stash show -p stash\@\{0\} . in background... done `---- ,---- *vc-git-stash* | diff --git a/contrib/lisp/org-odt.el b/contrib/lisp/org-odt.el | index 5bc73a7..91c98ea 100644 | --- a/contrib/lisp/org-odt.el | +++ b/contrib/lisp/org-odt.el | @@ -636,7 +636,28 @@ PUB-DIR is set, use this as the publishing directory." | (defvar org-lparse-table-is-styled) | (defvar org-lparse-table-rowgrp-info) | (defvar org-lparse-table-colalign-vector) | + | [snip] `---- Let me know if you need more information. FWIW, git is also from cygwin installation. Jambunathan K. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 12 06:55:56 2011 Received: (at 9480) by debbugs.gnu.org; 12 Sep 2011 10:55:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R34B8-0004uI-SO for submit@debbugs.gnu.org; Mon, 12 Sep 2011 06:55:55 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R34B5-0004uA-Hq for 9480@debbugs.gnu.org; Mon, 12 Sep 2011 06:55:52 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R346s-0005ee-LZ; Mon, 12 Sep 2011 06:51:30 -0400 Date: Mon, 12 Sep 2011 06:51:30 -0400 Message-Id: From: Eli Zaretskii To: Jambunathan K In-reply-to: <81d3f6t9jn.fsf@gmail.com> (message from Jambunathan K on Mon, 12 Sep 2011 14:35:48 +0530) Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> <81d3f6t9jn.fsf@gmail.com> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: Jambunathan K > Cc: 9480@debbugs.gnu.org > Date: Mon, 12 Sep 2011 14:35:48 +0530 > > | Running git stash show -p stash@{0} . in background... done > `---- > > But in the *vc-git-stash* buffer I see the following message > > ,---- *vc-git-stash* > | '-p stash@0' is not a stash > `---- > > Not the absence of `{' `}' in the error report. I hope that provides > some clue on what the underlying git sees. Yes, I see the problem, but now I wonder how come users of Posix platforms didn't see it. Does it happen if your shell-file-name is set to "sh", not "bash" (assuming the Cygwin Bash comes with such an executable or a link)? Perhaps someone who uses this on Unix or GNU system could try this command and see if it needs quoting in general, not just on Windows with Cygwin Bash. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 12 07:27:43 2011 Received: (at 9480) by debbugs.gnu.org; 12 Sep 2011 11:27:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R34fu-00079c-I3 for submit@debbugs.gnu.org; Mon, 12 Sep 2011 07:27:42 -0400 Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R34ft-00079V-7z for 9480@debbugs.gnu.org; Mon, 12 Sep 2011 07:27:41 -0400 Received: by yxt33 with SMTP id 33so33347yxt.3 for <9480@debbugs.gnu.org>; Mon, 12 Sep 2011 04:23:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=9sWw1uzVv5Jaww5TcKYJhdM2JrsGI+WT3Lk6oisIi0Q=; b=L1+v007hLTz/Sbu5djU9bQn3oh/xMA8aE1JRgH3OBguhbBCg6TKwGwJCwMwv3fE7Y0 lAw2JEgDbinWTnZu2G6dNRRS5QY5KdVRQL6sy43i/am7gF4pTUOTGVKRlwZ70INdrya6 202DVmT5OpSuSGY1er6GodE4u5WBM+f0SOSLE= Received: by 10.68.27.193 with SMTP id v1mr3299441pbg.462.1315826599603; Mon, 12 Sep 2011 04:23:19 -0700 (PDT) Received: from JAMBU-NETBOOK ([115.184.17.197]) by mx.google.com with ESMTPS id h5sm42347083pbq.11.2011.09.12.04.23.13 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Sep 2011 04:23:18 -0700 (PDT) From: Jambunathan K To: Eli Zaretskii Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> <81d3f6t9jn.fsf@gmail.com> Date: Mon, 12 Sep 2011 16:52:59 +0530 In-Reply-To: (Eli Zaretskii's message of "Mon, 12 Sep 2011 06:51:30 -0400") Message-ID: <81d3f680oc.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.0 (----) > Yes, I see the problem, but now I wonder how come users of Posix > platforms didn't see it. Does it happen if your shell-file-name is > set to "sh", not "bash" (assuming the Cygwin Bash comes with such an > executable or a link)? sh and bash are apparently one and the same executable. ,---- | sh-3.2$ bash --version | GNU bash, version 3.2.51(24)-release (i686-pc-cygwin) | Copyright (C) 2007 Free Software Foundation, Inc. | | sh-3.2$ sh --version | GNU bash, version 3.2.51(24)-release (i686-pc-cygwin) | Copyright (C) 2007 Free Software Foundation, Inc. | | | sh-3.2$ pwd | /usr/bin | | sh-3.2$ diff --binary sh.exe bash.exe | | sh-3.2$ ls -al sh.exe | -rwxr-xr-x 1 kjambunathan root 470542 Aug 13 2010 sh.exe | | sh-3.2$ ls -al bash.exe | -rwxr-xr-x 1 kjambunathan root 470542 Aug 13 2010 bash.exe `---- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 12 07:55:47 2011 Received: (at submit) by debbugs.gnu.org; 12 Sep 2011 11:55:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3574-0000tt-33 for submit@debbugs.gnu.org; Mon, 12 Sep 2011 07:55:47 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3571-0000tl-8B for submit@debbugs.gnu.org; Mon, 12 Sep 2011 07:55:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R352n-0000y9-C9 for submit@debbugs.gnu.org; Mon, 12 Sep 2011 07:51:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:48828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R352n-0000y5-8L for submit@debbugs.gnu.org; Mon, 12 Sep 2011 07:51:21 -0400 Received: from eggs.gnu.org ([140.186.70.92]:34351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R352m-0003ry-AB for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 07:51:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R352j-0000xm-Uq for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 07:51:20 -0400 Received: from lo.gmane.org ([80.91.229.12]:35983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R352j-0000xS-Pj for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 07:51:17 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R352i-0007IS-JV for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 13:51:16 +0200 Received: from portable44.ceremade.dauphine.fr ([193.48.71.44]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Sep 2011 13:51:16 +0200 Received: from antoine.levitt by portable44.ceremade.dauphine.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Sep 2011 13:51:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org To: bug-gnu-emacs@gnu.org From: Antoine Levitt Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? Date: Mon, 12 Sep 2011 13:50:56 +0200 Lines: 13 Message-ID: <874o0iq8rj.fsf@gmail.com> References: <81sjo2fd8o.fsf@gmail.com> <81d3f6t9jn.fsf@gmail.com> <81d3f680oc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: portable44.ceremade.dauphine.fr Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 12/09/11 13:22, Jambunathan K >> Yes, I see the problem, but now I wonder how come users of Posix >> platforms didn't see it. Does it happen if your shell-file-name is >> set to "sh", not "bash" (assuming the Cygwin Bash comes with such an >> executable or a link)? > > sh and bash are apparently one and the same executable. Bash runs in sh compatibility mode when invoked with "sh". From man bash: If bash is invoked with the name sh, it tries to mimic the startup behavior of historical versions of sh as closely as possible, while conforming to the POSIX standard as well. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 12 08:01:06 2011 Received: (at 9480) by debbugs.gnu.org; 12 Sep 2011 12:01:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R35CE-0001o5-DH for submit@debbugs.gnu.org; Mon, 12 Sep 2011 08:01:06 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R35CC-0001nz-IE for 9480@debbugs.gnu.org; Mon, 12 Sep 2011 08:01:05 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R357z-0006qA-8e; Mon, 12 Sep 2011 07:56:43 -0400 Date: Mon, 12 Sep 2011 07:56:43 -0400 Message-Id: From: Eli Zaretskii To: Antoine Levitt In-reply-to: <874o0iq8rj.fsf@gmail.com> (message from Antoine Levitt on Mon, 12 Sep 2011 13:50:56 +0200) Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> <81d3f6t9jn.fsf@gmail.com> <81d3f680oc.fsf@gmail.com> <874o0iq8rj.fsf@gmail.com> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org, Jambunathan K X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: Antoine Levitt > Date: Mon, 12 Sep 2011 13:50:56 +0200 > > 12/09/11 13:22, Jambunathan K > >> Yes, I see the problem, but now I wonder how come users of Posix > >> platforms didn't see it. Does it happen if your shell-file-name is > >> set to "sh", not "bash" (assuming the Cygwin Bash comes with such an > >> executable or a link)? > > > > sh and bash are apparently one and the same executable. > > Bash runs in sh compatibility mode when invoked with "sh". From man bash: > > If bash is invoked with the name sh, it tries to mimic the > startup behavior of historical versions of sh as closely as > possible, while conforming to the POSIX standard as well. Right. So results could be different, even though it's the same binary. Jambunathan, please try that if you can. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 12 21:44:18 2011 Received: (at 9480) by debbugs.gnu.org; 13 Sep 2011 01:44:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3I2s-00048l-1N for submit@debbugs.gnu.org; Mon, 12 Sep 2011 21:44:18 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3I2o-00048d-Sg for 9480@debbugs.gnu.org; Mon, 12 Sep 2011 21:44:16 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R3HyX-0004q7-HW; Mon, 12 Sep 2011 21:39:49 -0400 Date: Mon, 12 Sep 2011 21:39:49 -0400 Message-Id: Content-Type: text/plain; charset=ISO-8859-15 From: Richard Stallman To: Jambunathan K In-reply-to: <81d3f680oc.fsf@gmail.com> (message from Jambunathan K on Mon, 12 Sep 2011 16:52:59 +0530) Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> <81d3f6t9jn.fsf@gmail.com> <81d3f680oc.fsf@gmail.com> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org, eliz@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: rms@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) sh and bash are apparently one and the same executable. That is a bad practice -- the file's name should not change its behavior. They ought to be two executables. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/ From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 13 00:07:39 2011 Received: (at 9480) by debbugs.gnu.org; 13 Sep 2011 04:07:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3KHb-0006gH-5g for submit@debbugs.gnu.org; Tue, 13 Sep 2011 00:07:39 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3KHY-0006g9-5i for 9480@debbugs.gnu.org; Tue, 13 Sep 2011 00:07:37 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R3KDG-0007mS-9P; Tue, 13 Sep 2011 00:03:10 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> <81d3f6t9jn.fsf@gmail.com> X-Spook: national information infrastructure Uzbekistan Putin PGP X-Ran: &0b}85# User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org, Jambunathan K X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Eli Zaretskii wrote: > Perhaps someone who uses this on Unix or GNU system could try this > command and see if it needs quoting in general, not just on Windows > with Cygwin Bash. FWIW, I can only find (t)csh where `echo stash@{0}' does not print "stash@{0}". From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 13 00:41:50 2011 Received: (at 9480) by debbugs.gnu.org; 13 Sep 2011 04:41:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3Kog-0000ZL-91 for submit@debbugs.gnu.org; Tue, 13 Sep 2011 00:41:50 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3Kod-0000ZD-Ig for 9480@debbugs.gnu.org; Tue, 13 Sep 2011 00:41:48 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R3KkM-0001UP-3o; Tue, 13 Sep 2011 00:37:22 -0400 Date: Tue, 13 Sep 2011 00:37:22 -0400 Message-Id: From: Eli Zaretskii To: Glenn Morris In-reply-to: (message from Glenn Morris on Tue, 13 Sep 2011 00:03:10 -0400) Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> <81d3f6t9jn.fsf@gmail.com> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org, kjambunathan@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: Glenn Morris > Cc: Jambunathan K , 9480@debbugs.gnu.org > Date: Tue, 13 Sep 2011 00:03:10 -0400 > > Eli Zaretskii wrote: > > > Perhaps someone who uses this on Unix or GNU system could try this > > command and see if it needs quoting in general, not just on Windows > > with Cygwin Bash. > > FWIW, I can only find (t)csh where `echo stash@{0}' does not print "stash@{0}". I wasn't able to reproduce it with Bash on a GNU system, either, but I thought I was missing something. Neither do I see any special handling of the braces in the w32-specific parts of Emacs. So it's a mystery why this happens with the Cygwin Bash. Jambunathan, could you perhaps post a question to the Cygwin mailing list? From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 13 00:51:39 2011 Received: (at 9480) by debbugs.gnu.org; 13 Sep 2011 04:51:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3KyB-0001ZW-DG for submit@debbugs.gnu.org; Tue, 13 Sep 2011 00:51:39 -0400 Received: from mail-pz0-f47.google.com ([209.85.210.47]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3Ky8-0001ZO-Qs for 9480@debbugs.gnu.org; Tue, 13 Sep 2011 00:51:37 -0400 Received: by pzk2 with SMTP id 2so246026pzk.20 for <9480@debbugs.gnu.org>; Mon, 12 Sep 2011 21:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=ZnVhjWMgxHdsvmn9Iu6QWDNqzq6pldq868gaeW4ZOLE=; b=MBq7NPnm4VSCOmcK9h3YM1jJiwVgNgH3WZyIT6PJGKwxwmEt2QBmd0v1qkDupMGmuN c7x1x/F3B+ESw592JHox4X6ZLRpe0/O652iE10vCbxx/SD+R/3KE0f7rV6gs3c43mPfY RJgmJvx7ihz2smKh2QMMN2NWefvU1wjpcfk8I= Received: by 10.68.0.225 with SMTP id 1mr110280pbh.30.1315889231001; Mon, 12 Sep 2011 21:47:11 -0700 (PDT) Received: from JAMBU-NETBOOK ([115.184.58.42]) by mx.google.com with ESMTPS id i4sm2056554pbr.4.2011.09.12.21.47.05 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Sep 2011 21:47:10 -0700 (PDT) From: Jambunathan K To: Eli Zaretskii Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> <81d3f6t9jn.fsf@gmail.com> <81d3f680oc.fsf@gmail.com> <874o0iq8rj.fsf@gmail.com> Date: Tue, 13 Sep 2011 10:16:48 +0530 In-Reply-To: (Eli Zaretskii's message of "Mon, 12 Sep 2011 07:56:43 -0400") Message-ID: <81pqj59hhj.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org, Antoine Levitt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.0 (----) Eli Zaretskii writes: >> From: Antoine Levitt >> Date: Mon, 12 Sep 2011 13:50:56 +0200 >> >> 12/09/11 13:22, Jambunathan K >> >> Yes, I see the problem, but now I wonder how come users of Posix >> >> platforms didn't see it. Does it happen if your shell-file-name is >> >> set to "sh", not "bash" (assuming the Cygwin Bash comes with such an >> >> executable or a link)? >> > >> > sh and bash are apparently one and the same executable. >> >> Bash runs in sh compatibility mode when invoked with "sh". From man bash: >> >> If bash is invoked with the name sh, it tries to mimic the >> startup behavior of historical versions of sh as closely as >> possible, while conforming to the POSIX standard as well. > > Right. So results could be different, even though it's the same > binary. Jambunathan, please try that if you can. The reported problem persists even if I run with emacs -Q and for ALL THREE settings of shell-file-name 1. The default value - cmdproxy.exe 2. (setq shell-file-name "sh") 3. (setq shell-file-name "bash") *vc-dir* correctly reports modified files in my work area correctly for ALL the above settings. side note: My "shell quoting" changes produces the expected behaviour in case of 2 and 3. But fails for scenario 1. ps: I see that my remark about sh.exe and bash.exe being same has produced some confusion. What I meant was sh.exe and bash.exe are DIFFERENT EXECUTABLE FILES (in physical sense) but with the SAME CONTENT. ,---- | $ ls -al *sh.exe | -rwxr-xr-x 2 kjambunathan root 82446 2010-06-30 04:18 ash.exe | -rwxr-xr-x 1 kjambunathan root 470542 2010-08-13 22:28 bash.exe | -rwxr-xr-x 2 kjambunathan root 82446 2010-06-30 04:18 dash.exe | -rwxr-xr-x 1 kjambunathan root 8718 2010-02-11 13:25 ppmflash.exe | -rwxr-xr-x 1 kjambunathan root 470542 2010-08-13 22:28 sh.exe | -rwxr-xr-x 1 kjambunathan root 342030 2010-09-03 14:14 ssh.exe | lrwxrwxrwx 1 kjambunathan root 11 2011-03-16 14:31 tclsh.exe -> tclsh84.exe | lrwxrwxrwx 1 kjambunathan root 10 2011-03-16 14:31 wish.exe -> wish84.exe `---- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 13 01:18:52 2011 Received: (at 9480) by debbugs.gnu.org; 13 Sep 2011 05:18:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3LOW-0003kx-8t for submit@debbugs.gnu.org; Tue, 13 Sep 2011 01:18:52 -0400 Received: from mail-pz0-f47.google.com ([209.85.210.47]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3LOT-0003kp-RL for 9480@debbugs.gnu.org; Tue, 13 Sep 2011 01:18:50 -0400 Received: by pzk2 with SMTP id 2so271120pzk.20 for <9480@debbugs.gnu.org>; Mon, 12 Sep 2011 22:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=RRJOTlIPAQLqIs0Vubgv0p7wfBSU51NcggU/QsypHq0=; b=TXPx8tq9OCGVDGJTYbrK5OGBS2y/mYP0EaLpR54bAjeWweZaGfJ98CqEPyRGJVXnuG DrK9LHPohr3Kjte/AoWw1yYpfh7ujTXYL6WjjZJdkyM/3+tBzaqJWY15HUk8xXOl6+tr R6cA+aD8sp3Sp45AShpnBLG5KuV53NUabcyjY= Received: by 10.68.31.71 with SMTP id y7mr3828801pbh.121.1315890864066; Mon, 12 Sep 2011 22:14:24 -0700 (PDT) Received: from JAMBU-NETBOOK ([115.184.58.42]) by mx.google.com with ESMTPS id z1sm2202366pbz.6.2011.09.12.22.14.18 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Sep 2011 22:14:23 -0700 (PDT) From: Jambunathan K To: Eli Zaretskii Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> <81d3f6t9jn.fsf@gmail.com> Date: Tue, 13 Sep 2011 10:44:02 +0530 In-Reply-To: (Eli Zaretskii's message of "Tue, 13 Sep 2011 00:37:22 -0400") Message-ID: <81wrdd10th.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 9480 Cc: Glenn Morris , 9480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) > I wasn't able to reproduce it with Bash on a GNU system, either, but I > thought I was missing something. Neither do I see any special > handling of the braces in the w32-specific parts of Emacs. > So it's a mystery why this happens with the Cygwin Bash. Jambunathan, > could you perhaps post a question to the Cygwin mailing list? If I open my regular Cygwin/XTerm [1] and type the command as you see below (What you see is what I have typed) it reports the stash correctly. ,---- From regular Cygwin/Xterm | $ git stash show -p stash@{0} | diff --git a/Makefile b/Makefile | index ce419c1..7183545 100644 | --- a/Makefile | +++ b/Makefile `---- It does seem like Emacs is messing up before handing over things. That said, let me do some more debugging before I follow it up with Cygwin folks. Footnotes: [1] This is launched like this: C:\cygwin\bin\run.exe -p /usr/X11R6/bin xterm -fg green -bg black -sb -sl 1000 -geom 80x15 -display 127.0.0.1:0.0 -ls From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 13 02:21:51 2011 Received: (at 9480) by debbugs.gnu.org; 13 Sep 2011 06:21:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3MNT-0008Ig-7g for submit@debbugs.gnu.org; Tue, 13 Sep 2011 02:21:51 -0400 Received: from mail-pz0-f47.google.com ([209.85.210.47]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3MNQ-0008IX-Fd for 9480@debbugs.gnu.org; Tue, 13 Sep 2011 02:21:49 -0400 Received: by pzk2 with SMTP id 2so327230pzk.20 for <9480@debbugs.gnu.org>; Mon, 12 Sep 2011 23:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=N+MKsoCd+rklFsMev8M/C2nCBBIqfVA8THm+UVL3dhU=; b=sid9L9rH0Nfb/80oc0zLMQ0g2ojLL0ekUerMUhoQJ5hYctQIFVYl1gtFk941e9/ied N8tlgU5CNh3k6orjXGd50QWfOYVur7BhTC5Qv1TSwJyNFhfiXeWJbQjbdkJtoW3T5BNj Y/7nLXAhWIOPAcUKyCyjBHDj8LiLR0UuDwfjs= Received: by 10.68.199.195 with SMTP id jm3mr1137151pbc.501.1315894642173; Mon, 12 Sep 2011 23:17:22 -0700 (PDT) Received: from JAMBU-NETBOOK ([115.184.58.42]) by mx.google.com with ESMTPS id lv3sm2565372pbb.9.2011.09.12.23.17.16 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Sep 2011 23:17:21 -0700 (PDT) From: Jambunathan K To: Eli Zaretskii Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> <81d3f6t9jn.fsf@gmail.com> Date: Tue, 13 Sep 2011 11:47:00 +0530 In-Reply-To: (Eli Zaretskii's message of "Tue, 13 Sep 2011 00:37:22 -0400") Message-ID: <81y5xt3r1f.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 9480 Cc: Glenn Morris , 9480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) > So it's a mystery why this happens with the Cygwin Bash. Jambunathan, > could you perhaps post a question to the Cygwin mailing list? (setenv "CYGWIN" "noglob") solves the reported problem. I was led to try the above option based on the below post which is fairly recent: http://sourceware.org/ml/cygwin/2011-07/msg00218.html Now I leave the table to the experts. Jambunathan K. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 13 02:58:39 2011 Received: (at 9480) by debbugs.gnu.org; 13 Sep 2011 06:58:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3Mx2-0002Fn-PB for submit@debbugs.gnu.org; Tue, 13 Sep 2011 02:58:38 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3Mwz-0002Ff-FG for 9480@debbugs.gnu.org; Tue, 13 Sep 2011 02:58:34 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R3Msh-0008Dy-AQ; Tue, 13 Sep 2011 02:54:07 -0400 Date: Tue, 13 Sep 2011 02:54:07 -0400 Message-Id: From: Eli Zaretskii To: Jambunathan K In-reply-to: <81y5xt3r1f.fsf@gmail.com> (message from Jambunathan K on Tue, 13 Sep 2011 11:47:00 +0530) Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> <81d3f6t9jn.fsf@gmail.com> <81y5xt3r1f.fsf@gmail.com> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9480 Cc: rgm@gnu.org, 9480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: Jambunathan K > Cc: Glenn Morris , 9480@debbugs.gnu.org > Date: Tue, 13 Sep 2011 11:47:00 +0530 > > > So it's a mystery why this happens with the Cygwin Bash. Jambunathan, > > could you perhaps post a question to the Cygwin mailing list? > > (setenv "CYGWIN" "noglob") > > solves the reported problem. > > I was led to try the above option based on the below post which is > fairly recent: http://sourceware.org/ml/cygwin/2011-07/msg00218.html Thanks. This unlocks the mystery. I think we can now close the bug report, do you agree? Perhaps etc/PROBLEMS should advise Cygwin users to set CYGWIN=noglob (as I understand the default is CYGWIN=glob). I still don't understand why GLOB_BRACE causes "{0}" be expanded -- that sounds like a bug in the implementation of `glob' used by Cygwin, no? Perhaps a Cygwin bug report is in order. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 13 09:39:42 2011 Received: (at 9480) by debbugs.gnu.org; 13 Sep 2011 13:39:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3TDB-0007CF-Vk for submit@debbugs.gnu.org; Tue, 13 Sep 2011 09:39:42 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3TD9-0007C6-QZ for 9480@debbugs.gnu.org; Tue, 13 Sep 2011 09:39:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ak0JALFbb05FxK3+/2dsb2JhbABCmFGPFnmBUwEBBAFWIwULCzQSFBgNJIgKuAuGbgSgN4RE X-IronPort-AV: E=Sophos;i="4.68,374,1312171200"; d="scan'208";a="136068673" Received: from 69-196-173-254.dsl.teksavvy.com (HELO ceviche.home) ([69.196.173.254]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 13 Sep 2011 09:35:11 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 7ED7B660E6; Tue, 13 Sep 2011 09:35:11 -0400 (EDT) From: Stefan Monnier To: Jambunathan K Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? Message-ID: References: <81sjo2fd8o.fsf@gmail.com> Date: Tue, 13 Sep 2011 09:35:11 -0400 In-Reply-To: <81sjo2fd8o.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 12 Sep 2011 12:39:43 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > My shell-file-name is set to "bash" (cygwin version). My Emacs is AFAIK this code does not run any shell. Can you try to run those commands by hand to see what kind of quoting (single quoting or double quoting) is needed in a bash shell? Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 13 11:34:46 2011 Received: (at 9480) by debbugs.gnu.org; 13 Sep 2011 15:34:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3V0X-0007pU-Cu for submit@debbugs.gnu.org; Tue, 13 Sep 2011 11:34:45 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3V0S-0007pK-VB for 9480@debbugs.gnu.org; Tue, 13 Sep 2011 11:34:42 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LRG00C00W8D9D00@a-mtaout23.012.net.il> for 9480@debbugs.gnu.org; Tue, 13 Sep 2011 18:27:17 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.9.62]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LRG00KFAW9GV370@a-mtaout23.012.net.il>; Tue, 13 Sep 2011 18:27:17 +0300 (IDT) Date: Tue, 13 Sep 2011 18:27:17 +0300 From: Eli Zaretskii Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83sjo0wjhm.fsf@gnu.org> References: <81sjo2fd8o.fsf@gmail.com> X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org, kjambunathan@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.8 (-) > From: Stefan Monnier > 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 13 14:10:14 2011 Received: (at 9480) by debbugs.gnu.org; 13 Sep 2011 18:10:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3XQz-0002Lm-Fu for submit@debbugs.gnu.org; Tue, 13 Sep 2011 14:10:13 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3XQw-0002Le-RM for 9480@debbugs.gnu.org; Tue, 13 Sep 2011 14:10:11 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p8DI5ebr009298; Tue, 13 Sep 2011 14:05:40 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 6C0DA13007E; Tue, 13 Sep 2011 14:05:41 -0400 (EDT) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? Message-ID: References: <81sjo2fd8o.fsf@gmail.com> <81d3f6t9jn.fsf@gmail.com> <81y5xt3r1f.fsf@gmail.com> Date: Tue, 13 Sep 2011 14:05:41 -0400 In-Reply-To: (Eli Zaretskii's message of "Tue, 13 Sep 2011 02:54:07 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3979=0 X-NAI-Spam-Version: 2.2.0.9286 : core <3979> : streams <681265> : uri <958591> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org, Jambunathan K X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > Thanks. This unlocks the mystery. I think we can now close the bug > report, do you agree? Perhaps etc/PROBLEMS should advise Cygwin users > to set CYGWIN=noglob (as I understand the default is CYGWIN=glob). Yes, it seems that cygwin's globbing is never desired for programs run by Emacs. But of course, Emacs may start non-cygwin programs which in turn execute cygwin programs expecting them to do the globbing (e.g. running cygwin programs from a CMD process in *shell*), so setting CYGWIN=noglob might not be right either. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 13 14:25:43 2011 Received: (at 9480) by debbugs.gnu.org; 13 Sep 2011 18:25:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3Xfx-0003UH-VR for submit@debbugs.gnu.org; Tue, 13 Sep 2011 14:25:42 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3Xfv-0003U9-Cd for 9480@debbugs.gnu.org; Tue, 13 Sep 2011 14:25:40 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R3Xba-0003ej-KT; Tue, 13 Sep 2011 14:21:10 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> <83sjo0wjhm.fsf@gnu.org> X-Spook: UMTS NASA bomb Janet Reno chameleon man csystems 2600 X-Ran: ';'h^o{ary_pW5';MHEHD/z?j>)vKNE]>G8g(|fpU|>=":T9}WOs7Y.PX@D_Jlqqe(hkl| X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 13 Sep 2011 14:21:10 -0400 In-Reply-To: <83sjo0wjhm.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 13 Sep 2011 18:27:17 +0300") Message-ID: <0dvcswl2w9.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org, Stefan Monnier , kjambunathan@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Eli Zaretskii wrote: > 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. I agree. http://www.gnu.org/s/bash/manual/bash.html#Brace-Expansion A correctly-formed brace expansion must contain unquoted opening and closing braces, and at least one unquoted comma or a valid sequence expression. Any incorrectly formed brace expansion is left unchanged. http://tiswww.case.edu/php/chet/bash/FAQ Bash FAQ D2: D2) Why doesn't bash treat brace expansions exactly like csh? The only difference between bash and csh brace expansion is that bash requires a brace expression to contain at least one unquoted comma if it is to be expanded. Any brace-surrounded word not containing an unquoted comma is left unchanged by the brace expansion code. This affords the greatest degree of sh compatibility. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 07:03:30 2011 Received: (at 9480) by debbugs.gnu.org; 14 Sep 2011 11:03:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3nFZ-0003GA-Lc for submit@debbugs.gnu.org; Wed, 14 Sep 2011 07:03:30 -0400 Received: from mail-pz0-f48.google.com ([209.85.210.48]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3nFU-0003G0-RP for 9480@debbugs.gnu.org; Wed, 14 Sep 2011 07:03:27 -0400 Received: by pzk34 with SMTP id 34so2387748pzk.21 for <9480@debbugs.gnu.org>; Wed, 14 Sep 2011 03:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=+nKiqYhOfwks9nqKJ75WgMkd9/T50ixLIowtib0m75w=; b=QJ0EWxEHkNPsbeDEDE/PGmxxxPtFzmxEGozXGULFdD5KK4suiqRRHAeTG3wCQtyUm/ s/D6ra+RgoAYkNwCqYRju9az07hJ3z9bwH3rbsBiG8bYZ0AZfPnWQpNzi6zJ1D1Sd9y9 PF2PDm4STkoBBjNM+X5P+MgDv9xLGhs8WsyqE= Received: by 10.68.17.232 with SMTP id r8mr1642106pbd.85.1315997931757; Wed, 14 Sep 2011 03:58:51 -0700 (PDT) Received: from JAMBU-NETBOOK ([115.242.156.21]) by mx.google.com with ESMTPS id p7sm13046845pbe.0.2011.09.14.03.58.44 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Sep 2011 03:58:50 -0700 (PDT) From: Jambunathan K To: Glenn Morris , Eli Zaretskii Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> <83sjo0wjhm.fsf@gnu.org> <0dvcswl2w9.fsf@fencepost.gnu.org> Date: Wed, 14 Sep 2011 16:28:27 +0530 In-Reply-To: <0dvcswl2w9.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 13 Sep 2011 14:21:10 -0400") Message-ID: <8162kv1jcc.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: 9480 Cc: 9480@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.3 (----) Glenn Morris writes: > Eli Zaretskii wrote: > >> 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. > > I agree. Glenn Thanks for the reference note. I will file a bug report with Cygwin very soon. Eli Feel free to close this bug. > http://www.gnu.org/s/bash/manual/bash.html#Brace-Expansion > > A correctly-formed brace expansion must contain unquoted opening and > closing braces, and at least one unquoted comma or a valid sequence > expression. Any incorrectly formed brace expansion is left unchanged. > > http://tiswww.case.edu/php/chet/bash/FAQ > > Bash FAQ D2: > > D2) Why doesn't bash treat brace expansions exactly like csh? > > The only difference between bash and csh brace expansion is that > bash requires a brace expression to contain at least one unquoted > comma if it is to be expanded. Any brace-surrounded word not > containing an unquoted comma is left unchanged by the brace > expansion code. This affords the greatest degree of sh > compatibility. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 08:02:15 2011 Received: (at 9480-done) by debbugs.gnu.org; 14 Sep 2011 12:02:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3oAQ-0007j8-GT for submit@debbugs.gnu.org; Wed, 14 Sep 2011 08:02:15 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R3oAP-0007j1-2c for 9480-done@debbugs.gnu.org; Wed, 14 Sep 2011 08:02:13 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R3o60-00050w-FV; Wed, 14 Sep 2011 07:57:40 -0400 Date: Wed, 14 Sep 2011 07:57:40 -0400 Message-Id: From: Eli Zaretskii To: Jambunathan K In-reply-to: <8162kv1jcc.fsf@gmail.com> (message from Jambunathan K on Wed, 14 Sep 2011 16:28:27 +0530) Subject: Re: bug#9480: 24.0.50; (vc-git) stash@{n} - requires shell quoting? References: <81sjo2fd8o.fsf@gmail.com> <83sjo0wjhm.fsf@gnu.org> <0dvcswl2w9.fsf@fencepost.gnu.org> <8162kv1jcc.fsf@gmail.com> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 9480-done Cc: rgm@gnu.org, 9480-done@debbugs.gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: Jambunathan K > Cc: Stefan Monnier , 9480@debbugs.gnu.org > Date: Wed, 14 Sep 2011 16:28:27 +0530 > > Glenn Morris writes: > > > Eli Zaretskii wrote: > > > >> 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. > > > > I agree. > > Glenn > Thanks for the reference note. I will file a bug report with Cygwin very > soon. > > Eli > Feel free to close this bug. Done. From unknown Fri Jun 20 07:14:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 13 Oct 2011 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 15:15:36 2011 Received: (at control) by debbugs.gnu.org; 18 Oct 2011 19:15:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGF8Q-0005k1-AZ for submit@debbugs.gnu.org; Tue, 18 Oct 2011 15:15:36 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGF8M-0005jr-QJ for control@debbugs.gnu.org; Tue, 18 Oct 2011 15:15:32 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p9IJERBB027578; Tue, 18 Oct 2011 15:14:27 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 4B882B4031; Tue, 18 Oct 2011 15:14:31 -0400 (EDT) From: Stefan Monnier To: control@debbugs.gnu.org (GNU bug Tracking System) Subject: Re: Processed: Re: bug#9784: 24.0.50; vc-git-stash-show not escaping name Message-ID: References: Date: Tue, 18 Oct 2011 15:14:31 -0400 In-Reply-To: (Stefan Monnier's message of "Tue, 18 Oct 2011 15:02:20 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4014=0 X-NAI-Spam-Version: 2.2.0.9286 : core <4014> : streams <692908> : uri <986508> X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) unarchive 9480 forcemerge 9480 9784 thanks From unknown Fri Jun 20 07:14:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 16 Nov 2011 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator