emacs-devel
[Top][All Lists]
Advanced

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

Re: Automatic Suggestion of Packages


From: Visuwesh
Subject: Re: Automatic Suggestion of Packages
Date: Fri, 08 Nov 2024 09:59:51 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

[வெள்ளி நவம்பர் 08, 2024] Visuwesh wrote:

> [வியாழன் நவம்பர் 07, 2024] Philip Kaludercic wrote:
>
>>> Can we have an user option to both `message' the user and have a button
>>> in the mode-line?  I usually don't notice changes in the mode-line
>>> often, but notice messages in the echo-area.  Just having `message'
>>> would lose the convenient mode-line button to auto-install the suggested
>>> package.
>>
>> We can do that, it might be worth discussing if the user option should
>> be re-designed.  The current styles of presenting suggestions are:
>>
>> 1. A button in the mode-line (default)
>> 2. A message with a hint to use `package-autosuggest' (which I think is
>>    convenient enough)
>> 3. A `yes-or-no-p'-prompt to install a package (either every time a
>>    suggestion is available or only once per package)
>>
>> I don't know if the last one makes sense to have, as it is pretty
>> aggressive.
>
> Indeed, I agree that it feels very un-Emacsy to be up in the face like
> that.
>
>> Perhaps it makes sense to always present a message if the minor mode
>> is enabled, and add a separate option to enable the mode-line button?
>
> I would be happy with this (though I would turn the mode-line button on
> by default).

BTW, I looked at the code to see what it does when there's multiple
packages suggested for a single (e.g., racket: racket-mode and
geiser-racket).  It seems to install and enable only the first
suggestion: should we instead prompt the user about it?  But asking the
user would defeat the purpose of the feature, which helps in assisting
her in setting up her environment for her work.



reply via email to

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