From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Luiz_Rom=C3=A1rio_Santana_Rios?= Newsgroups: gmane.emacs.help Subject: Re: tramp-sshfs doesn't seem to respect tramp-remote-path Date: Tue, 30 Jul 2024 18:28:06 -0300 Message-ID: <7a469804-eb2a-4aab-8e7f-31b4147c2f05@tecgraf.puc-rio.br> References: <072f5d9f-42d9-4d64-a9f0-e49ca0a1142d@tecgraf.puc-rio.br> <87h6c6g72m.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38403"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: help-gnu-emacs@gnu.org To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 30 23:28:57 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 1sYuOu-0009ns-Jz for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 30 Jul 2024 23:28:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYuOK-0001rr-Er; Tue, 30 Jul 2024 17:28:21 -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 1sYuOH-0001rW-0m for help-gnu-emacs@gnu.org; Tue, 30 Jul 2024 17:28:17 -0400 Original-Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sYuOE-0005XC-I7 for help-gnu-emacs@gnu.org; Tue, 30 Jul 2024 17:28:16 -0400 Original-Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1fdd6d81812so40815115ad.1 for ; Tue, 30 Jul 2024 14:28:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tecgraf-puc-rio-br.20230601.gappssmtp.com; s=20230601; t=1722374891; x=1722979691; darn=gnu.org; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=V0PyK85ENXqUdy6KVq+r9hXJIil+KCbArc61Vpud2Is=; b=ilczSfuvUNaNN7PRj4C1gYJZJlXLiaUYrLZYYl04GcVamkALA9DPMkAb9+i2jIqEIG 1Y+SacvwzVCj4BdMZaeBcIq28m6NLB80Vt1EL5cQ9Y/v+UHV67WHjqlsaHGzjTDcavEs RZNaY8K15gBTJRGlmyQ7ResO8N77Zdlotbf1UUtBtPrh2NoVsI0tuwWuhdJUqQ2ddNmS i2o0h2Lb6CY/bo0W/M+L94MMbnl0DCcqT8JQ0dEDTXybDk/2KwbEup695gHbzZ2pQLMZ j9rM/c2m9OaYTNvTP2mdAZ1lRyddRApD3j+qYg2mNVTrXpD9gaRy4F96BtoiO+nCdtZb d6UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722374891; x=1722979691; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=V0PyK85ENXqUdy6KVq+r9hXJIil+KCbArc61Vpud2Is=; b=nNbuPk/+15vmhz6eXGznBSY5K6OQCImu3JP4uYzhRfcgRe1QpYEty6IOBQFLyEtVWX MnKMSAMBdOkDxDiiWvqdiAOwahWXsk+XEQPRvHLnud3oMkZvYBVZp0EgW1Om4rOPn627 kFIrwCnQk3UnUuH3wLv4zop7LxCDcBN9WdjVzTXvZ0s6MaiJiRzhwpSn84Iu2cYNpTIC zrJZRUW31ySwODLaGShk3kl+c47bOS6XUYf+qwDb+qq9zjVRQFn3W4Zg2rM9NqsSKWUq wkqG6AHcOmvycQSyLCul1e535S6zAZ9TFjjP+9Kp7xn2FIihGh8oT1MVyDHYDHRYW5hA COUQ== X-Gm-Message-State: AOJu0YzlbzzbklXiOXg6rrmMl0qYBs7em+ZEsHoNRaKUTDyY7j7KItRA +4TI7cKTC1oPT4B7+lzBHbGFZeNGndVBYsszcPIEXA0ZYV+g70T1QsIeQXrBdgjsrPtjthhbtgZ km/4= X-Google-Smtp-Source: AGHT+IG3z8ObxP5UOJ9/toUyRWisz9k6vOSjpccwE3yGH9q1KFNXe8yOTOYlGo5AF7WwkJC08JjUPg== X-Received: by 2002:a17:902:d2cc:b0:1fa:ab25:f625 with SMTP id d9443c01a7336-1ff048624c5mr159160305ad.38.1722374891251; Tue, 30 Jul 2024 14:28:11 -0700 (PDT) Original-Received: from [10.16.0.42] (gwvpn2.tecgraf.puc-rio.br. [139.82.86.198]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fed7cf1ac1sm106805765ad.84.2024.07.30.14.28.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jul 2024 14:28:10 -0700 (PDT) Content-Language: en-US In-Reply-To: <87h6c6g72m.fsf@gmx.de> Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=luizromario@tecgraf.puc-rio.br; helo=mail-pl1-x631.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:147457 Archived-At: Em 30/07/2024 13:47, Michael Albinus escreveu: > 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/")