From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#75314: 28.2; tramp-error: Invalid function: "with-tramp-connection-property" Date: Fri, 03 Jan 2025 15:07:27 +0100 Message-ID: <8734i0at40.fsf@gmx.de> References: Reply-To: Michael Albinus 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="15769"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 75314@debbugs.gnu.org To: Jason Williams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 03 15:08:29 2025 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 1tTiLk-0003vn-0p for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Jan 2025 15:08:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTiLN-0006pJ-8v; Fri, 03 Jan 2025 09:08:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTiLL-0006oJ-Co for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 09:08:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tTiLL-0002bI-4T for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 09:08:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=aH004+P2n+j8MR8ACV0lT5xDNm8EBTNMF4C+u0FU5d4=; b=lM/xUerl4+2yHExAmrCUS9Dg9HsSEYRJktspNFfY0Ek/e9QYHtXDTLJiNof0NOSkzQ94TEA253nZx0WXEQlymRohsLl0FxadYJb032RkymGWI3t0yvQ3liggYvFOBZtD4W/LkwlKCDwXm6UPiAFtRjjwjIt5wKNftuSe3reIhcZjSRcZM/JaI0O/5lxRKBcOYt6ssHp6hSA/OumaB+eJ6pBYkYFUGH5eDi0wL0XLUQxYiIvyZJqN6GvfiefnyIdp47EHGk8NgyTP6SPxthNko6WvX5RzB2eTklUTp+SE91jJhoivyynA8jkZe0EOCl+VhljAmXzT+N6rsdcD/4bH/Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTiLK-0000x1-MH for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 09:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jan 2025 14:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75314 X-GNU-PR-Package: emacs Original-Received: via spool by 75314-submit@debbugs.gnu.org id=B75314.17359132593619 (code B ref 75314); Fri, 03 Jan 2025 14:08:02 +0000 Original-Received: (at 75314) by debbugs.gnu.org; 3 Jan 2025 14:07:39 +0000 Original-Received: from localhost ([127.0.0.1]:50088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTiKw-0000wI-Iu for submit@debbugs.gnu.org; Fri, 03 Jan 2025 09:07:38 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:43975) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTiKt-0000w4-VF for 75314@debbugs.gnu.org; Fri, 03 Jan 2025 09:07:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1735913249; x=1736518049; i=michael.albinus@gmx.de; bh=aH004+P2n+j8MR8ACV0lT5xDNm8EBTNMF4C+u0FU5d4=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=eQAKDnK7q21RpMP8hbW2EQ0C7wmJonFD2/5ntxy159Wf0QZ+NUVkDFs2pLxjLRqX QpMxcmkAvNvfbl14wFfcTo+Ts4nRgdngdcf7Z/PNdjRQiynfppKPSGQAlq9prUzQT 0px2RhNHxTpUmrIcc6icPX+kEtOZKzAUYx3vZCy1yrpFmLbyGQsqkXv6jOXpXSTgi 2WTJCmZK2Z/g2D/7RHOlhSYHP5Jg/xfKWjUJEM9UkpUzTh3TgKxlSPQxnvzIml0Id +cmdLVzMUeNX6pN705rGEFl79KRtCyX175cjGEf+Equ1fbfsYq729q9JS1gEf0HQ7 8CmID8slOiCFUY5W8g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MYNJg-1syHJL2ZCE-00VASD; Fri, 03 Jan 2025 15:07:29 +0100 In-Reply-To: (Jason Williams's message of "Thu, 2 Jan 2025 23:51:44 -0700") X-Provags-ID: V03:K1:m61ktw97zICSolzCjmvhIQ5OtzpBxo8LbAfq1N8XF8Oknj02ovR OMjzpC1OXTYbhQHgbTC4t1SCv/ZnWiSrY+ESWxvDyrWEQji+HaAncWTqPeAyT/yu7+fjc5E 5HOb1c548RqgkD7WB9wDyFwl1Q3B7+P4fCe5N9YgeXlFsl5T/pescvM1EB8TK7gRiMGNj0b hq253DjbMhgY1W0wSfr8A== UI-OutboundReport: notjunk:1;M01:P0:aeM5CSwws1Y=;cJePqNxdG2jO6XssMuW7RI2y9v+ Z6VT1UXgS4G8CR8lPGPfCNgAlM1PeNKqxlmSEg1PK0tZZkIAKil8jECSHNrpJ3lo98QzCaE2A m4IXx3BOcE4ZDdxzfEn63dZ0Vxo2cl50LLavNeGnMbFVdoePKz6qRaWpriCa+Tyci03FkADTH U/SYIjPYIthz/Amzxc4Cr1MJK4svu9n4GTO2+mdCSwR3uy3XOpQZxqcHAbSNUEvCW3la1YXIX 62raQLKjnB9+wk+ke3UQumxe2AcuC12iXS5iFEIvjYAXrOvs8HK63jDD9dl+GEKR+aUxIhUMH deRY+dnnMwvzaiOrwxXB/NVM/ozsjTz1SQFyOYWt4kq4lEt1uopauJwiwYpicsJmz/RWsuRxr uM2rDOBs1eDB6PNOz286lvXxSqk/nJ5uo1EahOVXq7RBEnAdFNcUKQ8VKXjMgfmRpPUnbJOFS OXJjvyIFcLklaqVff0W1IfDM++LoGRty33Yhp2u/j7fnVs2ouWUrldxNo6tEqLV4r7jNzJ8WU 3q8MYJTO/yTMpWt+wiZxhMScPa/9DggB3Ee8JaAp83v+IMVIdg0YwOsooRt5teUQi/ZJ+bAnh ICX0UwO4CtoBJSN3molM1ZtEqYOXKo50OL5rDdNrI6u8EQtqutyHSAhypPQIxYLO3pkB6HqWn BooyU2mtpUREG1zvUlw5uhkU7yVfanJKhZnQpzd7txi75RTqAJRkAOGcvXWw0Ke8C/MMlEEXe BC8hLDa0U08S3rko8xLiGtczh7epb+5+0nBu3l+EydobBFAc35w4+VdqXZPMDfR+eTPLSn/2 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298279 Archived-At: Jason Williams 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 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = (list (regexp-quote "/ssh:jason@major.local:") > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "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.