From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Edward Knyshov Newsgroups: gmane.emacs.help Subject: Re: using use-package Date: Fri, 14 Aug 2015 06:44:12 +0000 Message-ID: References: <87d1yufwjk.fsf@robertthorpeconsulting.com> <87k2t1o8iz.fsf@russet.org.uk> <55CD78A9.1050309@gmail.com> <55CD8A7A.3090801@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1439534679 32046 80.91.229.3 (14 Aug 2015 06:44:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Aug 2015 06:44:39 +0000 (UTC) To: Nikolay Kudryavtsev , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 14 08:44:38 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 1ZQ8jF-0002nb-4r for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Aug 2015 08:44:37 +0200 Original-Received: from localhost ([::1]:45022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ8jE-0004pY-9d for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Aug 2015 02:44:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ8j3-0004pQ-1I for help-gnu-emacs@gnu.org; Fri, 14 Aug 2015 02:44:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQ8j1-0003Yj-Sj for help-gnu-emacs@gnu.org; Fri, 14 Aug 2015 02:44:24 -0400 Original-Received: from mail-lb0-x22e.google.com ([2a00:1450:4010:c04::22e]:36337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ8j1-0003Y6-IV for help-gnu-emacs@gnu.org; Fri, 14 Aug 2015 02:44:23 -0400 Original-Received: by lbbpu9 with SMTP id pu9so39946337lbb.3 for ; Thu, 13 Aug 2015 23:44:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=BclY/ClfFUOgctTlOIjtf23HI8jv2QGJd5cyNxI4dQo=; b=fHC28FMdPnNrAcoL6fvjj/iAeGtjNGbxQu9nZnOLMVobvkBhABFAli6HkXTFjXHDHu Ih+GCiaEIE3NcnenwlsfhaTzelTL87nzdaQELtks2s6amceT+Dxu2NqwOD6Opjx/0D0X 1y2gNZ4gGWQtBVmvHdA2X2amwaumXPGC/2YZbbP1+Ri0Guzf4OFZyG5HFIWo8FPYkIMO ZG9IgaAdldOMBoWjM06HRMaM9NoET0REOM3exGvRRI1QqyE0BNlyJUCHnJ4yJp4CGNuh aGrP8yVdmyBlx7t6K39fAc0As59rMeOO7kf+ix//qry13Ue6mjxDFdGYSx/wLz8Se4iw eh4g== X-Received: by 10.112.141.8 with SMTP id rk8mr40833003lbb.87.1439534662404; Thu, 13 Aug 2015 23:44:22 -0700 (PDT) In-Reply-To: <55CD8A7A.3090801@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22e X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:106572 Archived-At: >From my point of view cider couldn't be configured without company mode, because some features lays on it, but company could. That's why company is dependency of cider in this example. That's why company is single req-package form and cider is dependent form. On Fri, Aug 14, 2015 at 9:28 AM Nikolay Kudryavtsev < nikolay.kudryavtsev@gmail.com> wrote: > Hello Edward. > > It's not about the practical problem of setting up cider and company. > Its about the generic problem of which cider and company is just one > example. > > Req-package makes our configuration for cider depend on our > configuration for company-mode. This is a working solution in practice, > but to me it seems wrong from a theoretical standpoint, since it mingles > too much together. The original reasoning for use-package is separating > package configurations into separate forms for every single package. But > cases like this create multi-package forms, since our configuration for > cider also sets up some stuff for company mode. A better (theoretical) > solution is to have another macro specifically for situations like this. > > -- > Best Regards, > Nikolay Kudryavtsev > >