Subject: bug#53472: closed (Re: [bug#53472] [PATCH] gnu: Add emacs-nim-mode)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 25 Sep 2022 21:04:02 +0000

Your bug report

#53472: [PATCH] gnu: Add emacs-nim-mode

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
53472: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=53472
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#53472] [PATCH] gnu: Add emacs-nim-mode
From: Björn Höfling <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked], [email-masked], Nicolas Goaziou <[email-masked]>
Date: Sun, 25 Sep 2022 23:03:41 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

On Mon, 07 Mar 2022 21:51:23 +0100
Ludovic Courtès <[email-masked]> wrote:

> Hi unmatched-parenthesis,
> 
> I know it’s been a while already, but did you have a chance to look
> into making the changes Nicolas suggested?
> 
>   https://issues.guix.gnu.org/53472

Closing, because this patchset has unresolved issues, and original
reporter has no longer interest in it, as stated here:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54310#11

Björn

Subject: [PATCH] gnu: Add emacs-nim-mode
From: "(unmatched-parenthesis" <[email-masked]>
To: [email-masked]
Cc: "\(unmatched-parenthesis" <[email-masked]>
Date: Sun, 23 Jan 2022 13:38:37 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs-xyz.scm(emacs-nim-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8edbfc5a3d..d2508748a9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -107,6 +107,7 @@
 ;;; Copyright © 2021 Brian Kubisiak <[email-masked]>
 ;;; Copyright © 2021, 2022 Taiju HIGASHI <[email-masked]>
 ;;; Copyright © 2022 Brandon Lucas <[email-masked]>
+;;; Copyright © 2022 (unmatched parenthesis <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -29837,3 +29838,31 @@ (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-nim-mode
+  ;; The last tag was 0.4.1 in 2017. There have been many more commits since then.
+  (let ((commit "744e076f0bea1c5ddc49f92397d9aa98ffa7eff8")
+        (revision "0"))
+    (package
+      (name "emacs-nim-mode")
+      (version (git-version "0.4.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/nim-lang/nim-mode")
+               (commit version)))
+         (sha256
+          (base32 "0dwas3ivhxdyw6njkcadc8c17cirq325cmby04qls8zkmrvlil1w"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/nim-lang/nim-mode")
+      (synopsis "Major mode for editing Nim source code")
+      (description "This package provides major modes for Nim:
+@itemize
+@item Syntax highlighting for Nim code, Nimble configuration files, and nim.cfg
+@item `M-x nim-compile`, which can also be invoked with `C-c C-c` inside a Nim source file
+@item File outline by procedures
+@item Indentation and line breaking (alpha)
+@item Integration with nimsuggest, the Nim linting and completion server (alpha, both nimsuggest-mode and nimsuggest itself are currently VERY unstable and may make emacs much less responsive)
+@end itemize")
+      (license license:gpl3+))))
-- 
2.34.0