From patchwork Tue Mar 28 13:44:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: sourcepluck@posteo.net X-Patchwork-Id: 48779 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 84EF1170FD; Tue, 28 Mar 2023 17:37:06 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3CED416F2B for ; Tue, 28 Mar 2023 17:37:05 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phCJM-0000hz-LP; Tue, 28 Mar 2023 12:36:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phAPe-0007kS-Sg for guix-patches@gnu.org; Tue, 28 Mar 2023 10:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phAPe-0008C3-IG for guix-patches@gnu.org; Tue, 28 Mar 2023 10:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phAPe-0002m6-Cw for guix-patches@gnu.org; Tue, 28 Mar 2023 10:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62503] emacs-beframe Resent-From: sourcepluck@posteo.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Mar 2023 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62503 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 62503@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168001404710579 (code B ref -1); Tue, 28 Mar 2023 14:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Mar 2023 14:34:07 +0000 Received: from localhost ([127.0.0.1]:50485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phAOk-0002kY-FD for submit@debbugs.gnu.org; Tue, 28 Mar 2023 10:34:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:50574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ph9cn-00011J-1l for submit@debbugs.gnu.org; Tue, 28 Mar 2023 09:44:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ph9cm-0006R0-JH for guix-patches@gnu.org; Tue, 28 Mar 2023 09:44:32 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ph9ck-00080R-Hv for guix-patches@gnu.org; Tue, 28 Mar 2023 09:44:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 50CB82404EE for ; Tue, 28 Mar 2023 15:44:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1680011067; bh=ntQ2EoOebGzbEgXe4oceCOHsu2m0KA0dRqlYNWkysfI=; h=Date:From:To:Subject:From; b=jq2YQB1IrXMIhhrqpbOo8So+jiN6NrPAUeP1NrvXqO3KXSljb3npAZXnf6w42U7hW JjQIwtTWCTSnWTXZ1MQs208mIyczD0F5DrA7pN4ld0m1AF+0CB/YEMukslavcYqKcs uH5yQ3SazZgwkbYYyaL8ufsbO2QW5UIPwKQppNGv5iQYpoytPXOT/EHGjtaZqbJANs Or87IAKaDrSnWZuxvrGaR0VIBA9EgM/DOB+FpjnOqegJTgE1pGC1zF/azgNqeIHN4L QcxFnuntsb/3OgpaLoLWvKNDGn1TcwR/J8xj01D83m12NthCI3JiPzffdegMqi9pFi lnHTEN1U3Fguw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Pm9s70BhHz6tvd for ; Tue, 28 Mar 2023 15:44:26 +0200 (CEST) MIME-Version: 1.0 Date: Tue, 28 Mar 2023 13:44:26 +0000 From: sourcepluck@posteo.net Message-ID: Received-SPF: pass client-ip=185.67.36.66; envelope-from=sourcepluck@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 28 Mar 2023 10:34:05 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 28 Mar 2023 12:36:35 -0400 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hello wonderful maintainer(s) of Guix, Jamie Cullen here. This is my first ever patch, first ever commit, first ever packaged package, first ever time doing anything mildly useful with Git, etc etc. Excitement is tantamount here. Please don't hesitate to tell me about even the smallest modification on my side, and any length of an explanation here via mail. I'm ready to put the work in to get this lovely package right. At all times during the packaging process, I was vascillating between understanding 20-80% of what I was doing. We got there though, and everything seems to be passing the tests. I couldn't check "guix edit", I think because my EDITOR environment variable wasn't set up properly. I messed with it for ten minutes, it wouldn't work, but I'm pretty sure it was just a thing on my side and that the package is fine, because all other tests looked good -- after loads of faffing around of course, and carefully developing a loving relationship with the generous error messages being thrown at me :) Thanks so much for all your work, you people are legends. I love Guix, and can see worlds opening up to me. Keep up the good fight. Jamie From 379b0ae24c900d3bb129039921e5e5425db57692 Mon Sep 17 00:00:00 2001 From: Jamie Cullen Date: Tue, 28 Mar 2023 15:36:48 +0200 Subject: [PATCH 1/1] gnu: Add emacs-beframe. --- gnu/packages/emacs-xyz.scm | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index da2856abc8..8c4f2dc78d 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -15931,6 +15931,47 @@ (define-public emacs-tmr (license (list license:gpl3+ license:fdl1.3+)))) ;GFDLv1.3+ for the manual +(define-public emacs-beframe + (package + (name "emacs-beframe") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~protesilaos/beframe") + (commit "edfab6eefe4ac35cd8d1ed87fc7f670496d25e40"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0sd8r3icaj2gl7f62fyzlwkkb05mc3cwsqgicw0n1x07s5ir3129")))) + (build-system emacs-build-system) + (native-inputs (list texinfo)) + (arguments + (list + #:phases + #~(modify-phases + %standard-phases + (add-after 'install 'makeinfo + (lambda* (#:key outputs #:allow-other-keys) + (invoke "emacs" + "--batch" + "--eval=(require 'ox-texinfo)" + "--eval=(find-file \"README.org\")" + "--eval=(org-texinfo-export-to-info)") + (install-file + "beframe.info" + (string-append #$output "/share/info"))))))) + (home-page "https://protesilaos.com/emacs/beframe") + (synopsis "Isolate Emacs buffers per frame") + (description + "Beframe enables a frame-oriented Emacs workflow where each frame has +access to the list of buffers visited therein. In the interest of brevity, we +call buffers that belong to frames \"beframed\". Producing multiple frames does +not generate multiple buffer lists. There still is only one global list of +buffers. Beframing them simply filters the list.") + (license (list license:gpl3+ + license:fdl1.3+)))) ; GFDLv1.3+ for the manual + (define-public emacs-gn-mode (package (name "emacs-gn-mode") -- 2.39.2