From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 24 22:04:26 2020 Received: (at submit) by debbugs.gnu.org; 25 Jul 2020 02:04:26 +0000 Received: from localhost ([127.0.0.1]:49053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jz9Y1-0001vf-SR for submit@debbugs.gnu.org; Fri, 24 Jul 2020 22:04:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:51894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jz9Xx-0001ug-35 for submit@debbugs.gnu.org; Fri, 24 Jul 2020 22:04:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jz9Xw-0008Cg-UL for guix-patches@gnu.org; Fri, 24 Jul 2020 22:04:20 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:50792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jz9Xu-0004mb-JD for guix-patches@gnu.org; Fri, 24 Jul 2020 22:04:20 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 288A34054F for ; Sat, 25 Jul 2020 04:04:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= dkim20160331; t=1595642654; x=1597457055; bh=mCZE82daQFwTeC+Elkq 551LIn2sBMXAheFEDkb0UPwU=; b=BdXAQBlTVy9F+yvZkuia3jtXRF18TL2OGjY 84vFVubyuIXLcDAcn0eiQSK/l2ZWRAzEoVnGrqCk10cZpW2Jjx5WEzAWm57hFqaL b40mRXh8wpLoIJtmkqI8QhtLO5RzZuh/kLlftEBT717IUGAGyPYH2QZxb8fhuU1I TYqM7PBL9e7shjBd5RMGT3LWP4t4E4lWuoSqTDaYXi8G9XukGARAKYWGXEmF20CQ l65tEmTdrTeTuHITFtjX50BbLOKk6bmZ+djWU/JlUsjk4PjlGP/Kw8NE7Nuql1Vm KCraUvXI3/fzuOqIEMNxjtNGWuGuu9QM0GWpJr7Dr/3tPsjmDlghrXD6Z8I2+t2c HTCWb1GpDzpRGItZPUpMRSlThWfwfb16jMOPImjbdOyRtTgu7/iyaMpzooVIVVKx 6sFrLjCnZq0MkvzO1gVZ0r1g1Eamgapgp767qEIhBvhBIp7aeR+IrL/bZwsSqCOb vx4VqHqa51r62GIzRyIPOyx6XDIfgWGlU154Y/+k+MW3FVWUmx96YPXdznpBT/ke UnO6ZytOnaj2hvpb9z2fT0y+6Vg/ucB7OUfap8vjswACRI6Vxl859fGRdYt9OdjO DNHusNpdEsGiUdvA71fgLAbmg5i6abbAb8j5jwqVOsvT1niq+MvYqB2m1gbTL3x8 N6/9aY0s= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SmEz0nYZNX45 for ; Sat, 25 Jul 2020 04:04:14 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 47A38404DB for ; Sat, 25 Jul 2020 04:04:14 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx002.mykolab.com (Postfix) with ESMTPS id EA53D238C for ; Sat, 25 Jul 2020 04:04:13 +0200 (CEST) From: Joseph LaFreniere To: guix-patches@gnu.org Subject: [PATCH 1/2] gnu: Add emacs-pretty-hydra. Date: Fri, 24 Jul 2020 21:04:06 -0500 Message-ID: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=95.128.36.40; envelope-from=joseph@lafreniere.xyz; helo=mx.kolabnow.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/24 22:04:15 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_SUSPICIOUS_NTLD=1, FROM_SUSPICIOUS_NTLD_FP=1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Patch file is attached. Note that `guix lint` reports "the source file name should contain the package name"; I'm not sure how to resolve that. -- Joseph LaFreniere From 512be2f3fd8cfcaa6014bcfa63f635c66135a05f Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sat, 18 Jul 2020 12:49:15 -0500 Subject: [PATCH 1/2] gnu: Add emacs-pretty- [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 T_PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: lafreniere.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=joseph%40lafreniere.xyz; ip=209.51.188.17; r=debbugs.gnu.org] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) --=-=-= Content-Type: text/plain; format=flowed Patch file is attached. Note that `guix lint` reports "the source file name should contain the package name"; I'm not sure how to resolve that. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-pretty-hydra.patch >From 512be2f3fd8cfcaa6014bcfa63f635c66135a05f Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sat, 18 Jul 2020 12:49:15 -0500 Subject: [PATCH 1/2] gnu: Add emacs-pretty-hydra. * gnu/packages/emacs-xyz.scm (emacs-pretty-hydra): New variable. --- gnu/packages/emacs-xyz.scm | 56 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 55afda50df..147c6b476b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -649,6 +649,34 @@ process, passing on the arguments as command line arguments.") "Magit-annex adds a few git-annex operations to the Magit interface.") (license license:gpl3+)))) +(define-public emacs-pretty-hydra + (package + (name "emacs-pretty-hydra") + (version "0.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jerrypnz/major-mode-hydra.el") + (commit version))) + (sha256 + (base32 + "08a15knkdq35pzjq82imff016fbfdib5q4glg2xmdy2b5fnk7jqa")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-hydra" ,emacs-hydra) + ("emacs-s" ,emacs-s))) + (arguments + `(#:install '("^pretty-hydra\\.el$"))) + (home-page "https://github.com/jerrypnz/major-mode-hydra.el") + (synopsis "Major mode keybindings managed by Hydra") + (description + "This package offers an hydra-based method of managing major +mode-specific key bindings. It is intended for use as a library only; see +package @code{emacs-major-mode-hydra} for a user-friendly interface.") + (license license:gpl3+))) + (define-public emacs-minions (package (name "emacs-minions") @@ -6148,6 +6176,34 @@ them easier to distinguish from other, less important buffers.") for Ivy and Company that make use of the library.") (license license:expat))) +(define-public emacs-pretty-hydra + (package + (name "emacs-pretty-hydra") + (version "0.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jerrypnz/major-mode-hydra.el.git") + (commit version))) + (sha256 + (base32 + "08a15knkdq35pzjq82imff016fbfdib5q4glg2xmdy2b5fnk7jqa")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-hydra" ,emacs-hydra) + ("emacs-s" ,emacs-s))) + (arguments + `(#:exclude (cons "^major-mode-hydra\\.el" %default-exclude))) + (home-page "https://github.com/jerrypnz/major-mode-hydra.el") + (synopsis "Major mode keybindings managed by Hydra") + (description + "This package offers an hydra-based method of managing major +mode-specific key bindings. It is intended for use as a library only; see +package @code{emacs-major-mode-hydra} for a user-friendly interface.") + (license license:gpl3+))) + (define-public emacs-selectrum (package (name "emacs-selectrum") -- 2.27.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 24 22:10:41 2020 Received: (at submit) by debbugs.gnu.org; 25 Jul 2020 02:10:41 +0000 Received: from localhost ([127.0.0.1]:49065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jz9e5-0002Dw-4U for submit@debbugs.gnu.org; Fri, 24 Jul 2020 22:10:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:52500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jz9e3-0002Do-AI for submit@debbugs.gnu.org; Fri, 24 Jul 2020 22:10:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jz9e3-0000L1-5q for guix-patches@gnu.org; Fri, 24 Jul 2020 22:10:39 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:41702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jz9e1-0005g0-BY for guix-patches@gnu.org; Fri, 24 Jul 2020 22:10:38 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 2C5AB7E0 for ; Sat, 25 Jul 2020 04:10:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:references:received :received:received; s=dkim20160331; t=1595643034; x=1597457435; bh=A5DJe0XB0jHjlBD45jDfliQt5egaRGIUrj2lDjE9HbE=; b=F/2bE4Zr8fYt Z3dRfO7n+MAoMXdFbOnPloNz42LwtfVd4Cj7C2xwRmx5H21zQ0eR2H+l0voDILJo XYs7gFU76K0rfEsOGkVh94m9k1I1diCIRdhyna1Nm6reNm8Al5gTVW5W/HkEWGAm WlQafvSvfikaruJVAM5A2zPdjX/nAF2ySaoRwyjeoLMuaGT/nr52r7KO+AMiasx4 NU3A0cnPpLema1Lz6Hs7Yb8XPDW//2ozRPtqi4D+h09b7SLg3Hqifw7HciFRGU/w qQq0fEWq7C/QTH2YQyTgYsdxFx0uQtXZzaGPcf0bbQEJE59TMS+n55adYS2SoinB hxSV02MYlGsjeQTHUCCyXCldsp8agjvkOvBzUShKfKGHwA43ZmdzZoturcuBk1V7 9ggKj7WVgASIrt3SC2DFyIPvBaLO+LPh6Qzdf9KUVI6uUYsirJ4ZKmMEGPzlsTdi jUOrMOb0xrCzKaxFNHD6cWl/XFsUP/8s39g6blcAPbkv6BfNBHK8FZmGuTku48gC 1Er/BHGlc97qzPKF4m+gry4x9vE5sOEEdhtq0vvMpQG4l+41Nib4/YQ/rQYZBnzY RP4kR+767yoLzuvpse8MxYzZS0mU1Tv1OYcCAI26vY8ugi32GBJWHICMVkYqbbap 3T7lt9/VUKWKaSdBH0Vt1FoQS4wtf3U= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xBzFVLAtD4VA for ; Sat, 25 Jul 2020 04:10:34 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 6C39145E for ; Sat, 25 Jul 2020 04:10:34 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 1A52E37D for ; Sat, 25 Jul 2020 04:10:34 +0200 (CEST) References: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> From: Joseph LaFreniere To: guix-patches@gnu.org Subject: [PATCH 2/2] gnu: Add emacs-major-mode-hydra. In-reply-to: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> Date: Fri, 24 Jul 2020 21:10:25 -0500 Message-ID: <87lfj8gx9q.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=95.128.36.41; envelope-from=joseph@lafreniere.xyz; helo=mx.kolabnow.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/24 22:10:35 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_SUSPICIOUS_NTLD=1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) --=-=-= Content-Type: text/plain; format=flowed Patch file is attached. Similar to the first patch in this series, `guix lint` reports "the source file name should contain the package name". -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-Add-emacs-major-mode-hydra.patch >From 0e528063cdc3a768059cb0be5c8430506b756b6e Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sat, 18 Jul 2020 12:50:22 -0500 Subject: [PATCH 2/2] gnu: Add emacs-major-mode-hydra. * gnu/packages/emacs-xyz.scm (emacs-major-mode-hydra): New variable. --- gnu/packages/emacs-xyz.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 147c6b476b..649f856a83 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -677,6 +677,20 @@ mode-specific key bindings. It is intended for use as a library only; see package @code{emacs-major-mode-hydra} for a user-friendly interface.") (license license:gpl3+))) +(define-public emacs-major-mode-hydra + (package + (inherit emacs-pretty-hydra) + (name "emacs-major-mode-hydra") + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-pretty-hydra" ,emacs-pretty-hydra))) + (arguments + `(#:include '("^major-mode-hydra\\.el$"))) + (synopsis "Create nice-looking hydras") + (description + "This package provides the macro @code{pretty-hydra-define} to define +hydras with one column per group of heads."))) + (define-public emacs-minions (package (name "emacs-minions") -- 2.27.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 25 09:28:22 2020 Received: (at 42525) by debbugs.gnu.org; 25 Jul 2020 13:28:22 +0000 Received: from localhost ([127.0.0.1]:49540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzKDt-0000TS-RR for submit@debbugs.gnu.org; Sat, 25 Jul 2020 09:28:22 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:33722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzKDs-0000TE-Io for 42525@debbugs.gnu.org; Sat, 25 Jul 2020 09:28:21 -0400 Received: by mail-lf1-f67.google.com with SMTP id k13so6671009lfo.0 for <42525@debbugs.gnu.org>; Sat, 25 Jul 2020 06:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=TkJRq0hVSFzlCZd36aeEj9YQiDaHlZlGdJdDp7xhJjc=; b=BgEbDSK9Qjz3/nG76IsGJdjRlWbqtzkE4Ul4CzbARqiU04g2heKFnK+0WoxAKrouJu y+PmbQhAD3uZ8rlv8kTshoeOEuggY/th9b+LJLdBAj6B1tN5TO9qmA/7qN77hEbwuz2c 7o0aEwvdWzZtKK9+G9cTGP44NfhpxUEUaNCLOUWkplQC/EeF7JfqTwLRr8wipdEAXuPV 86+gjvywtA9dLRhFEfKb0SEb33t9N6iO+Gc0nMSAoP13mCwIHfnt0y43oefLc7UyZasc /LX52KmZt+HRpa9fVCg6ckRZ5DpujkzvXAWCclnAEHtNZYBqFBW1zEJFP2/3bMhWv23I FKlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=TkJRq0hVSFzlCZd36aeEj9YQiDaHlZlGdJdDp7xhJjc=; b=tomZ26zsrXzXu60XbICiV6ufuGd0iyD9SJ4TNrJGbyAtkl+o9548gxhlhVpPAQ7kQB YrXK6FB5AyPLp6GZQOViTLLC85+WCYWJx40R/azvQGOs3PtcR8My579vU5EfeGp1GmXG LaIeqQyIKC5dNJ0cuyzOaHyvn9kuYsQEDPp416TKcIEdSjQ9/qmgZadZJP8TqlHqnzom coUnUzCuY3OO1417m2dKDMpUQVBn3RXuP0WyTqs+O4hNJadSlWLC2y2glXBPEu8wmztD BYVqyX/5Hab7dHGYkyILb6X6DHzIj7ibmgZ1N9S7MJhV20nQ+0S3VWlGsgXaoFdrbXE3 UKrA== X-Gm-Message-State: AOAM531rSKEHMaKHDyxphDSEZQ+OEtwjGMlMQStW7I2m8cyOcYZazAtQ uA9wUIhuIXyfOSgZDWh/8mkGNp0H X-Google-Smtp-Source: ABdhPJx8FwYLzJVFCyK7JVfHXxp/Z2DJJn2LxAkKE0sNgSQiPcJuxrfTkCMrwcmfTY83fQTaQVyEhQ== X-Received: by 2002:ac2:5ded:: with SMTP id z13mr7328067lfq.213.1595683694677; Sat, 25 Jul 2020 06:28:14 -0700 (PDT) Received: from guixsd (ppp91-122-98-213.pppoe.avangarddsl.ru. [91.122.98.213]) by smtp.gmail.com with ESMTPSA id b26sm1168987lji.36.2020.07.25.06.28.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jul 2020 06:28:13 -0700 (PDT) From: Oleg Pykhalov To: Joseph LaFreniere Subject: Re: [bug#42525] [PATCH 2/2] gnu: Add emacs-major-mode-hydra. References: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> <87lfj8gx9q.fsf@odyssey.lafreniere.xyz> Date: Sat, 25 Jul 2020 16:28:08 +0300 In-Reply-To: <87lfj8gx9q.fsf@odyssey.lafreniere.xyz> (Joseph LaFreniere's message of "Fri, 24 Jul 2020 21:10:25 -0500") Message-ID: <87wo2rlo5z.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42525 Cc: 42525@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Joseph LaFreniere writes: > Patch file is attached. Similar to the first patch in this series, `guix > lint` reports "the source file name should contain the package name". Yes, because emacs-major-mode-hydra inherits emacs-pretty-hydra. Does emacs-major-mode-hydra is useful without emacs-pretty-hydra and vice versa? I guess not, in that case we could just have emacs-pretty-hydra containing '*.el' for both. [=E2=80=A6] > diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm > index 147c6b476b..649f856a83 100644 > --- a/gnu/packages/emacs-xyz.scm > +++ b/gnu/packages/emacs-xyz.scm > @@ -677,6 +677,20 @@ mode-specific key bindings. It is intended for use = as a library only; see > package @code{emacs-major-mode-hydra} for a user-friendly interface.") > (license license:gpl3+))) >=20=20 > +(define-public emacs-major-mode-hydra > + (package > + ... > + (arguments > + `(#:include '("^major-mode-hydra\\.el$"))) > + (synopsis "Create nice-looking hydras") Could you extend the synopsis little bit? ;-) Thanks, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl8cM2gACgkQFn+OpQAa +pz25w/+OUziwVpJuBYhRiP9Z8Gpz+GMxXuuspreaq3bgy3jymlyZuTtePrYvY/1 7YEdroBJ4+D9r5quciKK2ESPUp0E1plkxU2fft8tEJgykPAV+AL3YWLEREVd1LrT K4TpSJkDpBFG/7ZLfFYlJXuLQmKnmCE25AjT4BVXe02UEQvEut06hKHS4o1w5DPS R9iPX3i20uM6ZT/034kPDaRmokpDEWgshjt8LoIIMMZQGPfj5LM16SWWWxMmJxQ2 ImursVlRB8al6fTz5IJSDvsBJer9JmnK78hXhmfEfeXub/ONZTiHT4BWiThgc3b9 v2EdMFKA8e+8SuZjfLtdeMrbrTfCJpzi3fvZio0JHjJ11hH+DKSbLcYSzLURj+eh yur4pZAE2Z17iEkNEf7wm5ZNLvqHLe8MEFlO9kfE6quOhqhq75/tiA4tM+5/8hL5 zG2tFNgRwhPutvQICu2H/6x+5T3cc5FZKiaVUaGkuZUGOjgJYnJ9nOGwrs3fDain LeNNdfS19NhlJXg6RnqJwA+injuoH+KZ/H29zEj0Pg+KtI/TlAOGwOr++WmQe90z SHDp/lOuYMSMPzEcswnjd6wZK+8YQMkdovFoegAOmeXaO4yb5pp+nKR7fBVb3onH NJmy8nBX5PdwONtQh9Nx7ReYE/pOk4v7SgMufOVMWtooGoEX0uc= =BcjL -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 25 09:28:25 2020 Received: (at 42525) by debbugs.gnu.org; 25 Jul 2020 13:28:25 +0000 Received: from localhost ([127.0.0.1]:49542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzKDx-0000Ti-5Q for submit@debbugs.gnu.org; Sat, 25 Jul 2020 09:28:25 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:45239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzKDr-0000TA-Kr for 42525@debbugs.gnu.org; Sat, 25 Jul 2020 09:28:23 -0400 Received: by mail-lf1-f67.google.com with SMTP id b30so6631033lfj.12 for <42525@debbugs.gnu.org>; Sat, 25 Jul 2020 06:28:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=NfK/yXaHlbCokkcyEXO97aQTvgjAYd+CkYzXiRSu2w0=; b=uSxG9pJgy/f8Kn41NiT7sbGG7laoeGxiG90Fpx7kKH7a6S0QAItYEkDo9tf/yp6twW G1tpt53DfCtiY1ryy65+oAMPOC8EK8THfzlcINhrxci2zaTGNJxInbPdqzCcnb0jG0tQ 6xe8rwGuXqMQANDv+2/6W0cc3pAHT1bRIDVwUobJl1u8poy1UD6YmpDj/BEPy8LgGv8y Wn78k0LJUif1rziKyo/qX63e5D+49+QF8DVj2niG8pJn1WcLSjD/oRccU3/dOZ0gTLDP p4/JyVB2WkZM9cTn3ujAyZ0rglW25lJaJcChqSwkWgIhzJFb7kcKlluuhex1nlv6ah4f g5qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=NfK/yXaHlbCokkcyEXO97aQTvgjAYd+CkYzXiRSu2w0=; b=NUuBnNNiwMkSxwhIPkqZ7Tdsxgv/R0RYACnzl6DWcBSaX6h9QzFwR9G83HGJ2xXbhl 8TsTo8YTAnO8OqxaENjUzdcYM9qbMwn7w4nuVJdqSgIEmdqn+rVzzR/KQXbx02RfcNSj 2X/ApITlVaQo8KXxTz6+HdhROZHQl4vk9oedC7NJCjmP7FTwCSYOQch3kh+aQi65G7dJ g5IEp+ppjLXIFhDhHWfQRtsWhvd4spymHAIZiH1NqfUPdzWMTewqVfzdFCXYnkIM322g K5TYl/5tKNbHS8qbNQy0rCxL6wNPfFHE4SHgCXGZw6ZqlWQR+rc1FQ2xkV043QlU/hux zErg== X-Gm-Message-State: AOAM533xFYt4vgK8rQXn1LqJyIXzlQ4KpUb9krXGbdo4YmU2t1S0hBVy BilajmNCmfnPctfyBJu6CYwbFRA8 X-Google-Smtp-Source: ABdhPJzztTysceyAHle5rnJBexKysWFMTdh4L3aZEzjsV0CNqQk+nYzWrR9G5RZkNQO+gqRStKPX3w== X-Received: by 2002:a05:6512:74b:: with SMTP id c11mr7241428lfs.119.1595683693223; Sat, 25 Jul 2020 06:28:13 -0700 (PDT) Received: from guixsd (ppp91-122-98-213.pppoe.avangarddsl.ru. [91.122.98.213]) by smtp.gmail.com with ESMTPSA id l18sm783395lfh.56.2020.07.25.06.28.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jul 2020 06:28:11 -0700 (PDT) From: Oleg Pykhalov To: Joseph LaFreniere Subject: Re: [bug#42525] [PATCH 1/2] gnu: Add emacs-pretty-hydra. References: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> Date: Sat, 25 Jul 2020 16:20:57 +0300 In-Reply-To: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> (Joseph LaFreniere's message of "Fri, 24 Jul 2020 21:04:06 -0500") Message-ID: <871rkzn32e.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42525 Cc: 42525@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Joseph, Joseph LaFreniere writes: > Patch file is attached. Note that `guix lint` reports "the source file n= ame > should contain the package name"; I'm not sure how to resolve that. You could fix this by providing a =E2=80=98(file-name (git-file-name name version))=E2=80=99 as in other Emacs packages. [=E2=80=A6] > * gnu/packages/emacs-xyz.scm (emacs-pretty-hydra): New variable. > --- > gnu/packages/emacs-xyz.scm | 56 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 56 insertions(+) > > diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm > index 55afda50df..147c6b476b 100644 > --- a/gnu/packages/emacs-xyz.scm > +++ b/gnu/packages/emacs-xyz.scm > @@ -649,6 +649,34 @@ process, passing on the arguments as command line ar= guments.") > "Magit-annex adds a few git-annex operations to the Magit interfa= ce.") > (license license:gpl3+)))) >=20=20 > +(define-public emacs-pretty-hydra > + (package > + ... > + (arguments > + `(#:install '("^pretty-hydra\\.el$"))) 'emacs-build-system' handles '*.el' files, unless you exclude them with the recipe bellow. :-) [=E2=80=A6] The following duplicates emacs-pretty-hydra above. > +(define-public emacs-pretty-hydra > + (package > + (name "emacs-pretty-hydra") > + (version "0.2.2") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/jerrypnz/major-mode-hydra.el.git") > + (commit version))) > + (sha256 > + (base32 > + "08a15knkdq35pzjq82imff016fbfdib5q4glg2xmdy2b5fnk7jqa")))) > + (build-system emacs-build-system) > + (propagated-inputs > + `(("emacs-dash" ,emacs-dash) > + ("emacs-hydra" ,emacs-hydra) > + ("emacs-s" ,emacs-s))) > + (arguments > + `(#:exclude (cons "^major-mode-hydra\\.el" %default-exclude))) As I see there is no reason to exclude or include '*.el'. Also could you take a look on running a test suite? Thanks, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl8cMbkACgkQFn+OpQAa +pzqvA//UOuHMWz4vzCWgSSWGdwbwjDLKiZ3QLqM61CdjPRC8d0IR5lRRkmNZa1w 4YuQFK5A/Jvb19Wcvb3fnoLpznNY0VRYOAHPuPQ9BQV12FB7yevI08Wan+QXydvS moDgib7Dytta/uIXAhYMwc3c5yF3Dip5biBIlBg7mUBFgx/Px4twlskswPBHI0QK JolvJo9r0fHHGQaBYjkONp3riLgR9yWh3+vxsIKpsMu1WD4QB0kLaoQUoL0YcM6E ejMvp5SXEjcBBrcBy+Nyo6dqekX/CpGKVdJuzoAcHTwdsShNcyAU7Skx2sca7DfH qDgB9xLfkTAGikwb/+MHiWpXXyjQZmFU64hBrgO/3NUWzkQuuWv/rtsuLGSdRYo+ TF1qT5KIqc6I8qGe6NVy0N1j2q9DRTAzfSlA0guw27SBg/kG3EBbw1hQXGR80m2Y vwgF6x4sslr68bpFpp1s/J1zEXfJSE7KVgkAOQ6XIk3Jbqysx5D1tbKnBLAcBryW OIJxgECXu5po0TVSCZq+EzSNd1TIWNqvqVsDXzcauAeptLXX18racTk/FvygJaY9 OljlaLNCGK7+iCNhFEUR1+0Kx+XFzwRDLbP7HL1LYnK9BCm/jBAzeFU4Hvhhg6jn kEUtMMrCZH0E0sgERPHMdpO8dJ7iRfbga4xzb17vvcK3U6Pu+6Q= =KnaZ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 25 10:58:05 2020 Received: (at 42525) by debbugs.gnu.org; 25 Jul 2020 14:58:05 +0000 Received: from localhost ([127.0.0.1]:50784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzLcj-00032p-8c for submit@debbugs.gnu.org; Sat, 25 Jul 2020 10:58:05 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:16136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzLcg-00032B-RD for 42525@debbugs.gnu.org; Sat, 25 Jul 2020 10:58:03 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTP id 5ED1AC4A; Sat, 25 Jul 2020 16:57:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:references:received :received:received; s=dkim20160331; t=1595689075; x=1597503476; bh=aDBvDR1qhIQJFX0Lcv+TN6sVwBHD3od6Sl9RIT5DR4o=; b=vFZMkPNGV22B tMU7KAJ7bY9kOOX7X8rfH6Sd0ScLXJxbXKsFkyFLpBCmedgq81S3tiChISLZ/4Nu JNnY0mywb7F99LST9prhtB+unT14N8VOECC1lPXohl3uoXpPYGUSEpT7eZ27CLrt CA4ajOcJFE56p+6173zBiICtWzS7uTYHMLJzesy0iL6DZqwc0nhVCLPRNOQtLTuW Yi8FnAxKVK02963sycrWcyeoJ/ZmwkEmjnzql546YI0zEYk0+zWYabWPFyrJmdUq QrZf9Mxx0uoX7/dg6H4l+Je5S86LJWtavu/uew6grDCitE4kkeNyZviexufJIBbt 22TEiZdbHLS7oncxe1rpFhNNyUc7asOJ3wkdwsvAkjuv4gV1PQxoDqUvk3oN3L1V Hu07fe3JADPEdFKEPiukYq+DxT01VuG8JDv6Ayt8N8uHFjJdWpQFPJRgRWeIrQiM JgiUR+3pQXD6hpMvzLtNbQjJ4Kt/w2M3mszsxs9ocvvCuyPWTX/TTAN5Zym31Ly0 7gL7e/deYr5tZNpNayF4/si5UTaFzzVWVYSf7X6/oM8XrwSsqKrixsaYaUrsS/av HkAnnAQUahCySi3zQ3ToQTpoHSZlK0LvseDAKd684uUp9SzS2l86ctYimKllPudw akkhnY4uadAiyWA+0/1saHBDHpJ7uXI= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hDseqe3xMeCV; Sat, 25 Jul 2020 16:57:55 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id CAC23443; Sat, 25 Jul 2020 16:57:54 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 74866B86; Sat, 25 Jul 2020 16:57:54 +0200 (CEST) References: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> <871rkzn32e.fsf@gmail.com> From: "LaFreniere, Joseph" To: Oleg Pykhalov Subject: Re: [bug#42525] [PATCH 1/2] gnu: Add emacs-pretty-hydra. In-reply-to: <871rkzn32e.fsf@gmail.com> Date: Sat, 25 Jul 2020 09:57:45 -0500 Message-ID: <87tuxvskuu.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 42525 Cc: Joseph LaFreniere , 42525@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Oleg Pykhalov writes: > Joseph LaFreniere writes: > >> Patch file is attached. Note that `guix lint` reports "the=20 >> source file name >> should contain the package name"; I'm not sure how to resolve=20 >> that. > > You could fix this by providing a =E2=80=98(file-name (git-file-name=20 > name > version))=E2=80=99 as in other Emacs packages. Thanks. Not sure how I missed that. > 'emacs-build-system' handles '*.el' files, unless you exclude=20 > them with > the recipe bellow. :-) Thank you for the tip. I have changed the include to an exclude. > Also could you take a look on running a test suite? The repo's test suite tests both pretty-hydra and=20 major-mode-hydra. Since major-mode-hydra is inheriting from and=20 depends on this recipe, I'm assuming it would be rebuilt any time=20 the pretty-hydra recipe changes. Just to minimize the amount of=20 work prying apart the repository I have left all of the tests to=20 be run in the recipe for major-mode-hydra. The updated patch for=20 that will be following shortly. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-pretty-hydra.patch >From a08a763c0a7aa09349bdc9e65ac2d27a3c640a54 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sat, 18 Jul 2020 12:49:15 -0500 Subject: [PATCH 1/2] gnu: Add emacs-pretty-hydra. * gnu/packages/emacs-xyz.scm (emacs-pretty-hydra): New variable. --- gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index db395361b9..c11959dbe2 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -649,6 +649,33 @@ process, passing on the arguments as command line arguments.") "Magit-annex adds a few git-annex operations to the Magit interface.") (license license:gpl3+)))) +(define-public emacs-pretty-hydra + (package + (name "emacs-pretty-hydra") + (version "0.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jerrypnz/major-mode-hydra.el") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "08a15knkdq35pzjq82imff016fbfdib5q4glg2xmdy2b5fnk7jqa")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-hydra" ,emacs-hydra) + ("emacs-s" ,emacs-s))) + (arguments + `(#:exclude (cons "^major-mode-hydra\\.el" %default-exclude))) + (home-page "https://github.com/jerrypnz/major-mode-hydra.el") + (synopsis "Create nice-looking hydras") + (description + "This package provides the macro @code{pretty-hydra-define} to define +hydras with one column per group of heads.") + (license license:gpl3+))) + (define-public emacs-minions (package (name "emacs-minions") -- 2.27.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 25 11:02:15 2020 Received: (at 42525) by debbugs.gnu.org; 25 Jul 2020 15:02:15 +0000 Received: from localhost ([127.0.0.1]:50793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzLgl-0003AZ-4x for submit@debbugs.gnu.org; Sat, 25 Jul 2020 11:02:15 -0400 Received: from mx.kolabnow.com ([95.128.36.42]:42982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzLgj-0003AM-5y for 42525@debbugs.gnu.org; Sat, 25 Jul 2020 11:02:14 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 8BF185CB; Sat, 25 Jul 2020 17:02:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:references:received :received:received; s=dkim20160331; t=1595689327; x=1597503728; bh=Nw58tuMBt10IhkPYMjb53JtMeO6CtdFjIMoUHXTbIDc=; b=ZdTySZboPeHs j0TDfO+VAoGlKqA7DI7JzcNzW9wPNMLu/BaDMZ4JzcyiM+nV9ZauXBHgRmADoC1m 1kEl+yPIWH4SbCCv9dtRMyA53aVWnZWlitaZLZEYZMXrVJzc8RDGJzVXOmzyb1+B vYeRVD0cFW0Vd0qRlscnR4wM2Kt9XDwHyq3mp+5WBn0tmHTcYU9etzsUoEAoh10W Fgh9KyRJxJaRLG4JbRjkR1Ns65eS2MUnVBXSIkaaCOYrjrapT4oo/+6VYYtjvZjn u4gDgXdFHDWPDNKVXHZY3i2ztIbiriHW/2pLkVl12y3wnuZheZctRuOrP9bZJj3H LqT3QlilPY2UcTFaeooAv2ioWDNMjJAxDAL7odFPnuNgyEjzxiTi8ELlDYs7omBi My64gsLdq9kWBdjcP3z30JwBT80vbIRk/tqbvXCTlDMVhNkYfqnWRWwqlkvs4VAF 2d45LewQy3Bk/73NGpKfoQ7MORbFvAAtJVsBdL/x7WCcisYlMr+MPOxEmj9G2OpJ wp4OMW8SMxXVyOkoPjTAQa+x7omdU/i8LoWpJ14Ok+Wmn/SmGBKspUBN5qYLVppX ytHBBTdOct69mXdWcOt6Ys+08Z4+X0CbUSfpSx8bxZafF53D64k/jug/nkM+xjUQ +9qOwm03BSsTpqSSUkMf9kD6PBAlrOg= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bdxcNlMCWqpA; Sat, 25 Jul 2020 17:02:07 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id E4B7C22E; Sat, 25 Jul 2020 17:02:06 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 8C27D2C7; Sat, 25 Jul 2020 17:02:06 +0200 (CEST) References: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> <87lfj8gx9q.fsf@odyssey.lafreniere.xyz> <87wo2rlo5z.fsf@gmail.com> From: "LaFreniere, Joseph" To: Oleg Pykhalov Subject: Re: [bug#42525] [PATCH 2/2] gnu: Add emacs-major-mode-hydra. In-reply-to: <87wo2rlo5z.fsf@gmail.com> Date: Sat, 25 Jul 2020 10:02:00 -0500 Message-ID: <87r1szsknr.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 42525 Cc: 42525@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --=-=-= Content-Type: text/plain; format=flowed Thank you for the reviews, Oleg. :) Oleg Pykhalov writes: > Joseph LaFreniere writes: > >> Patch file is attached. Similar to the first patch in this >> series, `guix >> lint` reports "the source file name should contain the package >> name". > > Yes, because emacs-major-mode-hydra inherits emacs-pretty-hydra. Fixed in the updated patch for emacs-pretty-hydra. > Does emacs-major-mode-hydra is useful without emacs-pretty-hydra > and > vice versa? > > I guess not, in that case we could just have emacs-pretty-hydra > containing '*.el' for both. Yes, emacs-pretty-hydra is useful independently of emacs-major-mode-hydra. The descriptions in the initial patches were written a long time ago and were misleading. I apologize for the confusion. > Could you extend the synopsis little bit? ;-) Missed this comment in the updated patch for emacs-pretty-hydra that I just sent. I will revisit it following this mail. Is the synopsis for this recipe (emacs-major-mode-hyra) suitable? -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-Add-emacs-major-mode-hydra.patch >From 01cec639c237f582a9e4ecbfec1f483009bbba36 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sat, 18 Jul 2020 12:50:22 -0500 Subject: [PATCH 2/2] gnu: Add emacs-major-mode-hydra. * gnu/packages/emacs-xyz.scm (emacs-major-mode-hydra): New variable. --- gnu/packages/emacs-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index c11959dbe2..195586ca71 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -676,6 +676,25 @@ process, passing on the arguments as command line arguments.") hydras with one column per group of heads.") (license license:gpl3+))) +(define-public emacs-major-mode-hydra + (package + (inherit emacs-pretty-hydra) + (name "emacs-major-mode-hydra") + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-pretty-hydra" ,emacs-pretty-hydra))) + (native-inputs + `(("emacs-ert-runner" ,emacs-ert-runner) + ("emacs-use-package" ,emacs-use-package) )) + (arguments + `(#:exclude (cons "^pretty-hydra\\.el$" %default-exclude) + #:tests? #t + #:test-command '("ert-runner"))) + (synopsis "Major mode keybindings managed by Hydra") + (description + "This package offers a hydra-based method of managing major mode-specific +key bindings."))) + (define-public emacs-minions (package (name "emacs-minions") -- 2.27.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 25 11:05:26 2020 Received: (at 42525) by debbugs.gnu.org; 25 Jul 2020 15:05:27 +0000 Received: from localhost ([127.0.0.1]:50798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzLjq-0003FJ-Kw for submit@debbugs.gnu.org; Sat, 25 Jul 2020 11:05:26 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:16238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzLjo-0003F5-Gm for 42525@debbugs.gnu.org; Sat, 25 Jul 2020 11:05:25 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTP id E979EB62; Sat, 25 Jul 2020 17:05:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:references:received :received:received; s=dkim20160331; t=1595689514; x=1597503915; bh=HaoXs++kp2xzLClOkv/Og3FegDheAAT3xAHxX+W0Sxc=; b=AIp8EpXvdPjx 0OQsRk+HhJAcr/JtbVR4grm0wfHbTXIS+P39uy780kOoB2xNOBFtigGK9HO/Mu/C DhWxiA9zPJJtz2ODJaaEZEdrSzsdifylsnGPRYFCRfMn4HLTuPqOag/XHJ0PwO5j EvKTMcZ1JXNJFaK/FEPH0KW//7ic7Y+X69NcMzH+NDuKEBl3C8WoTBhkYTnWFCL6 Ogpr9qmHfZxnBBObpOAB8eRd4tUGfjQ37qyLnFfZfveuF8wd2hTYi6UjYrXotWqn CCnrOhXwK/REStf3zgvyiNALHwGFDz+42eXpH0vNu9uYEAKy1QIrl9qfQuFTtyYd YlydUUFgNTbUrfTozEz5XfYC7GeMqz+IM8GF5OX3xeYHQZFS9Er5BPz5fsVFApxy phI75M4bQgI1nv70TAdjVBZW0ZHBhZV4+FzrsOvZ801QRX2OY3x8iB+W3yGKx/Qy uht6jsbIHDSsXhj0dLcNEcRnl9HnMETwpMtErG6deKymWOXpyc6fEA8G6z7BziXe YgjMtw0g7MKk0FLY6w+HOwrRil7KAxClWckU4hdAuce/mqOVI2EYXubU3oEjzBNF fDgmxjcS7X/aeQTi87w3nVAojH7I7mP6WPiP97f9YI2urkHno1CVTBci/y9yqJ8y hHdwfUc/9UD5rjlXhurLoY28ltOHjHY= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 64f4kZ3Cv3TM; Sat, 25 Jul 2020 17:05:14 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id A6F015ED; Sat, 25 Jul 2020 17:05:14 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 4774AB86; Sat, 25 Jul 2020 17:05:14 +0200 (CEST) References: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> <871rkzn32e.fsf@gmail.com> <87tuxvskuu.fsf@odyssey.lafreniere.xyz> From: "LaFreniere, Joseph" To: Oleg Pykhalov , 42525@debbugs.gnu.org Subject: Re: [bug#42525] [PATCH 1/2] gnu: Add emacs-pretty-hydra. In-reply-to: <87tuxvskuu.fsf@odyssey.lafreniere.xyz> Date: Sat, 25 Jul 2020 10:05:06 -0500 Message-ID: <87o8o3skil.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 42525 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable LaFreniere, Joseph writes: > Oleg Pykhalov writes: >> Joseph LaFreniere writes: >> >>> Patch file is attached. Note that `guix lint` reports "the >>> source file name >>> should contain the package name"; I'm not sure how to resolve >>> that. >> >> You could fix this by providing a =E2=80=98(file-name (git-file-name >> name >> version))=E2=80=99 as in other Emacs packages. > > Thanks. Not sure how I missed that. > >> 'emacs-build-system' handles '*.el' files, unless you exclude >> them with >> the recipe bellow. :-) > > Thank you for the tip. I have changed the include to an=20 > exclude. > >> Also could you take a look on running a test suite? > > The repo's test suite tests both pretty-hydra and > major-mode-hydra. Since major-mode-hydra is inheriting from and > depends on this recipe, I'm assuming it would be rebuilt any=20 > time > the pretty-hydra recipe changes. Just to minimize the amount of > work prying apart the repository I have left all of the tests to > be run in the recipe for major-mode-hydra. The updated patch=20 > for > that will be following shortly. An updated patch for emacs-pretty-hydra is attached with an=20 expanded synopsis. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-pretty-hydra.patch >From f837604e2a8f405e9e6a9473492be56fc3db004d Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sat, 18 Jul 2020 12:49:15 -0500 Subject: [PATCH 1/2] gnu: Add emacs-pretty-hydra. * gnu/packages/emacs-xyz.scm (emacs-pretty-hydra): New variable. --- gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index db395361b9..12f295a1c1 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -649,6 +649,33 @@ process, passing on the arguments as command line arguments.") "Magit-annex adds a few git-annex operations to the Magit interface.") (license license:gpl3+)))) +(define-public emacs-pretty-hydra + (package + (name "emacs-pretty-hydra") + (version "0.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jerrypnz/major-mode-hydra.el") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "08a15knkdq35pzjq82imff016fbfdib5q4glg2xmdy2b5fnk7jqa")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-hydra" ,emacs-hydra) + ("emacs-s" ,emacs-s))) + (arguments + `(#:exclude (cons "^major-mode-hydra\\.el" %default-exclude))) + (home-page "https://github.com/jerrypnz/major-mode-hydra.el") + (synopsis "Create hydras with one column per group of heads.") + (description + "This package provides the macro @code{pretty-hydra-define} to define +hydras with one column per group of heads.") + (license license:gpl3+))) + (define-public emacs-minions (package (name "emacs-minions") -- 2.27.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 25 14:35:05 2020 Received: (at 42525) by debbugs.gnu.org; 25 Jul 2020 18:35:05 +0000 Received: from localhost ([127.0.0.1]:51108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzP0j-0008PH-0v for submit@debbugs.gnu.org; Sat, 25 Jul 2020 14:35:05 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:35614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzP0g-0008OX-GC for 42525@debbugs.gnu.org; Sat, 25 Jul 2020 14:35:03 -0400 Received: by mail-lf1-f68.google.com with SMTP id j22so1001498lfm.2 for <42525@debbugs.gnu.org>; Sat, 25 Jul 2020 11:35:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=mBaMKnXgNKEDbJGu2tHWx0/CabMbrnG6TbbQJWPKmFM=; b=RYdu+iMKZVEH8aEDYCn9U+Ftu8G3YSkCudWqk3RVJaOZ4qY6+z8UCJ0aDQ0b/W9OJp hm3lEyz1clMeq4QOjuusVSpGky+zkVxe2jHSxFzj1wyBhVZA9M06XaJ/YMHct6o8xsHl gcB96UEtNEV/Zah0sG1g7AyNqRenP1CvQxJ09NkTJjYCfscY0dKC8d4lfEk5zxvl1Ft+ x62OS2F85DvHbSreLVXlyhmJugqHzLyQ4kq39S/+wjuFkTrLUSUwwxuakLlht1wLCgvV T3CxX2jMH52SqzhHjo8khB3JOyqaNfBDYsFN1nVtq65r1PphKERkpbATTWdqqxFuwJ/8 laiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=mBaMKnXgNKEDbJGu2tHWx0/CabMbrnG6TbbQJWPKmFM=; b=sB669IaTEPsSq/yYB3Geb7ku/Lu/l5CF28lLkPtkMn9GwC9xT37b2YyFLml35KOwjt XQGGBwxlu32c9Iu2JWAAE2Xp78RGhwEhPBFWY24loNncxOe1FABZuS7NWwT3LZI3S6Bt 3t3bP66kZtDrnXCniUTFus++c6iloVFeDobY3IJ4AKDRHFMCBTfBc9ljdOBP9OnMx2da /cYB7fmmtEGH4hWkEkKHe5ixB+4uS3BjsNsu1I9mAqvzgpx32E+lIXAFXGoxrWEwpM6c bnYQ37flme5Dd2pjx80NIdvwmC/5m1zikpTgdhwBcD+n7PohoHBQ8KjgrHuu62zU+q6O 8tBw== X-Gm-Message-State: AOAM530rSIpW0g2XVGZdCTui27ZU5r0XZ4ncJiuqvxJCnXZdZOoNvfFX tXSoPhIsVmsEAfgIv1XlMIISLCrU X-Google-Smtp-Source: ABdhPJyxOp++KqEeVIY4ftm1Ulh0VbwQYLg+1CmkeGZ2pVEYeJUnztQPgDQ02+InsoeuSnpUFBiuXA== X-Received: by 2002:a19:7710:: with SMTP id s16mr7877993lfc.162.1595702096129; Sat, 25 Jul 2020 11:34:56 -0700 (PDT) Received: from guixsd (ppp91-122-98-213.pppoe.avangarddsl.ru. [91.122.98.213]) by smtp.gmail.com with ESMTPSA id y28sm1563166lfl.15.2020.07.25.11.34.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jul 2020 11:34:55 -0700 (PDT) From: Oleg Pykhalov To: "LaFreniere\, Joseph" Subject: Re: [bug#42525] [PATCH 1/2] gnu: Add emacs-pretty-hydra. References: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> <871rkzn32e.fsf@gmail.com> <87tuxvskuu.fsf@odyssey.lafreniere.xyz> Date: Sat, 25 Jul 2020 21:34:52 +0300 In-Reply-To: <87tuxvskuu.fsf@odyssey.lafreniere.xyz> (Joseph LaFreniere's message of "Sat, 25 Jul 2020 09:57:45 -0500") Message-ID: <87k0yrl9yr.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42525 Cc: 42525@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "LaFreniere, Joseph" writes: [=E2=80=A6] >> Also could you take a look on running a test suite? > > The repo's test suite tests both pretty-hydra and major-mode-hydra. Since > major-mode-hydra is inheriting from and depends on this recipe, I'm assum= ing > it would be rebuilt any time the pretty-hydra recipe changes. Just to > minimize the amount of work prying apart the repository I have left all o= f the > tests to be run in the recipe for major-mode-hydra.=20=20 Yes, it will, that's a feature of Guix. ;-) The =E2=80=98test=E2=80=99 directory contains =E2=80=98major-mode-hydra-tes= t.el=E2=80=99 and =E2=80=98pretty-hydra-test.el=E2=80=99 which could be runned by themself AF= AICC. In that case, if somebody will need to change =E2=80=98pretty-hydra=E2=80=99 r= ecipe, he will run the test and be sure the package functions as intended. Would you like take a look on this, please? > The updated patch for that will be following shortly. We don't hurry. ;-) Also, you don't need to attach a patch if you are working on a thing and will send another one in a day. Regards, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl8ce0wACgkQFn+OpQAa +pxrfQ/9GSTeu4PnclMFkLIQRvpdRKKshr2TFAhuSeuUvfvSPsXI6WwBoX0GVwxx 7epLdqnylSGYqOPsN5s1Ej/4oGQy+H8Sb18kW3gguu2rvKVRfryrUQOEPMu96jIB 1pyQe9MLP71r17Uv/R/YMXyIoRJ7vdLi8FtLMqGwVIIv8YiYd5r6XPPuCafLFVP/ 7gmyNhLOcbH142811T5mhQm8PCRh/sf2yWPSfxZeR2nI8DWFmKnvypauTjPPuJNe 86DKyN37M7iMcO9ZOI7e17Jp3oYVObYuYWBqQLvfIaJHwUrbXvhTHLBv9SGCuTgV 7NO3L5FOMlBAwk81LnIGc6jdAqmByELFbezpv4sn34tUiRa1l+B615XuI+ZgrhJ0 Xjl8PycUw5Yd9WOIx6dTV0RTbRypCJBG5fQ0oyukkK3/phrVv9W0erACvoOUxezr qK13ieoy6y2Y/OqpCaCniSVVcCHLumxVv++jYgnPUYjDVD+Kswy1wYEBrkn28ILR I2vLozjBPI8yXYe9vPiUkeNkQIg5rOd/lUv2c+Eh48yH/Al5mrHrrk+gPPuk3uBx uoMAQCOMIgEQdzufOqhhyTi87gyIEiOMfoxksbnwOAkGjOUHVXk8LcPxTlcIE2AI 2ZOYHdTaNZFqeA8DBF/HcP1W4HoQ6F7/qi86E9txiSvEya6PVxI= =9cqA -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 26 10:05:02 2020 Received: (at 42525) by debbugs.gnu.org; 26 Jul 2020 14:05:02 +0000 Received: from localhost ([127.0.0.1]:53212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzhGw-0007i9-Ec for submit@debbugs.gnu.org; Sun, 26 Jul 2020 10:05:02 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:57209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzhGu-0007ha-2Q for 42525@debbugs.gnu.org; Sun, 26 Jul 2020 10:05:01 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id E41211BF203; Sun, 26 Jul 2020 14:04:52 +0000 (UTC) From: Nicolas Goaziou To: Joseph LaFreniere Subject: Re: [bug#42525] [PATCH 1/2] gnu: Add emacs-pretty-hydra. References: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> Date: Sun, 26 Jul 2020 16:04:51 +0200 In-Reply-To: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> (Joseph LaFreniere's message of "Fri, 24 Jul 2020 21:04:06 -0500") Message-ID: <87d04inzi4.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42525 Cc: 42525@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Joseph LaFreniere writes: > Patch file is attached. Thank you. > Note that `guix lint` reports "the source file name should contain the > package name"; I'm not sure how to resolve that. You are missing a (file-name (git-file-name name version)) expression in `origin'. > +(define-public emacs-pretty-hydra > + (package > + (name "emacs-pretty-hydra") > + (version "0.2.2") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/jerrypnz/major-mode-hydra.el") > + (commit version))) > + (sha256 > + (base32 > + "08a15knkdq35pzjq82imff016fbfdib5q4glg2xmdy2b5fnk7jqa")))) Nitpick: please move the string on the same line as `base32'. > + (build-system emacs-build-system) There are some tests using ert-runner. Could you try to enable them? > + (propagated-inputs > + `(("emacs-dash" ,emacs-dash) > + ("emacs-hydra" ,emacs-hydra) > + ("emacs-s" ,emacs-s))) > + (arguments > + `(#:install '("^pretty-hydra\\.el$"))) > + (home-page "https://github.com/jerrypnz/major-mode-hydra.el") > + (synopsis "Major mode keybindings managed by Hydra") > + (description > + "This package offers an hydra-based method of managing major > +mode-specific key bindings. It is intended for use as a library only; see > +package @code{emacs-major-mode-hydra} for a user-friendly interface.") > + (license license:gpl3+))) > + > (define-public emacs-minions > (package > (name "emacs-minions") > @@ -6148,6 +6176,34 @@ them easier to distinguish from other, less important buffers.") > for Ivy and Company that make use of the library.") > (license license:expat))) > > +(define-public emacs-pretty-hydra You added the package twice. Could you send an updated patch? Regards, -- Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 18 08:24:39 2020 Received: (at 42525-done) by debbugs.gnu.org; 18 Dec 2020 13:24:39 +0000 Received: from localhost ([127.0.0.1]:38123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqFkM-0007MD-Rf for submit@debbugs.gnu.org; Fri, 18 Dec 2020 08:24:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqFkK-0007Ly-Sk for 42525-done@debbugs.gnu.org; Fri, 18 Dec 2020 08:24:37 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59863) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqFkF-0001KT-9L; Fri, 18 Dec 2020 08:24:31 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52680 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kqFk8-0006OZ-Hh; Fri, 18 Dec 2020 08:24:30 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "LaFreniere, Joseph" Subject: Re: [bug#42525] [PATCH 2/2] gnu: Add emacs-major-mode-hydra. References: <87o8o4gxk9.fsf@odyssey.lafreniere.xyz> <87lfj8gx9q.fsf@odyssey.lafreniere.xyz> <87wo2rlo5z.fsf@gmail.com> <87r1szsknr.fsf@odyssey.lafreniere.xyz> Date: Fri, 18 Dec 2020 14:24:22 +0100 In-Reply-To: <87r1szsknr.fsf@odyssey.lafreniere.xyz> (Joseph LaFreniere's message of "Sat, 25 Jul 2020 10:02:00 -0500") Message-ID: <87sg83ckmx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42525-done Cc: 42525-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Both patches were applied some time ago in 90eb5dd6b5989eeb5350c785036c53469496e394. Closing! Ludo=E2=80=99. From unknown Thu Aug 14 22:18:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 16 Jan 2021 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator