From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: package.el, a bug ? and a UX issue ? Date: Sat, 21 Aug 2021 08:55:52 +0900 Message-ID: References: <5A4457DF-91A4-4BBA-941C-3D53907C6729@traduction-libre.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23045"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs Devel To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 21 01:56:59 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mHENe-0005l8-TT for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Aug 2021 01:56:58 +0200 Original-Received: from localhost ([::1]:36308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHENc-00020H-KM for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Aug 2021 19:56:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHEMl-0001L4-Ih for emacs-devel@gnu.org; Fri, 20 Aug 2021 19:56:03 -0400 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:43303) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHEMi-00024d-Vu for emacs-devel@gnu.org; Fri, 20 Aug 2021 19:56:03 -0400 Original-Received: (Authenticated sender: lists@traduction-libre.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id C3B5F60003; Fri, 20 Aug 2021 23:55:56 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=217.70.183.195; envelope-from=lists@traduction-libre.org; helo=relay3-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:272751 Archived-At: > On Aug 21, 2021, at 5:57, Stefan Kangas wrote: >=20 > Jean-Christophe Helary writes: >=20 >> 1) after filtering on marked packages, clearing the filter removes = the marks >>=20 >> After packages-list is updated, using U marks the packages that can = be upgraded and a message that looks like this is displayed: >>=20 >> Packages marked for upgrading: 5 >>=20 >> When I filter the list with package-menu-filter-marked (/ m) I get = the marked list of packages to upgrade. >>=20 >> When I clear the filter with package-menu-clear-filter (/ /) I go = back to the original list *but* all the marks for upgrading are gone: = when I hit x expecting to be able to install the marked packages, I get = "No operations specified"... >=20 > Sounds like a bug to me. >=20 >> 2) The upgrade messages are not very useful >>=20 >> So, the number of packages to upgrade is displayed. >>=20 >> This comes from package-menu--mark-upgrades-1 which has: >>=20 >> (message "Packages marked for upgrading: %d" (length upgrades)) >>=20 >> "upgrades" contains a list of new packages including their new = version number, but we only have the length of it. >>=20 >> If I hit X now, I have the list of old packages with their old = version number and a "upgrade y or n" message that does not leave much = room for details. The old version number >>=20 >> So, I'm wondering if it would not be a better user experience to have = the U command above directly display the list of packages with = package-menu-filter-marked instead ? >>=20 >> That way, the user can still directly use X to proceed, or eventually = go back to the package list and add packages (that's, if the issue 1 = above did not exist). >=20 > Makes sense to me. I'm not sure if we could do better than > package-menu-filter-marked, but perhaps that could be good for a > start. >=20 >> Are the two points above reasonable issues to work on ? >=20 > I think so, yes. Both sound like pretty obvious improvements, so > patches would be welcome. Thank you Stephan, I'll try to produce something in a reasonable time = frame. Is it better to file a bug report to make sure the issues are = registered somewhere? --=20 Jean-Christophe Helary @brandelune https://mac4translators.blogspot.com https://sr.ht/~brandelune/omegat-as-a-book/