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: Sat, 26 Mar 2022 09:39:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> 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.



reply via email to

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