0

Because of this issue I need to change the location of the sources of the auctex-latexmk package to use a fork. Unfortunately I can't find any way to specify the address of a fork in use-package. Do you know how I could work it out? It would be great to have something like:

(use-package auctex-latexmk
  :ensure t
  :location (recipe :fetcher github :repo "smile13241324/auctex-latexmk")
  :config
  (auctex-latexmk-setup)
  (setq auctex-latexmk-inherit-TeX-PDF-mode t))

as spacemacs.

1 Answer 1

1

The functionality (also in Spacemacs) to install and use forks via the :fetcher keyword is provided by Quelpa. Check out its documentation here for the syntax to use.

Although, Quelpa works perfectly fine, another option is to use the straight package manager, or any of the other package managers listed here.

use-package only helps with package configuration. Although use-package can help with installing system packages (i.e. from configured repo's), it does not provide a feature to help with installing forks.

2
  • Ok great, thanks a lot! Can I mix packages installed with different package managers?
    – tobiasBora
    Sep 15, 2022 at 15:50
  • I think usually yes... alos I think Quelpa is actually not really a package manager... just helps you installing packages (not removing them) Sep 15, 2022 at 18:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.