unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Zhiwei Chen <condy0919@gmail.com>
Cc: 43260@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	[thread overview]
Message-ID: <CADwFkmkKuhuiBdwbSvsS7EtQ+nfx_Znds5C1CP9Rd7M6AXjsaQ@mail.gmail.com> (raw)
In-Reply-To: <87sgbtzdk6.fsf@gmail.com> (Zhiwei Chen's message of "Tue, 08 Sep 2020 01:44:57 +0800")

Zhiwei Chen <condy0919@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.





  parent reply	other threads:[~2020-11-25  9:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07 17:44 bug#43260: 28.0.50; package-installed-p returns nil for tablegen-mode (not published in melpa) which is installed via quelpa Zhiwei Chen
2020-09-07 17:57 ` bug#43260: The related GitHub issue Konpaku Youmu
2020-11-25  9:32 ` Stefan Kangas [this message]
2020-11-25 11:41   ` bug#43260: 28.0.50; package-installed-p returns nil for tablegen-mode (not published in melpa) which is installed via quelpa Condy Chen
2020-11-26  0:52     ` Stefan Kangas

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=CADwFkmkKuhuiBdwbSvsS7EtQ+nfx_Znds5C1CP9Rd7M6AXjsaQ@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=43260@debbugs.gnu.org \
    --cc=condy0919@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 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).