August Feng

Learning session with melpa and quelpa

About

These are some notes I kept when messing around with the melpa packaging system.

Setup

  ;; Cask file
  (source gnu)
  (source melpa)

  (depends-on "quelpa")

Code

  ;; this use melpa's recipe
  (quelpa
   'lsp-mode)

  ;; this will not use melpa's recipe
  (quelpa
   '(lsp-mode :fetcher github :repo "emacs-lsp/lsp-mode"))

  ;; ~:files~ is supported for file fetcher.
  (quelpa
   '(lsp-mode :fetcher file :files ("*.el" "clients/*.el") :path "~/repositories/gh/emacs-lsp/lsp-mode"))