From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rudolf Schlatte Newsgroups: gmane.emacs.bugs Subject: bug#75314: 28.2; tramp-error: Invalid function: "with-tramp-connection-property" Date: Fri, 03 Jan 2025 16:01:30 +0100 Message-ID: References: <8734i0at40.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25389"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 75314@debbugs.gnu.org Cancel-Lock: sha1:dti3kXfbvu7G61dxiCL+ijm2PbQ= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 03 16:02:20 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 1tTjBs-0006Td-EI for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Jan 2025 16:02:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTjBf-0005D6-2i; Fri, 03 Jan 2025 10:02:07 -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 1tTjBb-0005BS-FT for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 10:02: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 1tTjBa-0002AC-Vn for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 10:02: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:References:Date:From:To:In-Reply-To:Subject; bh=lmZFaD9n5KfEjXZU2Xwcb4DGdJwPiPvucoRDJO92kT4=; b=SZnTrKpe5lR5vDinSnGIKtaHqp+AzZZottfquqPz5xEvgHWoPLdmACjS0og0MUKi6r+OCi+aX+mhSiSzWFP1jDRFCzHYITHnLZucCJVXfV4JUnB05ywKTRTzp6wPQfgOjs3QoU+LOtHf3sUyY92R9TiepBkJyOmcuZJBk7RAiu0cP2Tebqya8cYED5JS24whxcGoIwgAC33CvnPAZ7tSbJdSsbecqoyyDej+2hKVIAl6toSCUQiv00l8l3fQ/Rm878MZDGfpiIKLbKGMUc7hILoQXrrCjr/GynaExrGgYrlxQ/HYiTQUjYYCbz9+d0Q8k4cpvvH0aPjqXxBUvCFpJg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tTjBa-0004Jj-HS for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 10:02:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Rudolf Schlatte Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jan 2025 15:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75314 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173591652116588 (code B ref -1); Fri, 03 Jan 2025 15:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jan 2025 15:02:01 +0000 Original-Received: from localhost ([127.0.0.1]:51557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tTjBY-0004JU-P0 for submit@debbugs.gnu.org; Fri, 03 Jan 2025 10:02:01 -0500 Original-Received: from lists.gnu.org ([2001:470:142::17]:54432) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tTjBV-0004J6-8o for submit@debbugs.gnu.org; Fri, 03 Jan 2025 10:01:58 -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 1tTjBG-0004cJ-3k for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 10:01:44 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTjBE-00027V-8c for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 10:01:41 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1tTjBA-0005gc-5J for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2025 16:01:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.204, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:298285 Archived-At: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > 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 >>              (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. 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.