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: Thu, 6 Jun 2013 13:42:59 -0700 (PDT) Message-ID: References: <7d461150-fe55-4278-bb7a-22fc24811364@default>> <83hahfxkw9.fsf@gnu.org>> <2c39c869-9210-432d-aa95-d392e9ee8dac@default> <87txlfrvd8.fsf@Rainer.invalid> <5f681b7a-8e4d-4263-9337-817bd2c00fa6@default> <87a9n41fe0.fsf@Rainer.invalid> <9db8fa66-43bf-4d68-841d-8ddb3c1a65cf@default> <87ip1rdpnn.fsf@Rainer.invalid> 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 1370551462 14577 80.91.229.3 (6 Jun 2013 20:44:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Jun 2013 20:44:22 +0000 (UTC) To: Achim Gratz , 14541@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 06 22:44:21 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 1Ukh2j-0000tj-3V for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jun 2013 22:44:21 +0200 Original-Received: from localhost ([::1]:49448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukh2i-00060x-JQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jun 2013 16:44:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukh2Z-00060Y-LV for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2013 16:44:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ukh2U-00052e-Vk for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2013 16:44:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukh2U-00052Z-TN for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2013 16:44:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Ukh2Q-0008GL-IX for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2013 16:44: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: Thu, 06 Jun 2013 20:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14541 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14541-submit@debbugs.gnu.org id=B14541.137055138831649 (code B ref 14541); Thu, 06 Jun 2013 20:44:02 +0000 Original-Received: (at 14541) by debbugs.gnu.org; 6 Jun 2013 20:43:08 +0000 Original-Received: from localhost ([127.0.0.1]:54982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ukh1X-0008EQ-Sx for submit@debbugs.gnu.org; Thu, 06 Jun 2013 16:43:08 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:33335) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ukh1V-0008Dq-Ia for 14541@debbugs.gnu.org; Thu, 06 Jun 2013 16:43:06 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r56KgxSj016430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 6 Jun 2013 20:43:00 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r56KgxBo008282 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Jun 2013 20:43:00 GMT Original-Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by userz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r56KgxsE029830; Thu, 6 Jun 2013 20:42:59 GMT In-Reply-To: <87ip1rdpnn.fsf@Rainer.invalid> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] 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:74852 Archived-At: > As I've been unsuccessfully trying to explain to you, there can be no > such setup file. And yet there is such a file. > > But especially, please do provide something better. I will be > > the first to use it and to point others to it, believe me! >=20 > I think I've already said that if you want to set that option and be > sure it takes effect, you need to do it from the system panel. I think I've already said that I recognize that. > That's what you might put in a comment in setup-cygwin.el,=20 Which is just what I did. Here is the comment, in case you have not already taken a look: ;;; Without this env var setting, Cygwin causes `ediff-buffers', at ;;; least, to raise an error. Making this setting here might have no ;;; effect, as the env var is checked only by the first Cygwin process ;;; invoked during your Windows session. For best results, set this ;;; env var globally, in Windows itself. An alternative might be to ;;; use `cygpath' to change from MS Windows file names to POSIX. I might even cite this bug report there, so users can get more detail. > without trying to produce unknown and potentially undefined or > unwanted effects by setting the CYGWIN environment variable. Sorry, bug I want to set that variable. In the file, just in case it is not set yet. > >> It must already be set before Emacs gets started. > > > > Not as far as I can see. Not for the case I use it for: using > > Cygwin almost exclusively with Emacs. In that use case, the > > first Cygwin process is launched by Emacs. >=20 > There never was a dispute that it didn't solved your problem. In > general however, you can't even be sure that Emacs starts the first > Cygwin process after it gets to setup-cygwin.el and if you install > Cygwin to provide services there will never be any point in time where > there is no Cygwin process while your session is active. Maybe so. There was never any dispute that setting the var in this file is not a panacea. > > But wasn't it you, BTW, who said that an alternative (presumably > > working reliably) is to "use cygpath to convert to POSIX instead"? >=20 > Yes. That warning says "please do not hand a Windows path to Cygwin", > so you would never see this warning or need an option to suppress it if > you would use POSIX paths only. The tool to convert between the two > representations is cygpath. You claimed explicitly that the _only_ solution is to set the env var at the system level. And yet you also claim that there is another solution: convert to POSIX using cygpath.