From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.bugs
Subject: bug#53283: 28.0.91; TRAMP SSHFS method not known by default
Date: Sat, 15 Jan 2022 19:17:46 +0100
Message-ID:
References: <87wnj0yj55.fsf@gmx.de>
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="18141"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: 53283@debbugs.gnu.org
To: Michael Albinus
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 15 19:19:30 2022
Return-path:
Envelope-to: geb-bug-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 1n8neE-0004cA-GJ
for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 19:19:30 +0100
Original-Received: from localhost ([::1]:41254 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1n8neC-0000yv-Tn
for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jan 2022 13:19:28 -0500
Original-Received: from eggs.gnu.org ([209.51.188.92]:51508)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1n8ndm-0000xN-9h
for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 13:19:05 -0500
Original-Received: from debbugs.gnu.org ([209.51.188.43]:48805)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1n8ndm-00070T-0u
for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 13:19:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1n8ndl-0003Vk-QX
for bug-gnu-emacs@gnu.org; Sat, 15 Jan 2022 13:19:01 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 15 Jan 2022 18:19:01 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 53283
X-GNU-PR-Package: emacs
Original-Received: via spool by 53283-submit@debbugs.gnu.org id=B53283.164227068513421
(code B ref 53283); Sat, 15 Jan 2022 18:19:01 +0000
Original-Received: (at 53283) by debbugs.gnu.org; 15 Jan 2022 18:18:05 +0000
Original-Received: from localhost ([127.0.0.1]:41708 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1n8ncq-0003UO-Vo
for submit@debbugs.gnu.org; Sat, 15 Jan 2022 13:18:05 -0500
Original-Received: from mail-oi1-f180.google.com ([209.85.167.180]:34398)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1n8ncp-0003Tt-6N
for 53283@debbugs.gnu.org; Sat, 15 Jan 2022 13:18:03 -0500
Original-Received: by mail-oi1-f180.google.com with SMTP id r131so17220711oig.1
for <53283@debbugs.gnu.org>; Sat, 15 Jan 2022 10:18:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc:content-transfer-encoding;
bh=MTJu5EJa3xb0JzuaqsodrHxTCGj8wXUSDrnImO53zZQ=;
b=kMFMmZauvzP6PnHqPpElILhxy7gSitvi92jZlCIfMCwAQTadENxxw0EA3ggTN7VKDl
gecda2Fm9e2EnkE5zIkocrH7j/eCSsN5DYvtjrn560eSAj2+cPX2LM7vLR+Vcg5AFsU9
IiOGjOz6Je75Mgz11SlUQ0QK9wz7a2AP2BqiByCCsAtksSUiJmiN0yjV4VUJDsa/WekL
qkqGTo/EWNjuVb8hSkoUv/WGID1MFlmv+pfpiJwpnktCGrssscd4wgar4pSuYE1zgIEh
piZgbQtheua47vYJO6rxt8oGRrslzz1t/hPAIr4yftb/sg/4W8JfsaBtLuBp8q5LI6EJ
u1gg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc:content-transfer-encoding;
bh=MTJu5EJa3xb0JzuaqsodrHxTCGj8wXUSDrnImO53zZQ=;
b=Q8NS7TJwf+N3IlsX1m/v87QbzAigeBjjdd1vU3l93FCtbKinVVhGAIPTkHWNzBMa2R
rFMzmQ9grfZ8Lwihc/IuEIbYdp+hEsW8/bVicELcGLWMadzEVmEaYh79qkCrgfVqtI2R
E98oL/i2ce37J8PZ6Pekg19J9Vowv2fLyilTmnryCJG2Om6Qw6YPJ2qdupjYe+OB4E/g
YGvRZrfMAAXWCdlHJoVbWasWP8ZaN1vQcFzrWb9ktFf7v3YQcfk6AtXEkKejbT0/i43b
sCdd/OzckrhRhV7Kk0v97heVowp8TYv0HGiruIJ7++CZrBfMirHB2D/DBx7CeUOF0RZN
GNpQ==
X-Gm-Message-State: AOAM530gUYP7iphH+9/PV4r6kpLnEFV0AAvIBkLUUfMknwyc+Uy7z2VE
cc3XzTOynSa5kyvlNz1GPpHPGmSctNdf/qYz3i0=
X-Google-Smtp-Source: ABdhPJxGjpYmIW+UrP2OtU3rktB3tnTlIyXj48CSmMXNlJGga8+gQUDEhgTwRSskCtij26HXFfD2gzCymlrRnGS74iY=
X-Received: by 2002:a05:6808:b38:: with SMTP id
t24mr10141442oij.25.1642270677248;
Sat, 15 Jan 2022 10:17:57 -0800 (PST)
In-Reply-To: <87wnj0yj55.fsf@gmx.de>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
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-mx.org@gnu.org
Original-Sender: "bug-gnu-emacs"
Xref: news.gmane.io gmane.emacs.bugs:224326
Archived-At:
Am Sa., 15. Jan. 2022 um 18:59 Uhr schrieb Michael Albinus
:
>
> Philipp Stephani writes:
>
> Hi Philipp,
>
> > $ emacs -Q -batch -eval '(print (directory-files "/sshfs:localhost:/sys=
/"))'
> > , Method =E2=80=98sshfs=E2=80=99 is not known.
>
> > But it would be great if this could just work out of the box.
>
> It works for me:
>
> --8<---------------cut here---------------start------------->8---
> $ emacs -Q -batch -eval '(print (directory-files "/sshfs:localhost:/sys/"=
))'
>
> ("." ".." "block" "bus" "class" "dev" "devices" "firmware" "fs" "hypervis=
or" "kernel" "module" "power")
> --8<---------------cut here---------------end--------------->8---
>
> What happens, if you try the following:
>
> --8<---------------cut here---------------start------------->8---
> $ emacs -Q -batch -l tramp -eval '(print (mapcar (quote car) tramp-method=
s))'
>
> ("adb" "ftp" "sftp" "nextcloud" "mtp" "gdrive" "davs" "dav" "afp" "rclone=
" "fcp" "psftp" "pscp" "plinkx" "plink" "krlogin" "ksu" "doas" "sudo" "sg" =
"su" "nc" "telnet" "sshx" "ssh" "remsh" "rsh" "rsync" "scpx" "scp" "remcp" =
"rcp" "smb" "sshfs" "sudoedit")
> --8<---------------cut here---------------end--------------->8---
>
> In my case, you see the supported Tramp methods, including "sshfs".
$ src/emacs -Q -batch -l tramp -eval '(print (mapcar (quote car)
tramp-methods))'
("adb" "ftp" "sftp" "nextcloud" "mtp" "gdrive" "davs" "dav" "afp"
"rclone" "fcp" "psftp" "pscp" "plinkx" "plink" "krlogin" "ksu" "doas"
"sudo" "sg" "su" "nc" "telnet" "sshx" "ssh" "remsh" "rsh" "rsync"
"scpx" "scp" "remcp" "rcp" "smb" "sudoedit")
It does work on the master branch (the bug report is for Emacs 28), so
looks like it has been fixed in the meantime? Maybe it would be
possible to backport the fix onto the release branch.