From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#41373: GNU ELPA: Add "reporting bugs" to individual package pages Date: Mon, 01 Jun 2020 12:25:11 -0700 Message-ID: <87mu5ma8rs.fsf@ericabrahamsen.net> References: <87imgr9nr3.fsf@ericabrahamsen.net> <87r1v85qs3.fsf@gnu.org> <87imgkt469.fsf@ericabrahamsen.net> <87h7vvjnyf.fsf@gnu.org> <877dwqbpxh.fsf@ericabrahamsen.net> <83k10qeih8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="97102"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: bzg@gnu.org, stefankangas@gmail.com, 41373@debbugs.gnu.org, rms@gnu.org, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 01 21:26:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1jfq4b-000P7o-Jm for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Jun 2020 21:26:13 +0200 Original-Received: from localhost ([::1]:42928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfq4a-000542-M3 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Jun 2020 15:26:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfq4R-00051x-0v for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2020 15:26:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfq4Q-0001Ay-M8 for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2020 15:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jfq4Q-0005Se-Ie for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2020 15:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jun 2020 19:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41373 X-GNU-PR-Package: emacs Original-Received: via spool by 41373-submit@debbugs.gnu.org id=B41373.159103952120942 (code B ref 41373); Mon, 01 Jun 2020 19:26:02 +0000 Original-Received: (at 41373) by debbugs.gnu.org; 1 Jun 2020 19:25:21 +0000 Original-Received: from localhost ([127.0.0.1]:37040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfq3l-0005Ri-0D for submit@debbugs.gnu.org; Mon, 01 Jun 2020 15:25:21 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:45838 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jfq3j-0005RT-MK for 41373@debbugs.gnu.org; Mon, 01 Jun 2020 15:25:19 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 17AD1FA034; Mon, 1 Jun 2020 19:25:12 +0000 (UTC) In-Reply-To: <83k10qeih8.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 01 Jun 2020 21:41:55 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:181368 Archived-At: On 06/01/20 21:41 PM, Eli Zaretskii wrote: >> From: Eric Abrahamsen >> Date: Mon, 01 Jun 2020 11:29:14 -0700 >> Cc: 41373@debbugs.gnu.org, Stefan Kangas , >> Richard Stallman , dgutov@yandex.ru >> >> + (interactive (list >> + (read-string "Bug Subject: ") >> + (completing-read >> + "Package: " >> + (progn >> + (package-initialize) >> + package-alist) >> + nil nil))) > > Does this mean reporting a bug will initialize all the packages that > are installed? Will it also access the network and check for > upgrades? I don't believe so, no. But we should probably call `package-initialize' with the NO-ACTIVATE argument, which will skip loading autoloads and some other stuff. Or, for minimum invasiveness, just skip everything if `package-alist' is nil. > I'm not sure I understand the need to produce a potentially huge list > of completion candidates, when it isn't even clear that the bug is > about some add-on package. Can we be smarter about this? Right, this is the part of the suggestion with the biggest question marks. I can imagine the prompt would get annoying for frequent contributors who are mostly filing bugs against emacs itself. The only thing I can think of is providing a separate command, `report-emacs-package-bug', that is a thin wrapper around `report-emacs-bug'. That could live in package.el. Actually, maybe that's the way to go?