From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Error with tramp-archive-autoload-file-name-handler Date: Sat, 26 Mar 2022 00:44:50 +0100 Message-ID: <87bkxtzjf1.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4979"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 26 00:46:21 2022 Return-path: Envelope-to: geh-help-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 1nXtdM-00017x-Ly for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 26 Mar 2022 00:46:20 +0100 Original-Received: from localhost ([::1]:51466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXtdL-0007NS-3X for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 25 Mar 2022 19:46:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXtc0-0007Mu-LZ for help-gnu-emacs@gnu.org; Fri, 25 Mar 2022 19:44:56 -0400 Original-Received: from mout.web.de ([212.227.15.3]:51627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXtby-0008Uz-Oe for help-gnu-emacs@gnu.org; Fri, 25 Mar 2022 19:44:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1648251891; bh=/ZpX3tUhLJnDwFbNR/AH/VCh89JmYYJIXjl4itX1Y/U=; h=X-UI-Sender-Class:From:To:Subject:Date; b=c3puVGspSPKX+q6DGyIDoZd78BlYA5a/yhqAup4qn496xWJGQNlc2McjRD2KnicaA iWIMOqMlfYY0ZzPshWRnoczt2uml6YW7wYoIKjWFYZeqtq2xzzaiw7g/tgnvHzgx6E WSRp91xooE+tp2Iqc10Qmne6Ysyq3iqS7vReGFDA= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([84.60.174.212]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MTvvy-1ng6mv1jZy-00RTWd; Sat, 26 Mar 2022 00:44:51 +0100 X-Provags-ID: V03:K1:mnSRrG9vVcVFOhVPvTZzBB5c6yzXKkMa+UC6cRdYdcPD+SW+fTT PVwApUQW86DuMhnsyGDwphCDr9z2jcjKmHfuiCbE1YFVUsAwVPvfIChuQq629jCZaplU9Vn jszReWECrnNDzNeC4Nl3wpUKk9CLdCrKefBLhU8Y/cgmyKkrpx6gchP4NxEEc4Zwv+Sa6dO Qvhfc/9l1dM3avIjZbCWg== X-UI-Out-Filterresults: notjunk:1;V03:K0:PXaJ0I5cja4=:+Y9mNdIisWr5hF4eTjxun7 3y/3lmjriql06l7FOrdVfXr5n3hDH7XRdN3A1rJ//GyCXKBUYrZRNJkqMSSd/9hj9DMuAK7lP hZnGXZ+cYz7DttW2Irit1I8yTfdYw9ly/knw2GQY0rp40G151V44iDLx7MKW61DJmavLr7zoL fmgNukguhyTIJeGCmPzPfs91mhZv65YMtAQzsvASwV4Z4SZc6wsHAcMdDFzyNJaTb/m4iV+kz fbzRvcO/pTBKqNOQzYuYbQ9EuoMpsP96J5VasnWJh6qeiQDMaSK/ty7xbjEUp73M37RnBxrG7 YQE0sHHHAptv4TWdJ8Hpger76vBe2/cXmZvQQdLO61qOp55yuZ4cxQ1+dfsHoUQa0B8d5BZ/P yRNNgT95yfhxQsNvYNUjhyXs37BhW5r2jbKf9s6NH6vGSShRPAcZUGua+WIzIsRsOhOApgTsx nmxEholsh5u1QxmDBYKyByw+IIM7koS0mBiO9UNUr7yB6CN9ifSfpzwZJCUwBaDpZL+zLdfz2 EuYabJDxpdxpHzmROdO2NqsskN9GVkwfH+1H1b/wdFFdXj9nsaasZ3Zj6NusxUmNJE4sX7ohM wxOIoifpd1rKB8RxbW9QS67PNR8k7N1zNYG16CBzPqIS0dM8FLdF2NBVX8b8daQtihwzvztgv DBYBDqrY6Y6ywbxJunMAMt3zpOClV+1ymjHIUymBbHQk4ZQbPCgmyj3QGRGGM8YqJ1AIvxvFX AQItNM3qxi1Aymyqbytgd5qgRoBV/2MzmcR82UOByu/q+hlSrGD+AQkDRricrSHYSpBOrC49 Received-SPF: pass client-ip=212.227.15.3; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136762 Archived-At: Hello, one user (in the technical sense) of my computer sometimes gets "Invalid handler in `file-name-handler-alist' errors. Here is one example: (file-directory-p "/home/micha/software/emacs/test/lisp/net/tramp-archive-resources/foo.iso/") Evaluating that gives the error. For another user, I get just `t'. The main difference seems to be that the first entry of `file-name-handler-alist' is an entry referring to `tramp-archive-autoload-file-name-handler' for the user that gets the error. That entry is missing for the user where it "works". For the user where it doesn't work, I see that `tramp-archive-autoload-file-name-handler' succeeds and returns nil (normally) but seems Emacs doesn't like that result. I'm not sure where in the code the error is actually raised. Both users share more or less the same Emacs configuration. tramp-archive-enabled -> nil for both users. When I remove the `tramp-archive-autoload-file-name-handler' entry, result is `t` for both users. Any hints? TIA, Michael.