unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Bastien Guerry <bzg@altern.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: stephen_leake@stephe-leake.org, 16313-done@debbugs.gnu.org
Subject: bug#16313: 24.3; package-delete does not update package-alist
Date: Tue, 07 Jan 2014 11:57:27 +0100	[thread overview]
Message-ID: <87iotwhu77.fsf@bzg.ath.cx> (raw)
In-Reply-To: <jwviou1wvdy.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Thu, 02 Jan 2014 23:20:24 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> The package-delete code in Emacs's trunk includes:
>
>       ;; Update package-alist.
>       (let* ((name (package-desc-name pkg-desc)))
>         (delete pkg-desc (assq name package-alist)))
>
> So I suspect that this bug is already fixed in the trunk.
> Can you check that it's indeed the case?

I just checked, this is the case.

Still, package-delete did not cleanly delete the package from
package-alist, only its description.

I pushed a fix to cleanly remove the package occurrence.

Closing this bug.







  reply	other threads:[~2014-01-07 10:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-01 12:38 bug#16313: 24.3; package-delete does not update package-alist stephen_leake
2014-01-01 21:12 ` bug#16313: additional info Stephen Leake
2014-01-03  4:20 ` bug#16313: 24.3; package-delete does not update package-alist Stefan Monnier
2014-01-07 10:57   ` Bastien Guerry [this message]
2014-01-07 22:08     ` Glenn Morris
2014-01-07 23:08       ` Bastien
2014-01-08  5:10         ` Glenn Morris
2014-01-08  8:41           ` Bastien
2014-01-08 11:35           ` Bastien
2014-01-08  8:38       ` Bastien
2014-01-08 14:08         ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87iotwhu77.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=16313-done@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=stephen_leake@stephe-leake.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).