From unknown Fri Aug 15 04:07:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65053: 30.0.50; Emacs falsely recommends removal of explicitly installed Resent-From: Raoul Comninos Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Aug 2023 15:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65053 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 65053@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16911621849051 (code B ref -1); Fri, 04 Aug 2023 15:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Aug 2023 15:16:24 +0000 Received: from localhost ([127.0.0.1]:54564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRwXQ-0002Lv-4T for submit@debbugs.gnu.org; Fri, 04 Aug 2023 11:16:24 -0400 Received: from lists.gnu.org ([2001:470:142::17]:34976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRwXO-0002Ld-Ff for submit@debbugs.gnu.org; Fri, 04 Aug 2023 11:16:23 -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 ) id 1qRwXE-0001Tb-R6 for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 11:16:16 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qRwXD-0007yj-61 for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2023 11:16:12 -0400 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-3090d3e9c92so1965592f8f.2 for ; Fri, 04 Aug 2023 08:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691162166; x=1691766966; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=oTVawg9/xmORby9Z+AojiCedIGUVTrAhTjG/F7w38qs=; b=E+9G0tuPn+RDmMZOzJl0JSwq2onIdaRODy6/ftTa5+1tWWelPe9OVWnJXzuUit3WlY D6h/vU49ER0pb7DzXnc6cvobVeUPNikhkOrJ2+WYfoBHGPnbH16yWnJL78iaa5weStfJ UGGFijtepN2VTnEGsn8ONKrtd8Eh4CvGSJ9s0R6L489f1fLEEyAwHxGYv3lC41zIpzez V5XWyuJF6WbX2q7yPPTcFZHKUwjku+MOwtth4h+oczAEEmRdIXyGvhv6Jf8GITucY3Uy sfg+9c1pDwqVbczbkuYMjbyMiBHv3XuzCwdPd/7cpii9IctSUJbs6EzDoYQ6tRghHx0m h/yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691162166; x=1691766966; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oTVawg9/xmORby9Z+AojiCedIGUVTrAhTjG/F7w38qs=; b=ezp6ix22tcwGkrVTjlvqtilzlr/7cks052SeJ1GnU77lCcHO7Uy5bOpe+p3Agij6n2 imFxTLAXX631o3UbVwhDlIEwyRiu2e6uJ91PjQnc9ePzbAcPW/TortiEFJDbp255U6Ge 5PmlmssYieD/eNJR6Vm4cUfawFmiq7g/qj4vv2OTA8aeN4l1T+KrheqSETnGul4aQv+m Ra2VC1gEJzUWbsSBDs5i+fpi+HsE/DBnJxyHqi9yqFeua+t494XEuDcV+m6eyLM2wFGf 3ucxkxL4S+zHVWHMqke8wuTYPOru8yTSipr5kI0ZCjxeoB2xyzES2/8T7ZlmoY1ROid7 yqxw== X-Gm-Message-State: AOJu0Yx46QKpbqdQHy1nu7Aju5+QDkhGL+HUEy6QcQ+bbBvE2Gk8TiKU t8ZnVmIbcwbTZ9zmxuPuFL1zhrsO7K6x9AbrscUj+tdslc1Uuw== X-Google-Smtp-Source: AGHT+IFOArnAyr8YLFhywtgth+QgKIoM1x8cUjKYemt5/YX63fkSgpDKWxsHvQowSi8JWIiBWQ3+HIMoUJ/vVch0AcI= X-Received: by 2002:adf:e883:0:b0:317:54e2:26ca with SMTP id d3-20020adfe883000000b0031754e226camr1665828wrm.50.1691162166304; Fri, 04 Aug 2023 08:16:06 -0700 (PDT) MIME-Version: 1.0 From: Raoul Comninos Date: Fri, 4 Aug 2023 17:15:30 +0200 Message-ID: Content-Type: multipart/alternative; boundary="0000000000002e260b06021a607a" Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=revcomninos@gmail.com; helo=mail-wr1-x436.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, HTML_MESSAGE=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-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --0000000000002e260b06021a607a Content-Type: text/plain; charset="UTF-8" I am encountering a peculiar issue with Emacs's package management system where it is falsely recommending the removal of packages that I have explicitly installed via package-install. One such example is the markdown-mode package. I have installed the affected packages explicitly using M-x package-install, so they are not dependencies. I am using Emacs's built-in package.el for package management. This behaviour is consistent and affects packages that I want to keep. The recommendation for removal occurs when I go to the list of packages (M-x list-packages) and press capital "U" to update packages. Emacs then prompts me to update the packages and recommends certain packages for removal, even though I want to keep them. I have checked the usual scenarios such as package dependencies and made sure I am using the correct installation method. I am unable to identify why this is happening. This thread provides a workaround but does not explain why the package is excluded or indicate that it is a problem that will be rectified: How does package-autoremove decide which packages to remove? Why is Emacs recommending the removal of these explicitly installed packages, and is this behaviour which I have observed for a long time going to be fixed? Emacs Version: 30 Any insights or guidance on this issue would be greatly appreciated! --0000000000002e260b06021a607a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I am encountering a pecul= iar issue with Emacs's package management system where it is falsely recommending the removal of packages that I have explic= itly installed via package-install. One such example is the markdown-mode packag= e.

I have installed the affected packages explicitly using M-= x package-install, so they are not dependencies.

I am using Emacs's built-in package.el for package man= agement.

This behaviour is consistent and affects packages that I w= ant to keep.

The recommendation for removal occurs when I go to the lis= t of packages (M-x list-packages) and press capital "U" to update packages. Emacs th= en prompts me to update the packages and recommends certain packages for remov= al, even though I want to keep them.

I have checked the usual scenarios such as package depende= ncies and made sure I am using the correct installation method. I am unable to identify wh= y this is happening.

This thread provides a workaround but does not explain why= the package is excluded or indicate that it is a problem that will be rectified:

How does package-autoremove decide which packages to remov= e?

Why is Emacs recommending the removal of these explicitly = installed packages, and is this behaviour which I have observed for a long time going= to be fixed?

Emacs Version: 30

Any insights or guidance on this issue would be greatly ap= preciated!

--0000000000002e260b06021a607a-- From unknown Fri Aug 15 04:07:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65053: 30.0.50; Emacs falsely recommends removal of explicitly installed Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Aug 2023 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65053 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Raoul Comninos Cc: 65053@debbugs.gnu.org Received: via spool by 65053-submit@debbugs.gnu.org id=B65053.169116579315859 (code B ref 65053); Fri, 04 Aug 2023 16:17:02 +0000 Received: (at 65053) by debbugs.gnu.org; 4 Aug 2023 16:16:33 +0000 Received: from localhost ([127.0.0.1]:54626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRxTd-00047i-8H for submit@debbugs.gnu.org; Fri, 04 Aug 2023 12:16:33 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:46432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRxTb-00047T-Jw for 65053@debbugs.gnu.org; Fri, 04 Aug 2023 12:16:32 -0400 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1b8b4748fe4so16433715ad.1 for <65053@debbugs.gnu.org>; Fri, 04 Aug 2023 09:16:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691165786; x=1691770586; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=URe+Szjw5sdNHpmhTCx32nT0A3jAD2IlocY4MN7yG30=; b=XqsTq6/DrSeUSARt7/6W+xFOOhEE5GOuwHDzxMJtrwASqxokdjJsYGrZsxhKmNOC4O zctCBg+lfLOVDD1Rhx8QpsCpRL6zd/zVzrPj3/Q12LyACKq2y+n+zTieo5/1LUumvZiW YtTOjZ+16hD8mcfn3hTXJARuKVO4PZ6WtewOzCh53dLxi5WGo9Ovi/fTRFAoVkFQLFXn nAekKhXYCYMKPVqVLFIUcvF2Y1sNZrTuh5J2sIBnNhQENKfWox9XacVkNE0LkO2+oo9R /dAtzcnO1YdyDWfa05MYVCbS2VB3S1Q7wj/LsLiIKRZV+NE5FF8kJM4Xphba4dXzrUCd 16Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691165786; x=1691770586; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=URe+Szjw5sdNHpmhTCx32nT0A3jAD2IlocY4MN7yG30=; b=czMgxlRcynJ8z2I8BPiSSeRX81a037Pkppql/682vQH/rnPaKaUiiJqgSiBorX+c70 ythlQ82z9RfLF211p/O+/jBRA00itEA2483vZTZuZnTO+xfpd3fMx6a5/A+L5eCiJsY6 DuUlwEy+3dg+qAT7YNb/h0lLHUrLqaWvmCe1VGrnYhF0ikkUdgdnZ2qiFM5lJxZumMAf rg4bvPHZOzo58pQ7/5Jga48hAEQ6MOCGllbxMET7cAypeQJqkqfsSqEi77Y+Aoms6oqZ VC9I04sx3PGSecqg+yRsL55VmcV8ntE9EZ45l+erlFGKrQprs3VTG8UGfouNCSfyieof 032A== X-Gm-Message-State: AOJu0YyjddDwbTuCXWTjWhxveXRYZcTQtyfX4a2zEYXoF9txdPF+KpxD oRgytJmrZurgCAm74Ef4EqM= X-Google-Smtp-Source: AGHT+IHtBpqRiOSfAUHVlaJkZZu23bhjrE+5iOnxCH0t2PcqchaMWT9q7LdSA5zp3vac6LYoW0t0UQ== X-Received: by 2002:a17:902:b202:b0:1bb:d70b:dff9 with SMTP id t2-20020a170902b20200b001bbd70bdff9mr1849800plr.18.1691165785560; Fri, 04 Aug 2023 09:16:25 -0700 (PDT) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id b4-20020a170902b60400b001b830d8bc40sm1955693pls.74.2023.08.04.09.16.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Aug 2023 09:16:25 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) From: Yuan Fu In-Reply-To: Date: Fri, 4 Aug 2023 09:16:13 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: X-Mailer: Apple Mail (2.3731.600.7) X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Aug 4, 2023, at 8:15 AM, Raoul Comninos = wrote: >=20 > I am encountering a peculiar issue with Emacs's package management = system where it is falsely recommending the removal of packages that I = have explicitly installed via package-install. One such example is the = markdown-mode package. > I have installed the affected packages explicitly using M-x = package-install, so they are not dependencies. > I am using Emacs's built-in package.el for package management. > This behaviour is consistent and affects packages that I want to keep. > The recommendation for removal occurs when I go to the list of = packages (M-x list-packages) and press capital "U" to update packages. = Emacs then prompts me to update the packages and recommends certain = packages for removal, even though I want to keep them. > I have checked the usual scenarios such as package dependencies and = made sure I am using the correct installation method. I am unable to = identify why this is happening. > This thread provides a workaround but does not explain why the package = is excluded or indicate that it is a problem that will be rectified: > How does package-autoremove decide which packages to remove? > Why is Emacs recommending the removal of these explicitly installed = packages, and is this behaviour which I have observed for a long time = going to be fixed? > Emacs Version: 30 > Any insights or guidance on this issue would be greatly appreciated! It could be that package.el is merely suggesting you to remove the old = version of these packages, when you update some packages and the new = versions are installed. Yuan= From unknown Fri Aug 15 04:07:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65053: 30.0.50; Emacs falsely recommends removal of explicitly installed Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Aug 2023 17:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65053 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Raoul Comninos , 65053@debbugs.gnu.org Received: via spool by 65053-submit@debbugs.gnu.org id=B65053.169116889731967 (code B ref 65053); Fri, 04 Aug 2023 17:09:02 +0000 Received: (at 65053) by debbugs.gnu.org; 4 Aug 2023 17:08:17 +0000 Received: from localhost ([127.0.0.1]:54675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRyHg-0008JW-Oe for submit@debbugs.gnu.org; Fri, 04 Aug 2023 13:08:17 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:62934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRyHf-0008JJ-C4 for 65053@debbugs.gnu.org; Fri, 04 Aug 2023 13:08:15 -0400 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-68730bafa6bso2332324b3a.1 for <65053@debbugs.gnu.org>; Fri, 04 Aug 2023 10:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691168889; x=1691773689; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=Nr+nXTbnO6tz9ttxQ/nexSkirIL61laZQo+ir9RQlrQ=; b=m3Fn06xMe+1ceCMW5l7ugGcT/nFdN0ZEdTYtOd/vfql0v8FLo3GN77fwWF0YwyEc39 W9rpLX9bi06KFGggpR7d+TufNbsFlTt6Pyts+C1zvu5cS9UJVT24ZAwFlaAuNQzHG1Is d7meiqDxvKhTUzwWRaMU3gLBznNM9BDqnGu6OlqbiGFQbKPtbOhD09FAiI/Mz6fPqSkE CC8dJeSt7+D4yNeBJCZdqdsRgThFGW0dflZL6c0kN/SdI8boOR6Xkh0hqwu2P7E5S2Ql rPnLcccATXF7wNS1swc3FwYisjubXia5cmNS7uRx3CLNa/1yA7q19V+xq9jg+rkyqr/Y YbMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691168889; x=1691773689; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Nr+nXTbnO6tz9ttxQ/nexSkirIL61laZQo+ir9RQlrQ=; b=GgW67UuiWBpHOUoPe0/cJ9gOlHaVDFUNZYbQStVpWSLGvQKjMfH0CFfj3aojfWCemH z81u1ITYFXkVNfEkH39v+gDCDfBsMZOmxT5yrOrdjo4Ot1yk1GOYkIzdFNSa+yKEEUWP h4MHOZB0CQt4BJYHrCLtcx0mXx/JrVHlpn4IIV72BQ1NWSVlHGco2J3Y/t6B8OdnH2Xv rFmvMWq6j1gKTyxHMiz4thchF2D25K1AnmaAyek4HUinwcOKRvSYRpx1J/2S6YeAOD/Y Z7QNBoqCapOk2VuASOs3H9EdP/tgdLnW/8SihgVnYors4mMlxlUpNmUPcAvRhND4h9Ys trEg== X-Gm-Message-State: AOJu0YxkDLqMK6+mh++qsoSPc/V+m6byrAz7pynAiMIkD0LCqiLAVeme i9uqXuGfy29lBGv+JmtUQBPbavthZ3o= X-Google-Smtp-Source: AGHT+IFtyucY1uU3eVYs5d9lKhZkhlI5KeOOxQxJfWF7Iu0mcaTg0YKG2YZepzHxBjUM+bBXpp0iNw== X-Received: by 2002:a17:90a:b397:b0:268:3ca4:6152 with SMTP id e23-20020a17090ab39700b002683ca46152mr305820pjr.15.1691168889485; Fri, 04 Aug 2023 10:08:09 -0700 (PDT) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id r8-20020a17090a454800b00267f1455d60sm1767882pjm.20.2023.08.04.10.08.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Aug 2023 10:08:09 -0700 (PDT) Message-ID: <717afdff-a5f7-154f-54e5-c77ee8ff1604@gmail.com> Date: Fri, 4 Aug 2023 10:08:10 -0700 MIME-Version: 1.0 Content-Language: en-US References: From: Jim Porter In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 8/4/2023 8:15 AM, Raoul Comninos wrote: > I am encountering a peculiar issue with Emacs's package management > system where it is falsely recommending the removal of packages that I > have explicitly installed via package-install. One such example is the > markdown-mode package. > > I have installed the affected packages explicitly using M-x > package-install, so they are not dependencies. Emacs considers a package to be explicitly installed if (and only if, I think) it's listed in 'package-selected-packages'. Make sure the value of this variable is what you expect. If it's not, make sure your configuration is loading variables that were set by the Customize interface; when installing packages interactively, 'package-selected-packages' is set via the Customize code. > How does package-autoremove decide which packages to remove? 'package-autoremove' will remove a package if a) it's not in 'package-selected-packages' and b) nothing else in 'package-selected-packages' depends on it. From unknown Fri Aug 15 04:07:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65053: 30.0.50; Emacs falsely recommends removal of explicitly installed Resent-From: Raoul Comninos Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Aug 2023 03:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65053 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: 65053@debbugs.gnu.org Received: via spool by 65053-submit@debbugs.gnu.org id=B65053.169120653718468 (code B ref 65053); Sat, 05 Aug 2023 03:36:02 +0000 Received: (at 65053) by debbugs.gnu.org; 5 Aug 2023 03:35:37 +0000 Received: from localhost ([127.0.0.1]:55188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qS84m-0004no-Lw for submit@debbugs.gnu.org; Fri, 04 Aug 2023 23:35:37 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:48601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qS84k-0004na-ST for 65053@debbugs.gnu.org; Fri, 04 Aug 2023 23:35:35 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3fe4b45a336so8887735e9.1 for <65053@debbugs.gnu.org>; Fri, 04 Aug 2023 20:35:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691206528; x=1691811328; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gJauAyWdRa5xhbkIYrUABrJtEbGnkDgPM4Ehn21favA=; b=B/TdEPikhoBIAkJDLg7JdD8VoxS5AMJ3a6OBVGTaU0g5Oo5OTS6CW0eJHx8FiGjTsw +ObTdWyde2W6CRDLLaX25KElwvr80RXjDAhOJ+jT/cJ5ielFi6/1EwfICKm+R1cMkMpJ rH3JIEActZ1B5HuRVQQPjfxKWocuRoXQlsjuTsJwN3tzBzN19lwjACUTBfXFWiyohG1P 9jsydwWVRKoj22T0BG0FSzjlSiogp1nvkdKb3o7CJiWEbajM4MZvXjHBkI7epT165TcZ zxa9TSRG2bHFfk52geZcJBr3RbfMdE7n4rbxDqFwo/a0Yc/2Mbtl3z77xgwk4Kwdkacl b1Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691206528; x=1691811328; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gJauAyWdRa5xhbkIYrUABrJtEbGnkDgPM4Ehn21favA=; b=XC3bnRaD7ZljILEViIs1n2w79fpYq6bYe/q+jN3f/2zmtAm9+yhqT4LkNAVa8t7wi7 U9QQ69QN7cDc6tj6P1kuroHrphj0rQxM1uk4zsW1hyj8G16wlanHgrf+RuQRfZGpZEmZ 4H8mQ5bA2ibQSNcdWJRQ+f4D9yZzAw1ILjYB6PHq4PcbV4xYhTSUdrEZ77Y3jCslchjC HWt3x5F5Tojqt+XMI+d9anjbZLEwexCJxNNBN1DJjMuE1o+Z24Tkls0f6N4l2l8GzDVq 5TG7gesXsKhRfYXxsm1GfiD6LQr3s660sW3oBgHGYXsRd2k74lt4KOp4SJVcgAWD0NR7 i72w== X-Gm-Message-State: AOJu0YxDodKwExwwrJkpum0BmLvxTcgCL8wvcD69uVFDMhbJmyZzwGnE eC1xp9K2BVZZMRiC+nUsMZHU2ntjf543w7ZpzaE= X-Google-Smtp-Source: AGHT+IGJDKeGzJjdtbaOwfazvi2t4SQgWRQ95p1AJqmNpWCfQQe1RvWkWc5v5GyPctUdndqNKXOgJgatGYcQYs6bQ+8= X-Received: by 2002:a05:600c:2111:b0:3fb:c384:89ef with SMTP id u17-20020a05600c211100b003fbc38489efmr2632548wml.17.1691206528368; Fri, 04 Aug 2023 20:35:28 -0700 (PDT) MIME-Version: 1.0 References: <717afdff-a5f7-154f-54e5-c77ee8ff1604@gmail.com> In-Reply-To: <717afdff-a5f7-154f-54e5-c77ee8ff1604@gmail.com> From: Raoul Comninos Date: Sat, 5 Aug 2023 05:34:52 +0200 Message-ID: Content-Type: multipart/alternative; boundary="0000000000005d8704060224b464" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000005d8704060224b464 Content-Type: text/plain; charset="UTF-8" I have checked the variable and it was missing markdown-mode and included a few packages I had removed. I have tweaked it, and removed and reinstalled a few packages to align the variable with what is installed in elpa in dot emacs. The problem occurs on multiple systems in Linux and Windows. On Fri, 4 Aug 2023 at 19:08, Jim Porter wrote: > On 8/4/2023 8:15 AM, Raoul Comninos wrote: > > I am encountering a peculiar issue with Emacs's package management > > system where it is falsely recommending the removal of packages that I > > have explicitly installed via package-install. One such example is the > > markdown-mode package. > > > > I have installed the affected packages explicitly using M-x > > package-install, so they are not dependencies. > > Emacs considers a package to be explicitly installed if (and only if, I > think) it's listed in 'package-selected-packages'. Make sure the value > of this variable is what you expect. If it's not, make sure your > configuration is loading variables that were set by the Customize > interface; when installing packages interactively, > 'package-selected-packages' is set via the Customize code. > > > How does package-autoremove decide which packages to remove? > > 'package-autoremove' will remove a package if a) it's not in > 'package-selected-packages' and b) nothing else in > 'package-selected-packages' depends on it. > --0000000000005d8704060224b464 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have checke= d the variable and it was missing=C2=A0markdown-mode and included a few pac= kages I had removed. I have tweaked it, and removed and reinstalled a few p= ackages to align the variable with what is installed in elpa in dot emacs. = The problem occurs on multiple systems in Linux and Windows.

On Fri, 4 Aug 2023 at 19:08, Jim Porter <jporterbugs@gmail.com> wrote:
=
On 8/4/2023 8:15 AM= , Raoul Comninos wrote:
> I am encountering a peculiar issue with Emacs's package management=
> system where it is falsely recommending the removal of packages that I=
> have explicitly installed via package-install. One such example is the=
> markdown-mode package.
>
> I have installed the affected packages explicitly using M-x
> package-install, so they are not dependencies.

Emacs considers a package to be explicitly installed if (and only if, I think) it's listed in 'package-selected-packages'. Make sure th= e value
of this variable is what you expect. If it's not, make sure your
configuration is loading variables that were set by the Customize
interface; when installing packages interactively,
'package-selected-packages' is set via the Customize code.

> How does package-autoremove decide which packages to remove?

'package-autoremove' will remove a package if a) it's not in 'package-selected-packages' and b) nothing else in
'package-selected-packages' depends on it.
--0000000000005d8704060224b464-- From unknown Fri Aug 15 04:07:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65053: 30.0.50; Emacs falsely recommends removal of explicitly installed Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Aug 2023 06:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65053 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Raoul Comninos Cc: 65053@debbugs.gnu.org Received: via spool by 65053-submit@debbugs.gnu.org id=B65053.16912153041464 (code B ref 65053); Sat, 05 Aug 2023 06:02:01 +0000 Received: (at 65053) by debbugs.gnu.org; 5 Aug 2023 06:01:44 +0000 Received: from localhost ([127.0.0.1]:55237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSAMC-0000NY-8P for submit@debbugs.gnu.org; Sat, 05 Aug 2023 02:01:44 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:48193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSAMA-0000NK-LW for 65053@debbugs.gnu.org; Sat, 05 Aug 2023 02:01:43 -0400 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1bbc64f9a91so24425705ad.0 for <65053@debbugs.gnu.org>; Fri, 04 Aug 2023 23:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691215296; x=1691820096; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=A+9bMFGgZZYyzofrzZUoMMWiDb7tsf0OJ68jL6lg+YQ=; b=pABpGzpnww9/QJlVN74OuDyD9wlkVn/t+Ek/TP7F8FJH1NgJFugone8XmNcsVRAwip v/pK1QAQIm9NUFTqfwBrh5iwMKW+yJ0X6ylB/TCFzeGgP2KPxaef5hFUv4TCnIm8Beq+ lBb4S9h6nQzMCGfCPPjiwCQ+P7PlVCmqgq+S6YWQim/P5mSoo53db2ATGho0WcmO/D/U 8fhF6g02DFUHV/3kCXSQrjf3IFDkLY9KuqtLwty2RJD8VhPlCLINuPPx8EWeWpEBl5R3 HNvwq9HZDZm7+W1LahMeMolpeienpIw4pCwFGyUMpu846h4gzAw6OkTlaLwYcr8GA/5e w/wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691215296; x=1691820096; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A+9bMFGgZZYyzofrzZUoMMWiDb7tsf0OJ68jL6lg+YQ=; b=A0Yb62HXfopJfHfkPwbvoGqsD3KEC6kZAoE8QkrOwd5cUfHjSOFmcpJ4JWSioV27E3 A8e4/PSVKfqBv8HP8mnNJTjGM7tCo6BJnAe/D9qmRqisvUj9SPRv9J6XCJ3EDC75ndzR fXo2Yk9azb2rGvvkoX1SKZdFYDhGxDhHGNh1AxdFTeGHbaLY4kq5015HdCh6kDcQ9BKA cX0EotrV1lAmFEnBHcqrcC60VfEn+GtsOmmPpMCybwHw46pTIRvDvhoWER6oUXwRkAph vVERMAaVLGrc7ehBzi6aq+/gBaah8nzDyYC0wv2ZwXYfDjINpP536x98Oq4u6CA9/lQp fhKg== X-Gm-Message-State: AOJu0YwODXEOzGZOJR8chQVA3rcm6qn4fMHU/BwXbi5HGnb3s2qgeo8u nHQoPOQEs/HySfYteNxyqow= X-Google-Smtp-Source: AGHT+IEiDEaRlg696aQEtyHh53bHJ4IsQ3jTO46409u3Hx1SHeZZfjmKRE6SqCqR7IZWm7Uwji0xYw== X-Received: by 2002:a17:902:f693:b0:1bb:7d2f:7c19 with SMTP id l19-20020a170902f69300b001bb7d2f7c19mr4550958plg.64.1691215296544; Fri, 04 Aug 2023 23:01:36 -0700 (PDT) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id t6-20020a170902e84600b001ae0152d280sm2683356plg.193.2023.08.04.23.01.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Aug 2023 23:01:36 -0700 (PDT) Message-ID: <93e1d86d-33d7-0397-fcc6-11ab4a11d803@gmail.com> Date: Fri, 4 Aug 2023 23:01:36 -0700 MIME-Version: 1.0 Content-Language: en-US References: <717afdff-a5f7-154f-54e5-c77ee8ff1604@gmail.com> From: Jim Porter In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 8/4/2023 8:34 PM, Raoul Comninos wrote: > I have checked the variable and it was missing markdown-mode and > included a few packages I had removed. I have tweaked it, and removed > and reinstalled a few packages to align the variable with what is > installed in elpa in dot emacs. The problem occurs on multiple systems > in Linux and Windows. Did that fix this issue? It sounds like maybe your configuration is under version control and something got out of sync? I've also occasionally seen issues where if a package fails to install, it gets removed from 'package-select-packages', but I haven't been able to reproduce it. I think that's covered by bug#64995 though. From unknown Fri Aug 15 04:07:36 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65053: 30.0.50; Emacs falsely recommends removal of explicitly installed Resent-From: Raoul Comninos Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Aug 2023 07:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65053 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: 65053@debbugs.gnu.org Received: via spool by 65053-submit@debbugs.gnu.org id=B65053.16912191577841 (code B ref 65053); Sat, 05 Aug 2023 07:06:02 +0000 Received: (at 65053) by debbugs.gnu.org; 5 Aug 2023 07:05:57 +0000 Received: from localhost ([127.0.0.1]:55389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSBML-00022P-0T for submit@debbugs.gnu.org; Sat, 05 Aug 2023 03:05:57 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:50211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSBMI-00022B-3z for 65053@debbugs.gnu.org; Sat, 05 Aug 2023 03:05:56 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3fb4146e8ceso24817285e9.0 for <65053@debbugs.gnu.org>; Sat, 05 Aug 2023 00:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691219148; x=1691823948; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZKcSsQ7QDfY4ssad1A+zduSOLaT2o66IORef1yJ+WJI=; b=j4Rp0pENfEY996ClShV3jH0Wuo7M2YFuC1EsiOnJqfxnIrBYMRsOg6M7CJtWM11l2J XBCzJu/3NiifB6ZhvnVPsGGkky9Thp3ELoGVWXn8CtlALOsdVtMQvSAhMVFukk/jsOp7 cK2j3MRKwq4LbQd0ZQK9VPM2b0ca6xTjzT//8GqO7PCUxdsJskhv93ii4rFA3aoTG4Pn yJN7VcroyX5ktxfruk4G+UFGK/5l6vEhgJ4zaietxmGGzEB3YCmFEeVEeZPqmzBcBF63 c5eqwAFj/3aR9gSXMv5pM+VTarSUOloW2VoyaTROQhlke1vmWlqBDMmxxqQRgY1q2bF3 1EoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691219148; x=1691823948; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZKcSsQ7QDfY4ssad1A+zduSOLaT2o66IORef1yJ+WJI=; b=XHIBjiH6d3I7ISIdxRliG2w447aPFwK5ggOVuFxNNKLBqmakZLcvvXYGmyl3eduJ43 BCUq+sHXoCCAt5qITuybtIpSoKaaQXTsAFnvXZGKlBHVKg+4bea3C2c9z4v6gGBOM8DA 3dzce6xX9PU/3LXgVNFCGyv+UMuJ6NNuZZBxrxof7qmkataVmV8RpoOqOGNGH0BspuxY rh0sj/6FUJhod+p/HlcAZg9rOG8RtAA7Og6gG/R2U/vqgAe1A88Q79In3eUEWcL/Lxn8 cE8sCT688O1tiPBeA6uw7Ukqrhy3xCz2GJD0U8CNIv6zJle56xYecgCvjGF7Y/gKnvRN SRhg== X-Gm-Message-State: AOJu0YzAilZg54HYBnb2AZq6AineQs1bAETPnrqUANab6OMGObn4lpWu 6qj1HnKehxJ8uAcLpJGJwZTr/1dLSKRM+wdUQhuhfeg5BqQrtA== X-Google-Smtp-Source: AGHT+IFtpdyGeRdj3WmwCkFxt9gPN3w9Wn9TDKAHBXmsIpOoNDalUQJdwi98JuPROdnYWz4e2Pe++LRWMwlgGIIrAGA= X-Received: by 2002:a7b:c5cc:0:b0:3fe:16f4:d865 with SMTP id n12-20020a7bc5cc000000b003fe16f4d865mr2589237wmk.23.1691219148040; Sat, 05 Aug 2023 00:05:48 -0700 (PDT) MIME-Version: 1.0 References: <717afdff-a5f7-154f-54e5-c77ee8ff1604@gmail.com> <93e1d86d-33d7-0397-fcc6-11ab4a11d803@gmail.com> In-Reply-To: <93e1d86d-33d7-0397-fcc6-11ab4a11d803@gmail.com> From: Raoul Comninos Date: Sat, 5 Aug 2023 09:05:11 +0200 Message-ID: Content-Type: multipart/alternative; boundary="0000000000008e6e8e060227a435" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000008e6e8e060227a435 Content-Type: text/plain; charset="UTF-8" > Did that fix this issue? It sounds like maybe your configuration is > under version control and something got out of sync? It's a bandage, but I don't think it resolves the issue or explains why it happens. No version control. > I've also occasionally seen issues where if a package fails to install, > it gets removed from 'package-select-packages', but I haven't been able > to reproduce it. I think that's covered by bug#64995 though. The issue in my case is unrelated to imcomplete installations. On Sat, 5 Aug 2023 at 08:01, Jim Porter wrote: > On 8/4/2023 8:34 PM, Raoul Comninos wrote: > > I have checked the variable and it was missing markdown-mode and > > included a few packages I had removed. I have tweaked it, and removed > > and reinstalled a few packages to align the variable with what is > > installed in elpa in dot emacs. The problem occurs on multiple systems > > in Linux and Windows. > > Did that fix this issue? It sounds like maybe your configuration is > under version control and something got out of sync? > > I've also occasionally seen issues where if a package fails to install, > it gets removed from 'package-select-packages', but I haven't been able > to reproduce it. I think that's covered by bug#64995 though. > --0000000000008e6e8e060227a435 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> Did that fix this issue? It sounds li= ke maybe your configuration is
> under version control and something = got out of sync?

It's a bandage, but I don't think it resolv= es the issue or explains why it happens.

No version control.

= > I've also occasionally seen issues where if a package fails to ins= tall,
> it gets removed from 'package-select-packages', but I= haven't been able
> to reproduce it. I think that's covered = by bug#64995 though.

The issue in my case is unrelated to imcomplete= installations.=C2=A0

On Sat, 5 Aug 2023 at 08:01, Jim Porter <= jporterbugs@gmail.com> wrot= e:
On 8/4/2023 8= :34 PM, Raoul Comninos wrote:
> I have checked the variable and it was missing=C2=A0markdown-mode and =
> included a few packages I had removed. I have tweaked it, and removed =
> and reinstalled a few packages to align the variable with what is
> installed in elpa in dot emacs. The problem occurs on multiple systems=
> in Linux and Windows.

Did that fix this issue? It sounds like maybe your configuration is
under version control and something got out of sync?

I've also occasionally seen issues where if a package fails to install,=
it gets removed from 'package-select-packages', but I haven't b= een able
to reproduce it. I think that's covered by bug#64995 though.
--0000000000008e6e8e060227a435--