From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fL2oz-0000KP-Ka for guix-patches@gnu.org; Tue, 22 May 2018 04:39:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fL2ow-0007e1-FQ for guix-patches@gnu.org; Tue, 22 May 2018 04:39:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35691) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fL2ow-0007dt-Ae for guix-patches@gnu.org; Tue, 22 May 2018 04:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fL2ow-00021Z-4j for guix-patches@gnu.org; Tue, 22 May 2018 04:39:02 -0400 Subject: [bug#31517] [PATCH 02/21] gnu: emacs-esh-autosuggest: New variable. Resent-Message-ID: References: <20180518184910.9987-1-ambrevar@gmail.com> <20180518184910.9987-19-ambrevar@gmail.com> <87y3gcoj6u.fsf@elephly.net> From: Pierre Neidhardt In-reply-to: <87y3gcoj6u.fsf@elephly.net> Date: Tue, 22 May 2018 10:38:28 +0200 Message-ID: <871se43x17.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: Ricardo Wurmus Cc: 31517@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * gnu/packages/emacs.scm (emacs-esh-autosuggest): New variable. =2D-- gnu/packages/emacs.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 24ab1ba6f..db4ff5652 100644 =2D-- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -10489,3 +10489,32 @@ daemons (services) for those getting tired of typi= ng out @code{sudo service my_thing reload} all the time. It's 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 mecha= nism +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+))) =2D-=20 2.17.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlsD1wQACgkQm9z0l6S7 zH+MRAf+Icgae4++37ltwUOO1js7X0XxwVk2I7MOQtjomFxE8JhF47K9AEKZ0QDS lQUOnp6xKHwmKXp4AiuF3Z4vtzT4LzDt0kPWn1pUXxgdbacWqj+Hr7E3vdqg6Yxg 07w180BQY5PseqjS9GIDujm8IJWhM+eAQyzPbpQqvFiKN7lJvOD1c8liCnBCWuR1 SgUzWKk1uQfSvLBrvSNvZfN+Uyh5oZGvoXNPxsxkJx5iJRFLAfeIjzTsO4A/e4fY M5bn/RJ1Qr21jqisYwPHHOK0FjjQWogm8RlyDAmC5ktPa4cNpjWPUB7C7ZzY5QTW a8PvTbPacFbI5UScUbcbziZiagRiIA== =/BdL -----END PGP SIGNATURE----- --=-=-=--