emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 695f679: Remove ; ; ; ###tramp-autoload cookie from Tramp def


From: Michael Albinus
Subject: Re: master 695f679: Remove ; ; ; ###tramp-autoload cookie from Tramp defcustoms (Bug#47063)
Date: Sun, 14 Mar 2021 19:42:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

Hi Stefan,

>>>> My question is, which combination of the following should happen:
>>>> - The completion-predicate properties are not autoloaded.
>>> This means that autoloaded functions will always be listed in `M-x`
>>> (except after loading the corresponding package), which is undesirable.
>> Calling `tramp-crypt-add-directory' interactively is the only way to
>> activate package tramp-crypt.el. As long as the package isn't loaded
>> yet, this command must be visible.
>
> Presumably, if there's a `completion-predicate` it's because there are
> circumstances where it makes no sense to use `M-x
> tramp-crypt-add-directory`.  Is it really the case that such situations
> can only happen once `tramp-crypto` is loaded?

Yes. For example, during load of tramp-crypt.el it is checked, whether
the encfs program is available.

> If so, I'd tend to think that they are sufficiently marginal that it's
> not worth having a `completion-predicate`.

Of course, we can live w/o that predicate. We did until now. But OTOH,
it doesn't hurt to check this, that's why this kind of check has been
added to Emacs.

>         Stefan

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]