GNU bug report logs - #51159
[PATCH] gnu: Add vim-nerdcommenter

Previous Next

Package: guix-patches;

Reported by: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>

Date: Tue, 12 Oct 2021 14:14:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

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 51159 in the body.
You can then email your comments to 51159 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#51159; Package guix-patches. (Tue, 12 Oct 2021 14:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Foo Chuan Wei <chuanwei.foo <at> hotmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 12 Oct 2021 14:14:02 GMT) Full text and rfc822 format available.

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

From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add vim-nerdcommenter
Date: Tue, 12 Oct 2021 14:13:20 +0000
* gnu/packages/vim.scm (vim-nerdcommenter): New variable.
---
 gnu/packages/vim.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 92189b7094..f668aa0867 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1069,3 +1069,29 @@ your code every time you make a change.  @code{Vim-slime} is an attempt at
 getting some of these features into Vim.  It works with any REPL and isn't tied
 to Lisp.")
       (license license:expat))))
+
+(define-public vim-nerdcommenter
+  (package
+    (name "vim-nerdcommenter")
+    (version "2.5.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/preservim/nerdcommenter")
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+         (base32 "0s862kzhvv9qpr7gxd3h52hczjvm55zyff5qn0z5095072pr3wjx"))))
+    (build-system copy-build-system)
+    (arguments
+      '(#:install-plan
+        '(("doc" "share/vim/vimfiles/")
+          ("plugin" "share/vim/vimfiles/"))))
+    (home-page "https://github.com/preservim/nerdcommenter")
+    (synopsis "Vim plugin for easy commenting of code")
+    (description
+      "NERD commenter is a Vim plugin that provides many different commenting
+operations and styles which are invoked via key mappings and a menu. These
+operations are available for most filetypes.")
+    (license license:cc0)))

base-commit: 35aaf1fe10488ae9ed732fb2c383d09a70c109c0
-- 
2.25.1





Information forwarded to guix-patches <at> gnu.org:
bug#51159; Package guix-patches. (Mon, 25 Oct 2021 07:05:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: 51159 <at> debbugs.gnu.org
Subject: Re: [bug#51159] [PATCH] gnu: Add vim-nerdcommenter
Date: Mon, 25 Oct 2021 10:03:20 +0300
[Message part 1 (text/plain, inline)]
I see that the latest tag is several years old and there has been
continued development since then. Does it make sense to package a newer
commit?

Also, if you add all the patches to the bottom of the file then they all
conflict with each other and it makes it harder to apply them.

On Tue, Oct 12, 2021 at 02:13:20PM +0000, Foo Chuan Wei wrote:
> * gnu/packages/vim.scm (vim-nerdcommenter): New variable.
> ---
>  gnu/packages/vim.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
> 
> diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
> index 92189b7094..f668aa0867 100644
> --- a/gnu/packages/vim.scm
> +++ b/gnu/packages/vim.scm
> @@ -1069,3 +1069,29 @@ your code every time you make a change.  @code{Vim-slime} is an attempt at
>  getting some of these features into Vim.  It works with any REPL and isn't tied
>  to Lisp.")
>        (license license:expat))))
> +
> +(define-public vim-nerdcommenter
> +  (package
> +    (name "vim-nerdcommenter")
> +    (version "2.5.2")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +              (url "https://github.com/preservim/nerdcommenter")
> +              (commit version)))
> +       (file-name (git-file-name name version))
> +       (sha256
> +         (base32 "0s862kzhvv9qpr7gxd3h52hczjvm55zyff5qn0z5095072pr3wjx"))))
> +    (build-system copy-build-system)
> +    (arguments
> +      '(#:install-plan
> +        '(("doc" "share/vim/vimfiles/")
> +          ("plugin" "share/vim/vimfiles/"))))
> +    (home-page "https://github.com/preservim/nerdcommenter")
> +    (synopsis "Vim plugin for easy commenting of code")
> +    (description
> +      "NERD commenter is a Vim plugin that provides many different commenting
> +operations and styles which are invoked via key mappings and a menu. These
> +operations are available for most filetypes.")
> +    (license license:cc0)))
> 
> base-commit: 35aaf1fe10488ae9ed732fb2c383d09a70c109c0
> -- 
> 2.25.1
> 
> 
> 
> 

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#51159; Package guix-patches. (Mon, 01 Nov 2021 04:54:02 GMT) Full text and rfc822 format available.

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

From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: 51159 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add vim-nerdcommenter.
Date: Mon, 1 Nov 2021 04:53:38 +0000
* gnu/packages/vim.scm (vim-nerdcommenter): New variable.
---
 gnu/packages/vim.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 8792e178ab..2ff043cd9c 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1295,3 +1295,32 @@ a sidebar that displays the ctags-generated tags of the current file, ordered
 by their scope.  This means that for example methods in C++ are displayed under
 the class they are defined in.")
     (license license:vim)))
+
+(define-public vim-nerdcommenter
+  (let ((commit "a65465d321f2f8a74b2ffa540b9b87563f7e12e8")
+        (revision "1"))
+  (package
+    (name "vim-nerdcommenter")
+    (version (git-version "2.5.2" revision commit))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/preservim/nerdcommenter")
+              (commit commit)))
+       (file-name (git-file-name name version))
+       (sha256
+         (base32 "00ir65iv8jfbgzjmj7332fmydh0qhabbhx8zbvd3j6pgfxqpaafw"))))
+    (build-system copy-build-system)
+    (arguments
+      '(#:install-plan
+        '(("autoload" "share/vim/vimfiles/")
+          ("doc" "share/vim/vimfiles/")
+          ("plugin" "share/vim/vimfiles/"))))
+    (home-page "https://github.com/preservim/nerdcommenter")
+    (synopsis "Vim plugin for easy commenting of code")
+    (description
+      "NERD commenter is a Vim plugin that provides many different commenting
+operations and styles which are invoked via key mappings and a menu. These
+operations are available for most filetypes.")
+    (license license:cc0))))

base-commit: f3d5d572debe59839afe29683965c6df39cb782c
-- 
2.25.1





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Thu, 04 Nov 2021 13:34:02 GMT) Full text and rfc822 format available.

Notification sent to Foo Chuan Wei <chuanwei.foo <at> hotmail.com>:
bug acknowledged by developer. (Thu, 04 Nov 2021 13:34:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: 51159-done <at> debbugs.gnu.org
Subject: Re: [bug#51159] [PATCH v2] gnu: Add vim-nerdcommenter.
Date: Thu, 4 Nov 2021 15:33:05 +0200
[Message part 1 (text/plain, inline)]
Patch pushed. Thanks!

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 03 Dec 2021 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 144 days ago.

Previous Next


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