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: Wed, 31 Jul 2024 13:47:24 +0200 Message-ID: <871q39okab.fsf@gmx.de> References: <072f5d9f-42d9-4d64-a9f0-e49ca0a1142d@tecgraf.puc-rio.br> <87h6c6g72m.fsf@gmx.de> <7a469804-eb2a-4aab-8e7f-31b4147c2f05@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="29509"; 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 Wed Jul 31 13:48:01 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 1sZ7oG-0007Yl-V4 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 31 Jul 2024 13:48:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZ7nr-0007AP-IL; Wed, 31 Jul 2024 07:47:35 -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 1sZ7nn-0007AB-Bl for help-gnu-emacs@gnu.org; Wed, 31 Jul 2024 07:47:33 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZ7nl-0003Zy-Gv for help-gnu-emacs@gnu.org; Wed, 31 Jul 2024 07:47:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1722426446; x=1723031246; i=michael.albinus@gmx.de; bh=hfplAl22+IGplhu4jognc4pzxRakDkoxxTWeks5kUNE=; 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=QyiZDbVqqGiI38zBzUuJ/RG9ybxfV5wG3bhhn5AsGs77PngTkib3do9RG9LL0WfV T2wVbTyt4COI9+c5m/Iy6CqH7Pc0I/vRoaxKRnmPtPRuVTjgFDTh9L3cyysjroPRD MoInI1zWVVeoVnEcaZ8U+prZAzwq4jNKGlu4yYGm7kduxD3FO8/lPIZq4DDEC+GcY RuvcPgj7v70vS6rkH9P1uMBQjUvMCj1M0mHWrs0bVxozXpRtqIRuWIyX/Nq1ERgqf sky1AonjCB3uHHMwbtEd4vf07TDXD80TeiPbwpUOZ67O824cS97lO90bxK+u+lxPN 3/DcdE2nxhbHE8m1Qw== 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 1MuUj2-1sHBVf3Ae2-00zjTa; Wed, 31 Jul 2024 13:47:25 +0200 In-Reply-To: <7a469804-eb2a-4aab-8e7f-31b4147c2f05@tecgraf.puc-rio.br> ("Luiz =?utf-8?Q?Rom=C3=A1rio?= Santana Rios"'s message of "Tue, 30 Jul 2024 18:28:06 -0300") X-Provags-ID: V03:K1:U2hW7uJ9DvWo5SQZq6fCt0KOGYUGJsa6CLVzeQ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-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_H3=0.001, RCVD_IN_MSPIKE_WL=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:147461 Archived-At: Luiz Rom=C3=A1rio Santana Rios writes: Hi, > 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. > > I think there's something wrong, then: > > /sshfs:luizromario@remote-machine:/home/c/luizromario $ (exec-path) > ("/usr/bin" "/home/c/luizromario/") > /sshfs:luizromario@remote-machine:/home/c/luizromario $ > (tramp-sh-handle-exec-path) > ("/home/c/luizromario/emacs/bin" "/home/c/luizromario/.local/bin" > "/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" > "/usr/local/sbin" "/home/c/luizromario/") tramp-sh-handle-exec-path is not used for the sshfs methods See tramp-sshfs-file-name-handler-alist: --8<---------------cut here---------------start------------->8--- (exec-path . tramp-sshfs-handle-exec-path) --8<---------------cut here---------------end--------------->8--- Best regards, Michael.