oantolin / embark

Emacs Mini-Buffer Actions Rooted in Keymaps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GNU ELPA build of `embark-consult` includes file "embark-org.el" (which includes an outdated file)

alphapapa opened this issue · comments

Hi Omar,

I was happy to find this fix the other day: 3ffb27a However, even after upgrading embark in my config, the problem persists.

After investigating, I find that the library embark-org is being loaded from the package embark-consult, which I have installed at v0.7 from GNU ELPA. The MELPA recipe only includes "embark-consult.el", but the GNU ELPA build includes "embark-org.el", and at a version that does not include that fix.

Thanks for your work.

I'm afraid I don't know how to solve this. I only agreed to the GNU ELPA packages but have no idea how they actually get made.

embark-org should be a part of the embark package, not of the embark-consult package.

I should find out how to fix this but in the meantime, @alphapapa, I'd recommend you use MELPA for embark and embark-consult.

Looking into it, I think this file is what decides what each package contains, and indeed, it seems to be fixed already:

 (embark		:url "https://github.com/oantolin/embark"
  :doc "embark.texi"
  :ignored-files ("embark-consult.el" "avy-embark-collect.el"))
 (embark-consult	:url "https://github.com/oantolin/embark"
  :ignored-files ("embark.el" "embark.texi" "avy-embark-collect.el"
                  "embark-org.el"))
``

Oh, @minad as usual beat me to the punch and even quoted the exact commit that fixed it.

OK. Will bump versions, then.

By the way, shouldn't I just remove avy-embark-collect? It's not in any package, except possibly by mistake, and I sincerely hope no-one is using it...

It is available on MELPA (~600 downloads)

I'm so clueless! 😄 I must have known this, because I must have submitted it, but honestly did not remember. Maybe I should at some point officially deprecate it in favor of link-hint.

I don't remember what the problem with link-hint was. It is what I use now instead of avy-embark-collect.

I hope the GNU ELPA fix + the version bump here takes care of this, so I'm closing.

@minad: I remembered what my problem with link-hint was, noctuid/link-hint.el#219