unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Error with tramp-archive-autoload-file-name-handler
@ 2022-03-25 23:44 Michael Heerdegen
  2022-03-26  8:39 ` Michael Albinus
  0 siblings, 1 reply; 25+ messages in thread
From: Michael Heerdegen @ 2022-03-25 23:44 UTC (permalink / raw)
  To: Emacs mailing list

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.



^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2022-04-13  2:03 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-25 23:44 Error with tramp-archive-autoload-file-name-handler Michael Heerdegen
2022-03-26  8:39 ` Michael Albinus
2022-03-26 19:01   ` Michael Heerdegen
2022-03-27  0:06     ` Michael Heerdegen
2022-03-27  8:33       ` Michael Albinus
2022-03-28  2:20         ` Michael Heerdegen
2022-03-28  6:08           ` Felix Dietrich
2022-03-28 10:25             ` Michael Albinus
2022-03-29  0:17               ` Michael Heerdegen
2022-03-29  7:30                 ` Michael Albinus
2022-04-01  1:53                   ` Michael Heerdegen
2022-04-02 12:00                     ` Felix Dietrich
2022-04-02 17:00                       ` Michael Albinus
2022-04-06  8:49                         ` Felix Dietrich
2022-04-06 18:13                           ` Michael Albinus
2022-04-07 10:14                             ` Michael Albinus
2022-04-07 17:54                               ` Felix Dietrich
2022-04-08  9:41                                 ` Michael Albinus
2022-04-13  2:03                                 ` Michael Heerdegen
2022-04-03  1:26                       ` Michael Heerdegen
2022-04-03 15:57                         ` Michael Albinus
2022-04-04  0:58                           ` Michael Heerdegen
2022-04-04  7:40                             ` Michael Albinus
2022-03-29  0:09             ` Michael Heerdegen
2022-03-27  8:16     ` Michael Albinus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).