From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted Date: Mon, 04 Sep 2023 09:35:31 +0200 Message-ID: References: <61352d45-21a6-466b-be7b-7755a6260356@gmail.com> <83a5uemfxy.fsf@gnu.org> <87o7iutg4i.fsf@posteo.net> <4604c3e3-8a6a-41b0-bf4d-9c087f151961@gmail.com> Reply-To: Eshel Yaron 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="20445"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Philip Kaludercic , Eli Zaretskii , Stefan Kangas , 65475@debbugs.gnu.org, Stefan Monnier To: Andrey Samsonov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 04 09:36:17 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 1qd487-000553-R2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Sep 2023 09:36:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qd47v-0000zX-Tb; Mon, 04 Sep 2023 03:36: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 1qd47u-0000zL-PW for bug-gnu-emacs@gnu.org; Mon, 04 Sep 2023 03:36: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 1qd47u-0007Ro-Hb for bug-gnu-emacs@gnu.org; Mon, 04 Sep 2023 03:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qd47t-0003j1-Vi for bug-gnu-emacs@gnu.org; Mon, 04 Sep 2023 03:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Sep 2023 07:36: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.169381294114287 (code B ref 65475); Mon, 04 Sep 2023 07:36:01 +0000 Original-Received: (at 65475) by debbugs.gnu.org; 4 Sep 2023 07:35:41 +0000 Original-Received: from localhost ([127.0.0.1]:48140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qd47Y-0003iM-Hn for submit@debbugs.gnu.org; Mon, 04 Sep 2023 03:35:40 -0400 Original-Received: from mail.eshelyaron.com ([107.175.124.16]:57442 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qd47U-0003iB-BK for 65475@debbugs.gnu.org; Mon, 04 Sep 2023 03:35:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1693812935; bh=ZTlV19Mlf96VQEyuXBcaG+MLRp907F4LcxNE1pr02x0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=CSsPs42pLAngBcYBQDvHCrh9NndMG+NoNL2nnuICVByam9jaue/tKW2bGu/bwjpDY H0Ck+Ajfb161N+V+r8QsQUGl6xhtnbgmT1mSuB2DgXS4NYwYBUAKnfNo0jOWNQvz6h dNOD8VmJ2YoPYH2g+Foiw9ZctnH6k9oEHLMHNNplHpnXaBiwNkk1av5UwJ4YzN5uvF znNXoHMcNU1qzRWasDkhileB89RL4pJLftxX3b1RMuscRdI4irZJiNKiY8S5eNtuAW 11OPRET3Mo0TV6eid1FqSWLnXRPvEpMrNYcS6hwKmqLiayUDkMUdeJm9HDjlN9I0XU WoBu/yrU6zEOg== In-Reply-To: <4604c3e3-8a6a-41b0-bf4d-9c087f151961@gmail.com> (Andrey Samsonov's message of "Mon, 4 Sep 2023 09:24:15 +0600") 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:269213 Archived-At: Andrey Samsonov writes: > 02.09.2023 22:28, Stefan Kangas =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> 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/610105ee81bbf79f72d4efb46d0cad= df8d654cf1/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) > FWIW, I get the same non-empty `package-selected-packages` with Emacs master built from source. Indeed it looks like this issue isn't fully fixed yet. > 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. > I think your test is alright in this case, and that a bug (maybe another one) remains. > 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. The key is to keep commenters in the CC so they get your follow up. How to do that varies between mail clients, but it sounds like Reply to All would be the best fit. Cheers, Eshel