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

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 07 Nov 2020 13:34:02 +0000

Your bug report

#44479: [PATCH] gnu: Add emacs-csharp-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].

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

Subject: Re: [bug#44479] [PATCH] gnu: Add emacs-csharp-mode
From: Nicolas Goaziou <[email-masked]>
To: "marco.au.grassi98--- via Guix-patches" via <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Sat, 07 Nov 2020 14:33:44 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

"marco.au.grassi98--- via Guix-patches" via <[email-masked]>
writes:

> Subject: [PATCH] gnu: Add emacs-csharp-mode.

Applied. Thank you!

Regards,

Subject: [PATCH] gnu: Add emacs-csharp-mode.
From: [email-masked]
To: "[email-masked]" <[email-masked]>
Date: Fri, 06 Nov 2020 12:37:55 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Empty Message

From 8a0cd9c5ccbb70d15ba989c304367772f2662929 Mon Sep 17 00:00:00 2001
From: AuPath <[email-masked]>
Date: Fri, 6 Nov 2020 13:26:55 +0100
Subject: [PATCH] gnu: Add emacs-csharp-mode.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a145f6a378..4706e163e9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11343,6 +11343,47 @@ constructs.")
 configuration of Chinese fonts.")
     (license license:gpl2+)))
 
+(define-public emacs-csharp-mode
+  (package
+    (name "emacs-csharp-mode")
+    (version "0.10.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/josteink/csharp-mode")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0vwkbla2gkfa9dzxfvrvr7hd2z16769iwbycl7k6l701dnwli1fw"))))
+    (build-system emacs-build-system)
+    (home-page
+     "https://github.com/josteink/csharp-mode")
+    (synopsis "C# mode derived mode")
+    (description
+     "A C# editing mode for Emacs.  Based on cc-mode, v5.30.3 and above.
+ Features include:
+@itemize
+@item font-lock and indent of C# syntax including:
+@itemize
+@item all c# keywords and major syntax
+@item attributes that decorate methods, classes, fields, properties
+@item enum types
+@item #if/#endif #region/#endregion
+@item instance initializers
+@item anonymous functions and methods
+@item verbatim literal strings (those that begin with @@)
+@item generics
+@end itemize
+@item automagic code-doc generation when you type three slashes.
+@item intelligent insertion of matched pairs of curly braces.
+@item imenu indexing of C# source, for easy menu-based navigation.
+@item compilation-mode support for msbuild, devenv and xbuild.
+@end itemize\n")
+    (license license:gpl2+)))
+
+
 (define-public emacs-php-mode
   (package
     (name "emacs-php-mode")
-- 
2.29.2