Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certain packages installed but not usable #2747

Closed
minikN opened this issue Dec 16, 2019 · 2 comments
Closed

Certain packages installed but not usable #2747

minikN opened this issue Dec 16, 2019 · 2 comments

Comments

@minikN
Copy link

minikN commented Dec 16, 2019

Hello, after starting to migrate my config to el-get I noticed that some packages seem to get installed correctly, but are, for some reason not usable.

The packages I've encountered so far are: popup-kill-ring and org-pdfview.
They (I guess) get installed correctly. A el-get-describe popup-kill-ring tells me the package is installed. I can also see it inside ~/.emacs.d/el-get alongside it's dependencies.

However, with popup-kill-ring I should have access to a function popup-kill-ring to invoke it. I don't: popup-kill-ring is not a valid command name.

The same happens with org-pdfview: It seems to be installed correctly, but I should be able to open a pdf file with org-pdfview-open <file>. Again not a valid command name.

Maybe I'm misunderstanding something here.

Snippets used for popup-kill-ring:

(el-get-bundle popup-kill-ring
  (global-set-key (kbd "M-y") #'popup-kill-ring))

Additional info: (featurep 'popup-kill-ring) evaluates to nil. Why?

emacs --version: 26.3
el-get-version: 5.1.f6408024

When I search for popup in .loaddefs.el, the following are all occurences:

;;;### (autoloads nil "popup-kill-ring/popup-kill-ring" "popup-kill-ring/popup-kill-ring.el"
;;;;;;  (0 0 0 0))
;;; Generated autoloads from popup-kill-ring/popup-kill-ring.el

(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "popup-kill-ring/popup-kill-ring" '("popup-kill-ring")))

;;;***

;;;### (autoloads nil "popup/popup" "popup/popup.el" (0 0 0 0))
;;; Generated autoloads from popup/popup.el

(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "popup/popup" '("popup-")))

Also, M-: (el-get-invalidate-autoloads) doesn't help.

@stephan-cr
Copy link
Contributor

stephan-cr commented Jan 27, 2020

The recipe for popup-kill-ring points to Emacs Wiki. This version lacks any autoload. There's another one on Github, which has a autoload, but is not in sync with the Emacs Wiki version. The Wiki has more recent changes.

Not sure how to contribute to Emacs Wiki to add the autoload.

As a workaround you can add (require 'popup-kill-ring) somewhere to your Emacs configuration file.

@stephan-cr
Copy link
Contributor

Not sure where you found the recipe for org-pdfview.

@minikN minikN closed this as completed Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants