From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Error with tramp-archive-autoload-file-name-handler Date: Sat, 26 Mar 2022 09:39:14 +0100 Message-ID: <871qyphzv1.fsf@gmx.de> References: <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="9681"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Emacs mailing list To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 26 09:39:52 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 1nY1xg-0002QA-2W for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 26 Mar 2022 09:39:52 +0100 Original-Received: from localhost ([::1]:36276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nY1xe-0002RA-F0 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 26 Mar 2022 04:39:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY1xA-0002Qm-Sr for help-gnu-emacs@gnu.org; Sat, 26 Mar 2022 04:39:20 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:45039) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY1x9-0003We-3x for help-gnu-emacs@gnu.org; Sat, 26 Mar 2022 04:39:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648283955; bh=g3IfD81gwT8hBgvAmjv1l5cWWj6lPv7Lk7Y0Nxg1dNQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=PWi6cE+paRjJQeQSdlRGjCI43Z11OjKZX9RpVM/nU+tOrVPh0EvJQ341iIZG9u9Gp 8Vytc629tkovGp2MjWCc/0c2+NCneaXZRHgAGxRQ+WV5wc3EiTA/21+QMHAQu6FH3a GuzOo32J3n1aCIggphp2WuKEsZkQb2Z5b2sMyFow= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.151.166]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MiaY9-1o1IxQ2Lot-00flqK; Sat, 26 Mar 2022 09:39:15 +0100 In-Reply-To: <87bkxtzjf1.fsf@web.de> (Michael Heerdegen's message of "Sat, 26 Mar 2022 00:44:50 +0100") X-Provags-ID: V03:K1:FGeY+cxQ4o61AEDVS4tt3yknJgwp1LxuL5cCgQ89oLsfjNjxUFA xx2s/pcXHy0Wpfeah6uSXzlTnj3Q8jndR58hJaDrQQxlMycnafFO0+RUClJBQK5lflJI+tk +IWhDWvFzf9LMUUjDDBp0j3g6eyZTiUFSHLxTf658IKfNxGs4cy1KVST1dDRyUjoPB2xmEo eLkghXKW0g2f/u671WkOA== X-UI-Out-Filterresults: notjunk:1;V03:K0:Y6IvNOWo5XA=:5UWiHYCOQOOM8XSbyyCnj1 CXYMQGnQ8lHcW/t7yE6U9691gT36DKXwQz1U3hJ8NVlRN/TRMzebDqfkelxP91qqL42QzEzjS hEoKAPTA4HpqAgl9kU/NBv+O+EwnN2JxQO8AwOf7gjuDgaE5OHYLPgZ3z2g1lbEmamj6QJBxf ZHqRrJ8SZn2BLA79ENfgoa8KePWUpvo8CAdPj2xOvtyQJcOnQry/B5s1yJitSsdYp3UoX4mAA O3oI6VLjV7H8xJMejb+uPF4n8xVRAroV0mqt1b82gFWeExYEnszHVWI6t/f6iJG2ukVl3tOLt CwwP0qqR0Rgff7HfRHBz9geBlFpccEiY7rjpoyduGcHc13DvPl2hLeNiAEdEyHiUp6BCqsy1b V+PhjQ/8182U5AuP8bKtHMb+8F2WngkAgFcVOG0vW2Y2uCqwff4PJ+tj6hL/aHvHnrncaba8v PKIqGNRCkJUQNCrIzHAjj5wX4rhqlOFLnCXu7IuiJAX26hSTMRZMZJ/Hj0AwzEYBOIybKB+Cz ZybGsswbz1fhILyqpltMNvPwjQ4/hAD+UyaQ8F35Y5FBZDf0Ry9Ryg2u0hsRELgBqd+CWHRkG Un9Zcf4/ETBHQasmGaVBbOdqa/8ctb7qtvh2hOIcZKdQoXQuTI3k1ld48ml2NqLFIss1DoESP Ms6nMcBoVlPEzi2iew/9wvIJyf9YP254/NVlWVI5ptbB0eG0TVD5pAZFsyMIkKC3qPFc/Ytig O1TVY04qviZkdm+oZY7PcaGPPxKICyYljsu1qb1Tt+r4tKwL+fZRQZ/GSmue3FZBlRZth5Gl Received-SPF: pass client-ip=212.227.15.19; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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:136764 Archived-At: Michael Heerdegen writes: > Hello, Hi Michael, > 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? Does this happen with "emacs -Q"? > TIA, > > Michael. Best regards, Michael.