From patchwork Wed Jan 3 19:48:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Polidoro X-Patchwork-Id: 58342 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 8848E27BBEA; Wed, 3 Jan 2024 19:49:28 +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=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 F3B6627BBE2 for ; Wed, 3 Jan 2024 19:49:26 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rL7Ef-00015P-9Y; Wed, 03 Jan 2024 14:49: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 1rL7Ea-000156-PH for guix-patches@gnu.org; Wed, 03 Jan 2024 14:49:02 -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 1rL7Ea-0001y6-5l for guix-patches@gnu.org; Wed, 03 Jan 2024 14:49:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rL7Ec-0005nO-9c; Wed, 03 Jan 2024 14:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67905] [PATCH] gnu: Add emacs-golden-ratio. References: <88b10c5b72478385da5d57218139845e93f48da0.1702995554.git.peter@polidoro.io> In-Reply-To: <88b10c5b72478385da5d57218139845e93f48da0.1702995554.git.peter@polidoro.io> 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: Wed, 03 Jan 2024 19:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 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-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 67905-submit@debbugs.gnu.org id=B67905.170431133422251 (code B ref 67905); Wed, 03 Jan 2024 19:49:02 +0000 Received: (at 67905) by debbugs.gnu.org; 3 Jan 2024 19:48:54 +0000 Received: from localhost ([127.0.0.1]:53247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rL7ET-0005mm-R9 for submit@debbugs.gnu.org; Wed, 03 Jan 2024 14:48:54 -0500 Received: from hedgehog.birch.relay.mailchannels.net ([23.83.209.81]:34622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rL7EN-0005mB-H9 for 67905@debbugs.gnu.org; Wed, 03 Jan 2024 14:48:52 -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 76122902247; Wed, 3 Jan 2024 19:48:41 +0000 (UTC) Received: from pdx1-sub0-mail-a297.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E7441902161; Wed, 3 Jan 2024 19:48:40 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1704311320; a=rsa-sha256; cv=none; b=vodLRPaN2XwaoLSAbiEsvY3rVVNAcdDcbya5KE0n6RPsd/9nqW8INex+oNRflMyShIAN7G 10lV9zJousu5CSzbke4HzwM295hjN1owl/BqilB8Ez92ZOmY/lf9p9sqRtdWM0tTgXkQbi Xm1AHae8xV0IuFEFtlF/2ctSviWwPgTqOmpjTLAjaTQAlWu0MJMvTnKTd4TrQe0ZuHnIN8 qm3YyR/fiNbXbdX6DuoUDriu1V7EIoOlPgfYE+/1Ihzs2vdwnHpjz+St6ic6bgxADWv/RU H3K38zTi2t07U7ZWBjeecBprOC8jecNvAtdfHjeKgCv5o+8X5cEyvZZOKXZ20g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1704311320; 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=/B8p9VgEw/ivpcDAH6jdXq3gJiGjswmwmn5tzvPHbn0=; b=chS9o3s5JssO4IwVm4x+icxdfxJX7ASyf206F0/ZVNkYgSgJHx8YuJLHyK72VpN9Ml0i+I gNkLhZzmRAaKjp1owso2Au1ZCuodFoWeJ+o58zzsgcr80R8t6z34jKy+mAmpMFldpUPK+K 0MQBNbhjvo+0QUbf4Cc9C+Q0A+tN/qo0nuRdaPULqd2uZJNsdmK39MRsXA+58Cd4vMWsp3 wmxaeOqbM1lQpk7eLbF0/ETH08diFynnLQWfJ/7IISuhEtClnhpqgQtpUEtwvLqtz5BKjM 022b57POJBYM/y4h3c6kuX/CCrk8CvJs17+V6BwxVA/L2TFU5VhO5zdovhWF1w== ARC-Authentication-Results: i=1; rspamd-b89458897-g5dpc; 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-Occur-Abaft: 00a3671f4fb3d492_1704311321257_1959945532 X-MC-Loop-Signature: 1704311321257:1542501641 X-MC-Ingress-Time: 1704311321257 Received: from pdx1-sub0-mail-a297.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.125.149.135 (trex/6.9.2); Wed, 03 Jan 2024 19:48:41 +0000 Received: from knave.allpointsbroadband.net (unknown [208.72.79.30]) (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-a297.dreamhost.com (Postfix) with ESMTPSA id 4T50dh2bCBz84; Wed, 3 Jan 2024 11:48:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1704311320; bh=/B8p9VgEw/ivpcDAH6jdXq3gJiGjswmwmn5tzvPHbn0=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=1+FxaQlUdAsNKCT1+vUqWWPPrKs+bwAOJrAdZL+508Ou2A704vXTvPoOW+EEMVs/g NfTvKr354kJM1/m9UthKb2EYu2/VWScUKAOkYE8opAm9woYcysENrYBEWZmRad33Jo G+B/tL9aCEK1qfSpuuCf7qAvfcHOePj210QChp5IgkrySC8OVZ/chXxQWjfxOFdZ/p YcDn1WHxqzFd7H0zavU0Jr2Qs82+k0bhQ5bLiBE/Z/XYqr0plYf/vnGwVcGmvcafTP rx46d2OfdG3Uy1KrAp9j7xodAGM+84FyNfRvW1n6x7hfuNxC9UII0Zyc8Ic9KCwbGG TeV7mKRlAsAKQ== From: peter@polidoro.io Date: Wed, 3 Jan 2024 14:48:38 -0500 Message-ID: <04930f845e48e398066caab7a1271f7525a25515.1704311285.git.peter@polidoro.io> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 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: I44de02989b8dadd4a395374fe078d4255a210028 --- gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) base-commit: 2f642b602398ab32b18faceecd074f49da92e95e diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index bb3c905252..3937e209b8 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -1374,6 +1374,28 @@ (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") + (commit "375c9f287dfad68829582c1e0a67d0c18119dab9"))) + (file-name (git-file-name name version)) + (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")