unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#32097] [PATCH 0/3] Add Node.js and Typescript emacs modes
@ 2018-07-08 16:54 Mathieu Lirzin
  2018-07-08 16:56 ` [bug#32097] [PATCH 1/3] gnu: Add emacs-nodejs-repl Mathieu Lirzin
  2018-07-09 15:00 ` bug#32097: [PATCH 0/3] Add Node.js and Typescript emacs modes Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Mathieu Lirzin @ 2018-07-08 16:54 UTC (permalink / raw)
  To: 32097; +Cc: Mathieu Lirzin

Mathieu Lirzin (3):
  gnu: Add emacs-nodejs-repl.
  gnu: Add emacs-typescript-mode.
  gnu: Add emacs-tide.

 gnu/packages/emacs.scm | 90 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 90 insertions(+)

-- 
2.18.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#32097] [PATCH 1/3] gnu: Add emacs-nodejs-repl.
  2018-07-08 16:54 [bug#32097] [PATCH 0/3] Add Node.js and Typescript emacs modes Mathieu Lirzin
@ 2018-07-08 16:56 ` Mathieu Lirzin
  2018-07-08 16:56   ` [bug#32097] [PATCH 2/3] gnu: Add emacs-typescript-mode Mathieu Lirzin
  2018-07-08 16:56   ` [bug#32097] [PATCH 3/3] gnu: Add emacs-tide Mathieu Lirzin
  2018-07-09 15:00 ` bug#32097: [PATCH 0/3] Add Node.js and Typescript emacs modes Ludovic Courtès
  1 sibling, 2 replies; 5+ messages in thread
From: Mathieu Lirzin @ 2018-07-08 16:56 UTC (permalink / raw)
  To: 32097; +Cc: Mathieu Lirzin

* gnu/packges/emacs.scm (emacs-nodejs-repl): New variable.
---
 gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 9f055cfc5..97835d22e 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4182,6 +4182,31 @@ errors and strict-mode warnings, smart line-wrapping within comments and
 strings, and code folding.")
     (license license:gpl3+)))
 
+(define-public emacs-nodejs-repl
+  (package
+    (name "emacs-nodejs-repl")
+    (version "0.1.6")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/abicky/nodejs-repl.el"
+                                  "/archive/" version ".tar.gz"))
+              (sha256
+               (base32
+                "0sphg1jxi3a5l0gqdp27d0qgyjaiq2p293av9zm8ksm0vwqp3fr9"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/abicky/nodejs-repl.el")
+    (synopsis "Node.js REPL inside Emacs")
+    (description
+     "This program is derived from comint-mode and provides the following
+features:
+
+@itemize
+@item TAB completion same as Node.js REPL
+@item file name completion in string
+@item incremental history search
+@end itemize")
+    (license license:gpl3+)))
+
 (define-public emacs-markdown-mode
   (package
     (name "emacs-markdown-mode")
-- 
2.18.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#32097] [PATCH 2/3] gnu: Add emacs-typescript-mode.
  2018-07-08 16:56 ` [bug#32097] [PATCH 1/3] gnu: Add emacs-nodejs-repl Mathieu Lirzin
@ 2018-07-08 16:56   ` Mathieu Lirzin
  2018-07-08 16:56   ` [bug#32097] [PATCH 3/3] gnu: Add emacs-tide Mathieu Lirzin
  1 sibling, 0 replies; 5+ messages in thread
From: Mathieu Lirzin @ 2018-07-08 16:56 UTC (permalink / raw)
  To: 32097; +Cc: Mathieu Lirzin

* gnu/packges/emacs.scm (emacs-typescript-mode): New variable.
---
 gnu/packages/emacs.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 97835d22e..8dcf1717c 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4207,6 +4207,32 @@ features:
 @end itemize")
     (license license:gpl3+)))
 
+(define-public emacs-typescript-mode
+  (package
+    (name "emacs-typescript-mode")
+    (version "0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/ananthakumaran/typescript.el"
+                    "/archive/v" version ".tar.gz"))
+              (sha256
+               (base32
+                "1gqjirm8scf0wysm7x97zdfbs4qa5nqdl64jfbkd18iskv5mg3rj"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/ananthakumaran/typescript.el")
+    (synopsis "Emacs major mode for editing Typescript code")
+    (description
+     "This is based on Karl Landstrom's barebones @code{typescript-mode}.
+This is much more robust and works with @code{cc-mode}'s comment
+filling (mostly).  The modifications to the original @code{javascript.el} mode
+mainly consisted in replacing \"javascript\" with \"typescript\"
+
+The main features of this Typescript mode are syntactic highlighting (enabled
+with @code{font-lock-mode} or @code{global-font-lock-mode}), automatic
+indentation and filling of comments and C preprocessor fontification.")
+    (license license:gpl3+)))
+
 (define-public emacs-markdown-mode
   (package
     (name "emacs-markdown-mode")
-- 
2.18.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#32097] [PATCH 3/3] gnu: Add emacs-tide.
  2018-07-08 16:56 ` [bug#32097] [PATCH 1/3] gnu: Add emacs-nodejs-repl Mathieu Lirzin
  2018-07-08 16:56   ` [bug#32097] [PATCH 2/3] gnu: Add emacs-typescript-mode Mathieu Lirzin
@ 2018-07-08 16:56   ` Mathieu Lirzin
  1 sibling, 0 replies; 5+ messages in thread
From: Mathieu Lirzin @ 2018-07-08 16:56 UTC (permalink / raw)
  To: 32097; +Cc: Mathieu Lirzin

* gnu/packges/emacs.scm (emacs-tide): New variable.
---
 gnu/packages/emacs.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 8dcf1717c..fcddabc99 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4233,6 +4233,45 @@ with @code{font-lock-mode} or @code{global-font-lock-mode}), automatic
 indentation and filling of comments and C preprocessor fontification.")
     (license license:gpl3+)))
 
+(define-public emacs-tide
+  (package
+    (name "emacs-tide")
+    (version "2.8.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/ananthakumaran/tide"
+                                  "/archive/v" version ".tar.gz"))
+              (sha256
+               (base32
+                "1k0kzqiv1hfs0kqm37947snzhrsmand3i9chvm6a2r5lb8v9q47y"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-dash" ,emacs-dash)
+       ("emacs-s" ,emacs-s)
+       ("emacs-flycheck" ,flycheck)
+       ("emacs-typescript-mode" ,emacs-typescript-mode)))
+    (home-page "https://github.com/ananthakumaran/tide")
+    (synopsis "Typescript IDE for Emacs")
+    (description
+     "Tide is an Interactive Development Environment (IDE) for Emacs which
+provides the following features:
+
+@itemize
+@item ElDoc
+@item Auto complete
+@item Flycheck
+@item Jump to definition, Jump to type definition
+@item Find occurrences
+@item Rename symbol
+@item Imenu
+@item Compile On Save
+@item Highlight Identifiers
+@item Code Fixes
+@item Code Refactor
+@item Organize Imports
+@end itemize")
+    (license license:gpl3+)))
+
 (define-public emacs-markdown-mode
   (package
     (name "emacs-markdown-mode")
-- 
2.18.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#32097: [PATCH 0/3] Add Node.js and Typescript emacs modes
  2018-07-08 16:54 [bug#32097] [PATCH 0/3] Add Node.js and Typescript emacs modes Mathieu Lirzin
  2018-07-08 16:56 ` [bug#32097] [PATCH 1/3] gnu: Add emacs-nodejs-repl Mathieu Lirzin
@ 2018-07-09 15:00 ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2018-07-09 15:00 UTC (permalink / raw)
  To: Mathieu Lirzin; +Cc: 32097-done

[-- Attachment #1: Type: text/plain, Size: 273 bytes --]

Mathieu Lirzin <mthl@gnu.org> skribis:

> Mathieu Lirzin (3):
>   gnu: Add emacs-nodejs-repl.
>   gnu: Add emacs-typescript-mode.
>   gnu: Add emacs-tide.

I applied all three patches with the changes below, to placate ‘guix
lint’.

Thank you!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1736 bytes --]

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index fcddabc99..c6c7a1df4 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4192,7 +4192,8 @@ strings, and code folding.")
                                   "/archive/" version ".tar.gz"))
               (sha256
                (base32
-                "0sphg1jxi3a5l0gqdp27d0qgyjaiq2p293av9zm8ksm0vwqp3fr9"))))
+                "0sphg1jxi3a5l0gqdp27d0qgyjaiq2p293av9zm8ksm0vwqp3fr9"))
+              (file-name (string-append name "-" version ".tar.gz"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/abicky/nodejs-repl.el")
     (synopsis "Node.js REPL inside Emacs")
@@ -4218,7 +4219,8 @@ features:
                     "/archive/v" version ".tar.gz"))
               (sha256
                (base32
-                "1gqjirm8scf0wysm7x97zdfbs4qa5nqdl64jfbkd18iskv5mg3rj"))))
+                "1gqjirm8scf0wysm7x97zdfbs4qa5nqdl64jfbkd18iskv5mg3rj"))
+              (file-name (string-append name "-" version ".tar.gz"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/ananthakumaran/typescript.el")
     (synopsis "Emacs major mode for editing Typescript code")
@@ -4243,7 +4245,8 @@ indentation and filling of comments and C preprocessor fontification.")
                                   "/archive/v" version ".tar.gz"))
               (sha256
                (base32
-                "1k0kzqiv1hfs0kqm37947snzhrsmand3i9chvm6a2r5lb8v9q47y"))))
+                "1k0kzqiv1hfs0kqm37947snzhrsmand3i9chvm6a2r5lb8v9q47y"))
+              (file-name (string-append name "-" version ".tar.gz"))))
     (build-system emacs-build-system)
     (propagated-inputs
      `(("emacs-dash" ,emacs-dash)

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-07-09 15:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-08 16:54 [bug#32097] [PATCH 0/3] Add Node.js and Typescript emacs modes Mathieu Lirzin
2018-07-08 16:56 ` [bug#32097] [PATCH 1/3] gnu: Add emacs-nodejs-repl Mathieu Lirzin
2018-07-08 16:56   ` [bug#32097] [PATCH 2/3] gnu: Add emacs-typescript-mode Mathieu Lirzin
2018-07-08 16:56   ` [bug#32097] [PATCH 3/3] gnu: Add emacs-tide Mathieu Lirzin
2018-07-09 15:00 ` bug#32097: [PATCH 0/3] Add Node.js and Typescript emacs modes Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).