1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-30 02:33:03 -07:00
Commit graph

9 commits

Author SHA1 Message Date
Philip Kaludercic
0afb026a99
Generalize 'scrape-elpa--safe-evil'
* admin/scrape-elpa.el (scrape-elpa--safe-eval): Extend support
from just 'cons' and 'concat' to any side-effect-free function.
2026-02-11 20:47:26 +01:00
Philip Kaludercic
6dea509613
; Remove test code from previous commit 2026-02-09 21:17:19 +01:00
Philip Kaludercic
4a3640c3f8
Detect more package suggestions
* admin/scrape-elpa.el (scrape-elpa--safe-eval): Add new
function.
(scrape-elpa): Evaluate part of the matched expression to catch
more entries.
* etc/package-autosuggest.eld: Update database.
2026-02-09 21:12:21 +01:00
Philip Kaludercic
e0c5cc70d2
Mention scrape-elpa.el file name in autosuggest database
* admin/scrape-elpa.el (scrape-elpa): Update the inserted comment.
2026-01-25 15:52:40 +01:00
Philip Kaludercic
3a3a9e21c1
Mark 'package-autosuggest-database' as private
* admin/scrape-elpa.el (scrape-elpa):
* etc/package-autosuggest.eld:
* lisp/emacs-lisp/package.el (package-autosuggest-database)
(package--autosuggest-suggested, package--suggestion-applies-p)
(package--autosuggest-find-candidates)
(package--autosuggest-install-and-enable): Rename constant name
to add double-dash.
2026-01-25 15:49:38 +01:00
Philip Kaludercic
40f15ff2dd
Drop comments indicating origin of package sugggestions
* admin/scrape-elpa.el (scrape-elpa): Do it.
* etc/package-autosuggest.eld: Regenerate file.
2024-11-07 16:10:13 +01:00
Philip Kaludercic
450c49af1c
Distinguish between suggested packages and major modes
* admin/scrape-elpa.el (scrape-elpa): Infer package names from
autoloads file.
* etc/package-autosuggest.eld: Recompute database.
* lisp/emacs-lisp/package.el (package-autosuggest-database):
Update documentation to clarify how the major mode can be
explicitly indicated.
(package--suggestion-applies-p): Handle the optional fourth
element.
2024-11-07 15:56:52 +01:00
Philip Kaludercic
bf72666d41
Update 'package-autosuggest' database
* admin/scrape-elpa.el (scrape-elpa): Detect 'add-to-list'
expressions that are "hidden" under a 'progn'.
* etc/package-autosuggest.eld: Re-generate database with more
packages (after having run "make autoloads") and with the above
improvement.
2024-11-07 15:26:01 +01:00
Philip Kaludercic
0cb99c51a3
Add command to scrape ELPA for package suggestions
* admin/scrape-elpa.el (scrape-elpa): Add new command.
* etc/package-autosuggest.eld: Generate file using 'scrape-elpa'.
2024-11-06 21:10:23 +01:00