GNU bug report logs - #53673
[PATCH] Add package: emacs-beacon-1.3.4

Previous Next

Package: guix-patches;

Reported by: Pierre-Henry Fröhring <contact <at> phfrohring.com>

Date: Mon, 31 Jan 2022 22:53: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 53673 in the body.
You can then email your comments to 53673 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#53673; Package guix-patches. (Mon, 31 Jan 2022 22:53:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre-Henry Fröhring <contact <at> phfrohring.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 31 Jan 2022 22:53:01 GMT) Full text and rfc822 format available.

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

From: Pierre-Henry Fröhring <contact <at> phfrohring.com>
To: guix-patches <at> gnu.org
Cc: Pierre-Henry Fröhring <contact <at> phfrohring.com>
Subject: [PATCH] Add package: emacs-beacon-1.3.4
Date: Mon, 31 Jan 2022 23:50:41 +0100
---
 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8ce245c54a..ca35cb24b7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30032,3 +30032,24 @@ (define-public emacs-fennel-mode
      "Fennel mode provides font-lock, indentation, navigation, and REPL for
  Fennel code within Emacs.")
     (license license:gpl3+)))
+
+(define-public emacs-beacon-1.3.4
+  (package
+    (name "emacs-beacon")
+    (version "1.3.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/Malabarba/"
+                                  (second (string-split name #\-))
+                                  "/archive/refs/tags/" version ".tar.gz"))
+              (sha256
+               (base32
+                "0pvai7hk80an1q7lgjmlbzsdv2rwmhwsv0p0w7w52b7aqg59yd93"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/Malabarba/beacon")
+    (synopsis "A light that follows your cursor around so you don't lose it!")
+    (description
+     "This is a global minor-mode. Turn it on everywhere with: (beacon-mode 1).
+Whenever the window scrolls a light will shine on top of your cursor so you know where it is.
+That’s it.")
+    (license license:gpl3+)))
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#53673; Package guix-patches. (Sun, 06 Feb 2022 20:41:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Pierre-Henry Fröhring <contact <at> phfrohring.com>
Cc: 53673 <at> debbugs.gnu.org
Subject: Re: [bug#53673] [PATCH] Add package: emacs-beacon-1.3.4
Date: Sun, 06 Feb 2022 21:39:51 +0100
Hello,

Pierre-Henry Fröhring <contact <at> phfrohring.com> writes:

> ---
> +(define-public emacs-beacon-1.3.4

Thank you. Some comments follow.

First, the variable should not include the version string. So, you
should write:

  (define-public emacs-beacon

Then, you need to provide a proper commit message. Such messages are
somewhat standardized in Guix. Here, this could be:

    gnu: Add emacs-beacon.

    * gnu/packages/emacs-xyz.scm (emacs-beacon): New variable.

> +  (package
> +    (name "emacs-beacon")
> +    (version "1.3.4")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "https://github.com/Malabarba/"
> +                                  (second (string-split name #\-))
> +                                  "/archive/refs/tags/" version ".tar.gz"))

This URL is not stable. Use git-fetch method, with version string as the tag.

> +    (synopsis "A light that follows your cursor around so you don't lose it!")

A synopsis may not start with an article. I suggest to use "guix lint"
on your package definition. I suggest:

  Emacs minor mode creating a light that follows your cursor around

> +    (description
> +     "This is a global minor-mode. Turn it on everywhere with: (beacon-mode 1).
> +Whenever the window scrolls a light will shine on top of your cursor so you know where it is.
> +That’s it.")

The part about "(beacon-mode 1)" belongs to the manual, not the
description. The last sentence can be dropped, too. Also, sentences
should be separated with two spaces in descriptions. I suggest:

Beacon is an Emacs minor-mode.  Whenever the ... where it is.


Could you send an updated patch?

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#53673; Package guix-patches. (Sun, 06 Feb 2022 22:27:01 GMT) Full text and rfc822 format available.

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

From: Pierre-Henry Fröhring <contact <at> phfrohring.com>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 53673 <at> debbugs.gnu.org
Subject: Re: [bug#53673] [PATCH] Add package: emacs-beacon-1.3.4
Date: Sun, 06 Feb 2022 23:26:45 +0100
Thank you for the reply, here is the updated patch.

On Sun, 2022-02-06 at 21:39 +0100, Nicolas Goaziou wrote:
> updated patch?






Information forwarded to guix-patches <at> gnu.org:
bug#53673; Package guix-patches. (Sun, 06 Feb 2022 22:28:02 GMT) Full text and rfc822 format available.

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

From: Pierre-Henry Fröhring <contact <at> phfrohring.com>
To: 53673 <at> debbugs.gnu.org
Cc: Pierre-Henry Fröhring <contact <at> phfrohring.com>
Subject: [PATCH] gnu: Add emacs-beacon.
Date: Sun,  6 Feb 2022 23:25:48 +0100
* gnu/packages/emacs-xyz.scm (emacs-beacon): New variable.
---
 gnu/packages/emacs-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8ce245c54a..d717118e65 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30032,3 +30032,22 @@ (define-public emacs-fennel-mode
      "Fennel mode provides font-lock, indentation, navigation, and REPL for
  Fennel code within Emacs.")
     (license license:gpl3+)))
+
+(define-public emacs-beacon
+  (package
+    (name "emacs-beacon")
+    (version "1.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://elpa.gnu.org/packages/beacon-"
+                           version ".el"))
+       (sha256
+        (base32 "10r4fpf8pcf1qn5ncpm5g7skzba749mrc1ggykq92jlha3q98s02"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/Malabarba/beacon")
+    (synopsis "Emacs minor mode creating a light that follows your cursor around")
+    (description
+     "Beacon is an Emacs minor-mode.  Whenever the window scrolls a light will
+shine on top of your cursor so you know where it is.")
+    (license license:gpl3+)))
-- 
2.34.0





Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sun, 06 Feb 2022 22:53:02 GMT) Full text and rfc822 format available.

Notification sent to Pierre-Henry Fröhring <contact <at> phfrohring.com>:
bug acknowledged by developer. (Sun, 06 Feb 2022 22:53:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Pierre-Henry Fröhring <contact <at> phfrohring.com>
Cc: 53673-done <at> debbugs.gnu.org
Subject: Re: [bug#53673] [PATCH] gnu: Add emacs-beacon.
Date: Sun, 06 Feb 2022 23:52:00 +0100
Hello,

Pierre-Henry Fröhring <contact <at> phfrohring.com> writes:

> +  (package
> +    (name "emacs-beacon")
> +    (version "1.3.3")

I re-instated version "1.3.4".

> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://elpa.gnu.org/packages/beacon-"
> +                           version ".el"))

I moved origin to GitHub repository instead.

> +       (sha256
> +        (base32 "10r4fpf8pcf1qn5ncpm5g7skzba749mrc1ggykq92jlha3q98s02"))))
> +    (build-system emacs-build-system)
> +    (home-page "https://github.com/Malabarba/beacon")
> +    (synopsis "Emacs minor mode creating a light that follows your cursor around")
> +    (description
> +     "Beacon is an Emacs minor-mode.  Whenever the window scrolls a light will
> +shine on top of your cursor so you know where it is.")
> +    (license license:gpl3+)))

I moved the package definition out of the end of the module and applied
your patch. Thank you.

Regards,
-- 
Nicolas Goaziou




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

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

Previous Next


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