unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#48797] [PATCH] gnu: Add emacs-vscode-dark-plus.
@ 2021-06-02 19:00 Adam Kandur via Guix-patches via
  2021-06-02 19:43 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Kandur via Guix-patches via @ 2021-06-02 19:00 UTC (permalink / raw)
  To: 48797

From f0a27beb7dff2e0911e085ab950a757b84b3afde Mon Sep 17 00:00:00 2001
From: Adam Kandur <rndd@tuta.io>
Date: Wed, 2 Jun 2021 21:50:36 +0300
Subject: [PATCH] gnu: Add emacs-vscode-dark-plus.

* gnu/packages/emacs-xyz.scm (emacs-vscode-dark-plus): New variable.
---
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 a1083f9..5a38935 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -425,6 +425,27 @@ repositories through the
server}.  The main advantage compared to @code{vc-hg} is speed.")
     (license license:gpl3+)))

+(define-public emacs-vscode-dark-plus
+  (package
+    (name "emacs-vscode-dark-plus")
+    (version "v2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ianyepan/vscode-dark-plus-emacs-theme")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1vcaqvhdgr91pr7kqskbscs8awm8jp6dkh79h6w36i9ipmc4l4hl"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/ianyepan/vscode-dark-plus-emacs-theme")
+    (synopsis "A port of the default VS Code Dark+ theme")
+    (description
+     "An accurate port of the default Visual Studio Code Dark+ theme for Emacs.  This theme aims to be as
+identical as possible to the default Dark+ color scheme used by Visual Studio Code.")
+    (license license:gpl3)))
+
(define-public emacs-hyperbole
   (package
     (name "emacs-hyperbole")
--
2.31.1






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

* [bug#48797] [PATCH] gnu: Add emacs-vscode-dark-plus.
  2021-06-02 19:00 [bug#48797] [PATCH] gnu: Add emacs-vscode-dark-plus Adam Kandur via Guix-patches via
@ 2021-06-02 19:43 ` Nicolas Goaziou
  2021-06-02 23:28   ` Adam Kandur via Guix-patches via
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2021-06-02 19:43 UTC (permalink / raw)
  To: 48797; +Cc: rndd

Hello,

Adam Kandur via Guix-patches via <guix-patches@gnu.org> writes:

> Subject: [PATCH] gnu: Add emacs-vscode-dark-plus.

Thank you. Some comments follow.
> +    (version "v2.0.0")

The version should be "2.0.0".

The "v" prefix should be appendend ...

> +       (uri (git-reference
> +             (url "https://github.com/ianyepan/vscode-dark-plus-emacs-theme")
> +             (commit version)))

... here with (string-append "v" version)

> +    (synopsis "A port of the default VS Code Dark+ theme")

The synopsis cannot start with the article "A". You may want to run guix
lint to catch this. I suggest the following:

    Emacs port of the default VS Code Dark+ theme

> +    (description
> +     "An accurate port of the default Visual Studio Code Dark+ theme for Emacs.  This theme aims to be as
> +identical as possible to the default Dark+ color scheme used by Visual Studio Code.")

The description cannot start with the article "An" either. See above.
Besides, the two sentences have the same meaning. I suggest to drop the
first one.

> +    (license license:gpl3)))

The license is actually gpl3+ if you look at the header of
"vscode-dark-plus-theme.el".

Also, there seems to be an issue with white spaces.

Could you send an updated patch?

Regards,
-- 
Nicolas Goaziou




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

* [bug#48797] [PATCH] gnu: Add emacs-vscode-dark-plus.
  2021-06-02 19:43 ` Nicolas Goaziou
@ 2021-06-02 23:28   ` Adam Kandur via Guix-patches via
  2021-06-05 13:49     ` bug#48797: " Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Kandur via Guix-patches via @ 2021-06-02 23:28 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 48797

From aea8e982b74608cd55c21ebd6d4cd01a23b50102 Mon Sep 17 00:00:00 2001
From: Adam Kandur <rndd@tuta.io>
Date: Thu, 3 Jun 2021 02:24:44 +0300
Subject: [PATCH] gnu: Add emacs-vscode-dark-plus.

* gnu/packages/emacs-xyz.scm (emacs-vscode-dark-plus): New variable.
---
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 81aec30..e03e962 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -425,6 +425,27 @@ repositories through the
server}.  The main advantage compared to @code{vc-hg} is speed.")
     (license license:gpl3+)))

+(define-public emacs-vscode-dark-plus
+  (package
+    (name "emacs-vscode-dark-plus")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ianyepan/vscode-dark-plus-emacs-theme")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1vcaqvhdgr91pr7kqskbscs8awm8jp6dkh79h6w36i9ipmc4l4hl"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/ianyepan/vscode-dark-plus-emacs-theme")
+    (synopsis "Emacs port of the default VS Code Dark+ theme")
+    (description
+     "This theme aims to be as identical as possible to the default Dark+
+color scheme used by Visual Studio Code.")
+    (license license:gpl3+)))
+
(define-public emacs-hyperbole
   (package
     (name "emacs-hyperbole")
-- 
2.31.1





Jun 2, 2021, 19:43 by mail@nicolasgoaziou.fr:

> Hello,
>
> Adam Kandur via Guix-patches via <guix-patches@gnu.org> writes:
>
>> Subject: [PATCH] gnu: Add emacs-vscode-dark-plus.
>>
>
> Thank you. Some comments follow.
>
>> +    (version "v2.0.0")
>>
>
> The version should be "2.0.0".
>
> The "v" prefix should be appendend ...
>
>> +       (uri (git-reference
>> +             (url "https://github.com/ianyepan/vscode-dark-plus-emacs-theme")
>> +             (commit version)))
>>
>
> ... here with (string-append "v" version)
>
>> +    (synopsis "A port of the default VS Code Dark+ theme")
>>
>
> The synopsis cannot start with the article "A". You may want to run guix
> lint to catch this. I suggest the following:
>
>  Emacs port of the default VS Code Dark+ theme
>
>> +    (description
>> +     "An accurate port of the default Visual Studio Code Dark+ theme for Emacs.  This theme aims to be as
>> +identical as possible to the default Dark+ color scheme used by Visual Studio Code.")
>>
>
> The description cannot start with the article "An" either. See above.
> Besides, the two sentences have the same meaning. I suggest to drop the
> first one.
>
>> +    (license license:gpl3)))
>>
>
> The license is actually gpl3+ if you look at the header of
> "vscode-dark-plus-theme.el".
>
> Also, there seems to be an issue with white spaces.
>
> Could you send an updated patch?
>
> Regards,
> -- 
> Nicolas Goaziou
>





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

* bug#48797: [PATCH] gnu: Add emacs-vscode-dark-plus.
  2021-06-02 23:28   ` Adam Kandur via Guix-patches via
@ 2021-06-05 13:49     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2021-06-05 13:49 UTC (permalink / raw)
  To: Adam Kandur; +Cc: 48797-done

Hello,

Adam Kandur <rndd@tuta.io> writes:

> Subject: [PATCH] gnu: Add emacs-vscode-dark-plus.

Applied. Thank you.

> * gnu/packages/emacs-xyz.scm (emacs-vscode-dark-plus): New variable.
> ---
> 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 81aec30..e03e962 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -425,6 +425,27 @@ repositories through the
> server}.  The main advantage compared to @code{vc-hg} is speed.")
>      (license license:gpl3+)))
>
> +(define-public emacs-vscode-dark-plus
> +  (package

Please note there are still issues with your indentation…

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2021-06-05 13:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-02 19:00 [bug#48797] [PATCH] gnu: Add emacs-vscode-dark-plus Adam Kandur via Guix-patches via
2021-06-02 19:43 ` Nicolas Goaziou
2021-06-02 23:28   ` Adam Kandur via Guix-patches via
2021-06-05 13:49     ` bug#48797: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).