From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: tramp-sshfs doesn't seem to respect tramp-remote-path Date: Tue, 30 Jul 2024 18:47:45 +0200 Message-ID: <87h6c6g72m.fsf@gmx.de> References: <072f5d9f-42d9-4d64-a9f0-e49ca0a1142d@tecgraf.puc-rio.br> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2624"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Luiz =?utf-8?Q?Rom=C3=A1rio?= Santana Rios Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 30 18:48:17 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sYq1I-0000Uo-Qr for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 30 Jul 2024 18:48:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYq0v-0002et-UH; Tue, 30 Jul 2024 12:47:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sYq0u-0002eV-9x for help-gnu-emacs@gnu.org; Tue, 30 Jul 2024 12:47:52 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sYq0s-0007vg-Dv for help-gnu-emacs@gnu.org; Tue, 30 Jul 2024 12:47:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1722358066; x=1722962866; i=michael.albinus@gmx.de; bh=Mjwngiq6BQSFMuTWzUthHvMOHxXsB5TdfiOACfTWIGU=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=SPdFP0r3I03bbfZaYjp4BHsin7l2BlwgtbiPwnZwr0xatZHGkq6r6U60Jl0c4DBL 3TJ0beT81IsBz/Re/1FpPwiNJSHY6B9kvPnPC+VXSkxjX0WLpMlqf6OiL83ZBumrf g9E3PfctzEYAS75Pt6CzAHWoTNAZ4gsBc04D8qVZDAWtXPLv4VBLh+DbB8/6EwPAL ztGoTb14tg4+8cXqNWykpMUK2l3Y30kLyZGRrPWn3cv3GYRf1a94m94S2xPlq967P hGiyi6OwwmWdyZPEQD055zbdHeNpMyqCGmBVCnsQyuFdkwT8YKSPloy6pWnaF5Tsu 9oWchWO40iirdW2vVQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M26vL-1sWLyS47XF-00C181; Tue, 30 Jul 2024 18:47:46 +0200 In-Reply-To: <072f5d9f-42d9-4d64-a9f0-e49ca0a1142d@tecgraf.puc-rio.br> ("Luiz =?utf-8?Q?Rom=C3=A1rio?= Santana Rios"'s message of "Tue, 30 Jul 2024 10:22:28 -0300") X-Provags-ID: V03:K1:MrwP6PhpI03dHz1YEvh0ClIQalit395w5I4pYCzzBFgU4//+XHV XYU9HsUNl2jw1LFMUerCD0RZDCaNt1Ao8yaMbPDuwGtU/yjL64qOYt0+iHpSKbPS/brhNWp +4uVOCPXD5tAyGwHrhXV1Xcr/dcNhx1kyCuFPEPgu5JxslvNVHDtGs0lWn+Ulq1ftqLnu/v lTQhTeQ4gJd3bMm6BOpPw== UI-OutboundReport: notjunk:1;M01:P0:L5TIuDMKG+o=;RUANRQuvGadtnEgEGhDa5UTzYJB UDUlsP0gZVVzljdpKq9ffffof90/mZgnq2tykc1gBbahs+MNHP3hzOZIkgmliRNO3TTlF9DaI 2/Mo3LPgTrX57oIlgv7bfnTSJEElGQRe1KGca1VLhbJ7dI20jAEmslhX8CBqp+4iGaH8+dB5P PbxNrw16P6TaX3HjJr4IIUjK2e/q4OpOT4aTv3z85VMqQ+4Z0dtzhPCcY76EGHr32AxE3g8nY Mb1O0IZPKdUsXpnWfFaZYRW1+2lnIcsjaL0qNufGC5vIJjEfiUwW9D89E8WH7IWmJ2HXn3x8D 38ZaftZZG1pmwkScTrbOkc0Sv2LA5G9gGF4WQ6raknGVmITLp1H5mb/yhDo8Lm6ZE3i2vbMXC XX6hCnSaRFxmhgvJNANAJ81A3nHkkEVqkH8SOY6VqudxNd+r6ViilNm4oziiMUR4GurjzlikC mDrJHF4Iboh5EI/LpAiF3/jUddTzx7s8/xMoK9fQwW402DPzVdvoFTGXT2htyO8S0z6FxHqmJ tJ9Bc7F+6xdsWQHrOJa84ulsAxLj+4OmFpAuYw0KHRb1DmIsGz+pFXM6mkfbm8lXxCTG+UeLR /D/xhePeALNMl+qi8up6DWnnae/XB1xy+1wZoi4Os214jSkC/x8BSJ7ht6oKciZaQf4FXS05n nkcSFS4erfKeghyQtx5udu2EHsnbbUFTVZ3vXl/Ik550zXzWJvPJFjNckRn4jb3SFdFHGnF1r T/fUdNsAaxwV4iBcTUSwf13+79FGZUxatIWBCGjKTukzrgucGdMqza6Mx0LyYZjjfgMtuT+O Received-SPF: pass client-ip=212.227.15.15; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147455 Archived-At: Luiz Rom=C3=A1rio Santana Rios writes: > Hello, Hi, > I've been trying out tramp-sshfs and it works fine, but for some > reason it doesn't seem to respect tramp-remote-path. My remote machine > has a very old git version so I needed to install a newer git > elsewhere and make the path point there for magit to work. Under > tramp-ssh this works fine, but it doesn't under tramp-sshfs (magit > complains about the git version). > > Opening up eshell I noticed the following: > > - git --version -> git version 1.8.3.1 > > - which git -> /sshfs:luizromario@remote-machine:/usr/bin/git > > - echo $PATH -> /usr/bin > > Is this a bug? Am I doing something wrong? tramp-remote-path is used only for external processes of Tramp methods, which are handled by tramp-sh-file-name-handler. That is, all methods defined in tramp-sh.el and tramp-container.el. > Thanks in advance Best regards, Michael.