diff mbox

gnu: Add emacs-lua-mode.

Message ID 20161020164908.5162-1-davet@gnu.org
State New
Headers show

Commit Message

David Thompson Oct. 20, 2016, 4:49 p.m. UTC
* gnu/packages/emacs.scm (emacs-lua-mode): New variable.
---
 gnu/packages/emacs.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Comments

non such Oct. 20, 2016, 4:52 p.m. UTC | #1
Hi,

We already have lua-mode, what is the difference with this one?

http://git.savannah.gnu.org/cgit/guix.git/commit/?id=26e08b4d33918a844a42fd0f859ee640990ca757


David Thompson <dthompson2@worcester.edu> writes:

> * gnu/packages/emacs.scm (emacs-lua-mode): New variable.
> ---
>  gnu/packages/emacs.scm | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 6e9c181..fbde046 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -3252,3 +3252,24 @@ This package contains the library runtime.")
>      (description "This package provides an Emacs major mode for
>  editing nginx config files.")
>      (license license:gpl2+)))
> +
> +(define-public emacs-lua-mode
> +  (package
> +    (name "emacs-lua-mode")
> +    (version "20151025")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://github.com/immerrr/lua-mode/archive/"
> +                           version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "0sbhfny5ib65cnx6xcy6h9bbw27mw034s8m9cca00bhxqaqi6p4v"))
> +       (file-name (string-append name "-" version ".tar.gz"))))
> +    (build-system emacs-build-system)
> +    (home-page "http://immerrr.github.com/lua-mode")
> +    (synopsis "Major mode for editing Lua source code")
> +    (description "Lua-mode provides support for editing Lua, including automatic
> +indentation, syntactical font-locking, running interactive shell, interacting
> +with hs-minor-mode and online documentation lookup.")
> +    (license license:gpl3+)))
> -- 
> 2.8.3
>
>
>
David Thompson Oct. 21, 2016, 1:20 p.m. UTC | #2
On Thu, Oct 20, 2016 at 12:52 PM, ng0 <ng0@we.make.ritual.n0.is> wrote:
> Hi,
>
> We already have lua-mode, what is the difference with this one?
>
> http://git.savannah.gnu.org/cgit/guix.git/commit/?id=26e08b4d33918a844a42fd0f859ee640990ca757

The difference is that I didn't notice that package and duplicated
work, which is a bit embarrassing.

Let's pretend this thread never happened! :)

Thanks,

- Dave
diff mbox

Patch

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 6e9c181..fbde046 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3252,3 +3252,24 @@  This package contains the library runtime.")
     (description "This package provides an Emacs major mode for
 editing nginx config files.")
     (license license:gpl2+)))
+
+(define-public emacs-lua-mode
+  (package
+    (name "emacs-lua-mode")
+    (version "20151025")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/immerrr/lua-mode/archive/"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "0sbhfny5ib65cnx6xcy6h9bbw27mw034s8m9cca00bhxqaqi6p4v"))
+       (file-name (string-append name "-" version ".tar.gz"))))
+    (build-system emacs-build-system)
+    (home-page "http://immerrr.github.com/lua-mode")
+    (synopsis "Major mode for editing Lua source code")
+    (description "Lua-mode provides support for editing Lua, including automatic
+indentation, syntactical font-locking, running interactive shell, interacting
+with hs-minor-mode and online documentation lookup.")
+    (license license:gpl3+)))