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#23186: closed (Re: bug#23186: 25.0.92; Tramp: Windows does not always set COMSPEC, tramp blows up in a string-match) Date: Sat, 02 Apr 2016 23:28:22 +0300 Message-ID: <83mvpbrc0p.fsf@gnu.org> References: <831t6nsyzy.fsf@gnu.org> <87a8lbpzbv.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1459629022 26104 80.91.229.3 (2 Apr 2016 20:30:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Apr 2016 20:30:22 +0000 (UTC) Cc: michael.albinus@gmx.de, 23186@debbugs.gnu.org To: Jerry Asher Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 02 22:30:11 2016 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 1amSBO-0007Qi-Pa for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Apr 2016 22:30:11 +0200 Original-Received: from localhost ([::1]:50893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amSBO-0005lb-1Y for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Apr 2016 16:30:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amSBK-0005id-As for bug-gnu-emacs@gnu.org; Sat, 02 Apr 2016 16:30:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amSBH-0002z4-5A for bug-gnu-emacs@gnu.org; Sat, 02 Apr 2016 16:30:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amSBH-0002ym-24 for bug-gnu-emacs@gnu.org; Sat, 02 Apr 2016 16:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1amSBG-0002CO-TS for bug-gnu-emacs@gnu.org; Sat, 02 Apr 2016 16:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Apr 2016 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23186 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23186-submit@debbugs.gnu.org id=B23186.14596289438363 (code B ref 23186); Sat, 02 Apr 2016 20:30:02 +0000 Original-Received: (at 23186) by debbugs.gnu.org; 2 Apr 2016 20:29:03 +0000 Original-Received: from localhost ([127.0.0.1]:49181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1amSAJ-0002Ap-6D for submit@debbugs.gnu.org; Sat, 02 Apr 2016 16:29:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1amSAG-0002AK-UV for 23186@debbugs.gnu.org; Sat, 02 Apr 2016 16:29:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amSA8-0002qL-Md for 23186@debbugs.gnu.org; Sat, 02 Apr 2016 16:28:55 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amSA8-0002qH-JU; Sat, 02 Apr 2016 16:28:52 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1723 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1amSA7-0005u7-TH; Sat, 02 Apr 2016 16:28:52 -0400 In-reply-to: (message from Jerry Asher on Sat, 2 Apr 2016 13:11:01 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:115897 Archived-At: > From: Jerry Asher > Date: Sat, 2 Apr 2016 13:11:01 -0700 > Cc: 23186@debbugs.gnu.org > > What is the full contents of the environment of the Emacs process when > you run that zapped binary? I'm still waiting for the answer to that question. It's important, for the reasons explained below. > WHAT DO YOU THE MAINTAINER PROPOSE as a solution? We don't yet understand the problem to have a proposal. I asked a question that might lead to a proposal. If you are interested in solving the problem, please answer it. > Since I am not a windows developer, I think my actual proposal setting the value to > "%SYSTEMROOT%\system32\cmd.exe" is a reasonable first start. How do we know that we can trust %SYSTEMROOT% to be in the environment, if %COMSPEC% is not there? How can we trust _any_ environment variable, for that matter? That's why I asked that question: to know what exactly is and isn't in the environment. I don't see how we can advance without knowing that, and I certainly don't see how that question could be taken as a slur. > I don't know where cmd.exe is supposed to live, or how it's supposed to be found, but I do know the path I > suggested, which misrepresented as you and Eli have done, actually works and would work FAR better than > setting it to NIL. You are, of course, free to change your copy of Emacs as you see fit. That is what Free Software is for. But when you ask us to incorporate the solution in upstream code, the solution must be correct for everyone, not just for you. And it must be well understood, because any solution will have to be maintained from this point onward. As a matter of fact, I still don't see how COMSPEC could disappear from the environment just because you made Emacs a GUI program. I just tried that on my system, and couldn't reproduce the problem. Maybe it's something specific to Windows 10.