From patchwork Thu Jan 4 14:16:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Polidoro X-Patchwork-Id: 58351 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 D1CAA27BBEA; Thu, 4 Jan 2024 14:34:25 +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 5C98427BBE2 for ; Thu, 4 Jan 2024 14:34:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLOnK-0000Fd-K7; Thu, 04 Jan 2024 09:34:02 -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 1rLOnH-0000FE-U6 for guix-patches@gnu.org; Thu, 04 Jan 2024 09:34: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 1rLOnH-0002CV-LR for guix-patches@gnu.org; Thu, 04 Jan 2024 09:33:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rLOnK-0003AS-Kc; Thu, 04 Jan 2024 09:34: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: Thu, 04 Jan 2024 14:34: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.170437882612152 (code B ref 67905); Thu, 04 Jan 2024 14:34:02 +0000 Received: (at 67905) by debbugs.gnu.org; 4 Jan 2024 14:33:46 +0000 Received: from localhost ([127.0.0.1]:54002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLOn4-00039v-5l for submit@debbugs.gnu.org; Thu, 04 Jan 2024 09:33:46 -0500 Received: from bee.birch.relay.mailchannels.net ([23.83.209.14]:38220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLOmz-00039f-A5 for 67905@debbugs.gnu.org; Thu, 04 Jan 2024 09:33:44 -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 EF15E94366B; Thu, 4 Jan 2024 14:16:56 +0000 (UTC) Received: from pdx1-sub0-mail-a293.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 8E4B3941F55; Thu, 4 Jan 2024 14:16:56 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1704377816; a=rsa-sha256; cv=none; b=6OVyhFC4GUNpkJpa3Qrh/a6H+ZOfo4x1a7+wC9pPtStDNQwuB4NhvZPhOEwAq3N1mPPE3F sPhlI95UnVosoypeNG2r5S6YDbNyN83QPJcH7ld4hABdWmLXfMyU5hcL8Ifj+eEhqDxLGv NT6FTwtTs31jFj+Eo/7kzAYXs1E+aflrih7noq0XggcI8fOEiz7cEFz1YA5/RuyA54ZglW sorlM+oqXhjPNJ/oyd9D9RF9tf+nefXYvpIM9SRui1Kt3yN+Lbi9COHi7H6QJl1HZiRwBY zCoYCwmSLLQryo1OjyESxyzL3fLm+JlDvGvIXV3PfTdB6FvolI2xjQmdPw/ehw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1704377816; 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=i+gv1oJ8cJtvkBZcQrE2Lz69gE9c1iTJ4LnbTDswpgE=; b=8aTSw1+ZBykaXVJt7f2dYHM1Z3JKdV2fn78ZxaLLDj+91Bu337oft0leKICvTPN4M0fBo2 XCi0lhg9xvN3Y+JgPTm3Dzcv0j26X4wbIryayeFQq9/NSyJ1jv3wNkd4qI8CWsCwldMagA G6vMdVSZBJms34X3qQNd41ZOo/nSEA8ftWmxRBpj8e2H6ZRFR3ZPbN0AD9Wfu/qkK8ykZg t00/JIxnuRWG3hkmRyuuNvagx1MbmhBbSRtBY4BB7Nqxetg4sMwNigfZbAU6VUfOTpd1s4 DalMxszbTs3O2ha/jDATHUHCvq+HReuREkqtVnPSL1at8us5bTM797o5cny55Q== ARC-Authentication-Results: i=1; rspamd-b89458897-p2zln; 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-Broad-Whimsical: 375f3500314b2220_1704377816805_2765246773 X-MC-Loop-Signature: 1704377816805:388880227 X-MC-Ingress-Time: 1704377816805 Received: from pdx1-sub0-mail-a293.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.115.153.136 (trex/6.9.2); Thu, 04 Jan 2024 14:16:56 +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-a293.dreamhost.com (Postfix) with ESMTPSA id 4T5TDR6334z6J; Thu, 4 Jan 2024 06:16:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1704377816; bh=i+gv1oJ8cJtvkBZcQrE2Lz69gE9c1iTJ4LnbTDswpgE=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=2aIxOsitks/qs3990cTroVTsJBtr8MJv30SVpItPPiIl+TYabuLxwGbb2L8dzmq/I PrKZPvwaPL1Chyh5bO5xCxsoK5/sfSstELQYCM9pqmHN/rCZquk1K03BivACNEouhD es8rSb6bOXQHRhEFZLLAM+UCFDh0nFvY/RZaKi3xL4GF+znIIec+yNde3xG118lCP5 SzPF5Q91CUhYh2XXB/T7NGs5XEOg7fdkTM2lw/mpCOs3ndyUZIsR1KkREcNtjbF42o W6Z3imUoGmvkrNk09OpPETFTokMvf5Nz6PiysgZKsAwcKlhUDbW/K6WBBJ8SfEe9Hs iYUR4QewLZl4g== From: peter@polidoro.io Date: Thu, 4 Jan 2024 09:16:49 -0500 Message-ID: <164a9b7538ce753d5a505eb6df221f36481aaf2f.1704377767.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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) base-commit: 2f642b602398ab32b18faceecd074f49da92e95e diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index bb3c905252..4f5aa5d1f7 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -1374,6 +1374,30 @@ (define-public emacs-project-mode-line-tag its mode line.") (license license:gpl3+)))) +(define-public emacs-golden-ratio + (let ((commit "375c9f287dfad68829582c1e0a67d0c18119dab9") + (revision "0")) + (package + (name "emacs-golden-ratio") + (version (git-version "1.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/roman/golden-ratio.el") + (commit commit))) + (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")