From bdadf8557e9bd8bda70dcf40326f43ace7d28429 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 22 May 2018 10:37:54 +0200 Subject: gnu: Add emacs-daemons. * gnu/packages/emacs.scm (emacs-daemons): New variable. Signed-off-by: Ricardo Wurmus --- gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index ca78cb2bc2..053fe6d479 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -34,6 +34,7 @@ ;;; Copyright © 2017, 2018 Maxim Cournoyer ;;; Copyright © 2018 Sohom Bhattacharjee ;;; Copyright © 2018 Mathieu Lirzin +;;; Copyright © 2018 Pierre Neidhardt ;;; ;;; This file is part of GNU Guix. ;;; @@ -10469,3 +10470,27 @@ Dumb Jump performs best with The Silver Searcher @command{ag} or ripgrep "This package provides an Emacs minor mode for highlighting device tree files.") (license license:gpl3+)))) + +(define-public emacs-daemons + (package + (name "emacs-daemons") + (version "1.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cbowdon/daemons.el") + (commit version))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "00ijgm22ck76gw0x79krl05yy0m8a502yfakazfy5xhpn1zi6ab7")))) + (build-system emacs-build-system) + (home-page "https://github.com/cbowdon/daemons.el") + (synopsis "Emacs UI for managing init system services") + (description + "This is an Emacs mode to give you a UI for managing init system +daemons (services) for those getting tired of typing out @code{sudo service +my_thing reload} all the time. Its offers a consistent UI over different init +systems.") + (license license:gpl3+))) -- cgit v1.2.3 From 35d438439c979ee629804ebf54a64d574d136530 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 22 May 2018 12:16:49 +0200 Subject: gnu: emacs-daemons: Fix typo in description. * gnu/packages/emacs.scm (emacs-daemons)[description]: Fix typo. --- gnu/packages/emacs.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 053fe6d479..da68e00703 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -10491,6 +10491,6 @@ device tree files.") (description "This is an Emacs mode to give you a UI for managing init system daemons (services) for those getting tired of typing out @code{sudo service -my_thing reload} all the time. Its offers a consistent UI over different init +my_thing reload} all the time. It offers a consistent UI over different init systems.") (license license:gpl3+))) -- cgit v1.2.3 From 71d3521541d08942d6088892ca6d9eac1f6b0ddc Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 22 May 2018 10:38:28 +0200 Subject: gnu: Add emacs-esh-autosuggest. * gnu/packages/emacs.scm (emacs-esh-autosuggest): New variable. Signed-off-by: Ricardo Wurmus --- gnu/packages/emacs.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index da68e00703..ca3c077399 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -10494,3 +10494,32 @@ daemons (services) for those getting tired of typing out @code{sudo service my_thing reload} all the time. It offers a consistent UI over different init systems.") (license license:gpl3+))) + +(define-public emacs-esh-autosuggest + (package + (name "emacs-esh-autosuggest") + (version "2.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dieggsy/esh-autosuggest") + (commit version))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "116pdjgpjy9b0psm5kzwkwy7dq8vn0p6dy75dl1zsy2xrjf1iqdw")))) + (build-system emacs-build-system) + (propagated-inputs `(("emacs-company" ,emacs-company))) + (home-page "https://github.com/dieggsy/esh-autosuggest") + (synopsis "Fish-like autosuggestions in Eshell") + (description + "This package assumes you use something other than company for eshell +completion (e.g. @code{eshell-pcomplete}, @code{completion-at-point}, +@code{helm-esh-pcomplete}). @code{company-mode} is used solely as a mechanism +for history autosuggestions. + +Unless you're using @code{use-package}'s hook keyword, you can enable the +autosuggestions with: +@code{(add-hook 'eshell-mode-hook #'esh-autosuggest-mode)}") + (license license:gpl3+))) -- cgit v1.2.3