GNU bug report logs - #75314
28.2; tramp-error: Invalid function: "with-tramp-connection-property"

Previous Next

Package: emacs;

Reported by: Jason Williams <jason.williams9005 <at> gmail.com>

Date: Fri, 3 Jan 2025 13:21:01 UTC

Severity: normal

Tags: notabug

Found in version 28.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Rudolf Schlatte <rudi <at> constantly.at>
To: 75314 <at> debbugs.gnu.org
Subject: bug#75314: 28.2; tramp-error: Invalid function: "with-tramp-connection-property"
Date: Fri, 03 Jan 2025 16:01:30 +0100
Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> writes:

> Jason Williams <jason.williams9005 <at> 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 <at> 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 <at> 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.

The error message `tramp-error: Invalid function:
"with-tramp-connection-property"` points to some kind of flawed
compilation process, since `with-tramp-connection-property` is a macro;
its definition has to be available at compile-time.





This bug report was last modified 195 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.