From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Deric Bytes Newsgroups: gmane.emacs.help Subject: Re: Can list-packages be set up to show latest github emacs packages? Date: Mon, 6 Nov 2017 13:42:43 -0800 (PST) Message-ID: References: <3f62e436-87d6-485e-aea8-7e403a9db901@googlegroups.com> <87h8u78kxi.fsf@lifelogs.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1510004737 16706 195.159.176.226 (6 Nov 2017 21:45:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Nov 2017 21:45:37 +0000 (UTC) Injection-Date: Mon, 06 Nov 2017 21:42:43 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 06 22:45:31 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBpD0-00045M-NU for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Nov 2017 22:45:30 +0100 Original-Received: from localhost ([::1]:50378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBpD8-0005pL-1M for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Nov 2017 16:45:38 -0500 X-Received: by 10.55.169.212 with SMTP id s203mr13224120qke.15.1510004563722; Mon, 06 Nov 2017 13:42:43 -0800 (PST) X-Received: by 10.31.96.146 with SMTP id u140mr1412855vkb.2.1510004563531; Mon, 06 Nov 2017 13:42:43 -0800 (PST) Original-Path: usenet.stanford.edu!z50no2835265qtj.0!news-out.google.com!v14ni4289qtc.0!nntp.google.com!z50no2835259qtj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <87h8u78kxi.fsf@lifelogs.com> Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=82.6.196.98; posting-account=lWCYjAoAAAD13Fx4x0JbFUmayOpl-DWA Original-NNTP-Posting-Host: 82.6.196.98 Original-Xref: usenet.stanford.edu gnu.emacs.help:220648 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114756 Archived-At: 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.