ng0 (2016-08-29 03:32 +0300) wrote: > From a415af4e28055c98737aec967921a04390180c57 Mon Sep 17 00:00:00 2001 > From: ng0 <n...@we.make.ritual.n0.is> > Date: Mon, 29 Aug 2016 00:16:52 +0000 > Subject: [PATCH 4/4] gnu: Add emacs-auto-complete. > > * gnu/packages/emacs.scm (emacs-auto-complete): 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 311f484..c6d2333 100644 > --- a/gnu/packages/emacs.scm > +++ b/gnu/packages/emacs.scm > @@ -3051,3 +3051,32 @@ Flx has support for ido (interactively do things) > through flx-ido.") > "Cyberpunk color theme for the emacs 24+ built-in color theme support > known loosely as deftheme. Many mode-specific customizations are included.") > (license license:gpl3+)))) > + > +(define-public emacs-auto-complete > + (let ((upstream-name "auto-complete")) > + (package > + (name "emacs-auto-complete") > + (version "1.5.1") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://github.com/" upstream-name "/" > + upstream-name "/archive/v" version ".tar.gz")) > + (sha256 > + (base32 > + "1jvq4lj00hwml75lpmlciazy8f3bbg13gffsfnl835p4qd8l7yqv")) > + (file-name (string-append name "-" version ".tar.gz")))) > + (build-system emacs-build-system) > + (propagated-inputs > + `(("emacs-popup" ,emacs-popup))) > + (native-inputs > + `(("emacs" ,emacs-minimal)))
This is not needed: emacs-minimal will be used by emacs-build-system anyway. > + (home-page "https://github.com/auto-complete/auto-complete") > + (synopsis "Intelligent auto-completion extension for Emacs") > + (description > + "Auto-Complete is an intelligent auto-completion extension for Emacs. > +It extends the standard Emacs completion interface and provides an > environment > +that allows users to concentrate more on their own work. Its features are: Just to follow a convention: 2 spaces here ----------------^ > +a visual interface, reduce overhead of completion by using statistic method, > +extensibility.") > + (license license:gpl3+)))) > -- > > 2.9.3 -- Alex