GNU bug report logs - #63563
29.0.91; package.el should not install unselected packages

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Jimmy Yuen Ho Wong <wyuenho@HIDDEN>; Keywords: notabug; dated Thu, 18 May 2023 02:11:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) notabug. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 63563 <at> debbugs.gnu.org:


Received: (at 63563) by debbugs.gnu.org; 18 May 2023 05:45:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 18 01:45:40 2023
Received: from localhost ([127.0.0.1]:51723 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pzWSJ-0003Dq-WF
	for submit <at> debbugs.gnu.org; Thu, 18 May 2023 01:45:40 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54248)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1pzWSI-0003DZ-6Z; Thu, 18 May 2023 01:45:38 -0400
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 <eliz@HIDDEN>)
 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==;
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 <eliz@HIDDEN>)
 id 1pzWS9-0001P0-12; Thu, 18 May 2023 01:45:32 -0400
Date: Thu, 18 May 2023 08:45:40 +0300
Message-Id: <83r0rew5tn.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Jimmy Yuen Ho Wong <wyuenho@HIDDEN>
In-Reply-To: <m2a5y2wfsg.fsf@HIDDEN> (message from Jimmy Yuen
 Ho Wong on Thu, 18 May 2023 03:10:23 +0100)
Subject: Re: bug#63563: 29.0.91;
 package.el should not install unselected packages
References: <m2a5y2wfsg.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 63563
Cc: 63563 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 63563 notabug
thanks

> From: Jimmy Yuen Ho Wong <wyuenho@HIDDEN>
> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#63563; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 May 2023 02:10:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 17 22:10:33 2023
Received: from localhost ([127.0.0.1]:51563 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pzT68-0000WY-UR
	for submit <at> debbugs.gnu.org; Wed, 17 May 2023 22:10:33 -0400
Received: from lists.gnu.org ([209.51.188.17]:40452)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wyuenho@HIDDEN>) id 1pzT66-0000WQ-QE
 for submit <at> debbugs.gnu.org; Wed, 17 May 2023 22:10:31 -0400
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 <wyuenho@HIDDEN>) id 1pzT66-0007TB-KH
 for bug-gnu-emacs@HIDDEN; Wed, 17 May 2023 22:10:30 -0400
Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <wyuenho@HIDDEN>) id 1pzT65-0001cL-8d
 for bug-gnu-emacs@HIDDEN; Wed, 17 May 2023 22:10:30 -0400
Received: by mail-wm1-x32d.google.com with SMTP id
 5b1f17b1804b1-3f423521b10so10058565e9.0
 for <bug-gnu-emacs@HIDDEN>; Wed, 17 May 2023 19:10:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1684375826; x=1686967826;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=tVwsHPXIP/CfZ16LtIj8w1qwCyjJe7krjPHRiPh1llc=;
 b=bi898dDXBJa95pvbFC+9DTzMXGJgnyyaVhkV41d9L4lQJ3Al1Jvhj2old/g9FtfjT1
 StZWD3Be/5itqOUdRqSNT/3IvPXBBFOBT61kRk9rAb5PLeLes+Qq0uEfV4sKL95rYeiN
 JAw4s9ljzK7bY0G2wqDrtyblNFElLQXNnkw2DKGoMa5WB4l91fVbeDMiFj8RhUyI1Osc
 9T7+Qy50DFzWm+hjmMbSk1mVkAv1Mf/joPs7rbj0iv0Te2Mdlb5GypIo9Ur7Rfl8WVdy
 4kquCQa4UsvJJsA6IXnBA+OAK1SwD55FFQBKhdQsDx68P3GRs140jMceGzPRPcnW3G9X
 GwTw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1684375826; x=1686967826;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=tVwsHPXIP/CfZ16LtIj8w1qwCyjJe7krjPHRiPh1llc=;
 b=NDwdXaDO12J0l2SlTrfpKbgFjXFGx9NrcDVXk7KD0xsCzRd8yjWiDcZvGjniMSzCRX
 Zwx8CfT8bEUQli0Tcwwoj3L4xkt/1NXQo+yRGgA1RTHtVbwWaL9ZCHLqtZVrGTu13+o8
 KoPr6tpSaplA1DjmgE79W6MPjjn7I5J+xWbnGFvZHIWoGfQBFgQh8wHisMBBXdaV+8Oi
 R1BrQKMvKDRWI3D0Y/HGv4P9rTviAy5PHIzDhIVZ89Il3jQ4AbpEmh4TWZ0HHH9Q0qJe
 eZgHMF7vBjpSF7Suj1edg+qy3NWCEWT+D4dUQNrZ6gaZKDspb8wfBm1B59bJk6VJjXpp
 dkvg==
X-Gm-Message-State: AC+VfDy0PDaAkg/vnbkfzfWyAo2O6VNoeDPcjEd83CIuVVWOiMvaGhuX
 bMcG5plgV0iC+8JgGs/6OmE7vaQpC9E=
X-Google-Smtp-Source: ACHHUZ6bEkKYiMGz/jdJ26FcjUtCCEnF5FtkQBy09hFT0YfEPeoxOZRSh/NKW3NinGnUjMyghZf98w==
X-Received: by 2002:a7b:c012:0:b0:3f1:92aa:4eb8 with SMTP id
 c18-20020a7bc012000000b003f192aa4eb8mr238596wmb.16.1684375825958; 
 Wed, 17 May 2023 19:10:25 -0700 (PDT)
Received: from MobileCat.localdomain
 ([2a01:4b00:89a0:2400:301f:207a:a22f:7653])
 by smtp.gmail.com with ESMTPSA id
 p4-20020a7bcc84000000b003f42d3111b8sm459568wma.30.2023.05.17.19.10.24
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 17 May 2023 19:10:25 -0700 (PDT)
From: Jimmy Yuen Ho Wong <wyuenho@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.91; package.el should not install unselected packages
Date: Thu, 18 May 2023 03:10:23 +0100
Message-ID: <m2a5y2wfsg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::32d;
 envelope-from=wyuenho@HIDDEN; helo=mail-wm1-x32d.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


Reproduction:

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.




Acknowledgement sent to Jimmy Yuen Ho Wong <wyuenho@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#63563; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 18 May 2023 06:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.