all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jerry Asher <ja2038@gmail.com>
Cc: michael.albinus@gmx.de, 23186@debbugs.gnu.org
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	[thread overview]
Message-ID: <83mvpbrc0p.fsf@gnu.org> (raw)
In-Reply-To: <CACTc7ZkZspUC=v_Tzx2mnXKfMB2xQ52Ojd-PXTgkOq36YgXPbw@mail.gmail.com> (message from Jerry Asher on Sat, 2 Apr 2016 13:11:01 -0700)

> From: Jerry Asher <ja2038@gmail.com>
> 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.






  reply	other threads:[~2016-04-02 20:28 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-02 16:06 bug#23186: 25.0.92; Tramp: Windows does not always set COMSPEC, tramp blows up in a string-match Jerry Asher
2016-04-02 16:44 ` Eli Zaretskii
2016-04-02 17:26   ` Eli Zaretskii
2016-04-02 19:37   ` Michael Albinus
2016-04-02 20:03     ` Eli Zaretskii
2016-04-02 20:21       ` Jerry Asher
2016-04-02 20:29         ` Eli Zaretskii
2016-04-03  7:05         ` Michael Albinus
     [not found] ` <handler.23186.D23186.145961804117806.notifdone@debbugs.gnu.org>
2016-04-02 17:32   ` bug#23186: closed (Re: bug#23186: 25.0.92; Tramp: Windows does not always set COMSPEC, tramp blows up in a string-match) Jerry Asher
2016-04-02 17:37     ` Jerry Asher
2016-04-02 17:50       ` Jerry Asher
2016-04-02 19:47         ` Michael Albinus
2016-04-02 20:02           ` Eli Zaretskii
2016-04-02 20:19             ` Jerry Asher
2016-04-02 20:33               ` Eli Zaretskii
2016-04-02 20:11           ` bug#23186: closed (Re: " Jerry Asher
2016-04-02 20:28             ` Eli Zaretskii [this message]
2016-04-03  7:15               ` Michael Albinus
2016-04-02 21:35             ` John Wiegley
2016-04-03 14:54           ` Eli Zaretskii
2016-04-03 15:55             ` Michael Albinus
2016-04-03 16:17               ` Eli Zaretskii
2016-04-03 16:49                 ` Michael Albinus
2016-04-03 14:51 ` bug#23186: 25.0.92; Tramp: Windows does not always set COMSPEC, tramp blows up in a string-match Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83mvpbrc0p.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=23186@debbugs.gnu.org \
    --cc=ja2038@gmail.com \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.