From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#63563: 29.0.91; package.el should not install unselected packages Date: Thu, 18 May 2023 19:53:52 +0000 Message-ID: <87cz2xza9b.fsf@posteo.net> References: <83r0rew5tn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11377"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63563@debbugs.gnu.org, Jimmy Yuen Ho Wong To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 18 21:54:16 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 1pzjhY-0002i3-ML for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 May 2023 21:54:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzjhM-0004Kh-7C; Thu, 18 May 2023 15:54:04 -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 1pzjhK-0004KK-IB for bug-gnu-emacs@gnu.org; Thu, 18 May 2023 15:54: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 1pzjhJ-0003Gs-SM for bug-gnu-emacs@gnu.org; Thu, 18 May 2023 15:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pzjhJ-0005EI-O8 for bug-gnu-emacs@gnu.org; Thu, 18 May 2023 15:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 May 2023 19:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63563 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 63563-submit@debbugs.gnu.org id=B63563.168443964120096 (code B ref 63563); Thu, 18 May 2023 19:54:01 +0000 Original-Received: (at 63563) by debbugs.gnu.org; 18 May 2023 19:54:01 +0000 Original-Received: from localhost ([127.0.0.1]:54649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzjhI-0005E4-Qh for submit@debbugs.gnu.org; Thu, 18 May 2023 15:54:01 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:53031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzjhH-0005Dp-5t for 63563@debbugs.gnu.org; Thu, 18 May 2023 15:54:00 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4F9A5240029 for <63563@debbugs.gnu.org>; Thu, 18 May 2023 21:53:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1684439633; bh=QLqIrXop60g1KirH67huqXlmFzE1LB3o0aJWFrJeZ8E=; h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=kzU79OZnWV5KOH+NIHpDRoZqxIvrYh2WQRiAn8On9b/eiNMjgFlfrcacFCM5/glUp 54z2DBwnoI5x291qfLYuX/LApoYncvXvShYU1D8HSeF+PXAC+Gxdn/y3w8/1V4sq2N UybmknqzeNxQpL82XO1qq5DzN96rqxhOBWMFQrUwAtt7Zikmuld2AtJSJLVfAR0x+h okqUMT+JYDeekWtzs6pcfXe5PVEqyv6z1fqv+wtnL3ZM8zZfDjZra4PepjBKeU+BYg kTIvnejewzTV8UssD0vANwRYuz658+S3myxlyiJ6+9sFtxb8Ywvh/2+DYQSp0hKcj6 hUnGqiunMnKgA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QMgdr5QKwz6tm4; Thu, 18 May 2023 21:53:52 +0200 (CEST) In-Reply-To: <83r0rew5tn.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 18 May 2023 08:45:40 +0300") Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM 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:261957 Archived-At: Eli Zaretskii writes: > tags 63563 notabug > thanks > >> From: Jimmy Yuen Ho Wong >> Date: Thu, 18 May 2023 03:10:23 +0100 >>=20 >> 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. >>=20 >> Expectation: >>=20 >> 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: > > =E2=80=98x=E2=80=99 > Download and install all packages marked with =E2=80=98i=E2=80=99,= and their > dependencies; also, delete all packages marked with =E2=80=98d=E2= =80=99 > (=E2=80=98package-menu-execute=E2=80=99). This also removes the m= arks. If no > packages are marked, this command will install the package under > point (if it isn=E2=80=99t installed already), or delete the packa= ge under > point (if it=E2=80=99s 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=E2=80=99s not already installed, this > command will install the package, and if it=E2=80=99s installed, it will > delete the package. > > So this is documented behavior. This is not a bug, but a feature. That being said, I am not a fan of this DWIM-ish behaviour either.