[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 5183123: Add Tramp recompilation
From: |
Michael Albinus |
Subject: |
Re: master 5183123: Add Tramp recompilation |
Date: |
Fri, 23 Apr 2021 20:02:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
Hi Stefan,
>>> +;; This function takes action since Emacs 28.1, when
>>> +;; `read-extended-command-predicate' is set to
>>> +;; `command-completion-default-include-p'.
>>> +;;;###tramp-autoload
>>> +(defun tramp-recompile-elpa-command-completion-p (_symbol _buffer)
>>> + "A predicate for `tramp-recompile-elpa'.
>
> Who would need to run `tramp-recompile-elpa` via `M-x`, really?
People who install Tramp's GNU ELPA package.
> My vote is to just make it non-interactive and move on.
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.
> [ Also, I don't see why we need `tramp-recompile-elpa`.
> I do see a need for `M-x package-recompile`, OTOH. ]
D'accord.
> Stefan
Best regards, Michael.
Re: master 5183123: Add Tramp recompilation, Michael Albinus, 2021/04/23