From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46515) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHwiu-0008C9-3k for guix-patches@gnu.org; Fri, 27 Mar 2020 17:41:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHwis-0003TN-RQ for guix-patches@gnu.org; Fri, 27 Mar 2020 17:41:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55678) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHwis-0003TF-OE for guix-patches@gnu.org; Fri, 27 Mar 2020 17:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jHwis-0002ev-KW for guix-patches@gnu.org; Fri, 27 Mar 2020 17:41:02 -0400 Subject: [bug#40257] [PATCH] gnu: Add emacs-elm-mode. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:46472) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHwia-0008C1-PI for guix-patches@gnu.org; Fri, 27 Mar 2020 17:40:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHwiY-0003FT-83 for guix-patches@gnu.org; Fri, 27 Mar 2020 17:40:43 -0400 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]:42721) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHwiX-0003CS-RQ for guix-patches@gnu.org; Fri, 27 Mar 2020 17:40:42 -0400 Received: by mail-oi1-x22a.google.com with SMTP id e4so10123667oig.9 for ; Fri, 27 Mar 2020 14:40:41 -0700 (PDT) Received: from ecenter ([2600:1700:83b0:8bd0::674]) by smtp.gmail.com with ESMTPSA id e13sm2179566otr.66.2020.03.27.14.40.38 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Mar 2020 14:40:39 -0700 (PDT) From: John Soo Date: Fri, 27 Mar 2020 14:40:38 -0700 Message-ID: <87wo75iii1.fsf@asu.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40257@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi Guix! Elm-mode provides Elm syntax highlighting and some other niceties. Thanks, John --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-elm-mode.patch Content-Transfer-Encoding: quoted-printable Content-Description: Add emacs-elm-mode >From 59807f2d9ff05d5732a047ba1f951494dd6661dd Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 19 Mar 2020 09:18:18 -0700 Subject: [PATCH] gnu: Add emacs-elm-mode. * gnu/packages/emacs-xyz.scm (emacs-elm-mode): New variable. --- gnu/packages/emacs-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 5653796731..ad986f1f20 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -65,6 +65,7 @@ ;;; Copyright =C2=A9 2020 Michael Rohleder ;;; Copyright =C2=A9 2020 Brice Waegeneire ;;; Copyright =C2=A9 2020 6033fe7de85d <6033fe7de85d@airmail.cc> +;;; Copyright =C2=A9 2020 John Soo ;;; ;;; This file is part of GNU Guix. ;;; @@ -21774,3 +21775,42 @@ enables modal editing and composition of commands,= too. It combines ideas of other Editors like Vim or Kakoune and tries to align them with regular Ema= cs conventions.") (license license:gpl3+))) + +(define-public emacs-elm-mode + (package + (name "emacs-elm-mode") + (version "0.21.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/jcollard/elm-mode") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0iwk4fmw8hq3ry4ky1zc7lgl4cpbnrjyk74c2xzddfspi3ks41fd")))) + (inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-f" ,emacs-f) + ("emacs-reformatter" ,emacs-reformatter) + ("emacs-s" ,emacs-s))) + (build-system emacs-build-system) + (home-page "https://github.com/jcollard/elm-mode") + (synopsis "Elm mode for Emacs") + (description + "Features + +@itemize +@item Syntax highlighting +@item Intelligent indentation +@item Integration with elm-make +@item Integration with elm-repl +@item Integration with elm-reactor +@item Integration with elm-package +@item Integration with elm-oracle +@item Integration with elm-format +@item Integration with elm-test +@end itemize") + (license license:gpl3+))) --=20 2.26.0 --=-=-=--