From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrey Samsonov Newsgroups: gmane.emacs.bugs Subject: bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted Date: Wed, 23 Aug 2023 18:02:14 +0600 Message-ID: <61352d45-21a6-466b-be7b-7755a6260356@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1213"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 65475@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 23 16:26:58 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 1qYooz-00007E-Bd for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Aug 2023 16:26:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYoom-0003TW-QV; Wed, 23 Aug 2023 10:26:45 -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 1qYoo3-0003Mb-25 for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 10:25:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYoo2-00021d-Q0 for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 10:25:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYoo5-0005TU-T9 for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 10:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrey Samsonov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Aug 2023 14:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65475 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169280070720950 (code B ref -1); Wed, 23 Aug 2023 14:26:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Aug 2023 14:25:07 +0000 Original-Received: from localhost ([127.0.0.1]:34855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYonA-0005Rg-WE for submit@debbugs.gnu.org; Wed, 23 Aug 2023 10:25:07 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:46722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYmZQ-00018y-SU for submit@debbugs.gnu.org; Wed, 23 Aug 2023 08:02:48 -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 1qYmZH-000184-I5 for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 08:02:35 -0400 Original-Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYmZD-0004dn-7T for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 08:02:32 -0400 Original-Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-52713d2c606so7144237a12.2 for ; Wed, 23 Aug 2023 05:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692792142; x=1693396942; h=content-transfer-encoding:from:content-language:subject:to :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=Yyg6LNVCvGi7GY1DZmD0dU/a4ZY3q+kJghfjIH8kcas=; b=BZbKG1WqC9uoxln6A5sZo0PDNsv0hlJTsLJXw4Yticm00vCiXDg9JbKvznlbRix5Hg PCl77IqYCnSYoXrJpoQPCeoPG6Lz/kVvHvFBnP18pxywqO5kxUlasBwjmQUQ/PGhHZL9 oogNLjf+4xqXoV0BaAymvstrIJJ90KBocNriUVsnc3xWM/DFPA53zLz3On82a7v3Avdi tZgmqjlJS0GQBJrw+0pg3RxMEi1YozkHZhT9laONW2I1ZrcAXcYExOe5am+A60xnp52s P6Ex8jl4+uriljtblymMWthR+YBrKF/oZmokKYkGhhoVtr8KJp3i+5QAQYnck/u28RIF blBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692792142; x=1693396942; h=content-transfer-encoding:from:content-language:subject:to :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Yyg6LNVCvGi7GY1DZmD0dU/a4ZY3q+kJghfjIH8kcas=; b=PzsjUq+MG76SkCa+XeEAzY+Zd3pPx9TNY/oFRrvjuDBZnn+i851GJfPoyFiegMNCRe v2cQwuWHCBSyITITCQ+5MzHRuTC8UjWrWvE0rsTEbIsi7tTlpLh8IpmU6YLzUoWEJTVt mO5U630ZWylHvHJhI8H7jeG2Y1KMvEpX87yEZT4uX0CGKsH4kWPliUHKS3w2WielFN66 8WSzZsiwc8huyZeSEXsqolior1y2U6pive15xHydaeAVj5ds34fF05R1b28yvwHRecs0 Xw0yCwRd8vm/VB2yIJd40ENmv+m7DWdIP1YVGo6AbJz+KvNBW/b5e+w5KBCQq7pglRTJ OFIw== X-Gm-Message-State: AOJu0YycD6Ppf1bWLcq+b3DebaabJzyhWCSkGkNd6hAs6nPMxpQZucaW ao46qxQMpO1dENuVobi9F2BUpUSS5Kg= X-Google-Smtp-Source: AGHT+IGqdd9wImz1dO5T4GadzES5v6qKl5TXH4mUGl1rI0/jV6/F3YGCnVRr8wN1pMQRRJ5M0V0Dtw== X-Received: by 2002:aa7:ccc9:0:b0:523:1ea3:b9a6 with SMTP id y9-20020aa7ccc9000000b005231ea3b9a6mr9293466edt.39.1692792141984; Wed, 23 Aug 2023 05:02:21 -0700 (PDT) Original-Received: from [192.168.216.64] ([176.64.7.137]) by smtp.gmail.com with ESMTPSA id w9-20020a056402070900b00525683f9b2fsm9158881edx.5.2023.08.23.05.02.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Aug 2023 05:02:21 -0700 (PDT) Content-Language: ru, en-US Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=samsonov.box@gmail.com; helo=mail-ed1-x52c.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 23 Aug 2023 10:25:04 -0400 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:268249 Archived-At: Steps to reproduce: 1. Start 'emacs -Q --init-directory ', where is directory with only zero-sized 'init.el' file 2. M-x package-install RET mines RET 3. M-x package-install RET chess RET 4. C-h v package-selected-packages RET: Its value is (chess mines) 5. M-x package-delete RET mines RET 6. C-h v package-selected-packages RET: Its value is (chess) 7. M-x package-delete RET chess RET Actual behavior: 8. C-h v package-selected-packages RET: Its value is (chess) Expected behavior: 8. C-h v package-selected-packages RET: Its value is nil In GNU Emacs 29.1 (build 2, x86_64-w64-mingw32) of 2023-07-31 built on  AVALON Windowing system distributor 'Microsoft Corp.', version 10.0.19045 System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.3324) Configured using:  'configure --with-modules --without-dbus --with-native-compilation=aot  --without-compress-install --with-tree-sitter CFLAGS=-O2' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB (NATIVE_COMP present but libgccjit not available) Important settings:   value of $LANG: RUS   locale-coding-system: cp1251 Major mode: Lisp Interaction Minor modes in effect:   tooltip-mode: t   global-eldoc-mode: t   eldoc-mode: t   show-paren-mode: t   electric-indent-mode: t   mouse-wheel-mode: t   tool-bar-mode: t   menu-bar-mode: t   file-name-shadow-mode: t   global-font-lock-mode: t   font-lock-mode: t   blink-cursor-mode: t   line-number-mode: t   indent-tabs-mode: t   transient-mark-mode: t   auto-composition-mode: t   auto-encryption-mode: t   auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 49952 7678)  (symbols 48 5188 0)  (strings 32 15211 1932)  (string-bytes 1 421722)  (vectors 16 11030)  (vector-slots 8 262322 17052)  (floats 8 41 32)  (intervals 56 230 0)  (buffers 984 10))