From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.help Subject: Re: using use-package Date: Tue, 11 Aug 2015 21:49:24 +0100 Message-ID: <87k2t1o8iz.fsf@russet.org.uk> References: <87d1yufwjk.fsf@robertthorpeconsulting.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439326195 26246 80.91.229.3 (11 Aug 2015 20:49:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2015 20:49:55 +0000 (UTC) Cc: Rusi , help-gnu-emacs@gnu.org To: Robert Thorpe Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 11 22:49:46 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZPGUT-0000ia-6I for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Aug 2015 22:49:45 +0200 Original-Received: from localhost ([::1]:35836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPGUS-0002Y2-A9 for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Aug 2015 16:49:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPGUI-0002Xt-13 for help-gnu-emacs@gnu.org; Tue, 11 Aug 2015 16:49:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPGUD-0004bm-S0 for help-gnu-emacs@gnu.org; Tue, 11 Aug 2015 16:49:33 -0400 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:53323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPGUD-0004bX-Ls for help-gnu-emacs@gnu.org; Tue, 11 Aug 2015 16:49:29 -0400 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1ZPGUC-0003Jv-FZ; Tue, 11 Aug 2015 21:49:28 +0100 Original-Received: from cpc6-benw10-2-0-cust45.gate.cable.virginm.net ([92.238.179.46] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1ZPGUB-0007Ak-Qo; Tue, 11 Aug 2015 21:49:28 +0100 In-Reply-To: <87d1yufwjk.fsf@robertthorpeconsulting.com> (Robert Thorpe's message of "Tue, 11 Aug 2015 02:23:11 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106477 Archived-At: Robert Thorpe writes: > Rusi writes: > >> On Sunday, August 9, 2015 at 10:47:29 PM UTC+5:30, Stefan Monnier wrote: >>> >> The problem is to define "something like". >>> > Simply solved -- Just pick up req-package :-) >>> >>> I haven't looked at it. Does it drop the "work around mis-configured >>> packages" baggage? >> >> req-package is basically use-package + dependency management + el-get. >> Do you see apt-get just off the horizon? > > When you say "dependency management" what do you mean? I think you're > talking at cross-purposes with the other, and you mean something else. AFAICT, req-package solves problems of dependencies between your configuration of packages, rather than between packages. For example, you want to use company mode to provide completions for cider-mode. Conclusion: you want to configure company-mode before you configure cider mode. req-package allows you to declare this relationship and let it figure out the order. I never tried it, as it seems to solve an occasional problem. So, you are right: "dependency management" is different from the other kind of package dependency. Phil