From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#29149: Tramp shell uses local shell setting in windows Date: Sat, 06 Jan 2018 19:51:59 +0100 Message-ID: <87bmi6rfao.fsf@gmx.de> References: <0MfmZs-1eYOTH1z1g-00N7E0@mail.gmx.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1515264682 7249 195.159.176.226 (6 Jan 2018 18:51:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Jan 2018 18:51:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 29149@debbugs.gnu.org To: Shuguang Sun Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 06 19:51:17 2018 Return-path: Envelope-to: geb-bug-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 1eXtYj-00016o-B0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jan 2018 19:51:09 +0100 Original-Received: from localhost ([::1]:45974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXtai-0003H1-RD for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jan 2018 13:53:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXtab-0003Gk-Ou for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 13:53:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eXtaY-0005x6-J2 for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 13:53:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57982) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eXtaY-0005wy-Fm for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 13:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eXtaY-00044A-9K for bug-gnu-emacs@gnu.org; Sat, 06 Jan 2018 13:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jan 2018 18:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29149 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29149-submit@debbugs.gnu.org id=B29149.151526473015563 (code B ref 29149); Sat, 06 Jan 2018 18:53:02 +0000 Original-Received: (at 29149) by debbugs.gnu.org; 6 Jan 2018 18:52:10 +0000 Original-Received: from localhost ([127.0.0.1]:38430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXtZh-00042x-Qf for submit@debbugs.gnu.org; Sat, 06 Jan 2018 13:52:09 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:53141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXtZf-00042S-7o for 29149@debbugs.gnu.org; Sat, 06 Jan 2018 13:52:07 -0500 Original-Received: from detlef.gmx.de ([212.86.44.124]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M4B71-1epyQF1AqB-00rm7L; Sat, 06 Jan 2018 19:52:00 +0100 In-Reply-To: (Shuguang Sun's message of "Sat, 6 Jan 2018 23:18:11 +0800") X-Provags-ID: V03:K0:WW483nvF70PV8G6/oL7kJOT4mYd0Pmxax6crj8z+nq6KYEy1HBu 8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 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" Xref: news.gmane.org gmane.emacs.bugs:141846 Archived-At: Shuguang Sun writes: > Dear all, Hi, > I have a patch to shell.el and dired-aux.el which=20 > 1. to use the tramp-remote-shell and tramp-remote-shell-args (in > shell.el) > 2. remove the "start /b" in dired-do-shell-command (in dired-aux.el) Thanks for this! However, I believe we should not use tramp-remote-shell and tramp-remote-shell-args in shell.el. The better approach would be to use connection-local variables. Have you read the section "Running =E2=80=98shell=E2=80=99 on a remote host" in the Tramp manual, chapter (info "(tramp) Remote processes") ? Best regards, Michael.