emacs-devel
[Top][All Lists]
Advanced

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

Re: Automatic Suggestion of Packages


From: Philip Kaludercic
Subject: Re: Automatic Suggestion of Packages
Date: Thu, 07 Nov 2024 21:50:47 +0000

Visuwesh <visuweshm@gmail.com> writes:

> [வியாழன் நவம்பர் 07, 2024] Philip Kaludercic wrote:
>
>> "Dr. Arne Babenhauserheide" <arne_bab@web.de> writes:
>>
>>> Philip Kaludercic <philipk@posteo.net> writes:
>>>
>>>> I have pushed some code to feature/package-autosuggest after cleaning it
>>>> up a bit.  The main issues right now are 1. that when clicking on the
>>>> suggestion to install a new package via the button in the major mode,
>>>> the UI wants to confirm this by pressing enter in the minibuffer which
>>>> is not automatically suggested 2. that the database of suggestions isn't
>>>> populated properly.  I'll probably write a script to scrape ELPA for
>>>> suggestions and generate them in the right format.
>>>
>>> Thank you!
>>>
>>> Is the modeline indicating option clickable?
>>
>> If it is useful, I have made a little screen-recording of how the
>> feature looks like as of current state on feature/package-autosuggest:
>>
>> https://spectra.video/w/e93b3XqNzN6yXucZbNnu7c
>
> 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.  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?

-- 
        Philip Kaludercic on siskin



reply via email to

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