Subject: Re: bug#48015: 28.0.50; ELPA package compilation fails

From: Michael Albinus <[email-masked]>
Date: Wed, 28 Apr 2021 16:22:49 +0200

Stefan Monnier <[email-masked]> writes:

Hi Stefan,

> Hmm... no I don't think this will make any difference when
> default-directory is not under the control of Tramp.
>
> Another approach is to add something like
>
>     ;; Reload `tramp-compat` when we reload `tramp-autoloads`.
>     ;;;###autoload (when (featurep 'tramp-compat)
>     ;;;###autoload   (load "tramp-compat"'noerror 'nomessage)
>
> This presumes that the only file that really needs to be reloaded is
> `tramp-compat`.

This is as good (or bad) like the other proposal. Installing a Tramp
package finishes, and it compiles everything. However, the *.elc files
show still the compatibility problems.

Restarting Emacs, and running tramp-recompile-elpa, fixes this.

>     Stefan

Best regards, Michael.