1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
3 ;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
8 ;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com>
9 ;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org>
10 ;;; Copyright © 2016 humanitiesNerd <catonano@gmail.com>
11 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
12 ;;; Copyright © 2016 David Thompson <davet@gnu.org>
13 ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
14 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
15 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
17 ;;; This file is part of GNU Guix.
19 ;;; GNU Guix is free software; you can redistribute it and/or modify it
20 ;;; under the terms of the GNU General Public License as published by
21 ;;; the Free Software Foundation; either version 3 of the License, or (at
22 ;;; your option) any later version.
24 ;;; GNU Guix is distributed in the hope that it will be useful, but
25 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
26 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 ;;; GNU General Public License for more details.
29 ;;; You should have received a copy of the GNU General Public License
30 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
32 (define-module (gnu packages emacs)
33 #:use-module ((guix licenses) #:prefix license:)
34 #:use-module (guix packages)
35 #:use-module (guix download)
36 #:use-module (guix git-download)
37 #:use-module (guix gexp)
38 #:use-module (guix monads)
39 #:use-module (guix store)
40 #:use-module (guix build-system gnu)
41 #:use-module (guix build-system emacs)
42 #:use-module (guix build-system glib-or-gtk)
43 #:use-module (guix build-system trivial)
44 #:use-module (gnu packages)
45 #:use-module (gnu packages guile)
46 #:use-module (gnu packages gtk)
47 #:use-module (gnu packages gnome)
48 #:use-module (gnu packages ncurses)
49 #:use-module (gnu packages tex)
50 #:use-module (gnu packages texinfo)
51 #:use-module (gnu packages tls)
52 #:use-module (gnu packages pkg-config)
53 #:use-module (gnu packages xorg)
54 #:use-module (gnu packages lesstif)
55 #:use-module (gnu packages image)
56 #:use-module (gnu packages linux)
57 #:use-module (gnu packages version-control)
58 #:use-module (gnu packages imagemagick)
59 #:use-module (gnu packages w3m)
60 #:use-module (gnu packages wget)
61 #:use-module (gnu packages autotools)
62 #:use-module (gnu packages base)
63 #:use-module (gnu packages compression)
64 #:use-module (gnu packages xml)
65 #:use-module (gnu packages glib)
66 #:use-module (gnu packages acl)
67 #:use-module (gnu packages package-management)
68 #:use-module (gnu packages perl)
69 #:use-module (gnu packages pdf)
70 #:use-module (gnu packages scheme)
71 #:use-module (gnu packages statistics)
72 #:use-module (gnu packages xiph)
73 #:use-module (gnu packages mp3)
74 #:use-module (guix utils)
75 #:use-module (srfi srfi-1))
83 (uri (string-append "mirror://gnu/emacs/emacs-"
87 "0kn3rzm91qiswi0cql89kbv6mqn27rwsyjfb8xmwy9m5s8fxfiyx"))
88 (patches (search-patches "emacs-exec-path.patch"
89 "emacs-fix-scheme-indent-function.patch"
90 "emacs-source-date-epoch.patch"))
91 (modules '((guix build utils)))
93 ;; Delete the bundled byte-compiled elisp files and
94 ;; generated autoloads.
95 '(with-directory-excursion "lisp"
97 (append (find-files "." "\\.elc$")
98 (find-files "." "loaddefs\\.el$")
99 ;; This is the only "autoloads" file that
100 ;; does not have "*loaddefs.el" name.
101 '("eshell/esh-groups.el")))))))
102 (build-system glib-or-gtk-build-system)
105 (modify-phases %standard-phases
106 (add-before 'configure 'fix-/bin/pwd
108 ;; Use `pwd', not `/bin/pwd'.
109 (substitute* (find-files "." "^Makefile\\.in$")
112 (add-after 'install 'remove-info.info
113 (lambda* (#:key outputs #:allow-other-keys)
114 ;; Remove 'info.info', which is provided by Texinfo <= 6.0.
115 ;; TODO: Remove this phase when we switch to Texinfo 6.1.
116 (let ((out (assoc-ref outputs "out")))
118 (string-append out "/share/info/info.info.gz"))
120 (add-after 'install 'install-site-start
121 ;; Copy guix-emacs.el from Guix and add it to site-start.el. This
122 ;; way, Emacs packages provided by Guix and installed in
123 ;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are
124 ;; automatically found.
125 (lambda* (#:key inputs outputs #:allow-other-keys)
126 (let* ((guix-src (assoc-ref inputs "guix-src"))
127 (out (assoc-ref outputs "out"))
128 (lisp-dir (string-append out "/share/emacs/"
129 ,(version-major+minor version)
131 (unpack (assoc-ref %standard-phases 'unpack)))
133 (with-directory-excursion "guix"
134 (apply unpack (list #:source guix-src))
135 (install-file "emacs/guix-emacs.el" lisp-dir))
136 (with-output-to-file (string-append lisp-dir "/site-start.el")
138 (display "(require 'guix-emacs nil t)")))
144 ;; TODO: Add the optional dependencies.
150 ("libjpeg" ,libjpeg-8)
153 ;; When looking for libpng `configure' links with `-lpng -lz', so we
154 ;; must also provide zlib as an input.
163 ("alsa-lib" ,alsa-lib)
165 ("guix-src" ,(package-source guix))))
167 `(("pkg-config" ,pkg-config)
168 ("texinfo" ,texinfo)))
171 (list (search-path-specification
172 (variable "INFOPATH")
173 (files '("share/info")))))
175 (home-page "http://www.gnu.org/software/emacs/")
176 (synopsis "The extensible, customizable, self-documenting text editor")
178 "GNU Emacs is an extensible and highly customizable text editor. It is
179 based on an Emacs Lisp interpreter with extensions for text editing. Emacs
180 has been extended in essentially all areas of computing, giving rise to a
181 vast array of packages supporting, e.g., email, IRC and XMPP messaging,
182 spreadsheets, remote server editing, and much more. Emacs includes extensive
183 documentation on all aspects of the system, from basic editing to writing
184 large Lisp programs. It has full Unicode support for nearly all human
186 (license license:gpl3+)))
188 (define-public emacs-minimal
189 ;; This is the version that you should use as an input to packages that just
190 ;; need to byte-compile .el files.
191 (package (inherit emacs)
192 (name "emacs-minimal")
193 (synopsis "The extensible text editor (used only for byte-compilation)")
194 (build-system gnu-build-system)
196 (substitute-keyword-arguments (package-arguments emacs)
198 `(modify-phases ,phases
199 (delete 'install-site-start)))))
201 `(("ncurses" ,ncurses)))
203 `(("pkg-config" ,pkg-config)))))
205 (define-public emacs-no-x
206 (package (inherit emacs)
208 (synopsis "The extensible, customizable, self-documenting text
209 editor (console only)")
210 (build-system gnu-build-system)
211 (inputs (fold alist-delete
212 (package-inputs emacs)
213 '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
214 "libpng" "librsvg" "libxpm" "libice" "libsm"
216 ;; D-Bus depends on libx11, so remove it as well.
219 (define-public emacs-no-x-toolkit
220 (package (inherit emacs)
221 (name "emacs-no-x-toolkit")
222 (synopsis "The extensible, customizable, self-documenting text
223 editor (without an X toolkit)" )
224 (build-system gnu-build-system)
225 (inputs (append `(("inotify-tools" ,inotify-tools))
226 (alist-delete "gtk+" (package-inputs emacs))))
227 (arguments (append '(#:configure-flags '("--with-x-toolkit=no"))
228 (package-arguments emacs)))))
230 (define-public guile-emacs
231 (package (inherit emacs)
233 (version "20150512.41120e0")
237 (url "git://git.hcoop.net/git/bpt/emacs.git")
238 (commit "41120e0f595b16387eebfbf731fff70481de1b4b")))
241 "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6"))))
243 `(("autoconf" ,autoconf)
244 ("automake" ,automake)
245 ("guile" ,guile-for-guile-emacs)
246 ,@(package-native-inputs emacs)))
248 (substitute-keyword-arguments `(;; Build fails if we allow parallel build.
250 ;; Tests aren't passing for now.
252 ,@(package-arguments emacs))
254 `(modify-phases ,phases
255 (add-after 'unpack 'autogen
257 (zero? (system* "sh" "autogen.sh"))))))))))
264 (define-public geiser
270 (uri (string-append "mirror://savannah/geiser/" version
271 "/geiser-" version ".tar.gz"))
274 "163zh8qf1q8l485d94a51a9xixirj8r2xvrbgxyw06vkaqrz5qvc"))))
275 (build-system gnu-build-system)
277 '(#:phases (alist-cons-after
278 'install 'post-install
279 (lambda* (#:key outputs #:allow-other-keys)
280 (symlink "geiser-install.el"
281 (string-append (assoc-ref outputs "out")
282 "/share/emacs/site-lisp/"
283 "geiser-autoloads.el")))
285 (inputs `(("guile" ,guile-2.0)))
286 (native-inputs `(("emacs" ,emacs-minimal)))
287 (home-page "http://nongnu.org/geiser/")
288 (synopsis "Collection of Emacs modes for Guile and Racket hacking")
290 "Geiser is a collection of Emacs major and minor modes that conspire with
291 one or more Scheme implementations to keep the Lisp Machine Spirit alive. The
292 continuously running Scheme interpreter takes the center of the stage in
293 Geiser. A bundle of Elisp shims orchestrates the dialog between the Scheme
294 implementation, Emacs and, ultimately, the schemer, giving them access to live
296 (license license:bsd-3)))
298 (define-public geiser-next
299 ;; Geiser's upcoming version supports guile-next, and 0.8.1 does not.
300 ;; When the next Geiser release comes out, we can remove this.
301 (let ((commit "2e335695fc1a4a0b520b50deb761b958194cbec4"))
305 (version (string-append "0.8.1-1"
306 (string-take commit 7)))
310 (url "git://git.sv.gnu.org/geiser.git")
314 "00rmpn8zncq1fiah5m12l26z0s28bh7ql63kxdvksqdgfrisnmgf"))))
316 `(("autoconf" ,autoconf)
317 ("automake" ,automake)
319 ,@(package-native-inputs geiser)))
321 (substitute-keyword-arguments (package-arguments geiser)
323 `(modify-phases ,phases
324 (add-after 'unpack 'autogen
326 (zero? (system* "sh" "autogen.sh")))))))))))
328 (define-public paredit
334 (uri (string-append "http://mumble.net/~campbell/emacs/paredit-"
338 "0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
339 (build-system trivial-build-system)
340 (native-inputs `(("emacs" ,emacs-minimal)))
342 `(#:modules ((guix build utils)
343 (guix build emacs-utils))
346 (use-modules (guix build utils))
347 (use-modules (guix build emacs-utils))
349 (let* ((emacs (string-append (assoc-ref %build-inputs "emacs")
351 (source (assoc-ref %build-inputs "source"))
352 (lisp-dir (string-append %output
353 "/share/emacs/site-lisp"))
354 (target (string-append lisp-dir "/paredit.el")))
356 (copy-file source target)
357 (with-directory-excursion lisp-dir
358 (parameterize ((%emacs emacs))
359 (emacs-generate-autoloads ,name lisp-dir)
360 (emacs-batch-eval '(byte-compile-file "paredit.el"))))))))
361 (home-page "http://mumble.net/~campbell/emacs/paredit/")
362 (synopsis "Emacs minor mode for editing parentheses")
364 "ParEdit (paredit.el) is a minor mode for performing structured editing
365 of S-expression data. The typical example of this would be Lisp or Scheme
368 ParEdit helps **keep parentheses balanced** and adds many keys for moving
369 S-expressions and moving around in S-expressions. Its behavior can be jarring
370 for those who may want transient periods of unbalanced parentheses, such as
371 when typing parentheses directly or commenting out code line by line.")
372 (license license:gpl3+)))
374 (define-public git-modes
381 "https://github.com/magit/git-modes/archive/"
383 (file-name (string-append name "-" version ".tar.gz"))
386 "0gb9c18jib8rpm14vig9774104lwmd8353ps0259m861syf6664d"))))
387 (build-system gnu-build-system)
389 `(#:modules ((guix build gnu-build-system)
390 (guix build emacs-utils)
392 #:imported-modules (,@%gnu-build-system-modules
393 (guix build emacs-utils))
395 #:make-flags (list (string-append "PREFIX="
396 (assoc-ref %outputs "out"))
397 ;; Don't put .el files in a 'git-modes'
399 (string-append "LISPDIR="
400 (assoc-ref %outputs "out")
401 "/share/emacs/site-lisp"))
402 #:tests? #f ; no check target
403 #:phases (modify-phases %standard-phases
405 (add-after 'install 'emacs-autoloads
406 (lambda* (#:key outputs #:allow-other-keys)
407 (let* ((out (assoc-ref outputs "out"))
409 out "/share/emacs/site-lisp/")))
410 (emacs-generate-autoloads ,name lisp)))))))
411 (native-inputs `(("emacs" ,emacs-minimal)))
412 (home-page "https://github.com/magit/git-modes")
413 (synopsis "Emacs major modes for Git configuration files")
415 "This package provides Emacs major modes for editing various Git
416 configuration files, such as .gitattributes, .gitignore, and .git/config.")
417 (license license:gpl3+)))
419 (define-public emacs-with-editor
421 (name "emacs-with-editor")
426 "https://github.com/magit/with-editor/archive/v"
428 (file-name (string-append name "-" version ".tar.gz"))
431 "1lqm0msc9lzb05ys96bsx8bf2y1qrw27dh5h6qz8lf5i4cbhflw2"))))
432 (build-system emacs-build-system)
434 `(("emacs-dash" ,emacs-dash)))
435 (home-page "https://github.com/magit/with-editor")
436 (synopsis "Emacs library for using Emacsclient as EDITOR")
438 "This package provides an Emacs library to use the Emacsclient as
439 @code{$EDITOR} of child processes, making sure they know how to call home.
440 For remote processes a substitute is provided, which communicates with Emacs
441 on stdout instead of using a socket as the Emacsclient does.")
442 (license license:gpl3+)))
451 "https://github.com/magit/magit/releases/download/"
452 version "/" name "-" version ".tar.gz"))
455 "1kzd8k2n0lcr04jvn5b6d29zf765mxgshfhzflkzndwmvyxmlqpl"))))
456 (build-system gnu-build-system)
457 (native-inputs `(("texinfo" ,texinfo)
458 ("emacs" ,emacs-minimal)))
459 (inputs `(("git" ,git)))
461 `(("dash" ,emacs-dash)
462 ("with-editor" ,emacs-with-editor)))
464 `(#:modules ((guix build gnu-build-system)
466 (guix build emacs-utils))
467 #:imported-modules (,@%gnu-build-system-modules
468 (guix build emacs-utils))
471 #:tests? #f ; tests are not included in the release
474 (list (string-append "PREFIX=" %output)
475 ;; Don't put .el files in a sub-directory.
476 (string-append "lispdir=" %output "/share/emacs/site-lisp")
477 (string-append "DASH_DIR="
478 (assoc-ref %build-inputs "dash")
479 "/share/emacs/site-lisp/guix.d/dash-"
480 ,(package-version emacs-dash))
481 (string-append "WITH_EDITOR_DIR="
482 (assoc-ref %build-inputs "with-editor")
483 "/share/emacs/site-lisp/guix.d/with-editor-"
484 ,(package-version emacs-with-editor)))
487 (modify-phases %standard-phases
490 'build 'patch-exec-paths
491 (lambda* (#:key inputs #:allow-other-keys)
492 (let ((git (assoc-ref inputs "git")))
493 (emacs-substitute-variables "lisp/magit-git.el"
494 ("magit-git-executable" (string-append git "/bin/git")))
496 (home-page "http://magit.github.io/")
497 (synopsis "Emacs interface for the Git version control system")
499 "With Magit, you can inspect and modify your Git repositories with Emacs.
500 You can review and commit the changes you have made to the tracked files, for
501 example, and you can browse the history of past changes. There is support for
502 cherry picking, reverting, merging, rebasing, and other common Git
504 (license license:gpl3+)))
506 (define-public magit-svn
513 "https://github.com/magit/magit-svn/archive/"
515 (file-name (string-append name "-" version ".tar.gz"))
518 "04y88j7q9h8xjbx5dbick6n5nr1522sn9i1znp0qwk3vjb4b5mzz"))))
519 (build-system trivial-build-system)
520 (native-inputs `(("emacs" ,emacs-minimal)
523 (propagated-inputs `(("dash" ,emacs-dash)
526 `(#:modules ((guix build utils)
527 (guix build emacs-utils))
531 (use-modules (guix build utils)
532 (guix build emacs-utils))
534 (let* ((tar (string-append (assoc-ref %build-inputs "tar")
536 (PATH (string-append (assoc-ref %build-inputs "gzip")
538 (emacs (string-append (assoc-ref %build-inputs "emacs")
540 (magit (string-append (assoc-ref %build-inputs "magit")
541 "/share/emacs/site-lisp"))
542 (dash (string-append (assoc-ref %build-inputs "dash")
543 "/share/emacs/site-lisp/guix.d/dash-"
544 ,(package-version emacs-dash)))
545 (source (assoc-ref %build-inputs "source"))
546 (lisp-dir (string-append %output "/share/emacs/site-lisp")))
548 (system* tar "xvf" source)
550 (install-file (string-append ,name "-" ,version "/magit-svn.el")
553 (with-directory-excursion lisp-dir
554 (parameterize ((%emacs emacs))
555 (emacs-generate-autoloads ,name lisp-dir)
556 (setenv "EMACSLOADPATH"
557 (string-append ":" magit ":" dash))
558 (emacs-batch-eval '(byte-compile-file "magit-svn.el"))))))))
559 (home-page "https://github.com/magit/magit-svn")
560 (synopsis "Git-SVN extension to Magit")
562 "This package is an extension to Magit, the Git Emacs mode, providing
563 support for Git-SVN.")
564 (license license:gpl3+)))
566 (define-public emacs-magit-popup
568 (name "emacs-magit-popup")
569 (version (package-version magit))
573 "https://raw.githubusercontent.com/magit/magit/"
574 version "/lisp/magit-popup.el"))
575 (file-name (string-append "magit-popup-" version ".el"))
578 "144nl7j5mn86ccan6qxgg40bsxpkbc83vwnhd5y657gqki74972r"))))
579 (build-system emacs-build-system)
581 `(("emacs-dash" ,emacs-dash)))
582 (home-page "https://github.com/magit/magit")
583 (synopsis "Define prefix-infix-suffix command combos")
585 "This library implements a generic interface for toggling switches and
586 setting options and then invoking an Emacs command which does something with
587 these arguments. The prototypical use is for the command to call an external
588 process, passing on the arguments as command line arguments.")
589 (license license:gpl3+)))
591 (define-public haskell-mode
593 (name "haskell-mode")
597 (file-name (string-append name "-" version ".tar.gz"))
599 "https://github.com/haskell/haskell-mode/archive/v"
602 (base32 "1kxc2yj8vb122dv91r68h7c5ladcryx963fr16plfhg71fv7f9av"))))
604 `(("emacs" ,emacs-minimal)
605 ("texinfo" ,texinfo)))
606 (build-system gnu-build-system)
608 `(#:make-flags (list (string-append "EMACS="
609 (assoc-ref %build-inputs "emacs")
612 (modify-phases %standard-phases
616 (lambda* (#:key inputs #:allow-other-keys)
617 (let ((sh (string-append (assoc-ref inputs "bash") "/bin/sh")))
618 (setenv "SHELL" "sh")
619 (substitute* (find-files "." "\\.el") (("/bin/sh") sh))
623 (lambda* (#:key outputs #:allow-other-keys)
624 (let* ((out (assoc-ref outputs "out"))
625 (el-dir (string-append out "/share/emacs/site-lisp"))
627 out "/share/doc/haskell-mode-" ,version))
628 (info (string-append out "/share/info")))
629 (define (copy-to-dir dir files)
630 (for-each (lambda (f)
631 (install-file f dir))
634 (with-directory-excursion "doc"
635 (unless (zero? (system* "makeinfo" "haskell-mode.texi"))
636 (error "makeinfo failed"))
637 (install-file "haskell-mode.info" info))
638 (copy-to-dir doc '("CONTRIBUTING.md" "NEWS" "README.md"))
639 (copy-to-dir el-dir (find-files "." "\\.elc?"))
640 ;; these are now distributed with emacs
641 (with-directory-excursion el-dir
642 (for-each delete-file '("cl-lib.el" "ert.el")))
644 (home-page "https://github.com/haskell/haskell-mode")
645 (synopsis "Haskell mode for Emacs")
647 "This is an Emacs mode for editing, debugging and developing Haskell
649 (license license:gpl3+)))
651 (define-public let-alist
653 (name "emacs-let-alist")
657 (uri (string-append "http://elpa.gnu.org/packages/let-alist-"
661 "07312bvvyz86lf64vdkxg2l1wgfjl25ljdjwlf1bdzj01c4hm88x"))))
662 (build-system trivial-build-system)
664 `(#:modules ((guix build utils)
665 (guix build emacs-utils))
668 (use-modules (guix build emacs-utils)
671 (let* ((out (assoc-ref %outputs "out"))
672 (lispdir (string-append out
673 "/share/emacs/site-lisp/"
676 (emacs (assoc-ref %build-inputs "emacs")))
679 (copy-file (assoc-ref %build-inputs "source")
680 (string-append lispdir "/let-alist.el"))
682 (setenv "PATH" (string-append emacs "/bin"))
683 (emacs-byte-compile-directory lispdir)
685 (native-inputs `(("emacs" ,emacs-minimal)))
686 (home-page "http://elpa.gnu.org/packages/let-alist.html")
687 (synopsis "Easily let-bind values of an assoc-list by their names")
689 "This package offers a single Emacs Lisp macro, @code{let-alist}. This
690 macro takes a first argument, whose value must be an alist (association list),
693 The macro expands to a let form containing the body, where each dotted symbol
694 inside body is let-bound to their cdrs in the alist. Only those present in
695 the body are let-bound and this search is done at compile time.")
696 (license license:gpl3+)))
698 (define-public flycheck
700 (name "emacs-flycheck")
705 "https://github.com/flycheck/flycheck/releases/download/"
706 version "/flycheck-" version ".tar"))
709 "1yjxivk11d7w39zfhj2xr4h6xhwx1aj6yhyzd63rjrad7xpjfl86"))))
710 (build-system emacs-build-system)
712 `(("emacs-dash" ,emacs-dash)
713 ("emacs-let-alist" ,let-alist)
714 ("emacs-seq" ,emacs-seq)))
715 (home-page "https://www.flycheck.org")
716 (synopsis "On-the-fly syntax checking")
718 "This package provides on-the-fly syntax checking for GNU Emacs. It is a
719 replacement for the older Flymake extension which is part of GNU Emacs, with
720 many improvements and additional features.
722 Flycheck provides fully-automatic, fail-safe, on-the-fly background syntax
723 checking for over 30 programming and markup languages with more than 70
724 different tools. It highlights errors and warnings inline in the buffer, and
725 provides an optional IDE-like error list.")
726 (license license:gpl3+))) ;+GFDLv1.3+ for the manual
733 (define-public emacs-w3m
736 (version "1.4.538+0.20141022")
739 (uri (string-append "mirror://debian/pool/main/w/w3m-el/w3m-el_"
740 version ".orig.tar.gz"))
743 "0zfxmq86pwk64yv0426gnjrvhjrgrjqn08sdcdhmmjmfpmqvm79y"))))
744 (build-system gnu-build-system)
745 (native-inputs `(("autoconf" ,autoconf)
746 ("emacs" ,emacs-minimal)))
747 (inputs `(("w3m" ,w3m)
748 ("imagemagick" ,imagemagick)))
750 `(#:modules ((guix build gnu-build-system)
752 (guix build emacs-utils))
753 #:imported-modules (,@%gnu-build-system-modules
754 (guix build emacs-utils))
756 (let ((out (assoc-ref %outputs "out")))
757 (list (string-append "--with-lispdir="
758 out "/share/emacs/site-lisp")
759 (string-append "--with-icondir="
760 out "/share/images/emacs-w3m")
761 ;; Leave .el files uncompressed, otherwise GC can't
762 ;; identify run-time dependencies. See
763 ;; <http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00208.html>
764 "--without-compress-install"))
765 #:tests? #f ; no check target
767 (modify-phases %standard-phases
768 (add-after 'unpack 'autoconf
770 (zero? (system* "autoconf"))))
771 (add-before 'build 'patch-exec-paths
772 (lambda* (#:key inputs outputs #:allow-other-keys)
773 (let ((out (assoc-ref outputs "out"))
774 (w3m (assoc-ref inputs "w3m"))
775 (imagemagick (assoc-ref inputs "imagemagick"))
776 (coreutils (assoc-ref inputs "coreutils")))
777 (emacs-substitute-variables "w3m.el"
778 ("w3m-command" (string-append w3m "/bin/w3m"))
780 (string-append coreutils "/bin/touch"))
782 (string-append imagemagick "/bin/display"))
783 ("w3m-icon-directory"
784 (string-append out "/share/images/emacs-w3m")))
785 (emacs-substitute-variables "w3m-image.el"
786 ("w3m-imagick-convert-program"
787 (string-append imagemagick "/bin/convert"))
788 ("w3m-imagick-identify-program"
789 (string-append imagemagick "/bin/identify")))
792 (lambda* (#:key outputs #:allow-other-keys)
793 (and (zero? (system* "make" "install" "install-icons"))
794 (with-directory-excursion
795 (string-append (assoc-ref outputs "out")
796 "/share/emacs/site-lisp")
797 (for-each delete-file '("ChangeLog" "ChangeLog.1"))
798 (symlink "w3m-load.el" "w3m-autoloads.el")
800 (home-page "http://emacs-w3m.namazu.org/")
801 (synopsis "Simple Web browser for Emacs based on w3m")
803 "Emacs-w3m is an emacs interface for the w3m web browser.")
804 (license license:gpl2+)))
806 (define-public emacs-wget
812 (uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_"
813 version ".orig.tar.gz"))
815 (base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff"))))
816 (build-system gnu-build-system)
817 (inputs `(("wget" ,wget)))
818 (native-inputs `(("emacs" ,emacs-minimal)))
820 `(#:modules ((guix build gnu-build-system)
822 (guix build emacs-utils))
823 #:imported-modules (,@%gnu-build-system-modules
824 (guix build emacs-utils))
825 #:tests? #f ; no check target
829 (lambda* (#:key outputs #:allow-other-keys)
830 (substitute* "Makefile"
831 (("/usr/local") (assoc-ref outputs "out"))
832 (("/site-lisp/emacs-wget") "/site-lisp")))
834 'build 'patch-exec-paths
835 (lambda* (#:key inputs outputs #:allow-other-keys)
836 (let ((wget (assoc-ref inputs "wget")))
837 (emacs-substitute-variables "wget.el"
838 ("wget-command" (string-append wget "/bin/wget")))))
840 'install 'post-install
841 (lambda* (#:key outputs #:allow-other-keys)
842 (emacs-generate-autoloads
843 "wget" (string-append (assoc-ref outputs "out")
844 "/share/emacs/site-lisp/")))
845 %standard-phases)))))
846 (home-page "http://www.emacswiki.org/emacs/EmacsWget")
847 (synopsis "Simple file downloader for Emacs based on wget")
849 "Emacs-wget is an emacs interface for the wget file downloader.")
850 (license license:gpl2+)))
863 (uri (string-append "mirror://gnu/emms/emms-"
867 "0ay6631p3dr6xnhkm7skwn0gp317r1mxbip28m126w4zqf05cbh3"))
868 (modules '((guix build utils)))
870 '(substitute* "Makefile"
871 (("/usr/bin/install-info")
872 ;; No need to use 'install-info' since it would create a
873 ;; useless 'dir' file.
876 ;; Install Info files to $out/share/info, not $out/info.
877 "INFODIR := $(PREFIX)/share/info\n")
879 ;; Install directly in share/emacs/site-lisp, not in a
882 (("^all: (.*)\n" _ rest)
883 ;; Build 'emms-print-metadata'.
884 (string-append "all: " rest " emms-print-metadata\n"))))))
885 (build-system gnu-build-system)
887 `(#:modules ((guix build gnu-build-system)
889 (guix build emacs-utils))
890 #:imported-modules (,@%gnu-build-system-modules
891 (guix build emacs-utils))
894 (modify-phases %standard-phases
896 (lambda* (#:key inputs outputs #:allow-other-keys)
897 (let ((out (assoc-ref outputs "out"))
898 (vorbis (assoc-ref inputs "vorbis-tools"))
899 (alsa (assoc-ref inputs "alsa-utils"))
900 (mpg321 (assoc-ref inputs "mpg321"))
901 (mp3info (assoc-ref inputs "mp3info")))
902 ;; Specify the installation directory.
903 (substitute* "Makefile"
905 (string-append "PREFIX := " out "\n")))
907 (setenv "SHELL" (which "sh"))
910 ;; Specify the absolute file names of the various
911 ;; programs so that everything works out-of-the-box.
912 (with-directory-excursion "lisp"
913 (emacs-substitute-variables
914 "emms-player-mpg321-remote.el"
915 ("emms-player-mpg321-remote-command"
916 (string-append mpg321 "/bin/mpg321")))
917 (substitute* "emms-player-simple.el"
919 (string-append "\"" vorbis "/bin/ogg123\"")))
920 (emacs-substitute-variables "emms-info-ogginfo.el"
921 ("emms-info-ogginfo-program-name"
922 (string-append vorbis "/bin/ogginfo")))
923 (emacs-substitute-variables "emms-info-libtag.el"
924 ("emms-info-libtag-program-name"
925 (string-append out "/bin/emms-print-metadata")))
926 (emacs-substitute-variables "emms-info-mp3info.el"
927 ("emms-info-mp3info-program-name"
928 (string-append mp3info "/bin/mp3info")))
929 (substitute* "emms-volume-amixer.el"
931 (string-append "\"" alsa "/bin/amixer\"")))
932 (substitute* "emms-tag-editor.el"
934 (string-append "\"" mp3info "/bin/mp3info\"")))))))
935 (add-before 'install 'pre-install
936 (lambda* (#:key outputs #:allow-other-keys)
937 ;; The 'install' rule expects the target directory to exist.
938 (let* ((out (assoc-ref outputs "out"))
939 (man1 (string-append out "/share/man/man1")))
942 (add-after 'install 'post-install
943 (lambda* (#:key outputs #:allow-other-keys)
944 (let* ((out (assoc-ref outputs "out"))
945 (target (string-append
946 out "/bin/emms-print-metadata")))
947 (symlink "emms-auto.el"
948 (string-append out "/share/emacs/site-lisp/"
949 "emms-autoloads.el"))
950 (mkdir-p (dirname target))
951 (copy-file "src/emms-print-metadata" target)
952 (chmod target #o555)))))
954 (native-inputs `(("emacs" ,emacs-minimal) ;for (guix build emacs-utils)
955 ("texinfo" ,texinfo)))
956 (inputs `(("alsa-utils" ,alsa-utils)
957 ("vorbis-tools" ,vorbis-tools)
960 ("mp3info" ,mp3info)))
961 (synopsis "Emacs Multimedia System")
963 "EMMS is the Emacs Multimedia System. It is a small front-end which
964 can control one of the supported external players. Thus, it supports
965 whatever formats are supported by your music player. It also
966 supports tagging and playlist management, all behind a clean and
967 light user interface.")
968 (home-page "http://www.gnu.org/software/emms/")
969 (license license:gpl3+)))
971 (define-public emacs-emms-player-mpv
973 (name "emacs-emms-player-mpv")
978 (uri (string-append "https://github.com/dochang/emms-player-mpv/archive/"
980 (file-name (string-append name "-" version ".tar.gz"))
983 "01wj410dpx25b3i8781i2j9c6nlvzvvphy9qgh7zfpmyz6a3wsm4"))))
984 (build-system emacs-build-system)
987 (home-page "https://github.com/dochang/emms-player-mpv/")
988 (synopsis "Mpv support for EMMS")
990 "This package provides an EMMS player that uses mpv. It supports pause
992 (license license:gpl3+)))
1005 (uri (string-append "mirror://savannah/bbdb/bbdb-"
1009 "1gs16bbpiiy01w9pyg12868r57kx1v3hnw04gmqsmpc40l1hyy05"))
1010 (modules '((guix build utils)))
1012 ;; We don't want to build and install the PDF.
1013 '(substitute* "doc/Makefile.in"
1014 (("^doc_DATA = .*$")
1016 (build-system gnu-build-system)
1018 '(#:phases (alist-cons-after
1019 'install 'post-install
1020 (lambda* (#:key outputs #:allow-other-keys)
1021 ;; Add an autoloads file with the right name for guix.el.
1022 (let* ((out (assoc-ref outputs "out"))
1023 (site (string-append out "/share/emacs/site-lisp")))
1024 (with-directory-excursion site
1025 (symlink "bbdb-loaddefs.el" "bbdb-autoloads.el"))))
1027 (native-inputs `(("emacs" ,emacs-minimal)))
1028 (home-page "http://savannah.nongnu.org/projects/bbdb/")
1029 (synopsis "Contact management utility for Emacs")
1031 "BBDB is the Insidious Big Brother Database for GNU Emacs. It provides
1032 an address book for email and snail mail addresses, phone numbers and the
1033 like. It can be linked with various Emacs mail clients (Message and Mail
1034 mode, Rmail, Gnus, MH-E, and VM). BBDB is fully customizable.")
1035 (license license:gpl3+)))
1037 (define-public emacs-async
1039 (name "emacs-async")
1043 (uri (string-append "http://elpa.gnu.org/packages/async-"
1047 "1ip5nc8xyln5szvqwp6wqva9xr84pn8ssn3nnphrszr19y4js2bm"))))
1048 (build-system emacs-build-system)
1049 (home-page "http://elpa.gnu.org/packages/async.html")
1050 (synopsis "Asynchronous processing in Emacs")
1052 "This package provides the ability to call asynchronous functions and
1053 processes. For example, it can be used to run dired commands (for copying,
1054 moving, etc.) asynchronously using @code{dired-async-mode}. Also it is used
1055 as a library for other Emacs packages.")
1056 (license license:gpl3+)))
1058 (define-public emacs-auctex
1060 (name "emacs-auctex")
1066 "http://elpa.gnu.org/packages/auctex-"
1071 "1pmki8hdjjikxlvip3pzi350bln3gcimr27yjf0xfwjvnp5hh9nc"))))
1072 (build-system emacs-build-system)
1073 ;; We use 'emacs' because AUCTeX requires dbus at compile time
1074 ;; ('emacs-minimal' does not provide dbus).
1075 (arguments `(#:emacs ,emacs))
1078 (home-page "http://www.gnu.org/software/auctex/")
1079 (synopsis "Integrated environment for TeX")
1081 "AUCTeX is a comprehensive customizable integrated environment for
1082 writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs
1084 (license license:gpl3+)))
1086 (define-public emacs-mmm-mode
1088 (name "emacs-mmm-mode")
1094 "https://github.com/purcell/mmm-mode/archive/"
1096 (file-name (string-append name "-" version ".tar.gz"))
1099 "10kwslnflbjqm62wkrq420crqzdqalzfflp9pqk1i12zm6dm4mfv"))))
1100 (build-system gnu-build-system)
1103 (modify-phases %standard-phases
1104 (add-after 'unpack 'autogen
1106 (zero? (system* "sh" "autogen.sh")))))))
1108 `(("autoconf" ,autoconf)
1109 ("automake" ,automake)
1110 ("emacs" ,emacs-minimal)
1111 ("texinfo" ,texinfo)))
1112 (home-page "https://github.com/purcell/mmm-mode")
1113 (synopsis "Allow multiple major modes in an Emacs buffer")
1115 "MMM Mode is a minor mode that allows multiple major modes to coexist in a
1117 (license license:gpl3+)))
1119 (define-public emacs-pdf-tools
1121 (name "emacs-pdf-tools")
1126 "https://github.com/politza/pdf-tools/archive/v"
1128 (file-name (string-append name "-" version ".tar.gz"))
1131 "1m0api6wiawswyk46bdsyk6r5rg3b86a4paar6nassm6x6c6vr77"))))
1132 (build-system gnu-build-system)
1134 `(#:tests? #f ; there are no tests
1135 #:modules ((guix build gnu-build-system)
1136 ((guix build emacs-build-system) #:prefix emacs:)
1138 (guix build emacs-utils))
1139 #:imported-modules (,@%gnu-build-system-modules
1140 (guix build emacs-build-system)
1141 (guix build emacs-utils))
1143 (modify-phases %standard-phases
1144 ;; Build server side using 'gnu-build-system'.
1145 (add-after 'unpack 'enter-server-dir
1146 (lambda _ (chdir "server") #t))
1147 (add-before 'configure 'autogen
1149 (zero? (system* "bash" "autogen.sh"))))
1151 ;; Build emacs side using 'emacs-build-system'.
1152 (add-after 'compress-documentation 'enter-lisp-dir
1153 (lambda _ (chdir "../lisp") #t))
1154 (add-after 'enter-lisp-dir 'emacs-patch-variables
1155 (lambda* (#:key outputs #:allow-other-keys)
1156 ;; Set path to epdfinfo program.
1157 (emacs-substitute-variables "pdf-info.el"
1158 ("pdf-info-epdfinfo-program"
1159 (string-append (assoc-ref outputs "out")
1161 ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto
1162 ;; upgrading" that pdf-tools tries to perform.
1163 (emacs-substitute-variables "pdf-tools.el"
1164 ("pdf-tools-handle-upgrades" '()))))
1165 (add-after 'emacs-patch-variables 'emacs-install
1166 (assoc-ref emacs:%standard-phases 'install))
1167 (add-after 'emacs-install 'emacs-build
1168 (assoc-ref emacs:%standard-phases 'build))
1169 (add-after 'emacs-install 'emacs-make-autoloads
1170 (assoc-ref emacs:%standard-phases 'make-autoloads)))))
1171 (native-inputs `(("autoconf" ,autoconf)
1172 ("automake" ,automake)
1173 ("pkg-config" ,pkg-config)
1174 ("emacs" ,emacs-minimal)))
1176 `(("let-alist" ,let-alist)))
1177 (inputs `(("poppler" ,poppler)
1182 (synopsis "Emacs support library for PDF files")
1184 "PDF Tools is, among other things, a replacement of DocView for PDF
1185 files. The key difference is that pages are not pre-rendered by
1186 e.g. ghostscript and stored in the file-system, but rather created on-demand
1187 and stored in memory.")
1188 (home-page "https://github.com/politza/pdf-tools")
1189 (license license:gpl3+)))
1191 (define-public emacs-dash
1198 "https://github.com/magnars/dash.el/archive/"
1200 (file-name (string-append name "-" version ".tar.gz"))
1203 "082jl7mp4x063bpj5ad2pc5125k0d6p7rb89gcj7ny3lma9h2ij1"))))
1204 (build-system emacs-build-system)
1207 (modify-phases %standard-phases
1208 (add-before 'install 'check
1210 (zero? (system* "./run-tests.sh")))))))
1211 (home-page "https://github.com/magnars/dash.el")
1212 (synopsis "Modern list library for Emacs")
1213 (description "This package provides a modern list API library for Emacs.")
1214 (license license:gpl3+)))
1216 (define-public emacs-undo-tree
1218 (name "emacs-undo-tree")
1223 (url "http://dr-qubit.org/git/undo-tree.git")
1224 (commit "release/0.6.4")))
1225 (file-name (string-append name "-" version "-checkout"))
1228 "0b6hnv6bq1g5np5q2yw9r9aj1cxpp14akm21br7vpb7wp01fv4b3"))))
1229 (build-system emacs-build-system)
1230 (home-page "http://www.dr-qubit.org/emacs.php")
1231 (synopsis "Treat undo history as a tree")
1232 (description "Tree-like interface to Emacs undo system, providing
1233 graphical tree presentation of all previous states of buffer that
1234 allows easily move between them.")
1235 (license license:gpl3+)))
1237 (define-public emacs-s
1244 "https://github.com/magnars/s.el/archive/"
1246 (file-name (string-append name "-" version ".tar.gz"))
1249 "1gah2k577gvnmxlpw7zrz0jr571vghzhdv2hbgchlgah07czd091"))))
1250 (build-system emacs-build-system)
1253 (modify-phases %standard-phases
1254 (add-before 'install 'check
1256 (zero? (system* "./run-tests.sh")))))))
1257 (home-page "https://github.com/magnars/s.el")
1258 (synopsis "Emacs string manipulation library")
1259 (description "This package provides an Emacs library for manipulating
1261 (license license:gpl3+)))
1263 (define-public emacs-f
1270 "https://github.com/rejeep/f.el/archive/v"
1272 (file-name (string-append name "-" version ".tar.gz"))
1275 "1n5gcldf43wmkr7jxgs519v21zavwr0yn8048iv6gvgfwicnyjlx"))))
1276 (build-system emacs-build-system)
1278 `(("emacs-s" ,emacs-s)
1279 ("emacs-dash" ,emacs-dash)))
1280 (home-page "http://github.com/rejeep/f.el")
1281 (synopsis "Emacs API for working with files and directories")
1282 (description "This package provides an Emacs library for working with
1283 files and directories.")
1284 (license license:gpl3+)))
1286 (define-public emacs-el-mock
1288 (name "emacs-el-mock")
1293 (uri (string-append "https://github.com/rejeep/el-mock.el/"
1294 "archive/v" version ".tar.gz"))
1295 (file-name (string-append name "-" version ".tar.gz"))
1298 "16xw94n58xxn3zvgyj72bmzs0k5lkvswjmzs79ws9n7rzdivb38b"))))
1299 (build-system emacs-build-system)
1300 (home-page "http://github.com/rejeep/el-mock.el")
1301 (synopsis "Tiny mock and stub framework in Emacs Lisp")
1303 "Emacs Lisp Mock is a library for mocking and stubbing using readable
1304 syntax. Most commonly Emacs Lisp Mock is used in conjunction with Emacs Lisp
1305 Expectations, but it can be used in other contexts.")
1306 (license license:gpl3+)))
1308 (define-public emacs-espuds
1310 (name "emacs-espuds")
1315 (uri (string-append "https://github.com/ecukes/espuds/"
1316 "archive/v" version ".tar.gz"))
1317 (file-name (string-append name "-" version ".tar.gz"))
1320 "0xv551376pbmh735a3zjwc9z4qdx6ngj1vpq3xqjpn0a1rwjyn4k"))))
1321 (build-system emacs-build-system)
1323 `(("emacs-s" ,emacs-s)
1324 ("emacs-dash" ,emacs-dash)
1325 ("emacs-f" ,emacs-f)))
1326 (home-page "http://github.com/ecukes/espuds")
1327 (synopsis "Common step definitions for Ecukes")
1328 (description "Espuds is a collection of the most commonly used step
1329 definitions for testing with the Ecukes framework.")
1330 (license license:gpl3+)))
1332 (define-public emacs-expand-region
1334 (name "emacs-expand-region")
1339 (uri (string-append "https://github.com/magnars/expand-region.el"
1340 "/archive/" version ".tar.gz"))
1341 (file-name (string-append name "-" version ".tar.gz"))
1344 "1zfiaqyb3zqiyqjkpqsjw660j09805nqsg25q6ars2h8gs0rnvxb"))))
1345 (build-system emacs-build-system)
1346 (home-page "https://github.com/magnars/expand-region.el")
1347 (synopsis "Increase selected region by semantic units")
1349 "Expand region increases the selected region by semantic units. Just
1350 keep pressing the key until it selects what you want. There's also
1351 @code{er/contract-region} if you expand too far.")
1352 (license license:gpl3+)))
1354 (define-public emacs-fill-column-indicator
1356 (name "emacs-fill-column-indicator")
1361 (uri (string-append "https://github.com/alpaker/Fill-Column-Indicator"
1362 "/archive/v" version ".tar.gz"))
1363 (file-name (string-append name "-" version ".tar.gz"))
1366 "1xwyqbjbbicmvhlb85vg4j5snwy1vd7rfk89ws4viws5ljkhhyg8"))))
1367 (build-system emacs-build-system)
1368 (home-page "https://www.emacswiki.org/emacs/FillColumnIndicator")
1369 (synopsis "Graphically indicate the fill column")
1371 "Fill-column-indicator graphically indicates the location of the fill
1372 column by drawing a thin line down the length of the editing window.")
1373 (license license:gpl3+)))
1375 (define-public emacs-znc
1382 (uri (string-append "https://marmalade-repo.org/packages/znc-"
1386 "1d8lqvybgyazin5z0g1c4l3rg1vzrrvf0saqs53jr1zcdg0lianh"))))
1387 (build-system emacs-build-system)
1388 (home-page "https://github.com/sshirokov/ZNC.el")
1389 (synopsis "Make ERC and ZNC get along better")
1391 "This is a thin wrapper around @code{erc} that enables one to use the ZNC
1392 IRC bouncer with ERC.")
1393 (license license:expat)))
1395 (define-public emacs-shut-up
1397 (name "emacs-shut-up")
1402 (uri (string-append "https://github.com/cask/shut-up/"
1403 "archive/v" version ".tar.gz"))
1404 (file-name (string-append name "-" version ".tar.gz"))
1407 "09kzrjdkb569iviyg7ydwq44yh84m3f9hkl7jizfrlk0w4gz67d1"))))
1408 (build-system emacs-build-system)
1409 (home-page "https://github.com/cask/shut-up")
1410 (synopsis "Silence Emacs")
1411 (description "This package silences most output of Emacs when running an
1412 Emacs shell script.")
1413 (license license:expat)))
1415 (define-public emacs-paren-face
1417 (name "emacs-paren-face")
1422 (uri (string-append "https://github.com/tarsius/paren-face/archive/"
1424 (file-name (string-append name "-" version ".tar.gz"))
1427 "0y4qrhxa9332vsvr999jg7qj1ymnfgwpf591yi4a4jgg90pm7qnn"))))
1428 (build-system emacs-build-system)
1429 (home-page "http://github.com/tarsius/paren-face")
1430 (synopsis "Face for parentheses in lisp modes")
1432 "This library defines a face named @code{parenthesis} used just for
1433 parentheses. The intended purpose of this face is to make parentheses less
1434 visible in Lisp code by dimming them. Lispers probably don't need to be
1435 constantly made aware of the existence of the parentheses. Dimming them might
1436 be even more useful for people new to lisp who have not yet learned to
1437 subconsciously blend out the parentheses.")
1438 (license license:gpl3+)))
1440 (define-public emacs-page-break-lines
1442 (name "emacs-page-break-lines")
1447 (uri (string-append "https://github.com/purcell/page-break-lines/"
1448 "archive/" version ".tar.gz"))
1449 (file-name (string-append name "-" version ".tar.gz"))
1452 "1zzhziq5kbrm9rxk30kx2glz455fp1blqxg8cpcf6l8xl3w8z4pg"))))
1453 (build-system emacs-build-system)
1454 (home-page "https://github.com/purcell/page-break-lines")
1455 (synopsis "Display page breaks as tidy horizontal lines")
1457 "This library provides a global mode which displays form feed characters
1458 as horizontal rules.")
1459 (license license:gpl3+)))
1461 (define-public emacs-simple-httpd
1463 (name "emacs-simple-httpd")
1468 (uri (string-append "https://github.com/skeeto/emacs-web-server/"
1469 "archive/" version ".tar.gz"))
1470 (file-name (string-append name "-" version ".tar.gz"))
1473 "01r7h3imnj4qx1m53a2wjafvbylcyz5f9r2rg2cs7ky3chlg220r"))))
1474 (build-system emacs-build-system)
1475 (home-page "https://github.com/skeeto/emacs-http-server")
1476 (synopsis "HTTP server in pure Emacs Lisp")
1478 "This package provides a simple HTTP server written in Emacs Lisp to
1479 serve files and directory listings.")
1480 (license license:unlicense)))
1482 (define-public emacs-skewer-mode
1484 (name "emacs-skewer-mode")
1489 (uri (string-append "https://github.com/skeeto/skewer-mode/archive/"
1491 (file-name (string-append name "-" version ".tar.gz"))
1494 "07jpz374j0j964szy3zznrkyja2kpdl3xa87wh7349mzxivqxdx0"))))
1495 (build-system emacs-build-system)
1497 `(("emacs-simple-httpd" ,emacs-simple-httpd)
1498 ("emacs-js2-mode" ,emacs-js2-mode)))
1499 (home-page "https://github.com/skeeto/skewer-mode")
1500 (synopsis "Live web development in Emacs")
1502 "Skewer-mode provides live interaction with JavaScript, CSS, and HTML in
1503 a web browser. Expressions are sent on-the-fly from an editing buffer to be
1504 evaluated in the browser, just like Emacs does with an inferior Lisp process
1506 (license license:unlicense)))
1508 (define-public emacs-rich-minority
1510 (name "emacs-rich-minority")
1515 (uri (string-append "https://github.com/Malabarba/rich-minority/"
1516 "archive/" version ".tar.gz"))
1517 (file-name (string-append name "-" version ".tar.gz"))
1520 "1l0cb0q7kyi88nwfqd542psnkgwnjklpzc5rx32gzd3lkwkrbr8v"))))
1521 (build-system emacs-build-system)
1522 (home-page "https://github.com/Malabarba/rich-minority")
1523 (synopsis "Clean-up and beautify the list of minor modes")
1525 "This Emacs package hides and/or highlights minor modes in the
1527 (license license:gpl2+)))
1529 (define-public emacs-smart-mode-line
1531 (name "emacs-smart-mode-line")
1536 (uri (string-append "https://github.com/Malabarba/smart-mode-line/"
1537 "archive/" version ".tar.gz"))
1538 (file-name (string-append name "-" version ".tar.gz"))
1541 "0i9wajabrrsjzwd842q0m2611kf0q31p9hg1pdj81177gynkw8l8"))))
1542 (build-system emacs-build-system)
1544 `(("emacs-rich-minority" ,emacs-rich-minority)))
1545 (home-page "http://github.com/Malabarba/smart-mode-line")
1546 (synopsis "Color-coded smart mode-line.")
1548 "Smart Mode Line is a mode-line theme for Emacs. It aims to be easy to
1549 read from small to large monitors by using colors, a prefix feature, and smart
1551 (license license:gpl2+)))
1553 (define-public emacs-ob-ipython
1555 (name "emacs-ob-ipython")
1556 (version "20150704.8807064693")
1560 (commit "880706469338ab59b5bb7dbe8460016f89755364")
1561 (url "https://github.com/gregsexton/ob-ipython.git")))
1564 "1scf25snbds9ymagpny30ijbsg479r3nm0ih01dy4m9d0g7qryb7"))))
1565 (build-system emacs-build-system)
1567 `(("emacs-f" ,emacs-f)))
1568 (home-page "http://www.gregsexton.org")
1569 (synopsis "Org-Babel functions for IPython evaluation")
1570 (description "This package adds support to Org-Babel for evaluating Python
1571 source code using IPython.")
1572 (license license:gpl3+)))
1574 (define-public emacs-debbugs
1576 (name "emacs-debbugs")
1580 (uri (string-append "http://elpa.gnu.org/packages/debbugs-"
1584 "1wc6kw7hihqqdx8qyl01akygycnan44x400hwrcf54m3hb4isa0k"))))
1585 (build-system emacs-build-system)
1587 `(("emacs-async" ,emacs-async)))
1588 (home-page "http://elpa.gnu.org/packages/debbugs.html")
1589 (synopsis "Access the Debbugs bug tracker in Emacs")
1591 "This package lets you access the @uref{http://bugs.gnu.org,GNU Bug
1592 Tracker} from within Emacs.
1594 For instance, it defines the command @code{M-x debbugs-gnu} for listing bugs,
1595 and the command @code{M-x debbugs-gnu-search} for bug searching. If you
1596 prefer the listing of bugs as TODO items of @code{org-mode}, you could use
1597 @code{M-x debbugs-org} and related commands.
1599 A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug
1600 Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.")
1601 (license license:gpl3+)))
1603 (define-public emacs-deferred
1605 (name "emacs-deferred")
1607 (home-page "https://github.com/kiwanami/emacs-deferred")
1612 (commit (string-append "v" version))))
1615 "0059jy01ni5irpgrj9fa81ayd9j25nvmjjm79ms3210ysx4pgqdr"))
1616 (file-name (string-append name "-" version))))
1617 (build-system emacs-build-system)
1618 ;; FIXME: Would need 'el-expectations' to actually run tests.
1619 (synopsis "Simple asynchronous functions for Emacs Lisp")
1621 "The @code{deferred.el} library provides support for asynchronous tasks.
1622 The API is almost the same as that of
1623 @uref{https://github.com/cho45/jsdeferred, JSDeferred}, a JavaScript library
1624 for asynchronous tasks.")
1625 (license license:gpl3+)))
1627 (define-public butler
1629 (name "emacs-butler")
1631 (home-page "https://github.com/AshtonKem/Butler")
1639 "1pii9dw4skq7nr4na6qxqasl36av8cwjp71bf1fgppqpcd9z8skj"))
1640 (file-name (string-append name "-" version))))
1641 (build-system emacs-build-system)
1643 `(("emacs-deferred" ,emacs-deferred)))
1644 (synopsis "Emacs client for Jenkins")
1646 "Butler provides an interface to connect to Jenkins continuous
1647 integration servers. Users can specify a list of server in the
1648 @code{butler-server-list} variable and then use @code{M-x butler-status} to
1649 view the build status of those servers' build jobs, and possibly to trigger
1651 (license license:gpl3+)))
1653 (define-public emacs-company
1655 (name "emacs-company")
1660 (uri (string-append "https://github.com/company-mode/company-mode/archive/"
1662 (file-name (string-append name "-" version ".tar.gz"))
1665 "1vwmbqm7h4lrszv2qxy6fqzznm9raigi84cadx982c9m7shp0zzz"))))
1666 (build-system emacs-build-system)
1667 (home-page "http://company-mode.github.io/")
1668 (synopsis "Modular text completion framework")
1670 "Company is a modular completion mechanism. Modules for retrieving
1671 completion candidates are called back-ends, modules for displaying them are
1672 front-ends. Company comes with many back-ends, e.g. @code{company-elisp}.
1673 These are distributed in separate files and can be used individually.")
1674 (license license:gpl3+)))
1676 (define-public emacs-multiple-cursors
1678 (name "emacs-multiple-cursors")
1683 (uri (string-append "https://github.com/magnars/multiple-cursors.el/"
1684 "archive/" version ".tar.gz"))
1685 (file-name (string-append name "-" version ".tar.gz"))
1688 "0hihihlvcvzayg5fnqzcg45fhvlmq6xlq58syy00rjwbry9w389k"))))
1689 (build-system emacs-build-system)
1690 (home-page "https://github.com/magnars/multiple-cursors.el")
1691 (synopsis "Multiple cursors for Emacs")
1693 "This package adds support to Emacs for editing text with multiple
1694 simultaneous cursors.")
1695 (license license:gpl3+)))
1701 (home-page "https://github.com/jorgenschaefer/typoel")
1706 (commit (string-append "v" version))))
1709 "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2"))
1710 (file-name (string-append name "-" version))))
1711 (build-system emacs-build-system)
1712 (synopsis "Minor mode for typographic editing")
1714 "This package provides two Emacs modes, @code{typo-mode} and
1715 @code{typo-global-mode}. These modes automatically insert Unicode characters
1716 for quotation marks, dashes, and ellipses. For example, typing @kbd{\"}
1717 automatically inserts a Unicode opening or closing quotation mark, depending
1719 (license license:gpl3+)))
1721 (define-public emacs-scheme-complete
1722 (let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5"))
1724 (name "emacs-scheme-complete")
1725 (version (string-append "20151223." (string-take commit 8)))
1728 (file-name (string-append name "-" version))
1731 (url "https://github.com/ashinn/scheme-complete.git")
1735 "141wn9l0m33w0g3dqmx8nxbfdny1r5xbr6ak61rsz21bk0qafs7x"))
1737 (search-patches "emacs-scheme-complete-scheme-r5rs-info.patch"))))
1738 (build-system emacs-build-system)
1739 (home-page "https://github.com/ashinn/scheme-complete")
1740 (synopsis "Smart tab completion for Scheme in Emacs")
1742 "This file provides a single function, @code{scheme-smart-complete},
1743 which you can use for intelligent, context-sensitive completion for any Scheme
1744 implementation in Emacs. To use it just load this file and bind that function
1745 to a key in your preferred mode.")
1746 (license license:public-domain))))
1748 (define-public emacs-mit-scheme-doc
1750 (name "emacs-mit-scheme-doc")
1751 (version "20140203")
1754 (modules '((guix build utils)))
1756 ;; keep only file of interest
1758 (for-each delete-file '("dot-emacs.el" "Makefile"))
1759 (copy-file "6.945-config/mit-scheme-doc.el" "mit-scheme-doc.el")
1760 (delete-file-recursively "6.945-config")))
1761 (file-name (string-append name "-" version ".tar.bz2"))
1763 (uri (string-append "http://groups.csail.mit.edu/mac/users/gjs/"
1764 "6.945/dont-panic/emacs-basic-config.tar.bz2"))
1767 "0dqidg2bd66pawqfarvwca93w5gqf9mikn1k2a2rmd9ymfjpziq1"))))
1768 (build-system emacs-build-system)
1769 (inputs `(("mit-scheme" ,mit-scheme)))
1772 (modify-phases %standard-phases
1773 (add-after 'unpack 'configure-doc
1774 (lambda* (#:key inputs #:allow-other-keys)
1775 (let* ((mit-scheme-dir (assoc-ref inputs "mit-scheme"))
1776 (doc-dir (string-append mit-scheme-dir "/share/doc/"
1778 ,(package-version mit-scheme))))
1779 (substitute* "mit-scheme-doc.el"
1780 (("http://www\\.gnu\\.org/software/mit-scheme/documentation/mit-scheme-ref/")
1781 (string-append "file:" doc-dir "/mit-scheme-ref/")))))))))
1782 (home-page "http://groups.csail.mit.edu/mac/users/gjs/6.945/dont-panic/")
1783 (synopsis "MIT-Scheme documentation lookup for Emacs")
1785 "This package provides a set of Emacs functions to search definitions of
1786 identifiers in the MIT-Scheme documentation.")
1787 (license license:gpl2+)))
1789 (define-public emacs-constants
1791 (name "emacs-constants")
1793 (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
1796 (file-name (string-append name "-" version ".tar.gz"))
1798 (uri (string-append "https://github.com/fedeinthemix/emacs-constants"
1799 "/archive/v" version ".tar.gz"))
1802 "0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n"))))
1803 (build-system emacs-build-system)
1804 (synopsis "Enter definition of constants into an Emacs buffer")
1806 "This package provides functions for inserting the definition of natural
1807 constants and units into an Emacs buffer.")
1808 (license license:gpl2+)))
1810 (define-public emacs-slime
1812 (name "emacs-slime")
1816 (file-name (string-append name "-" version ".tar.gz"))
1819 "https://github.com/slime/slime/archive/v"
1823 "146avwbwr6mw0nmgyihx8gkr0mv6al7a73igzxvysj62000cqvlj"))))
1824 (build-system emacs-build-system)
1826 `(("texinfo" ,texinfo)))
1829 (modify-phases %standard-phases
1830 (add-before 'install 'configure
1832 (emacs-substitute-variables "slime.el"
1833 ("inferior-lisp-program" "sbcl"))
1835 (add-before 'install 'install-doc
1836 (lambda* (#:key outputs #:allow-other-keys)
1837 (let* ((out (assoc-ref outputs "out"))
1838 (info-dir (string-append out "/share/info"))
1839 (doc-dir (string-append out "/share/doc/"
1840 ,name "-" ,version))
1841 (doc-files '("doc/slime-refcard.pdf"
1842 "README.md" "NEWS" "PROBLEMS"
1843 "CONTRIBUTING.md")))
1844 (with-directory-excursion "doc"
1845 (substitute* "Makefile"
1846 (("infodir=/usr/local/info")
1847 (string-append "infodir=" info-dir)))
1848 (system* "make" "html/index.html")
1849 (system* "make" "slime.info")
1850 (install-file "slime.info" info-dir)
1851 (copy-recursively "html" (string-append doc-dir "/html")))
1852 (for-each (lambda (f)
1853 (install-file f doc-dir)
1856 (delete-file-recursively "doc")
1858 (home-page "https://github.com/slime/slime")
1859 (synopsis "Superior Lisp Interaction Mode for Emacs")
1861 "SLIME extends Emacs with support for interactive programming in
1862 Common Lisp. The features are centered around @{slime-mode}, an Emacs
1863 minor mode that complements the standard @{lisp-mode}. While lisp-mode
1864 supports editing Lisp source files, @{slime-mode} adds support for
1865 interacting with a running Common Lisp process for compilation,
1866 debugging, documentation lookup, and so on.")
1867 (license license:gpl2+)))
1869 (define-public emacs-popup
1871 (name "emacs-popup")
1876 "https://github.com/auto-complete/popup-el/archive/v"
1878 (file-name (string-append name "-" version ".tar.gz"))
1881 "1yrgfj8y69xmcb6kwgplhq68ndm9410qwh7sd2knnd1gchpphdc0"))))
1882 (build-system emacs-build-system)
1883 (home-page "https://github.com/auto-complete/popup-el")
1884 (synopsis "Visual Popup User Interface for Emacs")
1886 "Popup.el is a visual popup user interface library for Emacs.
1887 This provides a basic API and common UI widgets such as popup tooltips
1889 (license license:gpl3+)))
1891 (define-public emacs-god-mode
1892 (let ((commit "6cf0807b6555eb6fcf8387a4e3b667071ef38964")
1895 (name "emacs-god-mode")
1896 (version (string-append "20151005.925."
1897 revision "-" (string-take commit 9)))
1902 (url "https://github.com/chrisdone/god-mode.git")
1904 (file-name (string-append name "-" version "-checkout"))
1907 "1am415k4xxcva6y3vbvyvknzc6bma49pq3p85zmpjsdmsp18qdix"))))
1908 (build-system emacs-build-system)
1909 (home-page "https://github.com/chrisdone/god-mode")
1910 (synopsis "Minor mode for entering commands without modifier keys")
1912 "This package provides a global minor mode for entering Emacs commands
1913 without modifier keys. It's similar to Vim's separation of commands and
1914 insertion mode. When enabled all keys are implicitly prefixed with
1915 @samp{C-} (among other helpful shortcuts).")
1916 (license license:gpl3+))))
1918 (define-public emacs-rfcview
1920 (name "emacs-rfcview")
1922 (home-page "http://www.loveshack.ukfsn.org/emacs")
1925 (uri "http://www.loveshack.ukfsn.org/emacs/rfcview.el")
1928 "0ympj5rxig383zl2jf0pzdsa80nnq0dpvjiriq0ivfi98fj7kxbz"))))
1929 (build-system emacs-build-system)
1930 (synopsis "Prettify Request for Comments (RFC) documents")
1931 (description "The Internet Engineering Task Force (IETF) and the Internet
1932 Society (ISOC) publish various Internet-related protocols and specifications
1933 as \"Request for Comments\" (RFC) documents and Internet Standard (STD)
1934 documents. RFCs and STDs are published in a simple text form. This package
1935 provides an Emacs major mode, rfcview-mode, which makes it more pleasant to
1936 read these documents in Emacs. It prettifies the text and adds
1937 hyperlinks/menus for easier navigation. It also provides functions for
1938 browsing the index of RFC documents and fetching them from remote servers or
1939 local directories.")
1940 (license license:gpl3+)))
1942 (define-public emacs-ffap-rfc-space
1944 (name "emacs-ffap-rfc-space")
1946 (home-page "http://user42.tuxfamily.org/ffap-rfc-space/index.html")
1949 (uri "http://download.tuxfamily.org/user42/ffap-rfc-space.el")
1952 "1iv61dv57a73mdps7rn6zmgz7nqh14v0ninidyrasy45b1nv6gck"))))
1953 (build-system emacs-build-system)
1954 (synopsis "Make ffap recognize an RFC with a space before its number")
1955 (description "The Internet Engineering Task Force (IETF) and the
1956 Internet Society (ISOC) publish various Internet-related protocols and
1957 specifications as \"Request for Comments\" (RFC) documents. The
1958 built-in Emacs module \"ffap\" (Find File at Point) has the ability to
1959 recognize names at point which look like \"RFC1234\" and \"RFC-1234\"
1960 and load the appropriate RFC from a remote server. However, it fails
1961 to recognize a name like \"RFC 1234\". This package enhances ffap so
1962 that it correctly finds RFCs even when a space appears before the
1964 (license license:gpl3+)))
1966 (define-public emacs-org-bullets
1968 (name "emacs-org-bullets")
1973 (uri (string-append "https://github.com/sabof/org-bullets/archive/"
1975 (file-name (string-append name "-" version ".tar.gz"))
1978 "1dyxvpb73vj80v8br2q9rf255hfphrgaw91fbvwdcd735np9pcnh"))))
1979 (build-system emacs-build-system)
1980 (home-page "https://github.com/sabof/org-bullets")
1981 (synopsis "Show bullets in org-mode as UTF-8 characters")
1983 "This package provides an Emacs minor mode causing bullets in
1984 @code{org-mode} to be rendered as UTF-8 characters.")
1985 (license license:gpl3+)))
1987 (define-public emacs-zenburn-theme
1989 (name "emacs-zenburn-theme")
1994 "https://github.com/bbatsov/zenburn-emacs/archive/v"
1996 (file-name (string-append name "-" version ".tar.gz"))
1999 "0lyi84bm8sa7vj40n6zg6rlbsmi53mi1y9xn6gkjj29s5zbcnlg7"))))
2000 (build-system emacs-build-system)
2001 (home-page "http://github.com/bbatsov/zenburn-emacs")
2002 (synopsis "Low contrast color theme for Emacs")
2004 "Zenburn theme is a port of the popular Vim Zenburn theme for Emacs.
2005 It is built on top of the custom theme support in Emacs 24 or later.")
2006 (license license:gpl3+)))
2008 (define-public emacs-smartparens
2010 (name "emacs-smartparens")
2015 "https://github.com/Fuco1/smartparens/archive/"
2017 (file-name (string-append name "-" version ".tar.gz"))
2020 "1b47ppkzsj8j8a2p0bmvq05rhm2d2lsm3wlc0sg542r4zr6nji8s"))))
2021 (build-system emacs-build-system)
2022 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
2023 (home-page "https://github.com/Fuco1/smartparens")
2024 (synopsis "Paredit-like insertion, wrapping and navigation with user
2027 "Smartparens is a minor mode for Emacs that deals with parens pairs
2028 and tries to be smart about it. It started as a unification effort to
2029 combine functionality of several existing packages in a single,
2030 compatible and extensible way to deal with parentheses, delimiters, tags
2031 and the like. Some of these packages include autopair, textmate,
2032 wrap-region, electric-pair-mode, paredit and others. With the basic
2033 features found in other packages it also brings many improvements as
2034 well as completely new features.")
2035 (license license:gpl3+)))
2037 (define-public emacs-hl-todo
2039 (name "emacs-hl-todo")
2044 "https://raw.githubusercontent.com/tarsius/hl-todo/"
2045 version "/hl-todo.el"))
2048 "18zydm43zajlglhgr0bhdkd4pln27amd063k2ql6p1mvyam3j8ia"))))
2049 (build-system emacs-build-system)
2050 (home-page "https://github.com/tarsius/hl-todo")
2051 (synopsis "Emacs mode to highlight TODO and similar keywords")
2053 "This package provides an Emacs mode to highlight TODO and similar
2054 keywords in comments and strings. This package also provides commands for
2055 moving to the next or previous keyword and to invoke @code{occur} with a
2056 regexp that matches all known keywords.")
2057 (license license:gpl3+)))
2059 (define-public emacs-hydra
2061 (name "emacs-hydra")
2066 (uri (string-append "https://github.com/abo-abo/hydra/archive/"
2068 (file-name (string-append name "-" version ".tar.gz"))
2071 "19ynkjlg3jj7x90xxbz885324h6nkxmzlb2c2c95xkr20zckn0lk"))))
2072 (build-system emacs-build-system)
2073 (home-page "https://github.com/abo-abo/hydra")
2074 (synopsis "Make Emacs bindings that stick around")
2076 "This package can be used to tie related commands into a family of short
2077 bindings with a common prefix---a Hydra. Once you summon the Hydra (through
2078 the prefixed binding), all the heads can be called in succession with only a
2079 short extension. Any binding that isn't the Hydra's head vanquishes the
2080 Hydra. Note that the final binding, besides vanquishing the Hydra, will still
2081 serve its original purpose, calling the command assigned to it. This makes
2082 the Hydra very seamless; it's like a minor mode that disables itself
2084 (license license:gpl3+)))
2086 (define-public emacs-ivy
2093 (uri (string-append "https://github.com/abo-abo/swiper/archive/"
2095 (file-name (string-append name "-" version ".tar.gz"))
2098 "18nqwl05is71dzswnvpfhlg7b0v3apvbsfxrwab9c0apwavi892q"))))
2099 (build-system emacs-build-system)
2101 `(("emacs-hydra" ,emacs-hydra)))
2102 (home-page "http://oremacs.com/swiper/")
2103 (synopsis "Incremental vertical completion for Emacs")
2105 "This package provides @code{ivy-read} as an alternative to
2106 @code{completing-read} and similar functions. No attempt is made to determine
2107 the best candidate. Instead, the user can navigate candidates with
2108 @code{ivy-next-line} and @code{ivy-previous-line}. The matching is done by
2109 splitting the input text by spaces and re-building it into a regular
2111 (license license:gpl3+)))
2113 (define-public emacs-avy
2120 (uri (string-append "https://github.com/abo-abo/avy/archive/"
2122 (file-name (string-append name "-" version ".tar.gz"))
2125 "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
2126 (build-system emacs-build-system)
2127 (home-page "https://github.com/abo-abo/avy")
2128 (synopsis "Tree-based completion for Emacs")
2130 "This package provides a generic completion method based on building a
2131 balanced decision tree with each candidate being a leaf. To traverse the tree
2132 from the root to a desired leaf, typically a sequence of @code{read-key} can
2135 In order for @code{read-key} to make sense, the tree needs to be visualized
2136 appropriately, with a character at each branch node. So this completion
2137 method works only for things that you can see on your screen, all at once,
2138 such as the positions of characters, words, line beginnings, links, or
2140 (license license:gpl3+)))
2142 (define-public emacs-ace-window
2144 (name "emacs-ace-window")
2149 (uri (string-append "https://github.com/abo-abo/ace-window/archive/"
2151 (file-name (string-append name "-" version ".tar.gz"))
2154 "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn"))))
2155 (build-system emacs-build-system)
2157 `(("emacs-avy" ,emacs-avy)))
2158 (home-page "https://github.com/abo-abo/ace-window")
2159 (synopsis "Quickly switch windows in Emacs")
2161 "@code{ace-window} is meant to replace @code{other-window}.
2162 In fact, when there are only two windows present, @code{other-window} is
2163 called. If there are more, each window will have its first character
2164 highlighted. Pressing that character will switch to that window.")
2165 (license license:gpl3+)))
2167 (define-public emacs-iedit
2169 (name "emacs-iedit")
2174 (uri (string-append "https://github.com/victorhge/iedit/archive/v"
2176 (file-name (string-append name "-" version ".tar.gz"))
2179 "00v86zllcsivmiibigbr91qij2zdf1lr9db8z8again1sn63wkdj"))))
2180 (build-system emacs-build-system)
2181 (home-page "http://www.emacswiki.org/emacs/Iedit")
2182 (synopsis "Edit multiple regions in the same way simultaneously")
2184 "This package is an Emacs minor mode and allows you to edit one
2185 occurrence of some text in a buffer (possibly narrowed) or region, and
2186 simultaneously have other occurrences edited in the same way.
2188 You can also use Iedit mode as a quick way to temporarily show only the buffer
2189 lines that match the current text being edited. This gives you the effect of
2190 a temporary @code{keep-lines} or @code{occur}.")
2191 (license license:gpl3+)))
2193 (define-public emacs-lispy
2195 (name "emacs-lispy")
2200 (uri (string-append "https://github.com/abo-abo/lispy/archive/"
2202 (file-name (string-append name "-" version ".tar.gz"))
2205 "15gig95cvamw5zlw99cxggd27c18b9scznjj97gvjn2zbljcaqzl"))))
2206 (build-system emacs-build-system)
2208 `(("emacs-ace-window" ,emacs-ace-window)
2209 ("emacs-iedit" ,emacs-iedit)
2210 ("emacs-ivy" ,emacs-ivy)
2211 ("emacs-hydra" ,emacs-hydra)))
2212 (home-page "https://github.com/abo-abo/lispy")
2213 (synopsis "Modal S-expression editing")
2215 "Due to the structure of Lisp syntax it's very rare for the programmer to
2216 want to insert characters right before \"(\" or right after \")\". Thus
2217 unprefixed printable characters can be used to call commands when the point is
2218 at one of these special locations. Lispy provides unprefixed keybindings for
2219 S-expression editing when point is at the beginning or end of an
2221 (license license:gpl3+)))
2223 (define-public emacs-clojure-mode
2225 (name "emacs-clojure-mode")
2230 "https://github.com/clojure-emacs/clojure-mode/archive/"
2232 (file-name (string-append name "-" version ".tar.gz"))
2235 "0gi8ra3ap5m3mz4qh1yxp2cldn7z9xcxvypznr6rrlc6a9l8s5a6"))))
2236 (build-system emacs-build-system)
2237 (home-page "http://github.com/clojure-emacs/clojure-mode")
2238 (synopsis "Major mode for Clojure code")
2240 "This Emacs package provides font-lock, indentation, navigation and basic
2241 refactoring for the @uref{http://clojure.org, Clojure programming language}.
2242 It is recommended to use @code{clojure-mode} with paredit or smartparens.")
2243 (license license:gpl3+)))
2245 (define-public emacs-epl
2252 "https://github.com/cask/epl/archive/"
2256 "1511n3a3f5gvaf2b4nh018by61ciyzi3y3603fzqma7p9hrckarc"))))
2257 (build-system emacs-build-system)
2258 (home-page "http://github.com/cask/epl")
2259 (synopsis "Emacs Package Library")
2261 "A package management library for Emacs, based on @code{package.el}.
2263 The purpose of this library is to wrap all the quirks and hassle of
2264 @code{package.el} into a sane API.")
2265 (license license:gpl3+)))
2267 (define-public emacs-queue
2269 (name "emacs-queue")
2273 (uri (string-append "http://elpa.gnu.org/packages/queue-"
2277 "0jw24fxqnf9qcaf2nh09cnds1kqfk7hal35dw83x1ari95say391"))))
2278 (build-system emacs-build-system)
2279 (home-page "http://www.dr-qubit.org/tags/computing-code-emacs.html")
2280 (synopsis "Queue data structure for Emacs")
2282 "This Emacs library provides queue data structure. These queues can be
2283 used both as a first-in last-out (FILO) and as a first-in first-out (FIFO)
2284 stack, i.e. elements can be added to the front or back of the queue, and can
2285 be removed from the front. This type of data structure is sometimes called an
2286 \"output-restricted deque\".")
2287 (license license:gpl3+)))
2289 (define-public emacs-pkg-info
2291 (name "emacs-pkg-info")
2296 "https://github.com/lunaryorn/pkg-info.el/archive/"
2298 (file-name (string-append name "-" version ".tar.gz"))
2301 "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5"))))
2302 (build-system emacs-build-system)
2303 (propagated-inputs `(("emacs-epl" ,emacs-epl)))
2304 (home-page "https://github.com/lunaryorn/pkg-info.el")
2305 (synopsis "Information about Emacs packages")
2307 "This library extracts information from the installed Emacs packages.")
2308 (license license:gpl3+)))
2310 (define-public emacs-spinner
2312 (name "emacs-spinner")
2316 (uri (string-append "http://elpa.gnu.org/packages/spinner-"
2320 "1fmwzdih0kbyvs8bn38mpm4sbs2mikqy2vdykfy9g20wpa8vb681"))))
2321 (build-system emacs-build-system)
2322 (home-page "https://github.com/Malabarba/spinner.el")
2323 (synopsis "Emacs mode-line spinner for operations in progress")
2325 "This Emacs package adds spinners and progress-bars to the mode-line for
2326 ongoing operations.")
2327 (license license:gpl3+)))
2329 (define-public emacs-seq
2335 (uri (string-append "http://elpa.gnu.org/packages/seq-"
2339 "09wi1765bmn7i8fg6ajjfaxgs4ipc42d58zx2fdqpidrdg9c7q73"))))
2340 (build-system emacs-build-system)
2341 (home-page "http://elpa.gnu.org/packages/seq.html")
2342 (synopsis "Sequence manipulation functions for Emacs")
2344 "This Emacs library provides sequence-manipulation functions that
2345 complement basic functions provided by @code{subr.el}. All provided functions
2346 work on lists, strings and vectors.")
2347 (license license:gpl3+)))
2349 (define-public emacs-better-defaults
2351 (name "emacs-better-defaults")
2356 (uri (string-append "https://github.com/technomancy/better-defaults"
2357 "/archive/" version ".tar.gz"))
2358 (file-name (string-append name "-" version ".tar.gz"))
2361 "08fg4zslzlxbvyil5g4gwvwd22fh4zsgqprs5wh9hv1rgc6757m2"))))
2362 (build-system emacs-build-system)
2363 (home-page "https://github.com/technomancy/better-defaults")
2364 (synopsis "Better defaults for Emacs")
2366 "Better defaults attempts to address the most obvious deficiencies of the
2367 Emacs default configuration in uncontroversial ways that nearly everyone can
2369 (license license:gpl3+)))
2371 (define-public emacs-eprime
2372 (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
2374 (name "emacs-eprime")
2375 (version (string-append "20140513-" (string-take commit 7)))
2378 (uri (string-append "https://raw.githubusercontent.com"
2379 "/AndrewHynes/eprime-mode/"
2380 commit "/eprime-mode.el"))
2381 (file-name (string-append "eprime-" version ".el"))
2384 "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d"))))
2385 (build-system emacs-build-system)
2386 (home-page "https://github.com/AndrewHynes/eprime-mode")
2387 (synopsis "E-prime checking mode for Emacs")
2388 (description "This package provides an E-prime checking mode for Emacs
2389 that highlights non-conforming text. The subset of the English language called
2390 E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
2391 (license license:gpl3+))))
2393 (define-public emacs-ess
2399 (uri (string-append "http://ess.r-project.org/downloads/ess/ess-"
2403 "0w7mbbajn377gdmvnd21mpyr368b2ia46gq6cb99y4y5rspf9pcg"))))
2404 (build-system gnu-build-system)
2406 `(#:tests? #f ; There is no test suite.
2407 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2409 (modify-phases %standard-phases
2411 (add-before 'build 'more-shebang-patching
2412 (lambda* (#:key inputs #:allow-other-keys)
2413 (substitute* "Makeconf"
2414 (("SHELL = /bin/sh")
2415 (string-append "SHELL = " (which "sh")))))))))
2417 `(("emacs" ,emacs-minimal)
2421 ("texinfo" ,texinfo)
2422 ("texlive" ,texlive)))
2423 (home-page "http://ess.r-project.org/")
2424 (synopsis "Emacs mode for statistical analysis programs")
2425 (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
2426 Emacs. It is designed to support editing of scripts and interaction with
2427 various statistical analysis programs such as R and OpenBUGS.")
2428 (license license:gpl2+)))
2430 (define-public emacs-smex
2436 (uri (string-append "https://raw.githubusercontent.com"
2437 "/nonsequitur/smex/" version "/smex.el"))
2438 (file-name (string-append "smex-" version ".el"))
2441 "0ar310zx9k5y4i1vl2rawvi712xj9gx77160860jbs691p77cxqp"))))
2442 (build-system emacs-build-system)
2443 (home-page "http://github.com/nonsequitur/smex/")
2444 (synopsis "M-x interface with Ido-style fuzzy matching")
2446 "Smex is a M-x enhancement for Emacs. Built on top of Ido, it provides a
2447 convenient interface to your recently and most frequently used commands. And
2448 to all the other commands, too.")
2449 (license license:gpl3+)))
2451 (define-public emacs-js2-mode
2453 (name "emacs-js2-mode")
2454 (version "20150909")
2457 (uri (string-append "https://github.com/mooz/js2-mode/archive/"
2459 (file-name (string-append name "-" version ".tar.gz"))
2462 "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0"))))
2463 (build-system emacs-build-system)
2464 (home-page "https://github.com/mooz/js2-mode/")
2465 (synopsis "Improved JavaScript editing mode for Emacs")
2467 "Js2-mode provides a JavaScript major mode for Emacs that is more
2468 advanced than the built-in javascript-mode. Features include accurate syntax
2469 highlighting using a recursive-descent parser, on-the-fly reporting of syntax
2470 errors and strict-mode warnings, smart line-wrapping within comments and
2471 strings, and code folding.")
2472 (license license:gpl3+)))
2474 (define-public emacs-markdown-mode
2476 (name "emacs-markdown-mode")
2480 (uri (string-append "https://raw.githubusercontent.com/jrblevin"
2481 "/markdown-mode/v" version
2482 "/markdown-mode.el"))
2483 (file-name (string-append "markdown-mode-" version ".el"))
2486 "1faibar32jnjia9202swblw91q6z1g5s4k9xmypwjahfh8yznl6w"))))
2487 (build-system emacs-build-system)
2488 (home-page "http://jblevins.org/projects/markdown-mode/")
2489 (synopsis "Emacs Major mode for Markdown files")
2491 "Markdown-mode is a major mode for editing Markdown-formatted text files
2493 (license license:gpl3+)))
2495 (define-public emacs-projectile
2497 (name "emacs-projectile")
2501 (uri (string-append "https://raw.githubusercontent.com/bbatsov"
2502 "/projectile/v" version "/projectile.el"))
2503 (file-name (string-append "projectile-" version ".el"))
2506 "1pc6xb61hzxzc5hkqkli1ab0s7wz0rfgx4kcn9y30ksvhw18smbz"))))
2507 (build-system emacs-build-system)
2509 `(("emacs-dash" ,emacs-dash)
2510 ("emacs-pkg-info" ,emacs-pkg-info)))
2511 (home-page "https://github.com/bbatsov/projectile")
2512 (synopsis "Manage and navigate projects in Emacs easily")
2514 "This library provides easy project management and navigation. The
2515 concept of a project is pretty basic - just a folder containing special file.
2516 Currently git, mercurial and bazaar repos are considered projects by default.
2517 If you want to mark a folder manually as a project just create an empty
2518 .projectile file in it.")
2519 (license license:gpl3+)))
2521 (define-public emacs-elfeed
2523 (name "emacs-elfeed")
2527 (uri (string-append "https://github.com/skeeto/elfeed/archive/"
2529 (file-name (string-append name "-" version ".tar.gz"))
2532 "0i75r8x9ypbfjlnym04h16ikcrlks86p7wsgawrx7mh1lk4inp89"))))
2533 (build-system emacs-build-system)
2534 (home-page "https://github.com/skeeto/elfeed")
2535 (synopsis "Atom/RSS feed reader for Emacs")
2537 "Elfeed is an extensible web feed reader for Emacs, supporting both Atom
2538 and RSS, with a user interface inspired by notmuch.")
2539 (license license:gpl3+)))
2541 (define-public emacs-rainbow-delimiters
2543 (name "emacs-rainbow-delimiters")
2547 (uri (string-append "https://raw.githubusercontent.com/Fanael"
2548 "/rainbow-delimiters/" version
2549 "/rainbow-delimiters.el"))
2550 (file-name (string-append "rainbow-delimiters-" version ".el"))
2553 "1b3kampwsjabhcqdp0khgff13wc5jqhy3rbvaa12vnv7qy22l9ck"))))
2554 (build-system emacs-build-system)
2555 (home-page "https://github.com/Fanael/rainbow-delimiters")
2556 (synopsis "Highlight brackets according to their depth")
2558 "Rainbow-delimiters is a \"rainbow parentheses\"-like mode for Emacs which
2559 highlights parentheses, brackets, and braces according to their depth. Each
2560 successive level is highlighted in a different color, making it easy to spot
2561 matching delimiters, orient yourself in the code, and tell which statements
2562 are at a given level.")
2563 (license license:gpl3+)))
2565 (define-public emacs-rainbow-identifiers
2567 (name "emacs-rainbow-identifiers")
2571 (uri (string-append "https://raw.githubusercontent.com/Fanael"
2572 "/rainbow-identifiers/" version
2573 "/rainbow-identifiers.el"))
2574 (file-name (string-append "rainbow-identifiers-" version ".el"))
2577 "0325abxj47k0g1i8nqrq70w2wr6060ckhhf92krv1s072b3jzm31"))))
2578 (build-system emacs-build-system)
2579 (home-page "https://github.com/Fanael/rainbow-identifiers")
2580 (synopsis "Highlight identifiers in source code")
2582 "Rainbow identifiers mode is an Emacs minor mode providing highlighting of
2583 identifiers based on their names. Each identifier gets a color based on a hash
2585 (license license:bsd-2)))
2587 (define-public emacs-ido-completing-read+
2589 (name "emacs-ido-completing-read+")
2593 (uri (string-append "https://raw.githubusercontent.com"
2594 "/DarwinAwardWinner/ido-ubiquitous/v"
2595 version "/ido-completing-read+.el"))
2596 (file-name (string-append "ido-completing-read+-" version ".el"))
2599 "1cyalb0p7nfsm4n6n9q6rjmvn6adqc0fq8ybnlj3n41n289dkfjf"))))
2600 (build-system emacs-build-system)
2601 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
2602 (synopsis "Replacement for completing-read using ido")
2604 "The ido-completing-read+ function is a wrapper for ido-completing-read.
2605 Importantly, it detects edge cases that ordinary ido cannot handle and either
2606 adjusts them so ido can handle them, or else simply falls back to the standard
2607 Emacs completion function instead.")
2608 (license license:gpl3+)))
2610 (define-public emacs-ido-ubiquitous
2612 (name "emacs-ido-ubiquitous")
2616 (uri (string-append "https://raw.githubusercontent.com"
2617 "/DarwinAwardWinner/ido-ubiquitous/v"
2618 version "/ido-ubiquitous.el"))
2619 (file-name (string-append "ido-ubiquitous-" version ".el"))
2622 "197ypji0fb6jsdcq40rpnknwlh3imas6s6jbsvkfm0pz9988c3q2"))))
2623 (build-system emacs-build-system)
2625 `(("emacs-ido-completing-read+" ,emacs-ido-completing-read+)))
2626 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
2627 (synopsis "Use ido (nearly) everywhere")
2629 "Ido-ubiquitous enables ido-style completion for almost every function
2630 that uses the standard completion function completing-read.")
2631 (license license:gpl3+)))
2633 (define-public emacs-yaml-mode
2635 (name "emacs-yaml-mode")
2639 (uri (string-append "https://raw.githubusercontent.com/yoshiki"
2640 "/yaml-mode/v" version "/yaml-mode.el"))
2641 (file-name (string-append "yaml-mode-" version ".el"))
2644 "17wq433ycli0qx4gdhgrmb392qblm6y2dwcyn38j5ja1lasfb0ax"))))
2645 (build-system emacs-build-system)
2646 (home-page "https://github.com/yoshiki/yaml-mode")
2647 (synopsis "Major mode for editing YAML files")
2649 "Yaml-mode is an Emacs major mode for editing files in the YAML data
2650 serialization format. It was initially developed by Yoshiki Kurihara and many
2651 features were added by Marshall Vandegrift. As YAML and Python share the fact
2652 that indentation determines structure, this mode provides indentation and
2653 indentation command behavior very similar to that of python-mode.")
2654 (license license:gpl3+)))
2656 (define-public emacs-web-mode
2658 (name "emacs-web-mode")
2662 (uri (string-append "https://raw.githubusercontent.com/fxbois"
2663 "/web-mode/v" version "/web-mode.el"))
2664 (file-name (string-append "web-mode-" version ".el"))
2667 "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5"))))
2668 (build-system emacs-build-system)
2669 (synopsis "Major mode for editing web templates")
2670 (description "Web-mode is an Emacs major mode for editing web templates
2671 aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by
2672 client/server side engines). Web-mode is compatible with many template
2673 engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker,
2674 Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template,
2675 Dust.js, React/JSX, Angularjs, ejs, etc.")
2676 (home-page "http://web-mode.org/")
2677 (license license:gpl3+)))
2679 (define-public emacs-helm
2686 "https://github.com/" name "/helm/archive/v"
2688 (file-name (string-append name "-" version ".tar.gz"))
2691 "019dpzr6l83k1fgxn40aqxjvrpz4dl5d9vi7fc5wjnifmxaqxia6"))))
2692 (build-system emacs-build-system)
2694 `(("emacs-async" ,emacs-async)
2695 ("emacs-popup" ,emacs-popup)))
2696 (home-page "https://emacs-helm.github.io/helm/")
2697 (synopsis "Incremental completion and selection narrowing
2698 framework for Emacs")
2699 (description "Helm is incremental completion and selection narrowing
2700 framework for Emacs. It will help steer you in the right direction when
2701 you're looking for stuff in Emacs (like buffers, files, etc). Helm is a fork
2702 of @code{anything.el} originally written by Tamas Patrovic and can be
2703 considered to be its successor. Helm sets out to clean up the legacy code in
2704 @code{anything.el} and provide a cleaner, leaner and more modular tool, that's
2705 not tied in the trap of backward compatibility.")
2706 (license license:gpl3+)))
2708 (define-public emacs-cider
2710 (name "emacs-cider")
2715 "https://github.com/clojure-emacs/cider/archive/v"
2717 (file-name (string-append name "-" version ".tar.gz"))
2720 "00qzbfjy3w6bcnki7gw0clmi0cc5yqjdrcyhgv4ymijjs79h9p5s"))))
2721 (build-system emacs-build-system)
2723 `(("emacs-clojure-mode" ,emacs-clojure-mode)
2724 ("emacs-spinner" ,emacs-spinner)
2725 ("emacs-pkg-info" ,emacs-pkg-info)
2726 ("emacs-queue" ,emacs-queue)
2727 ("emacs-seq" ,emacs-seq)))
2728 (home-page "https://cider.readthedocs.org/")
2729 (synopsis "Clojure development environment for Emacs")
2731 "CIDER (Clojure Interactive Development Environment that Rocks) aims to
2732 provide an interactive development experience similar to the one you'd get
2733 when programming in Emacs Lisp, Common Lisp (with SLIME or Sly), Scheme (with
2734 Geiser) and Smalltalk.
2736 CIDER is the successor to the now deprecated combination of using SLIME +
2737 swank-clojure for Clojure development.
2739 There are plenty of differences between CIDER and SLIME, but the core ideas
2740 are pretty much the same (and SLIME served as the principle inspiration for
2742 (license license:gpl3+)))
2744 (define-public emacs-lua-mode
2746 (name "emacs-lua-mode")
2747 (version "20151025")
2751 "https://github.com/immerrr/lua-mode/archive/v"
2753 (file-name (string-append name "-" version ".tar.gz"))
2756 "0sbhfny5ib65cnx6xcy6h9bbw27mw034s8m9cca00bhxqaqi6p4v"))))
2757 (build-system emacs-build-system)
2758 (home-page "http://github.com/immerrr/lua-mode/")
2759 (synopsis "Major mode for lua")
2761 "This Emacs package provides a mode for @uref{https://www.lua.org/,
2762 Lua programing language}.")
2763 (license license:gpl2+)))
2765 (define-public emacs-ebuild-mode
2767 (name "emacs-ebuild-mode")
2772 "https://dev.gentoo.org/~ulm/emacs/ebuild-mode"
2773 "-" version ".tar.xz"))
2774 (file-name (string-append name "-" version ".tar.xz"))
2777 "0vp7lq1kvmh1b2bms2x1kf2k76dy9m02d7cirkxpiglwaxa0h9vz"))))
2778 (build-system emacs-build-system)
2779 (home-page "https://devmanual.gentoo.org")
2780 (synopsis "Major modes for Gentoo package files")
2782 "This Emacs package provides modes for ebuild, eclass, eblit, GLEP42
2783 news items, openrc and runscripts.")
2784 (license license:gpl2+)))
2786 (define-public emacs-writegood-mode
2788 (name "emacs-writegood-mode")
2790 (home-page "http://github.com/bnbeckwith/writegood-mode")
2795 (commit (string-append "v" version))))
2798 "1nnjn1r669hvvzfycllwap4w04m8rfsk4nzcg8057m1f263kj31b"))
2799 (file-name (string-append name "-checkout"))))
2800 (build-system emacs-build-system)
2801 (synopsis "Polish up poor writing on the fly")
2803 "This minor mode tries to find and highlight problems with your writing
2804 in English as you type. It primarily detects \"weasel words\" and abuse of
2806 (license license:gpl3+)))