all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Jason Williams <jason.williams9005@gmail.com>
Cc: 75314@debbugs.gnu.org
Subject: bug#75314: 28.2; tramp-error: Invalid function: "with-tramp-connection-property"
Date: Fri, 03 Jan 2025 15:07:27 +0100	[thread overview]
Message-ID: <8734i0at40.fsf@gmx.de> (raw)
In-Reply-To: <f7879be7-21cd-4fc5-bc11-b0f19b2afcf2@gmail.com> (Jason Williams's message of "Thu, 2 Jan 2025 23:51:44 -0700")

Jason Williams <jason.williams9005@gmail.com> writes:

Hi Jason,

> Tramp is failing to do anything and has worked in the past on different
> installations.
>
> When I attempt to use M-x find-file /ssh:name@host: ENT it will fault
> with
>
> tramp-error: Invalid function: "with-tramp-connection-property"
>
> without fail. invoking M-x find-file /doas: ENT has no response and
> treats the input 'doas:' as a literal file.
>
> My config looks like this:
>
> (use-package tramp :straight t)
> (require 'tramp)
> (add-to-list 'tramp-connection-properties
>              (list (regexp-quote "/ssh:jason@major.local:")
>                    "remote-shell" "/bin/bashsh"))

I don't know how trustworthy an installation with straight is. But in
fact, you have an inconsistent Tramp installation.

> Load-path shadows:
> /home/jason/.config/emacs/straight/build/tramp/trampver hides
> /usr/share/emacs/28.2/lisp/net/trampver
> /home/jason/.config/emacs/straight/build/tramp/tramp hides
> /usr/share/emacs/28.2/lisp/net/tramp
> /home/jason/.config/emacs/straight/build/tramp/tramp-uu hides
> /usr/share/emacs/28.2/lisp/net/tramp-uu
> /home/jason/.config/emacs/straight/build/tramp/tramp-sudoedit hides
> /usr/share/emacs/28.2/lisp/net/tramp-sudoedit
> /home/jason/.config/emacs/straight/build/tramp/tramp-sshfs hides
> /usr/share/emacs/28.2/lisp/net/tramp-sshfs
> /home/jason/.config/emacs/straight/build/tramp/tramp-smb hides
> /usr/share/emacs/28.2/lisp/net/tramp-smb
> /home/jason/.config/emacs/straight/build/tramp/tramp-sh hides
> /usr/share/emacs/28.2/lisp/net/tramp-sh
> /home/jason/.config/emacs/straight/build/tramp/tramp-rclone hides
> /usr/share/emacs/28.2/lisp/net/tramp-rclone
> /home/jason/.config/emacs/straight/build/tramp/tramp-integration hides
> /usr/share/emacs/28.2/lisp/net/tramp-integration
> /home/jason/.config/emacs/straight/build/tramp/tramp-gvfs hides
> /usr/share/emacs/28.2/lisp/net/tramp-gvfs
> /home/jason/.config/emacs/straight/build/tramp/tramp-fuse hides
> /usr/share/emacs/28.2/lisp/net/tramp-fuse
> /home/jason/.config/emacs/straight/build/tramp/tramp-ftp hides
> /usr/share/emacs/28.2/lisp/net/tramp-ftp
> /home/jason/.config/emacs/straight/build/tramp/tramp-crypt hides
> /usr/share/emacs/28.2/lisp/net/tramp-crypt
> /home/jason/.config/emacs/straight/build/tramp/tramp-compat hides
> /usr/share/emacs/28.2/lisp/net/tramp-compat
> /home/jason/.config/emacs/straight/build/tramp/tramp-cmds hides
> /usr/share/emacs/28.2/lisp/net/tramp-cmds
> /home/jason/.config/emacs/straight/build/tramp/tramp-cache hides
> /usr/share/emacs/28.2/lisp/net/tramp-cache
> /home/jason/.config/emacs/straight/build/tramp/tramp-archive hides
> /usr/share/emacs/28.2/lisp/net/tramp-archive
> /home/jason/.config/emacs/straight/build/tramp/tramp-adb hides
> /usr/share/emacs/28.2/lisp/net/tramp-adb

It doesn't tell us which Tramp version you have installed. But at least
tramp-loaddefs isn't mentioned, which shall also have a shadow file in
your straight directory.

Best regards, Michael.





  reply	other threads:[~2025-01-03 14:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-03  6:51 bug#75314: 28.2; tramp-error: Invalid function: "with-tramp-connection-property" Jason Williams
2025-01-03 14:07 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2025-01-03 15:01   ` Rudolf Schlatte
     [not found]   ` <1e358d7b-77f9-400a-8151-4285c6c1ba88@gmail.com>
2025-01-04 11:24     ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=8734i0at40.fsf@gmx.de \
    --to=bug-gnu-emacs@gnu.org \
    --cc=75314@debbugs.gnu.org \
    --cc=jason.williams9005@gmail.com \
    --cc=michael.albinus@gmx.de \
    /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.