GNU bug report logs - #43260
28.0.50; package-installed-p returns nil for tablegen-mode (not published in melpa) which is installed via quelpa

Previous Next

Package: emacs;

Reported by: Zhiwei Chen <condy0919 <at> gmail.com>

Date: Mon, 7 Sep 2020 17:46:02 UTC

Severity: normal

Found in version 28.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Zhiwei Chen <condy0919 <at> gmail.com>
Cc: 43260 <at> debbugs.gnu.org
Subject: bug#43260: 28.0.50; package-installed-p returns nil for tablegen-mode (not published in melpa) which is installed via quelpa
Date: Wed, 25 Nov 2020 01:32:18 -0800
Zhiwei Chen <condy0919 <at> gmail.com> writes:

> To reproduce:
>
> (unless (package-installed-p 'use-package)
>   (package-refresh-contents)
>   (package-install 'use-package))
> (eval-and-compile
>   (setq use-package-always-ensure nil)
>   (setq use-package-always-defer nil)
>   (setq use-package-always-demand nil)
>   (setq use-package-expand-minimally nil)
>   (setq use-package-enable-imenu-support t))
> (eval-when-compile
>   (require 'use-package))
>
> ;; Bootstrap `quelpa'.
> (use-package quelpa
>   :ensure t
>   :custom
>   (quelpa-update-melpa-p nil)
>   (quelpa-self-upgrade-p nil)
>   (quelpa-checkout-melpa-p nil))
>
> (use-package quelpa-use-package
>   :ensure t
>   :config
>   (quelpa-use-package-activate-advice)
>   :custom
>   (quelpa-use-package-inhibit-loading-quelpa t))
>
> ;; LLVM IR
> (use-package llvm-mode
>   :ensure t
>   :quelpa (llvm-mode :fetcher url
>                      :url "https://raw.githubusercontent.com/llvm/llvm-project/master/llvm/utils/emacs/llvm-mode.el")
>   :mode ("\\.ll\\'" . llvm-mode))
>
> ;; TableGen description
> (use-package tablegen-mode
>   :ensure t
>   :quelpa (tablegen-mode :fetcher url
>                          :url "https://raw.githubusercontent.com/llvm/llvm-project/master/llvm/utils/emacs/tablegen-mode.el")
>   :mode ("\\.td\\'" . tablegen-mode))
>
> Run:
>
> M-: (package-installed-p 'tablegen-mode) RET
>
> It returns nil for tablegen-mode while t for llvm-mode.

It seems like this bug was fixed in quelpa:
https://github.com/quelpa/quelpa/issues/205

Do you still think there is a bug in Emacs?  If yes, could you please
provide a recipe to reproduce it that does not involve installing any
third-party packages?  Otherwise, can we close this bug?

Thanks in advance.




This bug report was last modified 4 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.