help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error with tramp-archive-autoload-file-name-handler


From: Michael Albinus
Subject: Re: Error with tramp-archive-autoload-file-name-handler
Date: Tue, 29 Mar 2022 09:30:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> 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 
> ‘file-name-handler-alist’")
>   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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]