From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14541: 24.3.50; `ediff-buffers' does not play well with recent Cygwin version Date: Mon, 03 Jun 2013 19:37:08 +0300 Message-ID: <83a9n7xia3.fsf@gnu.org> References: <2c39c869-9210-432d-aa95-d392e9ee8dac@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1370277502 14528 80.91.229.3 (3 Jun 2013 16:38:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2013 16:38:22 +0000 (UTC) Cc: 14541@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 03 18:38:22 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 1UjXm2-0002P5-BG for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2013 18:38:22 +0200 Original-Received: from localhost ([::1]:60372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXm2-0002JM-07 for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2013 12:38:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXlx-0002FR-R9 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 12:38:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjXlw-0000g8-09 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 12:38:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXlv-0000g3-Tq for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 12:38:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UjXni-0001Or-Jy for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 12:40:06 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jun 2013 16:40:04 +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.13702775575282 (code B ref 14541); Mon, 03 Jun 2013 16:40:04 +0000 Original-Received: (at 14541) by debbugs.gnu.org; 3 Jun 2013 16:39:17 +0000 Original-Received: from localhost ([127.0.0.1]:49226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjXmu-0001N8-Ee for submit@debbugs.gnu.org; Mon, 03 Jun 2013 12:39:16 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:48972) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjXmq-0001MQ-UL for 14541@debbugs.gnu.org; Mon, 03 Jun 2013 12:39:14 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MNT00500SQRD700@a-mtaout22.012.net.il> for 14541@debbugs.gnu.org; Mon, 03 Jun 2013 19:37:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MNT004Q1SU0LIG0@a-mtaout22.012.net.il>; Mon, 03 Jun 2013 19:37:12 +0300 (IDT) In-reply-to: <2c39c869-9210-432d-aa95-d392e9ee8dac@default> X-012-Sender: halo1@inter.net.il 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:74781 Archived-At: > Date: Mon, 3 Jun 2013 09:21:10 -0700 (PDT) > From: Drew Adams > Cc: 14541@debbugs.gnu.org > > > We could perhaps push "CYGWIN=nodosfilewarning" into the environment > > when Emacs launches child processes. However, as these URLs indicate: > > > > http://stackoverflow.com/questions/9079982/cygwin-nodosfilewarning-doesnt- > > help-cygwin-warning > > http://superuser.com/questions/370545/behaviour-of-cygwins- > > nodosfilewarning > > > > this solution is not reliable if there's some other Cygwin process > > running on the same system. So I think the only reliable solution is > > to put the above into the System environment variables, so that > > whatever the first Cygwin process is, it always sees it. > > I read the postings at both of those URLs, but I do not see anywhere where > they say what you say about reliability. What is a concrete example of a > problem introduced by Emacs setting this env var? According to those URLs, only the first Cygwin process invoked on a system checks the CYGWIN environment variable. It leaves the result in a shared memory, which all the other Cygwin processes access. So if the first process was invoked outside of Emacs, and didn't see that variable, you will get the warning, even if we push the variable into the environment of our child programs.