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#14541: 24.3.50; `ediff-buffers' does not play well with recent Cygwin version Date: Sun, 2 Jun 2013 21:12:40 -0700 (PDT) Message-ID: <7d461150-fe55-4278-bb7a-22fc24811364@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1370232805 28067 80.91.229.3 (3 Jun 2013 04:13:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2013 04:13:25 +0000 (UTC) To: 14541@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 03 06:13:23 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UjM90-00028V-5d for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2013 06:13:18 +0200 Original-Received: from localhost ([::1]:38129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjM8z-0005If-KU for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2013 00:13:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjM8w-0005I9-AJ for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:13:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjM8v-0008C0-4o for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:13:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjM8v-0008Bs-10 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:13:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UjMAg-0003hk-Rk for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jun 2013 04:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14541 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137023289014176 (code B ref -1); Mon, 03 Jun 2013 04:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jun 2013 04:14:50 +0000 Original-Received: from localhost ([127.0.0.1]:48335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjMAT-0003gW-VY for submit@debbugs.gnu.org; Mon, 03 Jun 2013 00:14:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51700) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjMAO-0003fj-L5 for submit@debbugs.gnu.org; Mon, 03 Jun 2013 00:14:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjM8V-00087F-Vs for submit@debbugs.gnu.org; Mon, 03 Jun 2013 00:12:49 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjM8V-00087B-Sv for submit@debbugs.gnu.org; Mon, 03 Jun 2013 00:12:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjM8T-0005FR-LR for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:12:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjM8S-00086v-D5 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:12:45 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:45374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjM8S-00086o-73 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 00:12:44 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r534CgUU018362 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 3 Jun 2013 04:12:43 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r534CfW3021477 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 3 Jun 2013 04:12:42 GMT Original-Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r534Cf0v021465 for ; Mon, 3 Jun 2013 04:12:41 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:74766 Archived-At: I used to use an old (2007?) version of Cygwin. I just installed the latest Cygwin verion on Windows 7. I use the same setup for Emacs as previously (cygwin-mount.el, then setup-cygwin.el, both from Emacs Wiki). Previously, Cygwin handled MS DOS-style file names OK. But `ediff-buffers' passes such file names for its temporary files, and the latest version of Cygwin (on Windows 7 at least) does not, by default, handle such file names: it issues a warning, which means that Emacs raises an error and prints the Cygwin warning. This makes `ediff-buffers' unusable. There is a workaround: set env var CYGWIN to `nodosfilewarning'. I have added that to file setup-cygwin.el as a workaround. But I wonder if `ediff-buffers' could perhaps prevent the error/warning anyway. I don't know whether it is really the 8-char DOS file-name format that Cygwin objects to, but I think so. Maybe just having it use full Windows (not DOS) file names would be a fix? This is the error shown in buffer *ediff-errors*: cygwin warning: MS-DOS style path detected: c:/Users/XXXXXX~1.XXX/AppData/Local/Temp/foo.= el Preferred POSIX equivalent is: /cygdrive/c/Users/XXXXXX~1.XXX/AppData/Loc= al/Temp/foo.el CYGWIN environment variable option "nodosfilewarning" turns off this warn= ing. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames And this is the *Backtrace* I see: Debugger entered--Lisp error: (error "Errors in diff output. Diff output is in #") signal(error ("Errors in diff output. Diff output is in #")) error("Errors in diff output. Diff output is in %S" #) ediff-prepare-error-list("^\\([0-9,]+[acd][0-9,]+ ?$\\|[<>] \\|---\\|.*Warning *:\\|.*No +newline\\|.*missing +newline\\|^ ?$\\)" #) ediff-setup-diff-regions("c:/Users/XXXXXX~1.XXX/AppData/Local/Temp/foo.el= " "c:/Users/XXXXXX~1.XXX/AppData/Local/Temp/bar.el= " nil) ediff-setup(# "c:/Users/XXXXXX~1.XXX/AppData/Local/Temp/fo= o.el" # "c:/Users/XXXXXX~1.XXX/AppData/Local/Temp/ba= r.el" nil nil ((lambda nil (delete-file "c:/Users/XXXXXX~1.XXX/AppData/Local/Temp/foo.el"= ) (delete-file "c:/Users/XXXXXX~1.XXX/AppData/Local/Temp/bar.el") (if (stringp nil) (delete-file nil)))) ((ediff-job-name . ediff-buffers)) n= il) ediff-buffers-internal("foo.el" "bar.el" nil nil ediff-buffers) ediff-buffers("foo.el" "bar.el") call-interactively(ediff-buffers nil nil) command-execute(ediff-buffers) In GNU Emacs 24.3.50.1 (i386-mingw-nt6.1.7601) of 2013-06-01 on ODIEONE Bzr revision: 112809 xfq.free@gmail.com-20130601123514-of64qkop6z48i3ko Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.7) --no-opt --enable-checking --cflags -IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib'