Message ID | 84aaa5ac2f6e4399fae554b274742c776c26fccf.camel@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B999227BBE9; Thu, 10 Feb 2022 21:32:14 +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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,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 4B93F27BBEA for <patchwork@mira.cbaines.net>; Thu, 10 Feb 2022 21:32:12 +0000 (GMT) Received: from localhost ([::1]:36574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1nIH2x-0005RD-CX for patchwork@mira.cbaines.net; Thu, 10 Feb 2022 16:32:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nIH2p-0005Qq-4d for guix-patches@gnu.org; Thu, 10 Feb 2022 16:32:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35240) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nIH2o-0002fF-Qd for guix-patches@gnu.org; Thu, 10 Feb 2022 16:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nIH2o-0006Rl-NY for guix-patches@gnu.org; Thu, 10 Feb 2022 16:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53930] [PATCH] gnu: Add emacs-nyan-mode. Resent-From: Liliana Marie Prikler <liliana.prikler@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Feb 2022 21:32:02 +0000 Resent-Message-ID: <handler.53930.B.164452869223299@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53930 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53930@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164452869223299 (code B ref -1); Thu, 10 Feb 2022 21:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Feb 2022 21:31:32 +0000 Received: from localhost ([127.0.0.1]:57364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1nIH2J-00063P-LP for submit@debbugs.gnu.org; Thu, 10 Feb 2022 16:31:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:43822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <liliana.prikler@gmail.com>) id 1nIH2I-00062Y-Lu for submit@debbugs.gnu.org; Thu, 10 Feb 2022 16:31:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <liliana.prikler@gmail.com>) id 1nIH2G-0005Pn-Rv for guix-patches@gnu.org; Thu, 10 Feb 2022 16:31:29 -0500 Received: from [2a00:1450:4864:20::643] (port=34329 helo=mail-ej1-x643.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <liliana.prikler@gmail.com>) id 1nIH2B-0002Vk-3t for guix-patches@gnu.org; Thu, 10 Feb 2022 16:31:28 -0500 Received: by mail-ej1-x643.google.com with SMTP id p24so18470745ejo.1 for <guix-patches@gnu.org>; Thu, 10 Feb 2022 13:31:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:to:content-transfer-encoding:message-id :mime-version; bh=h78iQzJoe5dmqTKwmUfV2udCoTxoIw/ePQu66ummnbU=; b=eBEQoL5O9tT4zByXCDd/GgFTpj4aiJGlQN444kuRohJIqCmD6cEDCyzcnNglfbgj5i eKn0bQwb3ah4ZlEczTBcCSfYmDbl33H4enHFrw4D/Nj4/bTTYdUpYJf9H/LGzD8cHeNA WynNq9jOFGUkGi77/dkYOjtW2hQ3RRFG0wDqtno+gCNuSowyGJcdSG+UAypFwg2CLZlA P/rRkYbKncT7B2TN0Rg7+aAyb35m9+GO8ILi0BDYHk091WO7hXAQGi/mQRpIACkS7MVG ObuRh7EKeP3pXww9lEPu3qx9prxV31/mvrcIv+c7grryF9N2gXkGYPyA0mVn++reN/mD NaBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:to:content-transfer-encoding :message-id:mime-version; bh=h78iQzJoe5dmqTKwmUfV2udCoTxoIw/ePQu66ummnbU=; b=kIPr6wYVbixW4Mhh7LGQ7Gg7eMLpc7g6jtYapJk5roH7krf9r+akyIKpM5oWj0Rvg9 jOCCpRR8jFL/nZXXgBQDUUVk9rDYRIFzn5Tv5oEcpSRPSlkow209If1FyWjniI1e9GQo 0SZDlYdq3Y+w8jvE/VLclWODwyHK589UhrmkY31c4wsFHUnJOjd/J74d96g8owxGUoMa zOUYx06uNyUDpeCjvJrcT0dsDQnE27BspeZb5EIgsGhBEXlXNcfA8LqS5/+SiLFqg1xh USHsEfwbyaZDf03EQ2Ei4bnTqg6LA7yEsjPQDQmQwMjJlhp+PYiQ53zHtgIzy6VQckE+ YjcQ== X-Gm-Message-State: AOAM533ypgw/BwhoH+ftlMBmBXYkF70tnDYSK8SXvQQlztZJ9ZyXmzDS YjJLp5UFsxc5YYPPAVs35FLj09GOHSvTAg== X-Google-Smtp-Source: ABdhPJxYVEYtBdIdT1ZoLxauoSrB9hXE3WOhkA2x2sRujsMe5rP12esTY0B5kA1pU67vVeKy3slGeA== X-Received: by 2002:a17:906:a93:: with SMTP id y19mr7833653ejf.719.1644528680448; Thu, 10 Feb 2022 13:31:20 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id i13sm2999253ejo.188.2022.02.10.13.31.19 for <guix-patches@gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 13:31:19 -0800 (PST) From: Liliana Marie Prikler <liliana.prikler@gmail.com> Date: Thu, 10 Feb 2022 21:56:49 +0100 Content-Transfer-Encoding: 7bit Message-ID: <84aaa5ac2f6e4399fae554b274742c776c26fccf.camel@gmail.com> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::643 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::643; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x643.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#53930] gnu: Add emacs-nyan-mode.
|
|
Commit Message
Liliana Marie Prikler
Feb. 10, 2022, 8:56 p.m. UTC
* gnu/packages/emacs-xyz.scm (emacs-nyan-mode): New variable. --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
Comments
Hello, Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > * gnu/packages/emacs-xyz.scm (emacs-nyan-mode): New variable. And I thought Guix was a serious distribution… ;) > +(define-public emacs-nyan-mode > + (package > + (name "emacs-nyan-mode") > + (version "1.1.3") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://stable.melpa.org/packages/nyan-mode-" > + version > + ".tar")) Using anything MELPA is generally frowned upon. What are the reasons for not using upstream releases instead? > + (sha256 > + (base32 "1hd3g1lnwsg7z3g9qvshlmlirgzyja4hjxxgdfpkaakafm87n58c")))) > + (build-system emacs-build-system) > + (arguments (list #:include #~(cons* "img/" "mus/" %default-include))) > + (home-page "https://github.com/TeMPOraL/nyan-mode/") > + (synopsis "Nyan Cat as position indicator") Maybe: Nyan Cat as position indicator in a buffer > + (description > + "Nyan Mode is an analog indicator of your position in the buffer. I know the project name is "nyan mode" but still: Nitpick: Nyan mode is… Otherwise LGTM. Regards,
Am Donnerstag, dem 10.02.2022 um 23:58 +0100 schrieb Nicolas Goaziou: > Hello, > > Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > > > * gnu/packages/emacs-xyz.scm (emacs-nyan-mode): New variable. > > And I thought Guix was a serious distribution… ;) How serious can Guix be if it lacks nyan-mode? 😺️ > > +(define-public emacs-nyan-mode > > + (package > > + (name "emacs-nyan-mode") > > + (version "1.1.3") > > + (source > > + (origin > > + (method url-fetch) > > + (uri (string-append > > + "https://stable.melpa.org/packages/nyan-mode-" > > + version > > + ".tar")) > > Using anything MELPA is generally frowned upon. What are the reasons > for not using upstream releases instead? That's the code the importer gave me and I didn't know MELPA uses autogenerated tarballs. Will use git-fetch instead. > > + (sha256 > > + (base32 > > "1hd3g1lnwsg7z3g9qvshlmlirgzyja4hjxxgdfpkaakafm87n58c")))) > > + (build-system emacs-build-system) > > + (arguments (list #:include #~(cons* "img/" "mus/" %default- > > include))) > > + (home-page "https://github.com/TeMPOraL/nyan-mode/") > > + (synopsis "Nyan Cat as position indicator") > > Maybe: Nyan Cat as position indicator in a buffer Nyan Cat as a buffer position indicator? > > + (description > > + "Nyan Mode is an analog indicator of your position in the > > buffer. > > I know the project name is "nyan mode" but still: > > Nitpick: Nyan mode is… I copied the title-case from the package preceding it. WDYT about "@code{nyan-mode} is", which would have been my goto before reading that other description? Cheers
Hello, Liliana Marie Prikler <liliana.prikler@gmail.com> writes: > Am Donnerstag, dem 10.02.2022 um 23:58 +0100 schrieb Nicolas Goaziou: >> And I thought Guix was a serious distribution… ;) > How serious can Guix be if it lacks nyan-mode? 😺️ So true. >> Maybe: Nyan Cat as position indicator in a buffer > Nyan Cat as a buffer position indicator? Even better! >> > + (description >> > + "Nyan Mode is an analog indicator of your position in the >> > buffer. >> >> I know the project name is "nyan mode" but still: >> >> Nitpick: Nyan mode is… > I copied the title-case from the package preceding it. WDYT about > "@code{nyan-mode} is", which would have been my goto before reading > that other description? I like Foo mode because all modes are spelled out like this (or sometimes simply Foo) in the Emacs manual, as God intended. As you pointed out, many packages just ignore this anyway. So, I'm fine either way. Regards,
Am Freitag, dem 11.02.2022 um 10:19 +0100 schrieb Nicolas Goaziou: > > > And I thought Guix was a serious distribution… ;) > > How serious can Guix be if it lacks nyan-mode? 😺️ > > So true. High time we fix this. > > > Maybe: Nyan Cat as position indicator in a buffer > > Nyan Cat as a buffer position indicator? > > Even better! Done. > > > > + (description > > > > + "Nyan Mode is an analog indicator of your position in the > > > > buffer. > > > > > > I know the project name is "nyan mode" but still: > > > > > > Nitpick: Nyan mode is… > > I copied the title-case from the package preceding it. WDYT about > > "@code{nyan-mode} is", which would have been my goto before reading > > that other description? > > I like Foo mode because all modes are spelled out like this (or > sometimes simply Foo) in the Emacs manual, as God intended. > > As you pointed out, many packages just ignore this anyway. So, I'm > fine either way. Pushed it the way God intended. With "Nyan mode" and mplayer hardcoded. Cheers
Am Freitag, dem 11.02.2022 um 21:22 +0100 schrieb Liliana Marie
Prikler:
> Pushed it the way God intended.
Marking it done the way debbugs intends me to...
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 92c247ca38..f4101e88f0 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5592,6 +5592,30 @@ (define-public emacs-mode-line-idle configuration.") (license license:gpl3+)))) +(define-public emacs-nyan-mode + (package + (name "emacs-nyan-mode") + (version "1.1.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://stable.melpa.org/packages/nyan-mode-" + version + ".tar")) + (sha256 + (base32 "1hd3g1lnwsg7z3g9qvshlmlirgzyja4hjxxgdfpkaakafm87n58c")))) + (build-system emacs-build-system) + (arguments (list #:include #~(cons* "img/" "mus/" %default-include))) + (home-page "https://github.com/TeMPOraL/nyan-mode/") + (synopsis "Nyan Cat as position indicator") + (description + "Nyan Mode is an analog indicator of your position in the buffer. The cat +should go from left to right in your mode-line, as you move your point from 0% +to 100%. You can click on the rainbow or the empty space to scroll backwards +and forwards and also animate it.") + (license license:gpl3+))) + (define-public emacs-smart-mode-line (package (name "emacs-smart-mode-line")