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: Tue, 29 Mar 2022 09:30:31 +0200 Message-ID: <87wngddxm0.fsf@gmx.de> References: <87bkxtzjf1.fsf@web.de> <871qyphzv1.fsf@gmx.de> <87r16o4jxo.fsf@web.de> <871qyouuls.fsf@web.de> <87y20vg5gu.fsf@gmx.de> <87fsn2q0mk.fsf@web.de> <87o81qwqwi.fsf@sperrhaken.name> <87h77ifk6w.fsf@gmx.de> <87v8vx7gsz.fsf@web.de> 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="31716"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 29 09:32:29 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 1nZ6L7-00088m-KT for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 29 Mar 2022 09:32:29 +0200 Original-Received: from localhost ([::1]:51004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZ6L6-0000Fs-9o for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 29 Mar 2022 03:32:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZ6JK-0000Fe-41 for help-gnu-emacs@gnu.org; Tue, 29 Mar 2022 03:30:38 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:43231) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZ6JF-0004tD-Qn for help-gnu-emacs@gnu.org; Tue, 29 Mar 2022 03:30:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648539032; bh=DScSRcQjIcR6IhhVL+ntuflYkD5SfX/qI1XK2Rlzaqg=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=EgZVSOQW0YeIroNB1joPXj+kLP785WDWV768YPVU1g8s41F8FsGOBqe0KnsQVTTwr mTf6ouUE6aeUnvPl6plElO4z4tFC50OIdbQlrCx45IO5NOtd1Tz5GoUbnT8lg7cCgk b+KOha4yAPApJesGKNWPmB4N9TDpocOOfRJRJH8k= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.156.255]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M42nY-1nZ6JD478K-0007D2; Tue, 29 Mar 2022 09:30:32 +0200 In-Reply-To: <87v8vx7gsz.fsf@web.de> (Michael Heerdegen's message of "Tue, 29 Mar 2022 02:17:48 +0200") X-Provags-ID: V03:K1:iQKReJ4xB7K4ILlIuzJ1nKNG9VGxgyM2J5lQouU9MyYHloylhCc L/LvnrweOnQVlE7tpUqSHPel+8ECJSey2RmuojvZmLBBnDLqWuacuj0r+s7v+eSgLfEc5mQ w5BOE1BCWYrvIpMvwMq9FA8XL2T2c8iwlgPrf0FZ4d3w1ylFJshBk4n/hoDwIfeBBVAmk2g Yhw1zAbCnhj9hrNAW6+1w== X-UI-Out-Filterresults: notjunk:1;V03:K0:qQlLqiGmEnw=:KH1UWEPJPnbGMeNhFxWSQ8 ZlPUq9cxPS/HQV+hg5Yw+GMCrXqN4AVec8RUjLEN1g86pq61bZCxYJhLbnLMKnDsDx3V7QAo6 7vT/cE/eCKpAtqeFKajXTmikuiGJ2qrNEtwscCMTpWaSzLNmYz1QJtvR9xNVDvlt+Hj8KYNXw yThvn+5krTs12EQVoSwu9T30s920F+zabtwcd3zJM6fDVL4LKNRHm2BWxNoH62LJhx9PTguSy UH+BgzhQLS4PIHA8UxvqTU5nDDhHidykTk7KmRVDXcCgn85FTs1ZdJqiW4n+sJvXHZqi7jjWW MEeKQYMJaj/eiY67edDEtTvD5b1qTGmMZ2jbajMMHTjdunwiVzqyZMFNP6r48DVdCIU7vH1iA JQ4RciqpaK0oMoEJhAhG1YYso4eSDRILOM6hQBMWn4YHD0appA5kbWYh5pRJi1omt7qR37dEU Hkhm2q42SJjFcF0YUZtlETlq8aGA7tQ7ZthJlkw/eQiKNVof4I2/DUkjUZTKBJEgCYh/DX6Q6 csRg8nBM1X/LZTBQ1EkzroLaPh8hSWdJfoCKfXR/Uib6nEuVmDDKFzmbeiH+5Y12FAV9TaLkr 76PIyYxJmrxVR9AZMjAAWv0HpKDSnGAEy5NbwLYFiO7M6R+mBop7icip91pIBbnH590JnTJpY RWaLgAGr4MVJzQWq3mH54+shnx0x+4rmrOsBNoCgW1W1FhgU0NrJcYK/hoR5xOaENdvQJuHM4 POPxLjmiVwALFtzVTGLpG9kdDtvaaaAJmURqXjFHO6r7A8pg4c4louJVhEZTXfG0yXWQNpSQ Received-SPF: pass client-ip=212.227.17.22; 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:136806 Archived-At: Michael Heerdegen writes: Hi Michael. > Here is a recipe for emacs -Q: > > M-: > > (dotimes (_ 2) > (add-to-list 'file-name-handler-alist > (cons (tramp-archive-autoload-file-name-regexp) > #'tramp-archive-autoload-file-name-handler)) > (file-directory-p > "/home/micha/software/emacs/test/lisp/net/tramp-archive-resources/foo.= iso/")) > > RET > > gives me: > > Debugger entered--Lisp error: (error "Invalid handler in =E2=80=98file-na= me-handler-alist=E2=80=99") > file-directory-p("/home/micha/software/emacs/test/lisp/net/tramp-arc...= ") > > Is that acceptable? I'm afraid, this still doesn't raise any error here (tested with Emacs git master and Emacs 27). >> Anyway, I've pushed the appended patch to the repositories. It should fix >> this problem, hopefully. > > Hmm - that actually fixes the real-life issue I see - but not the above > recipe. Of course! My patch avoids several calls of that add-to-list. So I guess we can regard the problem as fixed, because the real-life issue is fixed for you as well. > Michael. Thanks again for reporting, and for patient testing. Best regards, Michael.