* [PATCH] gnu: Add emacs-es-mode
@ 2016-09-13 7:06 Christopher Baines
2016-09-14 14:37 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Christopher Baines @ 2016-09-13 7:06 UTC (permalink / raw)
To: guix-devel
* gnu/packages/emacs.scm (emacs-es-mode): New variable.
---
gnu/packages/emacs.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 3221949..9815d65 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1330,6 +1330,35 @@ Expectations, but it can be used in other contexts.")
definitions for testing with the Ecukes framework.")
(license license:gpl3+)))
+(define-public emacs-es-mode
+ (package
+ (name "emacs-es-mode")
+ (version "4.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/dakrone/es-mode/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "02as82clm553yss7jfjac888308zr1h2229cch4z1yij70j25c8y"))))
+ (build-system emacs-build-system)
+ (inputs `(("guile" ,guile-2.0)))
+ (propagated-inputs
+ ; The version of org in Emacs 24.5 is not sufficient, and causes
+ ; tables to be rendered incorrectly
+ `(("emacs-org" ,emacs-org)))
+ (home-page "https://github.com/dakrone/es-mode")
+ (synopsis "Major mode for editing Elasticsearch queries")
+ (description "es-mode includes highlighting, completion and indentation
+support for Elasticsearch queries. Also supported are es-mode blocks in
+org-mode, for which the results of queries can be processed through jq, or
+in the case of aggregations, can be rendered in to a table. In addition,
+there is a es-command-center mode, which displays information about
+Elasticsearch clusters")
+ (license license:gpl3+)))
+
(define-public emacs-expand-region
(package
(name "emacs-expand-region")
--
2.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: Add emacs-es-mode
2016-09-13 7:06 [PATCH] gnu: Add emacs-es-mode Christopher Baines
@ 2016-09-14 14:37 ` Ludovic Courtès
2016-09-15 7:11 ` Christopher Baines
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2016-09-14 14:37 UTC (permalink / raw)
To: Christopher Baines; +Cc: guix-devel
Christopher Baines <mail@cbaines.net> skribis:
> * gnu/packages/emacs.scm (emacs-es-mode): New variable.
I made minor changes:
> + (inputs `(("guile" ,guile-2.0)))
I removed it since it’s unused, AFAICS.
> + (propagated-inputs
> + ; The version of org in Emacs 24.5 is not sufficient, and causes
> + ; tables to be rendered incorrectly
Use “;;”.
> + (description "es-mode includes highlighting, completion and indentation
> +support for Elasticsearch queries. Also supported are es-mode blocks in
> +org-mode, for which the results of queries can be processed through jq, or
> +in the case of aggregations, can be rendered in to a table. In addition,
> +there is a es-command-center mode, which displays information about
> +Elasticsearch clusters")
Used @code where appropriate and added missing period.
Pushed as 8bebe734ca54bf83ceae4db0a91f09a706562882, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: Add emacs-es-mode
2016-09-14 14:37 ` Ludovic Courtès
@ 2016-09-15 7:11 ` Christopher Baines
0 siblings, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2016-09-15 7:11 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
[-- Attachment #1.1: Type: text/plain, Size: 1037 bytes --]
On 14/09/16 15:37, Ludovic Courtès wrote:
> Christopher Baines <mail@cbaines.net> skribis:
>
>> * gnu/packages/emacs.scm (emacs-es-mode): New variable.
>
> I made minor changes:
>
>> + (inputs `(("guile" ,guile-2.0)))
>
> I removed it since it’s unused, AFAICS.
>
>> + (propagated-inputs
>> + ; The version of org in Emacs 24.5 is not sufficient, and causes
>> + ; tables to be rendered incorrectly
>
> Use “;;”.
>
>> + (description "es-mode includes highlighting, completion and indentation
>> +support for Elasticsearch queries. Also supported are es-mode blocks in
>> +org-mode, for which the results of queries can be processed through jq, or
>> +in the case of aggregations, can be rendered in to a table. In addition,
>> +there is a es-command-center mode, which displays information about
>> +Elasticsearch clusters")
>
> Used @code where appropriate and added missing period.
>
> Pushed as 8bebe734ca54bf83ceae4db0a91f09a706562882, thanks!
Great, thank you :D
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 955 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-15 7:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-13 7:06 [PATCH] gnu: Add emacs-es-mode Christopher Baines
2016-09-14 14:37 ` Ludovic Courtès
2016-09-15 7:11 ` Christopher Baines
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.