From patchwork Tue Dec 19 14:19:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Polidoro X-Patchwork-Id: 57810 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 6B06B27BBE9; Tue, 19 Dec 2023 15:41:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 71B6527BBE2 for ; Tue, 19 Dec 2023 15:41:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFcDR-0006Ij-3e; Tue, 19 Dec 2023 10:41:05 -0500 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 1rFcDM-0006IU-Ky for guix-patches@gnu.org; Tue, 19 Dec 2023 10:41:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rFcDM-0006Oa-Bl for guix-patches@gnu.org; Tue, 19 Dec 2023 10:41:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFcDO-0006EM-D3; Tue, 19 Dec 2023 10:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67905] [PATCH] gnu: Add emacs-golden-ratio. Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 19 Dec 2023 15:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67905 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67905@debbugs.gnu.org Cc: Peter Polidoro , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by submit@debbugs.gnu.org id=B.170300041123871 (code B ref -1); Tue, 19 Dec 2023 15:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Dec 2023 15:40:11 +0000 Received: from localhost ([127.0.0.1]:37121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFcCY-0006Cw-Nz for submit@debbugs.gnu.org; Tue, 19 Dec 2023 10:40:11 -0500 Received: from lists.gnu.org ([2001:470:142::17]:53036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFcCW-0006Cj-SQ for submit@debbugs.gnu.org; Tue, 19 Dec 2023 10:40:09 -0500 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 1rFcCO-00065g-RU for guix-patches@gnu.org; Tue, 19 Dec 2023 10:40:00 -0500 Received: from quail.birch.relay.mailchannels.net ([23.83.209.151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rFcCM-00067s-KA for guix-patches@gnu.org; Tue, 19 Dec 2023 10:40:00 -0500 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DAB1881C57; Tue, 19 Dec 2023 14:19:54 +0000 (UTC) Received: from pdx1-sub0-mail-a231.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 67F6A81A8D; Tue, 19 Dec 2023 14:19:54 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1702995594; a=rsa-sha256; cv=none; b=3nTfJk3h5ldsUcHkSHrQr9MxzmGb0eQC4aJq4OtFDhlfxv1IAWw3V2sPKuEb1OdAU/6HY2 tvTgd1slQwf+oZtK1TiNigA6TLm78QvEt9nRwvnAeqbTTwTE55Mm+aMhxAUVcWonxs5yQf fSauUvclPBwAJjjBr4pIoI3RHMEBgOTxF7vyirLdAiX1+MAVq41bJ52Nz9fk9z0YQA1t+s M2KhN+rLGAOHsdsWZzB5UxvREZdJQQ7N6+fJW/H9B5nbkDY1tJY215OTAJiRlnQPmvNRwG MLUG+ZNj6SMqWFqAeAvAgSzeWBoY9Nh32bNHckzpTulhScUZq9lYvzKwImdN5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1702995594; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=6FJ1sYX5Y8y0MvY0AaYPdI6kc4iMGhqaU6vp4o3Tjhw=; b=B7FxhGBsexp6kEupr/8XPz/RxcKtHGcL44gmZvxnmZeJtxGgWsfUyFW1G96LJRlMhx/fZg /wsJ65kRDTWRt70hlX0Wy8/keyfSfJ0gvfwbPpr1aLIDdjL6iyYRr30KcBxaRjN1zUSOmT P1PncVfjYZKCNXWVdOhYyt9S3IOQxRIWDjr73wOtAnoqD+3Ffx41s6MQUliUWHqYEYK8pN YsStxp+JRzkOAic5xjeuDN7hS2MRuKNGFcbopuIPTDUTJkJGg/EFCu61RNO5ZfYvLTD3N3 Mso9rp+WqlBSk0Un8wtc7IxHnH55nidJIXMdje+sBzen1S+SUVNc+JtHi4dt4w== ARC-Authentication-Results: i=1; rspamd-659dcc87c8-bzm68; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Celery-Cure: 3af4666b1851bf7c_1702995594656_123619230 X-MC-Loop-Signature: 1702995594656:3297523658 X-MC-Ingress-Time: 1702995594656 Received: from pdx1-sub0-mail-a231.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.102.237.60 (trex/6.9.2); Tue, 19 Dec 2023 14:19:54 +0000 Received: from minotaur.hhmi.org (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a231.dreamhost.com (Postfix) with ESMTPSA id 4Svf3F6QMwzWN; Tue, 19 Dec 2023 06:19:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1702995594; bh=6FJ1sYX5Y8y0MvY0AaYPdI6kc4iMGhqaU6vp4o3Tjhw=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=IF+HEgK29rU5sGvi/3UJTKN4ziJZSoBD/p5w70c95AMNt4mxg5zQZNKC/hq1u0voH 1Jpmui9gWIVHofZ6WHqpkL7pVV9I6bjf9k9VEfmahU1KQxk7d4vHjCTPgeDr6pQtpU f5Q+7aoTfgMdhK8V3oc0uDvaoovGqwj3yCaRYxjQK2z9bm6YZVbYhZrBI7CWxMrsdb PVgK9UcGbH27+Aq1r1eP39Kv3Y7pqv/1WPph/9s4PjlCwQUjapGCJXwOjy7345JS7B xSsP5vR9RlvKLdX3JSlk7frxEhZZbfh0jPQ5+D5FFRdSEjU2ASfGDuSLuGw4n6InS7 pzk95mEjl5zVw== From: peter@polidoro.io Date: Tue, 19 Dec 2023 09:19:42 -0500 Message-ID: <88b10c5b72478385da5d57218139845e93f48da0.1702995554.git.peter@polidoro.io> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=23.83.209.151; envelope-from=peter@polidoro.io; helo=quail.birch.relay.mailchannels.net 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Peter Polidoro * gnu/packages/emacs-xyz.scm (emacs-golden-ratio): New variable. Change-Id: I34fe0c67e8776083a9ae448d834eed8f4105d176 --- gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) base-commit: ee93015b54a2abfe59bc2270c09ea4f7624488e5 diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index f8bd9a111e..e452e88283 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -1374,6 +1374,27 @@ (define-public emacs-project-mode-line-tag its mode line.") (license license:gpl3+)))) +(define-public emacs-golden-ratio + (package + (name "emacs-golden-ratio") + (version "20230912.1825") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/roman/golden-ratio.el.git") + (commit "375c9f287dfad68829582c1e0a67d0c18119dab9"))) + (sha256 + (base32 "0a635a3h6jx0clgwmhwc48i14y3xy5q29y37lp2sjnbxx1hlmkli")))) + (build-system emacs-build-system) + (home-page "https://github.com/roman/golden-ratio.el") + (synopsis "Automatic resizing of Emacs windows to the golden ratio") + (description "This package provides an Emacs mode for automatically +resizing the window that has main focus to be more convenient for editing, +while the ones that are not being actively edited will be reduced to a smaller +size.") + (license license:expat))) + (define-public emacs-git-modes (package (name "emacs-git-modes")