From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.help Subject: Re: using use-package Date: Fri, 14 Aug 2015 09:28:10 +0300 Message-ID: <55CD8A7A.3090801@gmail.com> References: <87d1yufwjk.fsf@robertthorpeconsulting.com> <87k2t1o8iz.fsf@russet.org.uk> <55CD78A9.1050309@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1439533733 18607 80.91.229.3 (14 Aug 2015 06:28:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Aug 2015 06:28:53 +0000 (UTC) To: Edward Knyshov , 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:28: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 1ZQ8Tk-0003fb-G8 for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Aug 2015 08:28:36 +0200 Original-Received: from localhost ([::1]:44995 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ8Tj-0007Mq-Cr for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Aug 2015 02:28:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ8TY-0007Mk-RA for help-gnu-emacs@gnu.org; Fri, 14 Aug 2015 02:28:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQ8TV-0005F9-Kg for help-gnu-emacs@gnu.org; Fri, 14 Aug 2015 02:28:24 -0400 Original-Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:34670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQ8TV-0005F4-Cq for help-gnu-emacs@gnu.org; Fri, 14 Aug 2015 02:28:21 -0400 Original-Received: by labd1 with SMTP id d1so38603011lab.1 for ; Thu, 13 Aug 2015 23:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=88oFrXcQ1k68OSwC4jLkMZjAu9FryUm7lwIyADAjNKs=; b=ssJiMEEyUiYA4AU7wJY0dm3FYLoLbYk+39/dR9RqtrS1dIAg6pGog/VB242lqKXV6q Ptain6tb/Z78j3pJhYcRfwkIwDyjZMUayxmzosieiN4pTLXalygKTEK30dkDx4kcKLxv 8iOKy/iiHK/gBWC5Lna8sNhZN7vYalBCBf+8e+o5g+RdpRuP+dLvHf0Mov8xs/yJ46ae r+ed3lO1chlgltYZt8oU53F/35QXw1hb2NXu4Ko7QLXjZRW+kVf4ULuJ0WrXuecoC862 I9QhMWPglH4cD0YOOOiU2xGURdc5r9BTmjWXcPRdX075Ks1hdx2DM11cZvjbdnMDbMU6 Mirg== X-Received: by 10.112.157.36 with SMTP id wj4mr40857204lbb.115.1439533700474; Thu, 13 Aug 2015 23:28:20 -0700 (PDT) Original-Received: from [192.168.199.2] (broadband-95-84-209-126.nationalcablenetworks.ru. [95.84.209.126]) by smtp.gmail.com with ESMTPSA id ao8sm1178179lac.38.2015.08.13.23.28.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Aug 2015 23:28:19 -0700 (PDT) X-Google-Original-From: Nikolay Kudryavtsev User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 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-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:106571 Archived-At: 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