From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#45098: 28.0.50; gnu-elpa: if user says `no' to install package, it aborts the previous function invoked Date: Wed, 9 Dec 2020 08:54:27 +0300 Message-ID: References: <87zh2pfw5k.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11644"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: Lars Ingebrigtsen , 45098@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 09 15:11:19 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 1kn0Bb-0002sa-GH for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 15:11:19 +0100 Original-Received: from localhost ([::1]:43138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn0Ba-0004y8-I3 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Dec 2020 09:11:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn02d-0005JT-FK for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 09:02:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kn02c-0002zz-3z for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 09:02:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kn02b-00038m-Uf for bug-gnu-emacs@gnu.org; Wed, 09 Dec 2020 09:02:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Dec 2020 14:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45098 X-GNU-PR-Package: emacs Original-Received: via spool by 45098-submit@debbugs.gnu.org id=B45098.160752248910578 (code B ref 45098); Wed, 09 Dec 2020 14:02:01 +0000 Original-Received: (at 45098) by debbugs.gnu.org; 9 Dec 2020 14:01:29 +0000 Original-Received: from localhost ([127.0.0.1]:33109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kn025-0002kG-47 for submit@debbugs.gnu.org; Wed, 09 Dec 2020 09:01:29 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:54001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kn023-0002e2-8s for 45098@debbugs.gnu.org; Wed, 09 Dec 2020 09:01:28 -0500 Original-Received: from localhost ([::ffff:41.202.241.31]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C000B.000000005FD0D8B0.000012B5; Wed, 09 Dec 2020 14:01:20 +0000 Content-Disposition: inline In-Reply-To: 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:195502 Archived-At: * Stefan Monnier [2020-12-09 02:52]: > > Nagging user to install package does not tell to user that GNU ELPA > > exists even. > > The purpose is not to advertise the archive itself, but the features > provided by the packages it hosts. > > > - many users will not know what is this dialogue about. > > Yes, it's quite dry and deserves a fair bit of work to make it more > user-friendly. > > > - user will not know that package is supposed to come from Internet > > and those without Internet or in local network will be asked and > > then action cannot be performed. Do not assume that many people have > > Internet. GNU/Linux is installed on plethora of computers where > > students, professors, teachers use it without direct Internet. > > Make a check if Internet is available, then ask the user. > > Yes and no: Emacs shouldn't initiate a network connection without an > explicit request from the user, so we have to ask first. It means then probably this way: 1. First ask user if to engage recommending various packages from GNU ELPA. Program should also represent itself as being gnu-elpa package. Since I have installed it I did not yet activate it as by habit I may read package description later. But it activated itself and so how I would know which package is doing these functions? Without me remembering that I installed only that package I would now know what is doing it. User would not be able to turn it off oneself if there are many packages installed recently. 2. When confirmed, only then to start recommending packages and if not confirmed then to remember the choice and stop nagging.