[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 21:14:03 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
[வெள்ளி நவம்பர் 08, 2024] Philip Kaludercic wrote:
>>> [...]
>>> 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).
>
> The issue with enable-by-default in the current implementation is that
> we would have to load package.el by default, which is currently avoided
> to reduce the startup time (see `package-enable-at-startup').
I see.
>
> We could extract the autosuggest logic into a separate file and suggest
> loading that by default.
>
> We could also consider not using the mode line, but the menu bar to hint
> at package suggestions, but that might be easy to miss especially if a
> lot of people advise disabling the menu bar.
That is a good idea too.
>> 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.
>
> No the current implementation would just install everything. Neither of
> the two solutions are really ideal. Perhaps we need to pop up a buffer
> with clickable elements to present the package suggestions and propose
> installing one of them?
It would help the user decide between the packages if some kind of
popularity metric is shown. If they cannot decide between the options,
they could at least pick the most popular one and go with that. I think
the current one shown in the GNU ELPA website should be sufficient for
most cases.
Although I dislike the idea myself personally, "last updated time" might
be a good indication too. [ I dislike it because stable packages don't
need to get updated. After all, they just work. ]
- Re: An anonymous IRC user's opinion, (continued)
- Re: An anonymous IRC user's opinion, Dr. Arne Babenhauserheide, 2024/11/05
- Re: An anonymous IRC user's opinion, Philip Kaludercic, 2024/11/05
- Re: An anonymous IRC user's opinion, Dr. Arne Babenhauserheide, 2024/11/06
- Re: An anonymous IRC user's opinion, Philip Kaludercic, 2024/11/06
- Automatic Suggestion of Packages, Philip Kaludercic, 2024/11/07
- Re: Automatic Suggestion of Packages, Visuwesh, 2024/11/07
- Re: Automatic Suggestion of Packages, Philip Kaludercic, 2024/11/07
- Re: Automatic Suggestion of Packages, Visuwesh, 2024/11/07
- Re: Automatic Suggestion of Packages, Visuwesh, 2024/11/07
- Re: Automatic Suggestion of Packages, Philip Kaludercic, 2024/11/08
- Re: Automatic Suggestion of Packages,
Visuwesh <=
- Re: Automatic Suggestion of Packages, Philip Kaludercic, 2024/11/08
- Re: Automatic Suggestion of Packages, Mekeor Melire, 2024/11/11
- Re: Automatic Suggestion of Packages, Philip Kaludercic, 2024/11/11