all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Raoul Comninos <revcomninos@gmail.com>
To: Jim Porter <jporterbugs@gmail.com>
Cc: 65053@debbugs.gnu.org
Subject: bug#65053: 30.0.50; Emacs falsely recommends removal of explicitly installed
Date: Sat, 5 Aug 2023 05:34:52 +0200	[thread overview]
Message-ID: <CAHcEtGLL5J8hQZwJ-Fv2br4VzB1oedVt6PaZx+xuBTQCdKVWjw@mail.gmail.com> (raw)
In-Reply-To: <717afdff-a5f7-154f-54e5-c77ee8ff1604@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]

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 <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 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.
>

[-- Attachment #2: Type: text/html, Size: 2078 bytes --]

  reply	other threads:[~2023-08-05  3:34 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
2023-08-05  3:34   ` Raoul Comninos [this message]
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=CAHcEtGLL5J8hQZwJ-Fv2br4VzB1oedVt6PaZx+xuBTQCdKVWjw@mail.gmail.com \
    --to=revcomninos@gmail.com \
    --cc=65053@debbugs.gnu.org \
    --cc=jporterbugs@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.