From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GC2sHfllyGK5dwAAbAwnHQ (envelope-from ) for ; Fri, 08 Jul 2022 19:14:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WO2sHPllyGIeHwAAG6o9tA (envelope-from ) for ; Fri, 08 Jul 2022 19:14:33 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D021988E1 for ; Fri, 8 Jul 2022 19:14:32 +0200 (CEST) Received: from localhost ([::1]:39770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9rYl-0002ow-V9 for larch@yhetil.org; Fri, 08 Jul 2022 13:14:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9r1P-0006Y3-Od for guix-patches@gnu.org; Fri, 08 Jul 2022 12:40:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9r1P-0005PR-Fg for guix-patches@gnu.org; Fri, 08 Jul 2022 12:40:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9r1P-0002y8-CA for guix-patches@gnu.org; Fri, 08 Jul 2022 12:40:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56455] gnu: Drop emacs-transient, emacs-project input from four packages Resent-From: "Jorge P. de Morais Neto" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Jul 2022 16:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56455 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 56455@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165729839111357 (code B ref -1); Fri, 08 Jul 2022 16:40:03 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jul 2022 16:39:51 +0000 Received: from localhost ([127.0.0.1]:33095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9r1C-0002x7-C6 for submit@debbugs.gnu.org; Fri, 08 Jul 2022 12:39:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:41138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9nVP-0001sp-BI for submit@debbugs.gnu.org; Fri, 08 Jul 2022 08:54:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9nVP-0000c2-39 for guix-patches@gnu.org; Fri, 08 Jul 2022 08:54:47 -0400 Received: from knopi.disroot.org ([178.21.23.139]:35020) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9nVH-0002JB-1A for guix-patches@gnu.org; Fri, 08 Jul 2022 08:54:41 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id AD12040DFC for ; Fri, 8 Jul 2022 14:54:34 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O_eMit4zTgAC for ; Fri, 8 Jul 2022 14:54:33 +0200 (CEST) From: "Jorge P. de Morais Neto" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disr.it; s=mail; t=1657284871; bh=0VUmDrvpR7U6JOl0P/XumXYxveTjEsnGc7yzxYvgo5o=; h=From:To:Subject:Date; b=W2w1zQBIH6UwOQirxA/7BcCBYcqRlOt+pPImCLXcX+PbYOdv9zOoD5er1UknJRl5k qmGVW9hWUCY6rwn1aea3fkJMAIUpEjZyBWen1oRYi0W4gO1Zk2GVo5g75WVBHTQHV0 DnEZb4+GRHkX7wlpRaXk7NuDMZwZK+g7ZFQ5y5lLMOLrjX9WnklmjMTaJMN+tAThfa lDBANw6U9vxLntd9DprWESuhADTG5Py147eNrazUADotURhoYZnLuXmHjXZ8lW6D1w Vklz0IJAs603WpdGURBPPTSUbSGqwp/K6cwCjIzNlZHWCS5at7ptcuFZMoPC5J/kT5 FPvRqVhB6hPGA== Date: Fri, 08 Jul 2022 09:54:21 -0300 Message-ID: <87ilo73gua.fsf@disr.it> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=178.21.23.139; envelope-from=jorge+git@disr.it; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 08 Jul 2022 12:39:49 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 08 Jul 2022 13:13:13 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657300473; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=ojPrRG52W0s76Ydx3R7DoPa+Lg1HAbcLAQ+KuAQBqg4=; b=K36SfVm5xH674fdXkHtIXg0xE8IWlzrzl/NMz7uDi/iybaDz3OU6g3SjFrDZKxYl/G4GiF n6RpkOYDRjhDYCszX6FGltqg6qkdBVp5mHPaRGUZsuMWlVnEveL8UbUc5PS9rZdB2svmHC bo5seOCKukImb+ftndS77QK89u83H7ScQ1Gce8Uu2Er3VvC1PBZL4xVZg4K0k3Pv+xqFwo a7fhSHhgZkEVE2BJoiY3RTOQDgQSA6Mzc1Z8uDCPIEk1RQInss5AdJkzue5Z5s1BM8BzS9 xEDlTOfyF5T7ZXWYui+Tpc1e588nI4dwzDYKSf4aj5HPn+wArx6JmhHbJpy6lw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657300473; a=rsa-sha256; cv=none; b=PCQ2frlbfjWcSY0taQQf3A8nclWliQINyHO8cCCgsgC2rlbz5ohEgJegT/8HIJ3jf16x8D t1X7Fz1xP1iM7ZMKgBCQseTM3BwU2cZ0gwTFbEQtWmX1ONpmiDsfNR+pkSnbx+MvdOFR73 x1x9Tb4BLJK6BqZdGwjW0IEm8k0Fy1J7EOHl1mdxet0Au+T8k9khK+nO4Epf6PhbKiMceH 09UQbEg8ZuyFec1g4+PjdCeTtlkzfsc4QBUiu0f/RNVpyOXM6t3QN44C7NSrAmegtpsXyN RA7ef+g2It3ItTT9BxH0Ny22id4fZ9OgMI0ns7n7srczHdikqmWKa/0URKOTGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disr.it header.s=mail header.b=W2w1zQBI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disr.it (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disr.it header.s=mail header.b=W2w1zQBI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disr.it (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D021988E1 X-Spam-Score: 6.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: IBTJ6f3a+rc1 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi. I apologize for any mistakes and welcome feedback. This is my first patch to Guix; let's hope that many others will follow! I see low hanging fruits: including the several other Emacs packages still unnecessarily pulling emacs-transient, emacs-project and other Elisp libraries that are now builtin. I have been using these modified packages. I have also checked this patch with ~guix lint~ and ~guix build --check~. The four packages build well; the only warning messages were: In git-timemachine-completing-read-fn: git-timemachine.el:101:8: Warning: docstring wider than 80 characters In git-timemachine--find-new-current-line: git-timemachine.el:259:8: Warning: docstring wider than 80 characters In git-timemachine--get-cursor-position: git-timemachine.el:294:8: Warning: docstring wider than 80 characters In git-timemachine--set-cursor-position: git-timemachine.el:300:8: Warning: docstring wider than 80 characters git-timemachine.el:347:1: Warning: =E2=80=98define-transient-command=E2=80= =99 is an obsolete alias (as of Transient 0.3.0); use =E2=80=98transient-define-prefix=E2= =80=99 instead. In end of data: git-timemachine.el:247:19: Warning: the function =E2=80=98erm-reset-buffer= =E2=80=99 is not known to be defined. geiser-autodoc.el:69:12: Warning: =E2=80=98eldoc-message=E2=80=99 is an obs= olete function (as of eldoc-1.1.0); use =E2=80=98eldoc-documentation-functions=E2=80=99 in= stead. git-commit-pkg.el:1:2: Warning: the function =E2=80=98define-package=E2=80= =99 is not known to be defined. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Drop-emacs-transient-emacs-project-input-from-fo.patch >From a0a682e6e4b53282e9e45703c870132310764f3c Mon Sep 17 00:00:00 2001 From: "Jorge P. de Morais Neto" Date: Fri, 8 Jul 2022 09:23:29 -0300 Subject: [PATCH] gnu: Drop emacs-transient, emacs-project input from four packages Drop emacs-transient (and emacs-project) propagated input from: - emacs-git-timemachine - emacs-ytdl - emacs-geiser - emacs-magit I use Guix package manager (manually installed) atop Debian bullseye. My Emacs is from Guix package emacs-next with a package transformation option to pull from current Git master. When trying to use the new emoji commands on the "C-x 8e" prefix, I got an error message about transient. I solved it by modifying Guix recipes to not pull emacs-transient as propagated input of some Emacs packages I installed via Guix. Guix packages Emacs 28.1 and emacs-next 29.0.50, and both have Transient built-in. Therefore, pulling transient external package it as propagated input of other packages is wasteful redundancy, and, worse, causes errors. >From emacs-geiser also drop emacs-project (also builtin on Emacs 28.1). For emacs-ytdl also add the required emacs-dash dependency. See email message ID 87sfnhalvo.fsf@disr.it on guix-devel mailing list. Several other unnecessary dependencies on builtin Emacs libraries (including transient and project) probably remain on emacs-xyz. --- gnu/packages/emacs-xyz.scm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 2e259287b8..b68a15bc4a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -278,8 +278,6 @@ (define-public emacs-geiser "-o" "geiser.info" "geiser.texi"))))))) (native-inputs (list texinfo)) - (propagated-inputs - (list emacs-project emacs-transient)) (home-page "https://www.nongnu.org/geiser/") (synopsis "Collection of Emacs modes for Scheme hacking") (description @@ -1005,7 +1003,7 @@ (define-public emacs-magit (inputs (list git perl)) (propagated-inputs - (list emacs-dash emacs-transient emacs-with-editor)) + (list emacs-dash emacs-with-editor)) (home-page "https://magit.vc/") (synopsis "Emacs interface for the Git version control system") (description @@ -4646,8 +4644,6 @@ (define-public emacs-git-timemachine (base32 "1pz4l1xnq6s67w5yq9107vm8dg7rqf8n9dmbn90jys97c722g70n")))) (build-system emacs-build-system) - (propagated-inputs - (list emacs-transient)) (home-page "https://gitlab.com/pidu/git-timemachine") (synopsis "Step through historic versions of Git-controlled files") (description "This package enables you to step through historic versions @@ -23308,7 +23304,7 @@ (define-public emacs-ytdl (inputs (list youtube-dl)) (propagated-inputs - (list emacs-async emacs-transient)) + (list emacs-async emacs-dash)) (home-page "https://gitlab.com/tuedachu/ytdl") (synopsis "Emacs interface for youtube-dl") (description -- 2.36.1 --=-=-= Content-Type: text/plain Cheers! -- - Many people hate injustice but few check the facts; this causes more injustice. Ask me about - Please adopt free/libre formats like PDF, Org, LaTeX, ODF, Opus, WebM and 7z. - Libre apps for AOSP (Replicant, LineageOS, etc.) and Android: F-Droid - https://www.gnu.org/philosophy/free-sw.html "What is free software?" --=-=-=--