From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOeqz-0004uq-Rt for guix-patches@gnu.org; Fri, 01 Jun 2018 03:52:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOeqw-0001Ky-N6 for guix-patches@gnu.org; Fri, 01 Jun 2018 03:52:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48780) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fOeqw-0001Kg-Is for guix-patches@gnu.org; Fri, 01 Jun 2018 03:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fOeqw-0004eR-CF for guix-patches@gnu.org; Fri, 01 Jun 2018 03:52:02 -0400 Subject: [bug#31512] [PATCH 11/21] gnu: Add emacs-helm-company. References: <20180518184910.9987-14-ambrevar@gmail.com> In-Reply-To: <20180518184910.9987-14-ambrevar@gmail.com> Resent-Message-ID: From: Pierre Neidhardt Date: Fri, 1 Jun 2018 09:51:48 +0200 Message-Id: <20180601075148.28809-1-ambrevar@gmail.com> 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: 31512@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-helm-company): New variable. --- gnu/packages/emacs.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 577ef9f99..b582ce992 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -10843,3 +10843,35 @@ Default UI or Smooth UI. Please read the source of @code{google-translate-default-ui.el} and @code{google-translate-smooth-ui.el} for more details.") (license license:gpl3+)))) + +(define-public emacs-helm-company + (let ((commit "acc9c7901e094c1591327a0db1ec7a439f67a84d")) + (package + (name "emacs-helm-company") + (version (git-version "0.2.2" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Sodel-the-Vociferous/helm-company") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1d4q9clp0q56br80c21a4wz1gc4jw3mdy97z9mq07x9i8rhlppzs")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-helm" ,emacs-helm) + ("emacs-company" ,emacs-company))) + (home-page + "https://github.com/Sodel-the-Vociferous/helm-company") + (synopsis "Helm interface for company-mode") + (description + "Add the following to your Emacs init file: +@code{ +(autoload 'helm-company \"helm-company\") ;; Not necessary if using ELPA package +(eval-after-load 'company + '(progn + (define-key company-mode-map (kbd \"C-:\") 'helm-company) + (define-key company-active-map (kbd \"C-:\") 'helm-company)))}") + (license license:gpl3+)))) -- 2.17.0