all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: 53283@debbugs.gnu.org
Subject: bug#53283: 28.0.91; TRAMP SSHFS method not known by default
Date: Sat, 15 Jan 2022 19:24:09 +0100	[thread overview]
Message-ID: <CAArVCkTYZbEvs5b=LGm-Tb0JiPDr5qwPT9WpQV3um0v-DNGsMA@mail.gmail.com> (raw)
In-Reply-To: <wvr4k0f1892r.fsf@gmail.com>

Am Sa., 15. Jan. 2022 um 14:06 Uhr schrieb Philipp Stephani
<p.stephani2@gmail.com>:
>
>
> First, thanks for adding the SSHFS method, it works really well in
> general!  However, I think it should be available by default:
>
> $ emacs -Q -batch -eval '(print (directory-files "/ssh:localhost:/sys"))'
> Tramp: Sending command ‘exec ssh -e none localhost’
> Tramp: Found remote shell prompt on ‘localhost’
>
> ("." ".." "block" "bus" "class" "dev" "devices" "firmware" "fs" "hypervisor" "kernel" "module" "power")
>
> (as expected)
>
> But:
>
> $ emacs -Q -batch -eval '(print (directory-files "/sshfs:localhost:/sys/"))'
> , Method ‘sshfs’ is not known.
> Debugger entered--Lisp error: (user-error "Method ‘sshfs’ is not known.")
>   signal(user-error ("Method ‘sshfs’ is not known."))
>   tramp-error((tramp-file-name "sshfs" nil nil "localhost" nil "/sys/" nil) user-error "Method `%s' is not known." "sshfs")
>   apply(tramp-error (tramp-file-name "sshfs" nil nil "localhost" nil "/sys/" nil) user-error "Method `%s' is not known." "sshfs")
>   tramp-user-error((tramp-file-name "sshfs" nil nil "localhost" nil "/sys/" nil) "Method `%s' is not known." "sshfs")
>   tramp-dissect-file-name("/sshfs:localhost:/sys/")
>   tramp-file-name-handler(expand-file-name "/sshfs:localhost:/sys/" nil)
>   expand-file-name("/sshfs:localhost:/sys/" nil)
>   apply(expand-file-name ("/sshfs:localhost:/sys/" nil))
>   tramp-autoload-file-name-handler(expand-file-name "/sshfs:localhost:/sys/" nil)
>   directory-files("/sshfs:localhost:/sys/")
>   (print (directory-files "/sshfs:localhost:/sys/"))
>   eval((print (directory-files "/sshfs:localhost:/sys/")) t)
>   command-line-1(("-eval" "(print (directory-files \"/sshfs:localhost:/sys/\"))"))
>   command-line()
>   normal-top-level()
>

OK, removing lisp/net/tramp-loaddefs.el and manually regenerating it
fixes the issue. So this is not a bug in the Emacs code itself. Maybe
there's a small bug in the Makefiles around detecting whether
tramp-loaddefs.el needs to be rebuilt?





  parent reply	other threads:[~2022-01-15 18:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-15 12:41 bug#53283: 28.0.91; TRAMP SSHFS method not known by default Philipp Stephani
2022-01-15 17:59 ` Michael Albinus
2022-01-15 18:17   ` Philipp Stephani
2022-01-15 19:02     ` Michael Albinus
2022-01-16 12:09       ` Philipp
2022-01-15 18:24 ` Philipp Stephani [this message]
2022-01-16 12:34   ` Michael Albinus
2022-01-16 16:33     ` Philipp Stephani
2022-01-16 17:19       ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAArVCkTYZbEvs5b=LGm-Tb0JiPDr5qwPT9WpQV3um0v-DNGsMA@mail.gmail.com' \
    --to=p.stephani2@gmail.com \
    --cc=53283@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.