all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jim Porter <jporterbugs@gmail.com>
To: Raoul Comninos <revcomninos@gmail.com>, 65053@debbugs.gnu.org
Subject: bug#65053: 30.0.50; Emacs falsely recommends removal of explicitly installed
Date: Fri, 4 Aug 2023 10:08:10 -0700	[thread overview]
Message-ID: <717afdff-a5f7-154f-54e5-c77ee8ff1604@gmail.com> (raw)
In-Reply-To: <CAHcEtGK5n-3Jq8ooiHt-fCJCBRdy5n-VAHaZG7hXXy2k_wLyDw@mail.gmail.com>

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.





  parent reply	other threads:[~2023-08-04 17:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-04 15:15 bug#65053: 30.0.50; Emacs falsely recommends removal of explicitly installed Raoul Comninos
2023-08-04 16:16 ` Yuan Fu
2023-08-04 17:08 ` Jim Porter [this message]
2023-08-05  3:34   ` Raoul Comninos
2023-08-05  6:01     ` Jim Porter
2023-08-05  7:05       ` Raoul Comninos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=717afdff-a5f7-154f-54e5-c77ee8ff1604@gmail.com \
    --to=jporterbugs@gmail.com \
    --cc=65053@debbugs.gnu.org \
    --cc=revcomninos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.