From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: "Basil L. Contovounesios" <contovob@tcd.ie>, emacs-devel@gnu.org
Subject: Re: master 5183123: Add Tramp recompilation
Date: Fri, 23 Apr 2021 22:17:05 +0200 [thread overview]
Message-ID: <87eef0n4ce.fsf@gmx.de> (raw)
In-Reply-To: <jwvmtto6a9w.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 23 Apr 2021 16:02:40 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
Hi Stefan,
>> This command is triggered by error report(s) on the Tramp ML. Scenario:
>> - Run an older Emacs version, say 27.2.
>> - Load tramp.el (this happens often, implicitly)
>> - Install Tramp 2.5.0.3 from GNU ELPA
>>
>> There is a compilation error, because the already loaded tramp-compat.el
>> does not fit the expectations of Tramp 2.5.0.3.
>
> I think we should treat this is a bug in package.el: we already have
> code to try and avoid such problems, so apparently it doesn't do its job
> in this case.
The point is that simply unloading Tramp didn't work. That's why I start
a new Emacs instance via "emacs -Q" for recompilation. Maybe we could
use this approach in package.el?
I'll happily remove tramp-recompile-elpa from Tramp once recompilation
is fixed in package.el. But since Tramp is backwards compatible (down to
Emacs 25.1 ATM), this will take years.
>>> [ Also, I don't see why we need `tramp-recompile-elpa`.
>>> I do see a need for `M-x package-recompile`, OTOH. ]
>> D'accord.
>
> Patches warmly welcome,
I'll have a look on it. No promise for a working patch, of course.
> Stefan
Best regards, Michael.
next prev parent reply other threads:[~2021-04-23 20:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210419095256.30298.23862@vcs0.savannah.gnu.org>
[not found] ` <20210419095259.0651220FD4@vcs0.savannah.gnu.org>
2021-04-23 16:23 ` master 5183123: Add Tramp recompilation Basil L. Contovounesios
2021-04-23 17:00 ` Stefan Monnier
2021-04-23 18:02 ` Michael Albinus
2021-04-23 20:02 ` Stefan Monnier
2021-04-23 20:17 ` Michael Albinus [this message]
2021-04-23 20:47 ` Stefan Monnier
2021-04-25 13:08 ` Michael Albinus
2021-04-23 17:58 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eef0n4ce.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=contovob@tcd.ie \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).