bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13272: 24.3.50; `diff' output header line shows MS Windows root inco


From: Drew Adams
Subject: bug#13272: 24.3.50; `diff' output header line shows MS Windows root incorrectly
Date: Tue, 25 Dec 2012 21:46:38 -0800

> > That's your diff.exe at work, I'm quite sure: it tries to quote the
> > colon, because it's a Cygwin Diff and lives in the Unix world.
> 
> There's another possibility: that this quoting is done by
> shell-quote-argument.  What do you get if you evaluate the following
> expression?
> 
>    (shell-quote-argument "c:/foo/simple.el")
> 
> If you get the colon quoted with a backslash, then my crystal ball
> says that you customized shell-file-name to point to the Cygwin Bash,
> in which case this is normal behavior, see shell-quote-argument.

I see this returned from M-: (which prints the result):

"c\\:/foo/simple.el"

Yes, I have customized it:

Its value is
"C:/cygwin/bin/bash.exe"
Original value was 
"c:/emacs/trunk/bin/cmdproxy.exe"

And yes, I see that also in Emacs 23 and 22.  (However, prior to Emacs 22 I see
this instead:

"\"c:/foo/simple.el\""

Guess I never noticed this before.  I closed the bug.  Thx.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]