all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arash Esbati <arash@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 65094@debbugs.gnu.org
Subject: bug#65094: 30.0.50; '/ u' is missing in menu bar under Package
Date: Sat, 05 Aug 2023 22:06:14 +0200	[thread overview]
Message-ID: <86v8dt8dah.fsf@gnu.org> (raw)
In-Reply-To: <83y1ipqwc7.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 05 Aug 2023 19:37:28 +0300")

[-- Attachment #1: Type: text/plain, Size: 1487 bytes --]

Eli Zaretskii <eliz@gnu.org> writes:

> Thanks, but can we make the help-echo string a bit more helpful, by
> not just repeating what the item's name says?  What does it mean "by
> upgradeability" -- does it mean only packages that can be upgraded
> will be shown? if so, let's say so.
>
> (Yes, I know the other help-echo are also of this kind, but that
> doesn't mean they are a good example to follow...)

My choice was driven solely by symmetry to the other entries.  Maybe
something like this:

--8<---------------cut here---------------start------------->8---
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 58ca19f7fe2..83c7380553d 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -3090,6 +3090,8 @@ package-menu-mode-menu
      ["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"]
+     ["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"])
--8<---------------cut here---------------end--------------->8---

Best, Arash


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Filter-packages-available-for-upgrade-via-menu-bar.patch --]
[-- Type: text/x-patch, Size: 1273 bytes --]

From f67aeefef1e04ccd3c2cca1d1be4747a1f2f3107 Mon Sep 17 00:00:00 2001
From: Arash Esbati <arash@gnu.org>
Date: Sat, 5 Aug 2023 17:39:32 +0200
Subject: [PATCH] ; Filter packages available for upgrade via menu bar

* lisp/emacs-lisp/package.el (package-menu-mode-menu): Add entry
to filter packages available for upgrade via menu bar.  (bug#65094)
---
 lisp/emacs-lisp/package.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 58ca19f7fe2..83c7380553d 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -3090,6 +3090,8 @@ package-menu-mode-menu
      ["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"]
+     ["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"])
-- 
2.41.0


  reply	other threads:[~2023-08-05 20:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-05 12:14 bug#65094: 30.0.50; '/ u' is missing in menu bar under Package Arash Esbati
2023-08-05 12:29 ` Eli Zaretskii
2023-08-05 15:46   ` Arash Esbati
2023-08-05 16:37     ` Eli Zaretskii
2023-08-05 20:06       ` Arash Esbati [this message]
2023-08-06  7:03         ` Eli Zaretskii
2023-08-06 10:11           ` Arash Esbati
2023-08-06 10:42             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86v8dt8dah.fsf@gnu.org \
    --to=arash@gnu.org \
    --cc=65094@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.