From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus 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 21:47:48 +0200 Message-ID: <87a8lbpzbv.fsf@gmx.de> References: <831t6nsyzy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1459626502 21974 80.91.229.3 (2 Apr 2016 19:48:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Apr 2016 19:48:22 +0000 (UTC) Cc: 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 21:48: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 1amRWk-0006El-Rg for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Apr 2016 21:48:11 +0200 Original-Received: from localhost ([::1]:50769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amRWk-0004vw-7B for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Apr 2016 15:48:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amRWf-0004vT-LO for bug-gnu-emacs@gnu.org; Sat, 02 Apr 2016 15:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amRWc-0002GX-F5 for bug-gnu-emacs@gnu.org; Sat, 02 Apr 2016 15:48:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amRWc-0002GQ-B3 for bug-gnu-emacs@gnu.org; Sat, 02 Apr 2016 15:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1amRWc-0001Ds-5y for bug-gnu-emacs@gnu.org; Sat, 02 Apr 2016 15:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Apr 2016 19:48: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.14596264774690 (code B ref 23186); Sat, 02 Apr 2016 19:48:02 +0000 Original-Received: (at 23186) by debbugs.gnu.org; 2 Apr 2016 19:47:57 +0000 Original-Received: from localhost ([127.0.0.1]:49145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1amRWX-0001Da-Ka for submit@debbugs.gnu.org; Sat, 02 Apr 2016 15:47:57 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:63358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1amRWW-0001DN-1l for 23186@debbugs.gnu.org; Sat, 02 Apr 2016 15:47:56 -0400 Original-Received: from detlef.gmx.de ([93.209.89.206]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MdoR7-1bC77Q2NfZ-00Perh; Sat, 02 Apr 2016 21:47:49 +0200 In-Reply-To: (Jerry Asher's message of "Sat, 2 Apr 2016 10:50:14 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-ID: V03:K0:xuLLsXMizyWz33jL5doZZG5fVMV3C/5NdIn0Mx17q/xsXmbHwG5 scDre46Qf8bGB5AOe4y0ykNfGsjP9xrL4s1PWW6mj/febU7XnEFnRtu7b9Z8d9TmzRIBb5Z pUCGxkOsVw7KukAz99F/RsmRhPGhs5H01qFnnO912IyF4sOcVsXZpY4DZQSy9cR1YtyexU/ Thlb5dagr+CgFiiKQqVtw== X-UI-Out-Filterresults: notjunk:1;V01:K0:xX6Bcy0BpHs=:TzZRYyCn2SrAKahRYHDNIB 8HQ3TSaYZ9jOkiNmDPEEu2BPpPhkthAPacorFY7MaUES76xKgCgRS/Zs8dzWK/r5h15fhkq9L xhYChPEQri+fNcM+icEVnaFbydKfmeU4SLEq8ub73a/FUvv2A4u5f3LTS1MVxQKwFoWx200M9 OpwfZXIcAVfpyw5kOHYehp6Dchz0f/tv997Ko9/s9XGhhYi88VNvyr56gLySsvyhWPqXZj/tf j46FOfGX75JmxTj+6rQ7VRONarYdf6IMslBuXqx18S0cFVI1h4dpTcD5DtvmQ9XVYkNmBJy/M loW+CKUfoOoXF0ufqGVytRLTG7Z3vbL9IH7egTidd3m16SbLKvIvwZVTf3DXNsZCCUgHZe9rT /g0h2r0BRBqx8FrQs0Pd4J0nfEAW87EFoe0VvnT4y+vTe0cxWZiXZvJqlL4/9Y0Ah/SGan5MD y4TnA7eZoGizejgxzkNXRmVFIgzm3v6J4lgkqqfN+E9kSSpGlZo1+BI+5pAiQvxRNOAyPPwoV SL48eYVFfiI5awFvdQqacCXJS2AwXF/TjrLZ57UmRhuWBEk+DeIw3s5qSJviQo8jQPvOSWjta B2utCsopwJeVMZI3jIjtbOlpbzeC20uWLXSkypi3+keGKAD9jh7n/xS8EL+0XkjS4vBDNpexP 0jBfy0ADPiNwUYuAOS4yjrXuqOer7i5vfSHdaNiL/+aWQN1K1uxbaN5pIs19enyinlGiKaWf5 vyFGyc2wkoqV49snS8gZy5sK4CdQGMsNjgTUt843lJfSCClB5QM2u8eSfXxulKh58i6J2Y8j 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:115889 Archived-At: Jerry Asher writes: Hi Jerry, >> Tramp is designed to work with Emacs as released by the Emacs >> development team. That Emacs doesn't have this problem. I think it >> would be unreasonable for anyone to expect the Tramp maintainers to >> cater to arbitrary changes in the Emacs code or in how it is >> configured on Windows, let alone if you poke some addresses in the PE >> headers of the produced binary. > > We are ALREADY talking about a very specific setting IN emacs FOR > Windows. God forbid we should ask the maintainers to discuss how emacs > is configured on Windows in that context. > >> Your fix is AFAIK incorrect because the directory where cmd.exe >> lives >> is not necessarily C:\Windows\system32. It just happens to be there >> on the particular system where you tried that. > > And I agree, setting the variable to nil where it is guaranteed to > blow up, and is reported to do so as my search shows is FAR FAR better > than finding a reasonable default that will work most of the time. I'm not interested in any flamewar. Pls stop. I haven't too much knowledge about MS Windows, and many years of experience let me trust Eli. If you are interested in changing Tramp according to your needs, pls be cooperative. Make a proposal about a config option which could be used instead of the COMSPEC env which doesn't exist in your environment. Make a proposal how to avoid calling cmd.exe at all, it seems not be mandatory, I believe. Propose something else what is possible. Your first proposal, trusting C:\Windows\system32\cmd.exe, hasn't been accepted, by reasons Eli has given. And indeed, it looks too me like too much heuristic, so I'm with Eli. Best regards, Michael. PS: I am the Tramp maintainer.