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:46:28 +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 1439534813 1497 80.91.229.3 (14 Aug 2015 06:46:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Aug 2015 06:46:53 +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:46:52 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 1ZQ8lP-00053s-Hx for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Aug 2015 08:46:51 +0200 Original-Received: from localhost ([::1]:45028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ8lO-0006NH-G7 for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Aug 2015 02:46:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ8lD-0006MG-VX for help-gnu-emacs@gnu.org; Fri, 14 Aug 2015 02:46:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQ8lC-0004Z2-RS for help-gnu-emacs@gnu.org; Fri, 14 Aug 2015 02:46:39 -0400 Original-Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:36408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ8lC-0004Yp-Ia for help-gnu-emacs@gnu.org; Fri, 14 Aug 2015 02:46:38 -0400 Original-Received: by lagz9 with SMTP id z9so38550455lag.3 for ; Thu, 13 Aug 2015 23:46:37 -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=ARWNyS6B3UjoxvLwuQAKPrFvGiYYOxsYaPGo8fHB9gA=; b=PvbYH33px3om3HnwPiUzqyh6Yq15sxgZmm+MKP+t+p5sysUBtIyWyGT9CdzrKQ/nB5 ee6HvMvzmxENlUunt8UJi7YNgNm1ccxnWdXHaHel1p6aHx2U3tm6FTPsmsBHKHx1QlRF +fkUWBSOha4rC2nbyqPGYA0ZJ6ki3BiTZTyTPYjmdtzgT2xSRK3uNZhGNA1EziGhIofD ZZpZT8sKIyMgqQDA7SQQ1KKrp4C3wp2Ut1VwSHf2Q48QWLCYU+fnaYY5rjehhROvxTEk ZzDgLQiEq1XNbt/S7oiB5J9JklBpSNoAioEWdZdmQBjU1GBJwVDi2JjQX7OCPSPvjM6n Ifwg== X-Received: by 10.152.25.228 with SMTP id f4mr41450146lag.25.1439534797761; Thu, 13 Aug 2015 23:46:37 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22f 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:106573 Archived-At: So if we do not use cider, we still can use company in some other modes, because they also could :require company On Fri, Aug 14, 2015 at 9:44 AM Edward Knyshov wrote: > 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 >> >>