help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can list-packages be set up to show latest github emacs packages?


From: Deric Bytes
Subject: Re: Can list-packages be set up to show latest github emacs packages?
Date: Mon, 6 Nov 2017 13:42:43 -0800 (PST)
User-agent: G2/1.0

I would like list-packages to work with packages from git repositories

1. User has to set some new list-packages preferences.

   ;; places to look for sources, ordered by preference
   (setq preference-of-source '(git melpa other1 other2))

   ;; if more than one source, only show one with highest preference
   (setq only-show-one-source t)

   ;; change prefered source for these exceptions - '(package source opts)
   (setq exceptions '((package-x melpa)
                      (package-y nil '((branch . "bleeding edge"))

   (setq default-branch 'master)

2. A list of known useful git sources is maintained within emacs.

   (setq available-git-packages '((package1 . get-recipe1)
                                  (package2 . get-recipe2))

   
3. Then M-x list-packages works like it normally does.
   when install is run it calls something like el-get with associated recipe.

4. a key binding is available to click on package and change recipe.
   i.e. set branch or tag.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]