From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.bugs Subject: bug#14541: 24.3.50; `ediff-buffers' does not play well with recent Cygwin version Date: Wed, 05 Jun 2013 22:17:27 +0200 Organization: Linux Private Site Message-ID: <87a9n41fe0.fsf@Rainer.invalid> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370463557 21658 80.91.229.3 (5 Jun 2013 20:19:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Jun 2013 20:19:17 +0000 (UTC) To: 14541@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 05 22:19:17 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 1UkKAt-0001RF-FS for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jun 2013 22:19:15 +0200 Original-Received: from localhost ([::1]:55894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkKAs-0007f0-T3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jun 2013 16:19:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkKAi-0007dn-9o for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2013 16:19:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkKAb-0003j1-HT for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2013 16:19:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkKAb-0003iu-DW for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2013 16:18:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UkKCc-0005DY-6g for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2013 16:21:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <7d461150-fe55-4278-bb7a-22fc24811364@default> Resent-From: Achim Gratz Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Jun 2013 20:21: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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137046361219971 (code B ref -1); Wed, 05 Jun 2013 20:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Jun 2013 20:20:12 +0000 Original-Received: from localhost ([127.0.0.1]:52875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkKBn-0005C3-Sj for submit@debbugs.gnu.org; Wed, 05 Jun 2013 16:20:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36066) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UkKBk-0005Bc-Og for submit@debbugs.gnu.org; Wed, 05 Jun 2013 16:20:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkK9Z-0003LN-H2 for submit@debbugs.gnu.org; Wed, 05 Jun 2013 16:17:58 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkK9Z-0003LA-Be for submit@debbugs.gnu.org; Wed, 05 Jun 2013 16:17:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkK9U-0007EP-6i for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2013 16:17:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkK9O-0003Jr-G9 for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2013 16:17:48 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:54697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkK9O-0003JG-9k for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2013 16:17:42 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UkK9K-0008L4-2S for bug-gnu-emacs@gnu.org; Wed, 05 Jun 2013 22:17:38 +0200 Original-Received: from pd9eb52f7.dip0.t-ipconnect.de ([217.235.82.247]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Jun 2013 22:17:38 +0200 Original-Received: from Stromeko by pd9eb52f7.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Jun 2013 22:17:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 55 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb52f7.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:3qr47WlMxQe7thhbCstIRNnH7BM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:74827 Archived-At: Drew Adams writes: >> It is not your business (or anyone else's but the user) to set that >> environment variable. > > I am the user. Just trying to make the recent Cygwin versionn work with > Emacs, like an older version did. You are putting this file on EmacsWiki for others to use, aren't you? Secondly, that warning is there for a reason, so simply switching it off certainly isn't going to do the right thing for everyone. >> Don't. You might override other settings that the user wants to take >> effect or at best produce a confusing no-op. You'd be much better off >> if you would use cygpath to convert to POSIX instead. > > I'll leave it in setup-cygwin.el, at least for now. But I'll add a > comment per what Eli said: that if come other Cygwin process started > earlier and turned this off then turning it on here has no effect. Again: it simply doesn't work the way you think it works. The comment isn't helping that issue in any way. It is wrong to do this in setup-cygwin.el even when you want this environment variable to have exactly that value. It must already be set before Emacs gets started. > Sounds like the only good approach for an Emacs user on Windows, with > Cygwin installed, is to set the env var at the system level. If that > is the case (please confirm) then I'll mention that too in a > setup-cygwin.el comment. (And we might want to mention that in the > Emacs manual?) The only way to have it working reliably is to set it from the system panel, then log off and on again. I'm not sure what you want Emacs to document: the problem is that you are using non-Windows tools together with a Windows Emacs and you aren't correctly converting the different path conventions by these tools and Emacs. That is not a Cygwin problem and not an Emacs problem. > OK, I suppose that's not the only good approach. I guess you're > suggesting another, for someone who is willing to change to POSIX: > use the cygpath utility. Feel free to document that one (for Emacs > users)... Actually, emacs-w32 from Cygwin is much better in almost all regards and doesn't have the problem to begin with because it never uses any Windows path names. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves