From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: tramp and shell, problem on windows 7 Date: Sat, 04 Nov 2017 16:25:43 +0100 Message-ID: <874lqagj60.fsf@gmx.de> References: <87lgjmgny3.fsf@gmx.de> <83lgjmt8d3.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1509809189 29297 195.159.176.226 (4 Nov 2017 15:26:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 4 Nov 2017 15:26:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 04 16:26:22 2017 Return-path: Envelope-to: geh-help-gnu-emacs@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 1eB0Kv-0006nP-Ff for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Nov 2017 16:26:17 +0100 Original-Received: from localhost ([::1]:41307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eB0L2-0001sl-Tu for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Nov 2017 11:26:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eB0KT-0001sf-1J for help-gnu-emacs@gnu.org; Sat, 04 Nov 2017 11:25:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eB0KP-0004bP-Ui for help-gnu-emacs@gnu.org; Sat, 04 Nov 2017 11:25:49 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:58171) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eB0KP-0004an-Ku; Sat, 04 Nov 2017 11:25:45 -0400 Original-Received: from detlef.gmx.de ([212.86.38.88]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MO77c-1e5UXr3tki-005dIt; Sat, 04 Nov 2017 16:25:44 +0100 In-Reply-To: <83lgjmt8d3.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 04 Nov 2017 16:40:40 +0200") X-Provags-ID: V03:K0:3zHGsHHT7nJvJFa9CgI5dHT6B5W3rmyC7sRA18cIONgbDWs83Dc ACW1uA+Z19gtt6GdYfwujniuz4dtmb2OaUMu4nbUYu4ecqdJuqxSVekW68enA5ulGY7j5MY Xv72+6oghxY1v8IZDpe0HKmpxLRfJG6V2gc+PtdgBaEzBnPy4La+GO05zub0M1Q/+hI+r2w t2NR56MCCMc478M5s0RqQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:BIlFlJExYDM=:DeyN4kFNjL1hQ/vqiS7PgF vwSpzJnTp9T8EgOr3kshNYAhjHCQAqYm83kVa5JlTHkrJx697o+LD45ds9bl69fTvbJ+mIyN5 wvGkqrfsGR/KT/YjDEs0y4FAUwxS8u7Cq8XBFFP2zTE1BQ/NIVkrQe7/2wW0aH3k5YsmNqYW7 Qmc5vMuma5KZtysiAGKO2f+81ALWR1kbZNcThsz4bH19S4MCdOHGNI7qFvn18gLUG1DrVo9wV WFnFaXzr7zYG0DkHsWOHYPogwO940MbxPX9VFGl+9+8ocHC8gWmpKBHhLpiK4nk6uGvA6hs0m YBzCR+t10u+2zuFeCGai1zPVEHCEUizxGGeRGhH4UXHriRfYDjoRCS5jbCk+mlYWQVSbT544q P/MfRvZTtQe1HDiOSjei3DzMD21jCyj/X2z03dOs+oJmlcj4UIaWyQb7/7WCQF41x0s1SDbLz 8Lw5KfX5CoJQMk/wry7XP4IQ/Zrk170NnEB4WCFR+LEjIslmCx4J4RvAGo5Se8zMikemU3OMN r4baBLS2mCzfc61HTLZcUyMh5/U7fsKpSOeDCpFHwLRge9Pcjay0X4x+5JwROqFbHUnwVEPJQ kuRANzYTyZjP2RGlg2D6kmvmsOjLNPxxwbiANcWFzF0fFRTGTeeHOjKSGt9HwlkHZcnj+dC6B lcWot5KHnsC8pvpThbv/krYCCemR17bDB1fjEEl/DJUMzHBY9kcx26rZEdJ6hI2p4bAatmFZ3 H+aIuBYEGBIUoK3cK0Nhr3hSgQmmGmXsm6yTMgGQ/qo2V837EngWCC/W+s90i6TLilWXy32V X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.15 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114739 Archived-At: Eli Zaretskii writes: > And second, I don't recommend users to set explicit-shell-file-name, > as that makes Emacs use a shell that might be different from the one > used by the system. Users who do this should know very well what they > are doing, because it could get them in trouble. Hmm. The documentation recommends its use, see (info "(emacs) Interactive Shell") And the Tramp manual explains how to set it differently for every remote host, see (info "(tramp) Remote processes") What else do you recommend on remote systems? > I think the first question here is why do we see cmdproxy there. On > Windows, shell-file-name is set to cmdproxy, but why does Tramp use > that value? I could try to dig, if I get traces produced by (setq tramp-verbose 6) But this tells only the Tramp part of the story. I suspect, we are faced with settings outside Tramp. Best regards, Michael.