From: Ricardo Wurmus <rekado@elephly.net>
To: Ben Woodcroft <b.woodcroft@uq.edu.au>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add emacs-company.
Date: Fri, 17 Jun 2016 09:23:48 +0200 [thread overview]
Message-ID: <87shwcwa63.fsf@elephly.net> (raw)
In-Reply-To: <576396C9.7030100@uq.edu.au>
[-- Attachment #1: Type: text/plain, Size: 473 bytes --]
Ben Woodcroft <b.woodcroft@uq.edu.au> writes:
> On 17/06/16 16:12, Ricardo Wurmus wrote:
[...]
>> + ;; The tests cannot be built because the file "company-tests" is not part
>> + ;; of the tarball.
>
> It is part of the GitHub releases though e.g. at
> https://github.com/company-mode/company-mode/tree/e085a333867959a1b36015a3ad8e12e5bd6550d9
>
> Would it make sense to source from GitHub instead?
Yes, thanks for the pointer. Here’s a new patch.
~~ Ricardo
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-company.patch --]
[-- Type: text/x-patch, Size: 1639 bytes --]
From a4e0f28d8d77002d9f4907418190531b508ebca6 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Fri, 17 Jun 2016 08:11:49 +0200
Subject: [PATCH] gnu: Add emacs-company.
* gnu/packages/emacs.scm (emacs-company): New variable.
---
gnu/packages/emacs.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index cb6464d..a80d9ce 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1333,6 +1333,29 @@ view the build status of those servers' build jobs, and possibly to trigger
build jobs.")
(license license:gpl3+)))
+(define-public emacs-company
+ (package
+ (name "emacs-company")
+ (version "0.8.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/company-mode/company-mode/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1vwmbqm7h4lrszv2qxy6fqzznm9raigi84cadx982c9m7shp0zzz"))))
+ (build-system emacs-build-system)
+ (home-page "http://company-mode.github.io/")
+ (synopsis "Modular text completion framework")
+ (description
+ "Company is a modular completion mechanism. Modules for retrieving
+completion candidates are called back-ends, modules for displaying them are
+front-ends. Company comes with many back-ends, e.g. `company-elisp'. These
+are distributed in separate files and can be used individually.")
+ (license license:gpl3+)))
+
(define-public typo
(package
(name "emacs-typo")
--
2.8.3
next prev parent reply other threads:[~2016-06-17 7:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-17 6:12 [PATCH] gnu: Add emacs-company Ricardo Wurmus
2016-06-17 6:20 ` Ben Woodcroft
2016-06-17 7:23 ` Ricardo Wurmus [this message]
2016-06-17 15:10 ` Ludovic Courtès
2016-06-17 19:19 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87shwcwa63.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=b.woodcroft@uq.edu.au \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).