[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65475: 29.1; package-selected-packages variable is not updated when
From: |
Philip Kaludercic |
Subject: |
bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted |
Date: |
Wed, 13 Sep 2023 10:01:15 +0000 |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> + (let ((package-alist ;see bug#65475
>> (let ((pkgs (assq name package-alist)))
> [...]
>> + (set-default-toplevel-value 'package-alist package-alist)
> [...]
>
> Eww!!
>
> If we really can't find a better option, we need to add a bunch of
> comments explaining why we ended up with such a hack.
It seems that it is only necessary to bind `package-alist' during the
invocation of `package--used-elsewhere-p', so this is a more
conservative proposal:
0001-Handle-edge-case-when-deleting-the-last-package.patch
Description: Text Data
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Stefan Kangas, 2023/09/02
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Andrey Samsonov, 2023/09/04
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Eshel Yaron, 2023/09/04
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Philip Kaludercic, 2023/09/05
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Eshel Yaron, 2023/09/05
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Stefan Kangas, 2023/09/05
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Philip Kaludercic, 2023/09/10
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Stefan Monnier, 2023/09/10
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted,
Philip Kaludercic <=
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Stefan Monnier, 2023/09/13
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Stefan Kangas, 2023/09/13
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Philip Kaludercic, 2023/09/14
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Stefan Kangas, 2023/09/14
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Philip Kaludercic, 2023/09/15
- bug#65475: 29.1; package-selected-packages variable is not updated when the last package is deleted, Philip Kaludercic, 2023/09/21