Subject: bug#50471: closed (Re: [bug#50471] [PATCH] gnu: Add emacs-caml.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 13 Sep 2021 20:27:02 +0000

Your bug report

#50471: [PATCH] gnu: Add emacs-caml.

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].

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

Subject: Re: [bug#50471] [PATCH] gnu: Add emacs-caml.
From: Nicolas Goaziou <[email-masked]>
To: Xinglu Chen <[email-masked]>
Cc: [email-masked]
Date: Mon, 13 Sep 2021 22:26:18 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Xinglu Chen <[email-masked]> writes:

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

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-caml.
From: Xinglu Chen <[email-masked]>
To: [email-masked]
Date: Wed, 08 Sep 2021 13:27:58 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 88040ded11..955b07e5a7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2773,6 +2773,34 @@ the ability to jump forward and backward to the next bookmark.")
 Emacs buffer.")
     (license license:gpl3+)))
 
+(define-public emacs-caml
+  (package
+    (name "emacs-caml")
+    (version "4.9")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://elpa.nongnu.org/nongnu/caml-"
+                            version ".tar"))
+        (sha256
+          (base32
+            "00ldvz6r10vwwmk6f3az534p0340ywn7knsg2bmvbvh3q51vyl9i"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/ocaml/caml-mode")
+    (synopsis "Caml mode for GNU Emacs")
+    (description
+      "This package provides a major mode for editing OCaml code in Emacs.
+Some of its major features include:
+
+@itemize
+@item syntax highlighting (font lock);
+@item automatic indentation;
+@item querying the type of expressions (using compiler generated annot files);
+@item running an OCaml REPL within Emacs;
+@item scanning of declarations and placing them in a menu.
+@end itemize")
+    (license license:gpl2+)))
+
 (define-public emacs-caps-lock
   (package
     (name "emacs-caps-lock")

base-commit: 5c5e9d4e50af20042947b6b55e462a25b9d8cfc7
-- 
2.33.0