GNU bug report logs - #53473
[PATCH] gnu: Add emacs-fixed-pitch.

Previous Next

Package: guix-patches;

Reported by: Brandon Lucas <br <at> ndon.dk>

Date: Sun, 23 Jan 2022 13:43:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53473 in the body.
You can then email your comments to 53473 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#53473; Package guix-patches. (Sun, 23 Jan 2022 13:43:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brandon Lucas <br <at> ndon.dk>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 23 Jan 2022 13:43:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brandon Lucas <br <at> ndon.dk>
To: guix-patches <at> gnu.org
Cc: Brandon Lucas <br <at> ndon.dk>
Subject: [PATCH] gnu: Add emacs-fixed-pitch.
Date: Sun, 23 Jan 2022 13:42:43 +0000
* gnu/packages/emacs-xyz.scm (emacs-fixed-pitch): New variable.
---
 gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8edbfc5a3d..73277c06de 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -19649,6 +19649,28 @@ (define-public emacs-default-text-scale
 decreasing the default font size in all GUI Emacs frames.")
     (license license:gpl3+)))

+(define-public emacs-fixed-pitch
+  (package
+    (name "emacs-fixed-pitch")
+    (version "0.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/cstby/fixed-pitch-mode")
+             (commit "f26f96ab65c8452553d803fc39509481ac6b7239")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0qlavjvib0r71xdy6y6pan9dhr57lw7jhmqk60mwa8fq6km8kpkj"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/cstby/fixed-pitch-mode")
+    (synopsis "Minor mode for setting a monospaced typeface")
+    (description
+     "Use a minor mode for setting a monospace typeface, so you can set a
+ proportional typeface for UI elements while keeping a monospaced typeface
+ for code.")
+    (license license:gpl3)))
+
 (define-public emacs-mixed-pitch
   (package
     (name "emacs-mixed-pitch")
--
2.34.0






Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sun, 23 Jan 2022 17:03:01 GMT) Full text and rfc822 format available.

Notification sent to Brandon Lucas <br <at> ndon.dk>:
bug acknowledged by developer. (Sun, 23 Jan 2022 17:03:02 GMT) Full text and rfc822 format available.

Message #10 received at 53473-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Brandon Lucas <br <at> ndon.dk>
Cc: 53473-done <at> debbugs.gnu.org
Subject: Re: [bug#53473] [PATCH] gnu: Add emacs-fixed-pitch.
Date: Sun, 23 Jan 2022 18:02:06 +0100
Hello,

Brandon Lucas <br <at> ndon.dk> writes:

> * gnu/packages/emacs-xyz.scm (emacs-fixed-pitch): New variable.

Thank you.

I applied your patch with the changes below.

> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/cstby/fixed-pitch-mode")
> +             (commit "f26f96ab65c8452553d803fc39509481ac6b7239")))

I used a tag, namely "v0.1.0" created with (string-append "v" version),
instead of a raw git commit.

Note that if you need to use such a reference, please let-bind it to
`commit' at the beginning of the package and use (commit commit)
instead.

> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "0qlavjvib0r71xdy6y6pan9dhr57lw7jhmqk60mwa8fq6km8kpkj"))))
> +    (build-system emacs-build-system)
> +    (home-page "https://github.com/cstby/fixed-pitch-mode")
> +    (synopsis "Minor mode for setting a monospaced typeface")
> +    (description
> +     "Use a minor mode for setting a monospace typeface, so you can set a
> + proportional typeface for UI elements while keeping a monospaced typeface
> + for code.")

I reworded synopsis and description.

> +    (license license:gpl3)))

The license is actually gpl3+ as the main file has "either version 3 of
the License, or ;; (at your option) any later version." in its header.

Regards,
-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 21 Feb 2022 12:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 211 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.