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: Mon, 4 Sep 2023 09:24:15 +0600 Message-ID: <4604c3e3-8a6a-41b0-bf4d-9c087f151961@gmail.com> References: <61352d45-21a6-466b-be7b-7755a6260356@gmail.com> <83a5uemfxy.fsf@gnu.org> <87o7iutg4i.fsf@posteo.net> 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="27710"; 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 Mon Sep 04 07:02:28 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 1qd1jI-00070A-An for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Sep 2023 07:02:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qd1iu-0008N1-4D; Mon, 04 Sep 2023 01:02: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 1qd1is-0008M8-9L for bug-gnu-emacs@gnu.org; Mon, 04 Sep 2023 01:02:02 -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 1qd1is-0006wY-0W for bug-gnu-emacs@gnu.org; Mon, 04 Sep 2023 01:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qd1ir-0007Y0-Ie for bug-gnu-emacs@gnu.org; Mon, 04 Sep 2023 01:02: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: Mon, 04 Sep 2023 05:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65475 X-GNU-PR-Package: emacs Original-Received: via spool by 65475-submit@debbugs.gnu.org id=B65475.169380367928911 (code B ref 65475); Mon, 04 Sep 2023 05:02:01 +0000 Original-Received: (at 65475) by debbugs.gnu.org; 4 Sep 2023 05:01:19 +0000 Original-Received: from localhost ([127.0.0.1]:48014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qd1i8-0007WB-Mv for submit@debbugs.gnu.org; Mon, 04 Sep 2023 01:01:19 -0400 Original-Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]:44392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qd0CT-00048W-GQ for 65475@debbugs.gnu.org; Sun, 03 Sep 2023 23:24:32 -0400 Original-Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-99c136ee106so148761566b.1 for <65475@debbugs.gnu.org>; Sun, 03 Sep 2023 20:24:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693797863; x=1694402663; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:to:content-language :references:subject:from:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=N9qGDY3I099fzTnsAJE+ezQJqutPSz3bCngpFG7faFU=; b=lcGjUYbSiO10khdDNyNUGLmp130gCz2+otm+jNIDbcEtr1gM/TBdZ2iZkNanNmCqT9 asaah0EasFCIShaWnL8DxpQw/waa5eZ+Z+qZSYnWtkc9RFrZ2cubhnOSWAaxt5zhDH4L bLbn7Km2gnAQ+1/UObSioJOigxmpiMLD8a28rXG4gsNj+e0TNrzbGcCq3vnIV5E231pr +ZwYtnBUuvTqfQ29bIvUauxW2HlT0LNW3t5er4qSDGip9B7y1LMha/hXFgUON59I1VXj VkBgCGvnKsPR+NWYGHKNaqAr3Y40y7j+345zSPEdQIt6mXjI/T3TOkW3c6i4VOtG/GfN 76gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693797863; x=1694402663; h=content-transfer-encoding:in-reply-to:to:content-language :references:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=N9qGDY3I099fzTnsAJE+ezQJqutPSz3bCngpFG7faFU=; b=dArWWgHDaBgCRaUP/2iJ/syehkd61BWpVN21xqMNW+uyJr5Db8GyoKlwMQqBx2NvDI MIjbSm4AXtWsEsQDbf/r55BBE6cRvVNd+21lBYjtkEQUhvBZxV+52W99ANl/wZp8A2bJ dovh8n+KjpocZzprUIvRrOYKx7YSQOEAxXTUr8Pwzw/XxnGUxgC1yzxw+yP9S1hVx9gr PtbhEvgrXxLFXR5v+gP1H1s72TVNsOHtBiGoUErR0lhvqixFJ+HgBnYhfR3yx1Dg5BvB RbERNLKPG+ri2Gx+Sx1ot90OP7qhIxvrgXfltgFIGANbr7MYjO8/1KNEmEmGmV8t470a sP0w== X-Gm-Message-State: AOJu0YyDRnUHQPCYTur9D0pKFWIljGZHo9hMcr4By4DK27gbHfu3nm/m 9STL1SkQk26YqeGK0HaC/6Ep+/92kWs= X-Google-Smtp-Source: AGHT+IF+bVfKXlyBlcWM8KlHOFce/lG29KkMR7YkLMY3hS2i/knk9HLrLTSEOBivh9JUG3yNaj8htg== X-Received: by 2002:a17:906:311a:b0:9a5:821e:1655 with SMTP id 26-20020a170906311a00b009a5821e1655mr6068259ejx.71.1693797863307; Sun, 03 Sep 2023 20:24:23 -0700 (PDT) Original-Received: from [192.168.81.64] ([176.64.4.126]) by smtp.gmail.com with ESMTPSA id ja8-20020a170907988800b0099290e2c163sm5460089ejc.204.2023.09.03.20.24.22 for <65475@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 03 Sep 2023 20:24:22 -0700 (PDT) Content-Language: ru, en-US In-Reply-To: X-Mailman-Approved-At: Mon, 04 Sep 2023 01:01:16 -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:269209 Archived-At: 02.09.2023 22:28, Stefan Kangas пишет: > Pushed to master as commit 610105ee81b. Andrey, could you please test > and report back? Unfortunately, I am not competent enough to understand exactly what steps are required to perform this. I certainly am not able to build emacs from source. But I thought to do the following: 1. Download package.el file from here: https://github.com/emacs-mirror/emacs/blob/610105ee81bbf79f72d4efb46d0caddf8d654cf1/lisp/emacs-lisp/package.el 2. Start 'emacs -Q --init-directory ', where is directory with only zero-sized 'init.el' file 3. Open that downloaded package.el file in emacs buffer and do M-x eval-buffer 4. Do the steps from 2 to 8 in my original bug-report. I got the same buggy result on step 8: C-h v package-selected-packages RET: Its value is (chess) I'm not familiar with emacs internals, so can't say where the problem now: the bug is still here, or my testing strategy is wrong. P.S. (Offtopic): I'm also novice at maillists, so confused what should I do now in my email client: Reply, Reply to All or Reply to List. Sorry please if I did it wrong.