Subject: Re: bug#53632: Function definition history

From: Michael Albinus <[email-masked]>
Date: Fri, 04 Feb 2022 18:43:44 +0100

Stefan Monnier <[email-masked]> writes:

Hi Stefan,

> Maybe a simpler option is to give them a recognizable name
> (e.g. including "preloaded" or "AL" or somesuch in their name)?
>
> In any case, those parts of the test47 are actually testing
> loadhist.el rather than Tramp, so I'd recommend you don't worry too much
> about those functions.
>
> I'd focus instead on the parts that verify proper functioning of the code
> you put in `tramp-unload-hook`.

Will see. In fact, it tests already the functionality of the
unload-hooks, like cleaning up other hooks, and alike.

> PS: BTW, why is `tramp-unload-file-name-handlers` preloaded?
> It doesn't seem like it can be meaningfully used before Tramp is loaded.

The name is a little bit misleading, it is rather a
`tramp-deactivate-file-name-handlers' functionality.

It is autoloaded, because it is used in `tramp-autoload-file-name-handler',
which is also autoloaded.

>         Stefan

Best regards, Michael.