[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using use-package

From: Edward Knyshov
Subject: Re: using use-package
Date: Fri, 14 Aug 2015 06:47:51 +0000

If you have many packages depending on company, your multi-package form may
become very big and complex.

On Fri, Aug 14, 2015 at 9:46 AM Edward Knyshov <address@hidden> wrote:

> 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 <address@hidden> 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 <
>> address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]