From patchwork Wed Nov 11 07:53:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Tropin X-Patchwork-Id: 25079 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2630627BBF7; Wed, 11 Nov 2020 07:55:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7008027BBF6 for ; Wed, 11 Nov 2020 07:55:09 +0000 (GMT) Received: from localhost ([::1]:42860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kckyC-0007Mq-I5 for patchwork@mira.cbaines.net; Wed, 11 Nov 2020 02:55:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcky6-0007MV-GW for guix-patches@gnu.org; Wed, 11 Nov 2020 02:55:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcky6-0000ja-4w for guix-patches@gnu.org; Wed, 11 Nov 2020 02:55:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcky6-0001I5-3G for guix-patches@gnu.org; Wed, 11 Nov 2020 02:55:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44555] [PATCH] gnu: Add emacs-next-use-package Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 11 Nov 2020 07:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44555 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Michael Rohleder Cc: 44555@debbugs.gnu.org Received: via spool by 44555-submit@debbugs.gnu.org id=B44555.16050812424867 (code B ref 44555); Wed, 11 Nov 2020 07:55:02 +0000 Received: (at 44555) by debbugs.gnu.org; 11 Nov 2020 07:54:02 +0000 Received: from localhost ([127.0.0.1]:40115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kckx7-0001GM-H6 for submit@debbugs.gnu.org; Wed, 11 Nov 2020 02:54:01 -0500 Received: from mail-qk1-f176.google.com ([209.85.222.176]:40832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kckx6-0001G5-1d for 44555@debbugs.gnu.org; Wed, 11 Nov 2020 02:54:00 -0500 Received: by mail-qk1-f176.google.com with SMTP id y197so897222qkb.7 for <44555@debbugs.gnu.org>; Tue, 10 Nov 2020 23:53:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=M9B/eDYxfPY6e8ww8Ex4u1u9skUuxEzIUK3dbgXB+DY=; b=kf/Op2mWz1scTNBdoVjzRci7V/hvWgSErgNZi6o9dIUDQyTafbObgwCIts8pes6fUQ zw26+ZquCQQIt47zXcIOCVu7K5Q7NTQycKxWabKW0t7YFQUQLgZhR/wuwzAh5SHvWnpQ LULB1ts3UFkNDfc0Azb+ih86aRdOpHQiYbT6hgloWmi/Zzc3O0fbL9YCoZs+KDxyqdms G3q2zzaJhI6/78sOPV/IPy2EmWd75Se9aXc9Xsn4MpTGEkbmldazun9mkm4K6gJebk71 hqCaeykDO4850Mp/MSuR1TzkRj/fm6T2/rR94Fic6L8ZMkNVtdzq1+vgtXmMV1/KPDfv wD3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=M9B/eDYxfPY6e8ww8Ex4u1u9skUuxEzIUK3dbgXB+DY=; b=Yn9MSXbw60b5GhjYa5JwNOaJe2nECW7+Md7fBmsqZJMeyh5eyOdxttiLOQ64XvOUmo Gf7MLtcB31APdJIJdHxOvdH/Rjk9TGaqyH5wreytNEVkHyoMetM3XeyMFigqV7uHCUQU Vb3KPHmO1maKbunii0Z1ePthnk9dPuRLNiecqDye3+3gSf8i2TCvyg87Ub07v/oEv/Pv h2O29TPQmRmgYhHbKP5qCPZTcyvqqT8OKCQ2IDmWTI9k+XQtclyOOBJaFBkIC3vM7zFF Dht2RB5QzCp1/yq2SBIQJlGTrxfBddFqyPUIguJgBLjRHdbWnJ/79c+IK0uWACuXRdiI VA1w== X-Gm-Message-State: AOAM532U/E5U5X9eQNDhH1QmQM0PstXu/F+pXjikqKI3iPucZrPfkhNn MfFPPDimmqaQG+TVfjcKUnXCyOGESwGyjRZyGbj7EgjVYCUV7A== X-Google-Smtp-Source: ABdhPJxg72m93GyR1vN7lPQad4nmoLEPpOoTeSVBT0y4Z7m866fI19R8XqPBnp0ym0cIBYyNisaRsa17hkjgCcmVOPY= X-Received: by 2002:a37:4552:: with SMTP id s79mr17758235qka.6.1605081234328; Tue, 10 Nov 2020 23:53:54 -0800 (PST) MIME-Version: 1.0 References: <87blg5j9tw.fsf@rohleder.de> <877dqtj6lj.fsf@rohleder.de> In-Reply-To: <877dqtj6lj.fsf@rohleder.de> From: Andrew Tropin Date: Wed, 11 Nov 2020 10:53:43 +0300 Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Cool news: John Wiegley made a new release a few hours ago, my patch is no longer relevant, will make another one, which just bumps the version to 2.4.1. > Normally, we try to install optional packages per default. > Sometimes, it's not so easy and one has to weigh up... > > Maybe the use-case for use-package is so that diminish is very often > needed? Or for too many users, it would be "useless" (or break > something), w/o it? > > > Imho (I don't have commit superpower), you need a reason to remove an > input (and here, this means provided/out of the box experience). Or at > least make a comment in the source _why_ it isn't needed etc... I will give you a simple example: Someone uses delight (a diminish alternative, which also support major modes) instead of diminish and they would install emacs-use-package and emacs-delight, but he will also get emacs-diminsh as a dependency of emacs-use-package. To remove it they will need to inherit emacs-use-package and update propagated-inputs. I think installing emacs-use-package and manually adding emacs-diminish is easier and more fair than installing emacs-use-package+emacs-delight and removing emacs-diminish from dependencies of emacs-use-package. I totally agree, that diminish is a great package with a great story inside its sources, but don't think it should be installed by default with use-package. I'll make a separate patch for removing propagated-inputs and related discussion. Bump patch in the attachment. From 7f725f6c1b8a0e724002ac67c5e26a8df747ad6b Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Wed, 11 Nov 2020 10:48:30 +0300 Subject: [PATCH] gnu: emacs-use-package: Update to 2.4.1 use-package 2.4 released 2 years ago and doesn't work with GNU Emacs 28. 2.4.1 contains mostly bug fixes and works with emacs-next. --- gnu/packages/emacs-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index d27d397775..b8ab78edf8 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -11131,7 +11131,7 @@ abbreviation of the mode line displays (lighters) of minor modes.") (define-public emacs-use-package (package (name "emacs-use-package") - (version "2.4") + (version "2.4.1") (source (origin (method git-fetch) (uri (git-reference @@ -11140,7 +11140,7 @@ abbreviation of the mode line displays (lighters) of minor modes.") (file-name (git-file-name name version)) (sha256 (base32 - "1b7mjjh0d6fmkkd9vyj64vca27xqhga0nvyrrcqxpqjn62zq046y")))) + "088kl3bml0rs5bkfymgzr15ram9qvy66h1kaisrbkynh0yxvf8g9")))) (build-system emacs-build-system) (native-inputs `(("texinfo" ,texinfo))) -- 2.25.4