From 16205e8db65446845967f7ad95f3bbe417b67cbd Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 6 Aug 2023 10:02:11 +0300 Subject: [PATCH] ; Improve help-echo in package.el * lisp/emacs-lisp/package.el (package-menu-mode-menu): Improve help-echo descriptions. (Bug#65094) --- lisp/emacs-lisp/package.el | 42 ++++++++++++++++++++++++++------------ 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 83c7380553d..5fe018700a4 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -3083,20 +3083,36 @@ either a full name or nil, and EMAIL is a valid email address." "--" ("Filter Packages" - ["Filter by Archive" package-menu-filter-by-archive :help "Filter packages by archive"] - ["Filter by Description" package-menu-filter-by-description :help "Filter packages by description"] - ["Filter by Keyword" package-menu-filter-by-keyword :help "Filter packages by keyword"] - ["Filter by Name" package-menu-filter-by-name :help "Filter packages by name"] + ["Filter by Archive" package-menu-filter-by-archive + :help + "Prompt for archive(s), display only packages from those archives"] + ["Filter by Description" package-menu-filter-by-description + :help + "Prompt for regexp, display only packages with matching description"] + ["Filter by Keyword" package-menu-filter-by-keyword + :help + "Prompt for keyword(s), display only packages with matching keywords"] + ["Filter by Name" package-menu-filter-by-name + :help + "Prompt for regexp, display only packages whose names match the regexp"] ["Filter by Name or Description" package-menu-filter-by-name-or-description - :help "Filter packages by name or description"] - ["Filter by Status" package-menu-filter-by-status :help "Filter packages by status"] + :help + "Prompt for regexp, display only packages whose name or description matches"] + ["Filter by Status" package-menu-filter-by-status + :help + "Prompt for status(es), display only packages with those statuses"] ["Filter by Upgrades available" package-menu-filter-upgradable - :help "Filter packages by available upgrades"] - ["Filter by Version" package-menu-filter-by-version :help "Filter packages by version"] - ["Filter Marked" package-menu-filter-marked :help "Filter packages marked for upgrade"] - ["Clear Filter" package-menu-clear-filter :help "Clear package list filter"]) - - ["Hide by Regexp" package-menu-hide-package :help "Hide all packages matching a regexp"] + :help "Display only installed packages for which upgrades are available"] + ["Filter by Version" package-menu-filter-by-version + :help + "Prompt for version and comparison operator, display only packages of matching versions"] + ["Filter Marked" package-menu-filter-marked + :help "Display only packages marked for installation or deletion"] + ["Clear Filter" package-menu-clear-filter + :help "Clear package list filtering, display the entire list again"]) + + ["Hide by Regexp" package-menu-hide-package + :help "Toggle visibility of obsolete and unwanted packages"] ["Display Older Versions" package-menu-toggle-hiding :style toggle :selected (not package-menu--hide-packages) :help "Display package even if a newer version is already installed"] @@ -4294,7 +4310,7 @@ STATUS can be a single status, a string, or a list of strings. If STATUS is nil or the empty string, show all packages. When called interactively, prompt for STATUS. To specify -several possible status values, type them seperated by commas." +several possible status values, type them separated by commas." (interactive (list (completing-read "Filter by status: " '("avail-obso" "available" -- 2.39.2