From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#8653: 24.0.50; `M-x grep' output converts `~' to /cygdrive/c/... Date: Thu, 12 May 2011 08:34:22 -0700 Message-ID: References: <55A3422131174F54851B6C39BA4C9E25@us.oracle.com><83hb91glka.fsf@gnu.org><81E08E06622F4A28A0D7FD619619657E@us.oracle.com><4FF6FDF04EA24E6C86D40F9B2D0C32F8@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1305214515 12429 80.91.229.12 (12 May 2011 15:35:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 May 2011 15:35:15 +0000 (UTC) To: "'Andy Moreton'" , Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 12 17:35:10 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QKXuv-0001aO-4v for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 May 2011 17:35:09 +0200 Original-Received: from localhost ([::1]:43230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKXuu-00053h-KM for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 May 2011 11:35:08 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKXuq-00050X-8w for bug-gnu-emacs@gnu.org; Thu, 12 May 2011 11:35:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QKXuo-0001qI-Sa for bug-gnu-emacs@gnu.org; Thu, 12 May 2011 11:35:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKXuo-0001pv-Nv for bug-gnu-emacs@gnu.org; Thu, 12 May 2011 11:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QKXun-0005RC-Mv; Thu, 12 May 2011 11:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 May 2011 15:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8653 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.130521450020894 (code B ref -1); Thu, 12 May 2011 15:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 May 2011 15:35:00 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKXul-0005Qx-M6 for submit@debbugs.gnu.org; Thu, 12 May 2011 11:35:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QKXuc-0005Qf-Jt for submit@debbugs.gnu.org; Thu, 12 May 2011 11:34:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QKXuT-0001m7-6x for submit@debbugs.gnu.org; Thu, 12 May 2011 11:34:45 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:44973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKXuT-0001m3-5Q for submit@debbugs.gnu.org; Thu, 12 May 2011 11:34:41 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKXuP-0004xk-J2 for bug-gnu-emacs@gnu.org; Thu, 12 May 2011 11:34:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QKXuL-0001lN-Sb for bug-gnu-emacs@gnu.org; Thu, 12 May 2011 11:34:37 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:46814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QKXuL-0001lH-Mi for bug-gnu-emacs@gnu.org; Thu, 12 May 2011 11:34:33 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p4CFYTkn029587 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 12 May 2011 15:34:30 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p4CFYSqh021308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 12 May 2011 15:34:28 GMT Original-Received: from abhmt002.oracle.com (abhmt002.oracle.com [141.146.116.11]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p4CFYNJ7016444; Thu, 12 May 2011 10:34:23 -0500 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 12 May 2011 08:34:22 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcwQsdN37ToBtclETbWJNCENHEn3ywABHG5Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4DCBFE07.00DF:SCFMA922111,ss=1,fgs=0 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 12 May 2011 11:35:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46426 Archived-At: > > HOME=C:\ > > That's not a good choice (see below) No explanation below, AFAICT. > >> and that the Cygwin mount table is correct (in my case with > >> /home mounted at C:\home). > > > > Dunno how to check that. In bash, cd $HOME and cd ~ take > > me to /cygdrive/c, if that helps. > > Try running 'mount' $ mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) c: on /cygdrive/c type system (binmode,noumount) i: on /cygdrive/i type system (binmode,noumount) > > FWIW, I am using an old version of Cygwin, having heard of > > various problems that some Emacs users with more recent versions. > > You really should upgrade.... Cygwin1.7 works just fine > with Win32 emacs. So does my current version, AFAICT. It is fine for my needs. And as I said, I've heard problems reported with more recent versions. I don't care to investigate or defend whether such reports exist or are accurate. I'm just telling you why I am not "upgrading". I already said to take that as given. And I said that if the old Cygwin version is the problem here then we can close the bug. > > If there is no problem here with a more recent Cygwin > > build, then that's good news and we can close this bug. > > The problem is your setup - using C:\ as HOME is not a good > idea. Up above you say "see below", but here below you just repeat that it is not a good idea - no reason given. Anyway, my setup is not a _problem_, for Emacs. At least not for my use of it so far. And if HOME=c:\ is "the problem" causing the reported behavior (grep output noise), then I'd suggest that "the problem" is Cygwin not fully supporting c:\ as HOME. It sounds like you are confirming that "the problem" exists even for later Cygwin versions: Users cannot have HOME=c:\ and avoid the noise. Is that correct? Users should be able to have HOME= c:\. That should be a no-brainer. But this bug report is not about fixing Cygwin. If there is nothing Emacs could or should do here, then we can close this bug. > If you want to shorten the reported paths, add a mount > point "/c" mounted at "C:\". Sorry; I don't want to "do" anything. I'm OK with the noisy output - just reporting that things could perhaps be better (for Emacs `grep'). > Reading the fine manual for the details: > - Cygwin 1.7 (current) > http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html > - Cygwin 1.5 (obsolete) http://cygwin.com/1.5/cygwin-ug-net/index.html Right. Send users off to the top of the user guide to tell them how to work around "the problem":... Sorry; I just don't care enough. My use of Cygwin is minimal. > > FWIW - My Cygwin version dates from 2006. I don't see any > > README file or doc and I cannot find how to determine the > > version #. No, I didn't try googling etc. > > A minimal effort would have found that you need to run 'cygcheck'. $ cygcheck -V cygcheck version 1.90 System Checker for Cygwin Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc. Compiled on Jan 31 2007 I was headed out the door and in a hurry. Otherwise I would have just googled and found it quick enough. My point was that the doc is not very apparent on a user's Windows box. A "minimal effort" for a Windows application would be to include doc in the `Cygwin' menu (from `Start > All Programs'), or at least include a link from that menu to the online doc. But again, I do not really care. And maybe a more recent version of Cygwin is more Windows-user friendly in this regard; dunno.