From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs 25.2, win64, env vars Date: Tue, 11 Jul 2017 19:30:42 +0300 Message-ID: <83y3rvhr65.fsf@gnu.org> References: <83r2xoi5i5.fsf@gnu.org> <837ezfjaoy.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1499793636 16504 195.159.176.226 (11 Jul 2017 17:20:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 11 Jul 2017 17:20:36 +0000 (UTC) Cc: emacs-devel@gnu.org, npostavs@users.sourceforge.net To: Fabrice Popineau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 11 19:20:30 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUypn-0003sL-Dk for ged-emacs-devel@m.gmane.org; Tue, 11 Jul 2017 19:20:27 +0200 Original-Received: from localhost ([::1]:47757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUyps-0007MG-QB for ged-emacs-devel@m.gmane.org; Tue, 11 Jul 2017 13:20:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUy3n-0002R0-4T for emacs-devel@gnu.org; Tue, 11 Jul 2017 12:30:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUy3j-0006qC-8C for emacs-devel@gnu.org; Tue, 11 Jul 2017 12:30:51 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUy3j-0006q5-49; Tue, 11 Jul 2017 12:30:47 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1756 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dUy3i-0002fM-AN; Tue, 11 Jul 2017 12:30:46 -0400 In-reply-to: (message from Fabrice Popineau on Tue, 11 Jul 2017 18:24:15 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216492 Archived-At: > From: Fabrice Popineau > Date: Tue, 11 Jul 2017 18:24:15 +0200 > Cc: Noam Postavsky , Emacs developers > > If so, does it mean that after > invoking 'setenv', your process-environment has 2 members which both > start with "TEMP=", but have different values? Because _this_ is what > I cannot reproduce and frankly don't understand how could it happen. > > And now I understand the reason why you don't see the problem. > I compile emacs from a mingw64 prompt. I have started emacs from the msys2 bash. > This is what messes up the environment. Can you tell the details of how it "messes up" the environment? > One one hand, I would say that my proposed fix is harmless and makes sure case insensitive search is used > for platforms where env vars are supposed to be case insensitive. > On the other hand, the problem is the msys2 bash. Maybe we can fix that use case as well, if we understand it well enough.