bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53283: 28.0.91; TRAMP SSHFS method not known by default


From: Michael Albinus
Subject: bug#53283: 28.0.91; TRAMP SSHFS method not known by default
Date: Sat, 15 Jan 2022 20:02:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Philipp Stephani <p.stephani2@gmail.com> writes:

Hi Philipp,

> $ 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.

There shouldn't be a difference between master and release branch. Can
you please check lisp/net/tramp-loaddefs.el? There should be something like

--8<---------------cut here---------------start------------->8---
(tramp--with-startup (add-to-list 'tramp-methods `(,tramp-sshfs-method 
(tramp-mount-args (("-C") ("-p" "%p") ("-o" "idmap=user,reconnect"))) 
(tramp-login-program "ssh") (tramp-login-args (("-q") ("-l" "%u") ("-p" "%p") 
("-e" "none") ("%h") ("%l"))) (tramp-direct-async t) (tramp-remote-shell 
,tramp-default-remote-shell) (tramp-remote-shell-login ("-l")) 
(tramp-remote-shell-args ("-c")))) (add-to-list 'tramp-connection-properties 
`(,(format "/%s:" tramp-sshfs-method) "direct-async-process" t)) 
(tramp-set-completion-function tramp-sshfs-method 
tramp-completion-function-alist-ssh))
--8<---------------cut here---------------end--------------->8---

Perhaps you regenerate this file? Try

--8<---------------cut here---------------start------------->8---
$ rm lisp/net/tramp-loaddefs.el
$ make -C lisp autoloads
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]