From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63563: 29.0.91; package.el should not install unselected packages Date: Thu, 18 May 2023 08:45:40 +0300 Message-ID: <83r0rew5tn.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32241"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63563@debbugs.gnu.org To: Jimmy Yuen Ho Wong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 18 07:46:24 2023 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 1pzWT2-0008Au-Gv for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 May 2023 07:46:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzWSh-0000oS-Ej; Thu, 18 May 2023 01:46:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzWSg-0000o8-Fd for bug-gnu-emacs@gnu.org; Thu, 18 May 2023 01:46:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pzWSg-0000w1-0y for bug-gnu-emacs@gnu.org; Thu, 18 May 2023 01:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pzWSf-0003Ea-Si for bug-gnu-emacs@gnu.org; Thu, 18 May 2023 01:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 May 2023 05:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63563 X-GNU-PR-Package: emacs Original-Received: via spool by 63563-submit@debbugs.gnu.org id=B63563.168438874012396 (code B ref 63563); Thu, 18 May 2023 05:46:01 +0000 Original-Received: (at 63563) by debbugs.gnu.org; 18 May 2023 05:45:40 +0000 Original-Received: from localhost ([127.0.0.1]:51723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzWSJ-0003Dq-WF for submit@debbugs.gnu.org; Thu, 18 May 2023 01:45:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzWSI-0003DZ-6Z; Thu, 18 May 2023 01:45:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzWSC-0000sF-V5; Thu, 18 May 2023 01:45:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=xAlQ6TZs5noZyab4hHG64sUpIMyIqWFkdP/Pwy4SQo4=; b=NcqxfzIwxCiamU7v/NFX ip9lw8VASa+nWXMleM2ccRflO22L2eCkKeLT7nfx6kwLtT3Ow/wXs6bDjrqYBitokoq4l1hii4DPq 8kpvOqHVjJGMohh8rp+EqXx2UZ2z9+tMNRoHffDyOvhemkS6IHsxPLVitWOOL8+r9q8GHQWAStMMr bFpc5xbfP4AKMlDOVXUctghQ0OvLZ5Ji96zJ2Dj96YciKhBO669M00VCHVRxPimdZ4fz1sufmFnc6 VL5ELn2NFwT/ZjN+KMxIv/s8srBeCZ38h+3RzZS+u9vG5mdnPYXBIINvkmyVgbYta15Sua2eBo84Q rpOSuV6mLuZVMQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzWS9-0001P0-12; Thu, 18 May 2023 01:45:32 -0400 In-Reply-To: (message from Jimmy Yuen Ho Wong on Thu, 18 May 2023 03:10:23 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261895 Archived-At: tags 63563 notabug thanks > From: Jimmy Yuen Ho Wong > Date: Thu, 18 May 2023 03:10:23 +0100 > > 1. M-x list-packages > 2. Press x on a line > 3. Observer in the echo area package.el is now asking the user to > whether to install the package. > > Expectation: > > If the user has not pressed i to select the package for installation, > package.el should not ask the user to confirm anything. There's no > action to execute. This is unexpected dwim behavior. >From the Emacs manual: ‘x’ Download and install all packages marked with ‘i’, and their dependencies; also, delete all packages marked with ‘d’ (‘package-menu-execute’). This also removes the marks. If no packages are marked, this command will install the package under point (if it isn’t installed already), or delete the package under point (if it’s already installed). The doc string says similar stuff: If no packages are marked, the action taken depends on the state of the package under point. If it’s not already installed, this command will install the package, and if it’s installed, it will delete the package. So this is documented behavior. This is not a bug, but a feature.