all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69896] [PATCH] gnu: Add emacs-noman.
@ 2024-03-19 12:23 Suhail Singh
  2024-04-08 15:36 ` [bug#69896] Difficult to use this package Dale Mellor
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Suhail Singh @ 2024-03-19 12:23 UTC (permalink / raw)
  To: 69896; +Cc: Andrew Tropin, Katherine Cox-Buday, Liliana Marie Prikler


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

Change-Id: I4ef3de3723025832c6b6eae47de67c3377366602
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 83e79544ee..a5b9973f0a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5434,6 +5434,30 @@ (define-public emacs-mmt
 Lisp developers who want to write macros with convenience.")
     (license license:gpl3+)))
 
+(define-public emacs-noman
+  (let ((commit "d49ab414c1c6d08a8a9552db27adac0648b282f7")
+        (revision "0"))
+    (package
+      (name "emacs-noman")
+      (home-page "https://github.com/andykuszyk/noman.el")
+      (version (git-version "0.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url home-page)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0kcjma1snma17dj32smg75wikwhagn0g14jghhkr8xij429ddsn8"))))
+      (build-system emacs-build-system)
+      (synopsis "Emacs package for browsing CLI command docs without man pages")
+      (description
+       "@code{noman} is an Emacs package that parses command line help from
+flags like @code{--help}, and presents it in an easy-to-navigate Emacs
+buffer.")
+      (license license:gpl3+))))
+
 (define-public emacs-tablist
   (package
     (name "emacs-tablist")

base-commit: c8556379c3f2d3d095a178858915720f2eebc012
-- 
2.44.0





^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#69896] Difficult to use this package.
  2024-03-19 12:23 [bug#69896] [PATCH] gnu: Add emacs-noman Suhail Singh
@ 2024-04-08 15:36 ` Dale Mellor
  2024-04-09  6:11   ` Suhail Singh
  2024-04-11  1:43 ` [bug#69896] [PATCH v2] gnu: Add emacs-noman Suhail Singh
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Dale Mellor @ 2024-04-08 15:36 UTC (permalink / raw)
  To: 69896

I have sent an issue upstream at Github
(https://github.com/andykuszyk/noman.el/issues/5): this package does not seem to
work very well with the GIT command.

I see you are a contributor to the package; if you can I would suggest that when
you bump the version in the code, that you also tag it in the GIT repository,
use that tag in the Guix package definition, and keep the Guix version string
simple (there should be no need to include the GIT fingerprint in the version
number).





^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#69896] Difficult to use this package.
  2024-04-08 15:36 ` [bug#69896] Difficult to use this package Dale Mellor
@ 2024-04-09  6:11   ` Suhail Singh
  0 siblings, 0 replies; 8+ messages in thread
From: Suhail Singh @ 2024-04-09  6:11 UTC (permalink / raw)
  To: Dale Mellor; +Cc: 69896

Dale Mellor <guix-devel-0brg6a@rdmp.org> writes:

> I see you are a contributor to the package; if you can I would suggest
> that when you bump the version in the code, that you also tag it in
> the GIT repository

While I have contributed patches, I do not have permission to create
tags upstream.

> use that tag in the Guix package definition

If/when upstream creates tags, I can update the patch to use those
instead.  Till that happens, are there any other changes that would
improve the current patch submission?

-- 
Suhail




^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#69896] [PATCH v2] gnu: Add emacs-noman.
  2024-03-19 12:23 [bug#69896] [PATCH] gnu: Add emacs-noman Suhail Singh
  2024-04-08 15:36 ` [bug#69896] Difficult to use this package Dale Mellor
@ 2024-04-11  1:43 ` Suhail Singh
  2024-04-11 19:16 ` [bug#69896] [PATCH v3] " Dale Mellor
  2024-04-11 23:49 ` [bug#69896] [PATCH v4] " Suhail Singh
  3 siblings, 0 replies; 8+ messages in thread
From: Suhail Singh @ 2024-04-11  1:43 UTC (permalink / raw)
  To: 69896; +Cc: Andrew Tropin, Katherine Cox-Buday, Liliana Marie Prikler


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

Change-Id: I4ef3de3723025832c6b6eae47de67c3377366602
---
 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 f35aa3e514..7b362686fe 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5445,6 +5445,28 @@ (define-public emacs-mmt
 Lisp developers who want to write macros with convenience.")
     (license license:gpl3+)))
 
+(define-public emacs-noman
+  (package
+    (name "emacs-noman")
+    (home-page "https://github.com/andykuszyk/noman.el")
+    (version "0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "04hvh816a0dvakgn22lxzw8qjmvc8grb5nhg1b5w99j5606ljqcl"))))
+    (build-system emacs-build-system)
+    (synopsis "Emacs package for browsing CLI command docs without man pages")
+    (description
+     "@code{noman} is an Emacs package that parses command line help from
+flags like @code{--help}, and presents it in an easy-to-navigate Emacs
+buffer.")
+    (license license:gpl3+)))
+
 (define-public emacs-tablist
   (package
     (name "emacs-tablist")

base-commit: c1c9d6b3cdf5955f1bf5fded2a0c496ce2e631f1
-- 
2.44.0





^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#69896] [PATCH v3] gnu: Add emacs-noman.
  2024-03-19 12:23 [bug#69896] [PATCH] gnu: Add emacs-noman Suhail Singh
  2024-04-08 15:36 ` [bug#69896] Difficult to use this package Dale Mellor
  2024-04-11  1:43 ` [bug#69896] [PATCH v2] gnu: Add emacs-noman Suhail Singh
@ 2024-04-11 19:16 ` Dale Mellor
  2024-04-11 23:56   ` Suhail Singh
  2024-04-11 23:49 ` [bug#69896] [PATCH v4] " Suhail Singh
  3 siblings, 1 reply; 8+ messages in thread
From: Dale Mellor @ 2024-04-11 19:16 UTC (permalink / raw)
  To: 69896; +Cc: guix-devel-0brg6a, suhailsingh247

From: Suhail Singh <suhailsingh247@gmail.com>

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

Review:
  * Synopsis and description are brief but fine
  * License is correct
  * Patch applies clean, guix lint and guix build --check report no problems
    are introduced
  * Tested by installing, adding '(require 'noman)' to emacs.el, running emacs
    and issuing 'M-x noman<ret>git<ret>' and then navigating the help pages
    (this is actually pretty cool!)
  * *Very* cursory look over the upstream source code shows nothing malicious

Reviewed-by: Dale Mellor <guix-devel-0brg6a@rdmp.org>
Change-Id: I4ef3de3723025832c6b6eae47de67c3377366602
---
 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 f35aa3e514..49e385f466 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5445,6 +5445,28 @@ (define-public emacs-mmt
 Lisp developers who want to write macros with convenience.")
     (license license:gpl3+)))
 
+(define-public emacs-noman
+  (package
+    (name "emacs-noman")
+    (home-page "https://github.com/andykuszyk/noman.el")
+    (version "0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit "v0.3")))
+       (file-name "emacs-noman-0.3")
+       (sha256
+        (base32 "04hvh816a0dvakgn22lxzw8qjmvc8grb5nhg1b5w99j5606ljqcl"))))
+    (build-system emacs-build-system)
+    (synopsis "Emacs package for browsing CLI command docs without man pages")
+    (description
+     "@code{noman} is an Emacs package that parses command line help from
+flags like @code{--help}, and presents it in an easy-to-navigate Emacs
+buffer.")
+    (license license:gpl3+)))
+
 (define-public emacs-tablist
   (package
     (name "emacs-tablist")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#69896] [PATCH v4] gnu: Add emacs-noman.
  2024-03-19 12:23 [bug#69896] [PATCH] gnu: Add emacs-noman Suhail Singh
                   ` (2 preceding siblings ...)
  2024-04-11 19:16 ` [bug#69896] [PATCH v3] " Dale Mellor
@ 2024-04-11 23:49 ` Suhail Singh
  2024-04-15 10:15   ` bug#69896: " Nicolas Goaziou via Guix-patches via
  3 siblings, 1 reply; 8+ messages in thread
From: Suhail Singh @ 2024-04-11 23:49 UTC (permalink / raw)
  To: 69896
  Cc: Dale Mellor, Andrew Tropin, Katherine Cox-Buday,
	Liliana Marie Prikler


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

Change-Id: I4ef3de3723025832c6b6eae47de67c3377366602
---
 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 f35aa3e514..7b362686fe 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5445,6 +5445,28 @@ (define-public emacs-mmt
 Lisp developers who want to write macros with convenience.")
     (license license:gpl3+)))
 
+(define-public emacs-noman
+  (package
+    (name "emacs-noman")
+    (home-page "https://github.com/andykuszyk/noman.el")
+    (version "0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "04hvh816a0dvakgn22lxzw8qjmvc8grb5nhg1b5w99j5606ljqcl"))))
+    (build-system emacs-build-system)
+    (synopsis "Emacs package for browsing CLI command docs without man pages")
+    (description
+     "@code{noman} is an Emacs package that parses command line help from
+flags like @code{--help}, and presents it in an easy-to-navigate Emacs
+buffer.")
+    (license license:gpl3+)))
+
 (define-public emacs-tablist
   (package
     (name "emacs-tablist")

base-commit: c1c9d6b3cdf5955f1bf5fded2a0c496ce2e631f1
-- 
2.44.0





^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#69896] [PATCH v3] gnu: Add emacs-noman.
  2024-04-11 19:16 ` [bug#69896] [PATCH v3] " Dale Mellor
@ 2024-04-11 23:56   ` Suhail Singh
  0 siblings, 0 replies; 8+ messages in thread
From: Suhail Singh @ 2024-04-11 23:56 UTC (permalink / raw)
  To: Dale Mellor; +Cc: 69896

Dale Mellor <guix-devel-0brg6a@rdmp.org> writes:

> Review:
>   * Synopsis and description are brief but fine
>   * License is correct
>   * Patch applies clean, guix lint and guix build --check report no problems
>     are introduced
>   * Tested by installing, adding '(require 'noman)' to emacs.el, running emacs
>     and issuing 'M-x noman<ret>git<ret>' and then navigating the help pages
>     (this is actually pretty cool!)
>   * *Very* cursory look over the upstream source code shows nothing malicious

Thank you for the review!

I noticed that the v3 patch you sent introduced some changes to v2.
Specifically, the commit and file-name fields were being hard-coded
instead of referencing the version and name.  I'm assuming this change
was unintentional and I've reverted it in v4 of the patch.

If, however, the change was intentional, could you please elaborate on
the reasons?

Regards,
-- 
Suhail




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#69896: [PATCH v4] gnu: Add emacs-noman.
  2024-04-11 23:49 ` [bug#69896] [PATCH v4] " Suhail Singh
@ 2024-04-15 10:15   ` Nicolas Goaziou via Guix-patches via
  0 siblings, 0 replies; 8+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-04-15 10:15 UTC (permalink / raw)
  To: Suhail Singh
  Cc: 69896-done, Dale Mellor, Katherine Cox-Buday,
	Liliana Marie Prikler, Andrew Tropin

Hello,

"Suhail Singh" <suhailsingh247@gmail.com> writes:

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

Applied, thank you.

> +(define-public emacs-noman
> +  (package
> +    (name "emacs-noman")
> +    (home-page "https://github.com/andykuszyk/noman.el")
> +    (version "0.3")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url home-page)

Nitpick: I admit I am not a huge fan of the "home-page hack", because it
introduces a non-obvious relationship between source and home-page. So
I took the liberty of following standard practices here.

Regards,
-- 
Nicolas Goaziou






^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-04-15 10:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-19 12:23 [bug#69896] [PATCH] gnu: Add emacs-noman Suhail Singh
2024-04-08 15:36 ` [bug#69896] Difficult to use this package Dale Mellor
2024-04-09  6:11   ` Suhail Singh
2024-04-11  1:43 ` [bug#69896] [PATCH v2] gnu: Add emacs-noman Suhail Singh
2024-04-11 19:16 ` [bug#69896] [PATCH v3] " Dale Mellor
2024-04-11 23:56   ` Suhail Singh
2024-04-11 23:49 ` [bug#69896] [PATCH v4] " Suhail Singh
2024-04-15 10:15   ` bug#69896: " Nicolas Goaziou via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.