1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
3 ;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2014, 2015, 2016, 2017 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
8 ;;; Copyright © 2016, 2017 Chris Marusich <cmmarusich@gmail.com>
9 ;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org>
10 ;;; Copyright © 2016 Adriano Peluso <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, 2017 ng0 <contact.ng0@cryptolab.net>
16 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
17 ;;; Copyright © 2016, 2017 Nicolas Goaziou <mail@nicolasgoaziou.fr>
18 ;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
19 ;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
20 ;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
21 ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
22 ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
23 ;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com>
24 ;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
25 ;;; Copyright © 2017 Kei Kebreau <kei@openmailbox.org>
26 ;;; Copyright © 2017 George Clemmer <myglc2@gmail.com>
27 ;;; Copyright © 2017 Feng Shu <tumashu@163.com>
29 ;;; This file is part of GNU Guix.
31 ;;; GNU Guix is free software; you can redistribute it and/or modify it
32 ;;; under the terms of the GNU General Public License as published by
33 ;;; the Free Software Foundation; either version 3 of the License, or (at
34 ;;; your option) any later version.
36 ;;; GNU Guix is distributed in the hope that it will be useful, but
37 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
38 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39 ;;; GNU General Public License for more details.
41 ;;; You should have received a copy of the GNU General Public License
42 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
44 (define-module (gnu packages emacs)
45 #:use-module ((guix licenses) #:prefix license:)
46 #:use-module (guix packages)
47 #:use-module (guix download)
48 #:use-module (guix git-download)
49 #:use-module (guix gexp)
50 #:use-module (guix monads)
51 #:use-module (guix store)
52 #:use-module (guix build-system gnu)
53 #:use-module (guix build-system emacs)
54 #:use-module (guix build-system glib-or-gtk)
55 #:use-module (guix build-system trivial)
56 #:use-module (gnu packages)
57 #:use-module (gnu packages audio)
58 #:use-module (gnu packages code)
59 #:use-module (gnu packages guile)
60 #:use-module (gnu packages gtk)
61 #:use-module (gnu packages gnome)
62 #:use-module (gnu packages ncurses)
63 #:use-module (gnu packages python)
64 #:use-module (gnu packages tex)
65 #:use-module (gnu packages texinfo)
66 #:use-module (gnu packages tcl)
67 #:use-module (gnu packages tls)
68 #:use-module (gnu packages pkg-config)
69 #:use-module (gnu packages xorg)
70 #:use-module (gnu packages lesstif)
71 #:use-module (gnu packages image)
72 #:use-module (gnu packages linux)
73 #:use-module (gnu packages version-control)
74 #:use-module (gnu packages imagemagick)
75 #:use-module (gnu packages w3m)
76 #:use-module (gnu packages wget)
77 #:use-module (gnu packages autotools)
78 #:use-module (gnu packages base)
79 #:use-module (gnu packages compression)
80 #:use-module (gnu packages xml)
81 #:use-module (gnu packages glib)
82 #:use-module (gnu packages acl)
83 #:use-module (gnu packages package-management)
84 #:use-module (gnu packages perl)
85 #:use-module (gnu packages pdf)
86 #:use-module (gnu packages scheme)
87 #:use-module (gnu packages statistics)
88 #:use-module (gnu packages xiph)
89 #:use-module (gnu packages mp3)
90 #:use-module (gnu packages gettext)
91 #:use-module (gnu packages fribidi)
92 #:use-module (gnu packages gd)
93 #:use-module (gnu packages fontutils)
94 #:use-module (guix utils)
95 #:use-module (srfi srfi-1)
96 #:use-module (ice-9 match))
104 (uri (string-append "mirror://gnu/emacs/emacs-"
108 "1ykkq0xl28ljdg61bm6gzy04ww86ajms98gix72qg6cpr6a53dar"))
109 (patches (search-patches "emacs-exec-path.patch"
110 "emacs-fix-scheme-indent-function.patch"
111 "emacs-source-date-epoch.patch"))
112 (modules '((guix build utils)))
114 ;; Delete the bundled byte-compiled elisp files and
115 ;; generated autoloads.
116 '(with-directory-excursion "lisp"
117 (for-each delete-file
118 (append (find-files "." "\\.elc$")
119 (find-files "." "loaddefs\\.el$")
120 ;; This is the only "autoloads" file that
121 ;; does not have "*loaddefs.el" name.
122 '("eshell/esh-groups.el")))
124 ;; Make sure Tramp looks for binaries in the right places on
125 ;; remote GuixSD machines, where 'getconf PATH' returns
127 (substitute* "net/tramp-sh.el"
128 ;; Patch the line after "(defcustom tramp-remote-path".
129 (("\\(tramp-default-remote-path")
130 (format #f "(tramp-default-remote-path ~s ~s ~s ~s "
131 "~/.guix-profile/bin" "~/.guix-profile/sbin"
132 "/run/current-system/profile/bin"
133 "/run/current-system/profile/sbin")))))))
134 (build-system glib-or-gtk-build-system)
137 (modify-phases %standard-phases
138 (add-before 'configure 'fix-/bin/pwd
140 ;; Use `pwd', not `/bin/pwd'.
141 (substitute* (find-files "." "^Makefile\\.in$")
144 (add-after 'install 'install-site-start
145 ;; Use 'guix-emacs' in "site-start.el". This way, Emacs packages
146 ;; provided by Guix and installed in
147 ;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are
148 ;; automatically found.
149 (lambda* (#:key inputs outputs #:allow-other-keys)
150 (let* ((out (assoc-ref outputs "out"))
151 (lisp-dir (string-append out "/share/emacs/site-lisp")))
152 (copy-file (assoc-ref inputs "guix-emacs.el")
153 (string-append lisp-dir "/guix-emacs.el"))
154 (with-output-to-file (string-append lisp-dir "/site-start.el")
157 (string-append "(when (require 'guix-emacs nil t)\n"
158 " (guix-emacs-autoload-packages))\n"))))
164 ;; TODO: Add the optional dependencies.
170 ("libjpeg" ,libjpeg-8)
173 ;; When looking for libpng `configure' links with `-lpng -lz', so we
174 ;; must also provide zlib as an input.
183 ("alsa-lib" ,alsa-lib)
186 ;; multilingualization support
188 ("m17n-lib" ,m17n-lib)))
190 `(("guix-emacs.el" ,(search-auxiliary-file "emacs/guix-emacs.el"))
191 ("pkg-config" ,pkg-config)
192 ("texinfo" ,texinfo)))
195 (list (search-path-specification
196 (variable "INFOPATH")
197 (files '("share/info")))))
199 (home-page "https://www.gnu.org/software/emacs/")
200 (synopsis "The extensible, customizable, self-documenting text editor")
202 "GNU Emacs is an extensible and highly customizable text editor. It is
203 based on an Emacs Lisp interpreter with extensions for text editing. Emacs
204 has been extended in essentially all areas of computing, giving rise to a
205 vast array of packages supporting, e.g., email, IRC and XMPP messaging,
206 spreadsheets, remote server editing, and much more. Emacs includes extensive
207 documentation on all aspects of the system, from basic editing to writing
208 large Lisp programs. It has full Unicode support for nearly all human
210 (license license:gpl3+)))
212 (define-public emacs-minimal
213 ;; This is the version that you should use as an input to packages that just
214 ;; need to byte-compile .el files.
215 (package (inherit emacs)
216 (name "emacs-minimal")
217 (synopsis "The extensible text editor (used only for byte-compilation)")
218 (build-system gnu-build-system)
220 (substitute-keyword-arguments (package-arguments emacs)
222 `(modify-phases ,phases
223 (delete 'install-site-start)))))
225 `(("ncurses" ,ncurses)))
227 `(("pkg-config" ,pkg-config)))))
229 (define-public emacs-no-x
230 (package (inherit emacs)
232 (synopsis "The extensible, customizable, self-documenting text
233 editor (console only)")
234 (build-system gnu-build-system)
235 (inputs (fold alist-delete
236 (package-inputs emacs)
237 '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
238 "libpng" "librsvg" "libxpm" "libice" "libsm"
240 ;; D-Bus depends on libx11, so remove it as well.
243 (define-public emacs-no-x-toolkit
244 (package (inherit emacs)
245 (name "emacs-no-x-toolkit")
246 (synopsis "The extensible, customizable, self-documenting text
247 editor (without an X toolkit)" )
248 (build-system gnu-build-system)
249 (inputs (append `(("inotify-tools" ,inotify-tools))
250 (alist-delete "gtk+" (package-inputs emacs))))
251 (arguments (append '(#:configure-flags '("--with-x-toolkit=no"))
252 (package-arguments emacs)))))
254 (define-public guile-emacs
255 (package (inherit emacs)
257 (version "20150512.41120e0")
261 (url "git://git.hcoop.net/git/bpt/emacs.git")
262 (commit "41120e0f595b16387eebfbf731fff70481de1b4b")))
265 "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6"))))
267 `(("autoconf" ,autoconf)
268 ("automake" ,automake)
269 ("guile" ,guile-for-guile-emacs)
270 ,@(package-native-inputs emacs)))
272 (substitute-keyword-arguments `(;; Build fails if we allow parallel build.
274 ;; Tests aren't passing for now.
276 ,@(package-arguments emacs))
278 `(modify-phases ,phases
279 (add-after 'unpack 'autogen
281 (zero? (system* "sh" "autogen.sh"))))))))))
288 (define-public geiser
294 (uri (string-append "mirror://savannah/geiser/" version
295 "/geiser-" version ".tar.gz"))
298 "0phz9d8wjk4p13vqannv0003fwh8qqrp0gfzcs2hgq1mrmv1srss"))))
299 (build-system gnu-build-system)
301 '(#:phases (alist-cons-after
302 'install 'post-install
303 (lambda* (#:key outputs #:allow-other-keys)
304 (symlink "geiser-install.el"
305 (string-append (assoc-ref outputs "out")
306 "/share/emacs/site-lisp/"
307 "geiser-autoloads.el")))
309 (inputs `(("guile" ,guile-2.0)))
310 (native-inputs `(("emacs" ,emacs-minimal)))
311 (home-page "http://nongnu.org/geiser/")
312 (synopsis "Collection of Emacs modes for Guile and Racket hacking")
314 "Geiser is a collection of Emacs major and minor modes that conspire with
315 one or more Scheme implementations to keep the Lisp Machine Spirit alive. The
316 continuously running Scheme interpreter takes the center of the stage in
317 Geiser. A bundle of Elisp shims orchestrates the dialog between the Scheme
318 implementation, Emacs and, ultimately, the schemer, giving them access to live
320 (license license:bsd-3)))
322 (define-public geiser-next
323 ;; This has become "geiser".
324 (deprecated-package "geiser-next" geiser))
326 (define-public paredit
328 (name "emacs-paredit")
332 (uri (string-append "http://mumble.net/~campbell/emacs/paredit-"
336 "0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
337 (build-system trivial-build-system)
338 (native-inputs `(("emacs" ,emacs-minimal)))
340 `(#:modules ((guix build utils)
341 (guix build emacs-utils))
344 (use-modules (guix build utils))
345 (use-modules (guix build emacs-utils))
347 (let* ((emacs (string-append (assoc-ref %build-inputs "emacs")
349 (source (assoc-ref %build-inputs "source"))
350 (lisp-dir (string-append %output
351 "/share/emacs/site-lisp"))
352 (target (string-append lisp-dir "/paredit.el")))
354 (copy-file source target)
355 (with-directory-excursion lisp-dir
356 (parameterize ((%emacs emacs))
357 (emacs-generate-autoloads ,name lisp-dir)
358 (emacs-batch-eval '(byte-compile-file "paredit.el"))))))))
359 (home-page "http://mumble.net/~campbell/emacs/paredit/")
360 (synopsis "Emacs minor mode for editing parentheses")
362 "ParEdit (paredit.el) is a minor mode for performing structured editing
363 of S-expression data. The typical example of this would be Lisp or Scheme
366 ParEdit helps **keep parentheses balanced** and adds many keys for moving
367 S-expressions and moving around in S-expressions. Its behavior can be jarring
368 for those who may want transient periods of unbalanced parentheses, such as
369 when typing parentheses directly or commenting out code line by line.")
370 (license license:gpl3+)))
372 (define-public paredit/old-name
373 (deprecated-package "paredit" paredit))
375 (define-public git-modes
382 "https://github.com/magit/git-modes/archive/"
384 (file-name (string-append name "-" version ".tar.gz"))
387 "0xxrmf0jnyljxvllc22qa0v8lgi4k1ldnayjm5hf68m25jsr378l"))))
388 (build-system gnu-build-system)
390 `(#:modules ((guix build gnu-build-system)
391 (guix build emacs-utils)
393 #:imported-modules (,@%gnu-build-system-modules
394 (guix build emacs-utils))
396 #:make-flags (list (string-append "PREFIX="
397 (assoc-ref %outputs "out"))
398 ;; Don't put .el files in a 'git-modes'
400 (string-append "LISPDIR="
401 (assoc-ref %outputs "out")
402 "/share/emacs/site-lisp"))
403 #:tests? #f ; no check target
404 #:phases (modify-phases %standard-phases
406 (add-after 'install 'emacs-autoloads
407 (lambda* (#:key outputs #:allow-other-keys)
408 (let* ((out (assoc-ref outputs "out"))
410 out "/share/emacs/site-lisp/")))
411 (emacs-generate-autoloads ,name lisp)))))))
412 (native-inputs `(("emacs" ,emacs-minimal)))
413 (home-page "https://github.com/magit/git-modes")
414 (synopsis "Emacs major modes for Git configuration files")
416 "This package provides Emacs major modes for editing various Git
417 configuration files, such as .gitattributes, .gitignore, and .git/config.")
418 (license license:gpl3+)))
420 (define-public emacs-with-editor
422 (name "emacs-with-editor")
427 "https://github.com/magit/with-editor/archive/v"
429 (file-name (string-append name "-" version ".tar.gz"))
432 "0lsxa1hghybkzvqhqvvym3hxbyp9vjcnnpb9j800z0vyhbnlka67"))))
433 (build-system emacs-build-system)
435 `(("emacs-dash" ,emacs-dash)))
436 (home-page "https://github.com/magit/with-editor")
437 (synopsis "Emacs library for using Emacsclient as EDITOR")
439 "This package provides an Emacs library to use the Emacsclient as
440 @code{$EDITOR} of child processes, making sure they know how to call home.
441 For remote processes a substitute is provided, which communicates with Emacs
442 on stdout instead of using a socket as the Emacsclient does.")
443 (license license:gpl3+)))
452 "https://github.com/magit/magit/releases/download/"
453 version "/" name "-" version ".tar.gz"))
456 "03ln65ss420gc3h4pi56dayd1p163xfxrxrd9fkb9xnkl8mjglqk"))))
457 (build-system gnu-build-system)
458 (native-inputs `(("texinfo" ,texinfo)
459 ("emacs" ,emacs-minimal)))
464 `(("dash" ,emacs-dash)
465 ("with-editor" ,emacs-with-editor)))
467 `(#:modules ((guix build gnu-build-system)
469 (guix build emacs-utils))
470 #:imported-modules (,@%gnu-build-system-modules
471 (guix build emacs-utils))
474 #:tests? #f ; tests are not included in the release
477 (list (string-append "PREFIX=" %output)
478 ;; Don't put .el files in a sub-directory.
479 (string-append "lispdir=" %output "/share/emacs/site-lisp")
480 (string-append "DASH_DIR="
481 (assoc-ref %build-inputs "dash")
482 "/share/emacs/site-lisp/guix.d/dash-"
483 ,(package-version emacs-dash))
484 (string-append "WITH_EDITOR_DIR="
485 (assoc-ref %build-inputs "with-editor")
486 "/share/emacs/site-lisp/guix.d/with-editor-"
487 ,(package-version emacs-with-editor)))
490 (modify-phases %standard-phases
493 'build 'patch-exec-paths
494 (lambda* (#:key inputs #:allow-other-keys)
495 (let ((git (assoc-ref inputs "git"))
496 (perl (assoc-ref inputs "perl")))
497 (emacs-substitute-variables "lisp/magit-git.el"
498 ("magit-git-executable" (string-append git "/bin/git")))
499 (substitute* "lisp/magit-sequence.el"
500 (("perl") (string-append perl "/bin/perl")))
502 (home-page "http://magit.github.io/")
503 (synopsis "Emacs interface for the Git version control system")
505 "With Magit, you can inspect and modify your Git repositories with Emacs.
506 You can review and commit the changes you have made to the tracked files, for
507 example, and you can browse the history of past changes. There is support for
508 cherry picking, reverting, merging, rebasing, and other common Git
510 (license license:gpl3+)))
512 (define-public magit-svn
519 "https://github.com/magit/magit-svn/archive/"
521 (file-name (string-append name "-" version ".tar.gz"))
524 "04y88j7q9h8xjbx5dbick6n5nr1522sn9i1znp0qwk3vjb4b5mzz"))))
525 (build-system trivial-build-system)
526 (native-inputs `(("emacs" ,emacs-minimal)
529 (propagated-inputs `(("dash" ,emacs-dash)
532 `(#:modules ((guix build utils)
533 (guix build emacs-utils))
537 (use-modules (guix build utils)
538 (guix build emacs-utils))
540 (let* ((tar (string-append (assoc-ref %build-inputs "tar")
542 (PATH (string-append (assoc-ref %build-inputs "gzip")
544 (emacs (string-append (assoc-ref %build-inputs "emacs")
546 (magit (string-append (assoc-ref %build-inputs "magit")
547 "/share/emacs/site-lisp"))
548 (dash (string-append (assoc-ref %build-inputs "dash")
549 "/share/emacs/site-lisp/guix.d/dash-"
550 ,(package-version emacs-dash)))
551 (source (assoc-ref %build-inputs "source"))
552 (lisp-dir (string-append %output "/share/emacs/site-lisp")))
554 (system* tar "xvf" source)
556 (install-file (string-append ,name "-" ,version "/magit-svn.el")
559 (with-directory-excursion lisp-dir
560 (parameterize ((%emacs emacs))
561 (emacs-generate-autoloads ,name lisp-dir)
562 (setenv "EMACSLOADPATH"
563 (string-append ":" magit ":" dash))
564 (emacs-batch-eval '(byte-compile-file "magit-svn.el"))))))))
565 (home-page "https://github.com/magit/magit-svn")
566 (synopsis "Git-SVN extension to Magit")
568 "This package is an extension to Magit, the Git Emacs mode, providing
569 support for Git-SVN.")
570 (license license:gpl3+)))
572 (define-public emacs-magit-popup
574 (name "emacs-magit-popup")
575 (version (package-version magit))
579 "https://raw.githubusercontent.com/magit/magit/"
580 version "/lisp/magit-popup.el"))
581 (file-name (string-append "magit-popup-" version ".el"))
584 "08b6ypfiq8zavjfq0wcdh26xziwq7rqvvv3lfpib9101146kzx6d"))))
585 (build-system emacs-build-system)
587 `(("emacs-dash" ,emacs-dash)))
588 (home-page "https://github.com/magit/magit")
589 (synopsis "Define prefix-infix-suffix command combos")
591 "This library implements a generic interface for toggling switches and
592 setting options and then invoking an Emacs command which does something with
593 these arguments. The prototypical use is for the command to call an external
594 process, passing on the arguments as command line arguments.")
595 (license license:gpl3+)))
597 (define-public haskell-mode
599 (name "haskell-mode")
603 (file-name (string-append name "-" version ".tar.gz"))
605 "https://github.com/haskell/haskell-mode/archive/v"
608 (base32 "0g6lcjw7lcgavv3yrd8xjcyqgfyjl787y32r1z14amw2f009m78h"))))
610 `(("emacs-el-search" ,emacs-el-search) ; for tests
611 ("emacs-stream" ,emacs-stream))) ; for tests
613 `(("emacs-dash" ,emacs-dash)))
615 `(("emacs" ,emacs-minimal)
616 ("texinfo" ,texinfo)))
617 (build-system gnu-build-system)
619 `(#:make-flags (list (string-append "EMACS="
620 (assoc-ref %build-inputs "emacs")
622 #:modules ((ice-9 match)
624 ,@%gnu-build-system-modules)
626 (modify-phases %standard-phases
630 (lambda* (#:key inputs #:allow-other-keys)
631 (define (el-dir store-dir)
632 (match (find-files store-dir)
633 ((f1 f2 ...) (dirname f1))
636 (let ((sh (string-append (assoc-ref inputs "bash") "/bin/sh")))
637 (define emacs-prefix? (cut string-prefix? "emacs-" <>))
639 (setenv "SHELL" "sh")
640 (setenv "EMACSLOADPATH"
643 (((? emacs-prefix? name) . dir)
644 (string-append (el-dir dir) ":"))
647 (substitute* (find-files "." "\\.el") (("/bin/sh") sh))
648 (substitute* "tests/haskell-code-conventions.el"
649 ;; Function name recently changed in "emacs-el-search".
650 (("el-search--search-pattern") "el-search-forward")
651 ;; Don't contact home.
652 (("\\(when \\(>= emacs-major-version 25\\)")
653 "(require 'el-search) (when nil"))
657 (lambda* (#:key outputs #:allow-other-keys)
658 (let* ((out (assoc-ref outputs "out"))
659 (el-dir (string-append out "/share/emacs/site-lisp"))
661 out "/share/doc/haskell-mode-" ,version))
662 (info (string-append out "/share/info")))
663 (define (copy-to-dir dir files)
664 (for-each (lambda (f)
665 (install-file f dir))
668 (with-directory-excursion "doc"
669 (unless (zero? (system* "makeinfo" "haskell-mode.texi"))
670 (error "makeinfo failed"))
671 (install-file "haskell-mode.info" info))
672 (copy-to-dir doc '("CONTRIBUTING.md" "NEWS" "README.md"))
673 (copy-to-dir el-dir (find-files "." "\\.elc?"))
674 ;; These are part of other packages.
675 (with-directory-excursion el-dir
676 (for-each delete-file '("dash.el" "ert.el")))
678 (home-page "https://github.com/haskell/haskell-mode")
679 (synopsis "Haskell mode for Emacs")
681 "This is an Emacs mode for editing, debugging and developing Haskell
683 (license license:gpl3+)))
685 (define-public let-alist
687 (name "emacs-let-alist")
691 (uri (string-append "https://elpa.gnu.org/packages/let-alist-"
695 "07312bvvyz86lf64vdkxg2l1wgfjl25ljdjwlf1bdzj01c4hm88x"))))
696 (build-system trivial-build-system)
698 `(#:modules ((guix build utils)
699 (guix build emacs-utils))
702 (use-modules (guix build emacs-utils)
705 (let* ((out (assoc-ref %outputs "out"))
706 (lispdir (string-append out
707 "/share/emacs/site-lisp/"
710 (emacs (assoc-ref %build-inputs "emacs")))
713 (copy-file (assoc-ref %build-inputs "source")
714 (string-append lispdir "/let-alist.el"))
716 (setenv "PATH" (string-append emacs "/bin"))
717 (emacs-byte-compile-directory lispdir)
719 (native-inputs `(("emacs" ,emacs-minimal)))
720 (home-page "https://elpa.gnu.org/packages/let-alist.html")
721 (synopsis "Easily let-bind values of an assoc-list by their names")
723 "This package offers a single Emacs Lisp macro, @code{let-alist}. This
724 macro takes a first argument, whose value must be an alist (association list),
727 The macro expands to a let form containing the body, where each dotted symbol
728 inside body is let-bound to their cdrs in the alist. Only those present in
729 the body are let-bound and this search is done at compile time.")
730 (license license:gpl3+)))
732 (define-public flycheck
734 (name "emacs-flycheck")
739 "https://github.com/flycheck/flycheck/releases/download/"
740 version "/flycheck-" version ".tar"))
743 "1rxzkaqsj48z3nska5wsgwafvwkam014dzqd32baycmxjl0jxvy7"))))
744 (build-system emacs-build-system)
746 `(("emacs-dash" ,emacs-dash)
747 ("emacs-let-alist" ,let-alist)
748 ("emacs-seq" ,emacs-seq)))
749 (home-page "https://www.flycheck.org")
750 (synopsis "On-the-fly syntax checking")
752 "This package provides on-the-fly syntax checking for GNU Emacs. It is a
753 replacement for the older Flymake extension which is part of GNU Emacs, with
754 many improvements and additional features.
756 Flycheck provides fully-automatic, fail-safe, on-the-fly background syntax
757 checking for over 30 programming and markup languages with more than 70
758 different tools. It highlights errors and warnings inline in the buffer, and
759 provides an optional IDE-like error list.")
760 (license license:gpl3+))) ;+GFDLv1.3+ for the manual
767 (define-public emacs-w3m
770 (version "1.4.538+0.20141022")
773 (uri (string-append "mirror://debian/pool/main/w/w3m-el/w3m-el_"
774 version ".orig.tar.gz"))
777 "0zfxmq86pwk64yv0426gnjrvhjrgrjqn08sdcdhmmjmfpmqvm79y"))))
778 (build-system gnu-build-system)
779 (native-inputs `(("autoconf" ,autoconf)
780 ("emacs" ,emacs-minimal)))
781 (inputs `(("w3m" ,w3m)
782 ("imagemagick" ,imagemagick)))
784 `(#:modules ((guix build gnu-build-system)
786 (guix build emacs-utils))
787 #:imported-modules (,@%gnu-build-system-modules
788 (guix build emacs-utils))
790 (let ((out (assoc-ref %outputs "out")))
791 (list (string-append "--with-lispdir="
792 out "/share/emacs/site-lisp")
793 (string-append "--with-icondir="
794 out "/share/images/emacs-w3m")
795 ;; Leave .el files uncompressed, otherwise GC can't
796 ;; identify run-time dependencies. See
797 ;; <http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00208.html>
798 "--without-compress-install"))
799 #:tests? #f ; no check target
801 (modify-phases %standard-phases
802 (add-after 'unpack 'autoconf
804 (zero? (system* "autoconf"))))
805 (add-before 'build 'patch-exec-paths
806 (lambda* (#:key inputs outputs #:allow-other-keys)
807 (let ((out (assoc-ref outputs "out"))
808 (w3m (assoc-ref inputs "w3m"))
809 (imagemagick (assoc-ref inputs "imagemagick"))
810 (coreutils (assoc-ref inputs "coreutils")))
811 (emacs-substitute-variables "w3m.el"
812 ("w3m-command" (string-append w3m "/bin/w3m"))
814 (string-append coreutils "/bin/touch"))
816 (string-append imagemagick "/bin/display"))
817 ("w3m-icon-directory"
818 (string-append out "/share/images/emacs-w3m")))
819 (emacs-substitute-variables "w3m-image.el"
820 ("w3m-imagick-convert-program"
821 (string-append imagemagick "/bin/convert"))
822 ("w3m-imagick-identify-program"
823 (string-append imagemagick "/bin/identify")))
826 (lambda* (#:key outputs #:allow-other-keys)
827 (and (zero? (system* "make" "install" "install-icons"))
828 (with-directory-excursion
829 (string-append (assoc-ref outputs "out")
830 "/share/emacs/site-lisp")
831 (for-each delete-file '("ChangeLog" "ChangeLog.1"))
832 (symlink "w3m-load.el" "w3m-autoloads.el")
834 (home-page "http://emacs-w3m.namazu.org/")
835 (synopsis "Simple Web browser for Emacs based on w3m")
837 "Emacs-w3m is an emacs interface for the w3m web browser.")
838 (license license:gpl2+)))
840 (define-public emacs-wget
846 (uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_"
847 version ".orig.tar.gz"))
849 (base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff"))))
850 (build-system gnu-build-system)
851 (inputs `(("wget" ,wget)))
852 (native-inputs `(("emacs" ,emacs-minimal)))
854 `(#:modules ((guix build gnu-build-system)
856 (guix build emacs-utils))
857 #:imported-modules (,@%gnu-build-system-modules
858 (guix build emacs-utils))
859 #:tests? #f ; no check target
863 (lambda* (#:key outputs #:allow-other-keys)
864 (substitute* "Makefile"
865 (("/usr/local") (assoc-ref outputs "out"))
866 (("/site-lisp/emacs-wget") "/site-lisp")))
868 'build 'patch-exec-paths
869 (lambda* (#:key inputs outputs #:allow-other-keys)
870 (let ((wget (assoc-ref inputs "wget")))
871 (emacs-substitute-variables "wget.el"
872 ("wget-command" (string-append wget "/bin/wget")))))
874 'install 'post-install
875 (lambda* (#:key outputs #:allow-other-keys)
876 (emacs-generate-autoloads
877 "wget" (string-append (assoc-ref outputs "out")
878 "/share/emacs/site-lisp/")))
879 %standard-phases)))))
880 (home-page "http://www.emacswiki.org/emacs/EmacsWget")
881 (synopsis "Simple file downloader for Emacs based on wget")
883 "Emacs-wget is an emacs interface for the wget file downloader.")
884 (license license:gpl2+)))
897 (uri (string-append "mirror://gnu/emms/emms-"
901 "0dicgkl8l83n4cah5vk7c242abbwpyzlih451blgw37f3rijs480"))
902 (modules '((guix build utils)))
904 '(substitute* "Makefile"
905 (("/usr/bin/install-info")
906 ;; No need to use 'install-info' since it would create a
907 ;; useless 'dir' file.
910 ;; Install Info files to $out/share/info, not $out/info.
911 "INFODIR := $(PREFIX)/share/info\n")
913 ;; Install directly in share/emacs/site-lisp, not in a
916 (("^all: (.*)\n" _ rest)
917 ;; Build 'emms-print-metadata'.
918 (string-append "all: " rest " emms-print-metadata\n"))))))
919 (build-system gnu-build-system)
921 `(#:modules ((guix build gnu-build-system)
923 (guix build emacs-utils))
924 #:imported-modules (,@%gnu-build-system-modules
925 (guix build emacs-utils))
928 (modify-phases %standard-phases
930 (lambda* (#:key inputs outputs #:allow-other-keys)
931 (let ((out (assoc-ref outputs "out"))
932 (vorbis (assoc-ref inputs "vorbis-tools"))
933 (alsa (assoc-ref inputs "alsa-utils"))
934 (mpg321 (assoc-ref inputs "mpg321"))
935 (mp3info (assoc-ref inputs "mp3info")))
936 ;; Specify the installation directory.
937 (substitute* "Makefile"
939 (string-append "PREFIX := " out "\n")))
941 (setenv "SHELL" (which "sh"))
944 ;; Specify the absolute file names of the various
945 ;; programs so that everything works out-of-the-box.
946 (with-directory-excursion "lisp"
947 (emacs-substitute-variables
948 "emms-player-mpg321-remote.el"
949 ("emms-player-mpg321-remote-command"
950 (string-append mpg321 "/bin/mpg321")))
951 (substitute* "emms-player-simple.el"
953 (string-append "\"" vorbis "/bin/ogg123\"")))
954 (emacs-substitute-variables "emms-info-ogginfo.el"
955 ("emms-info-ogginfo-program-name"
956 (string-append vorbis "/bin/ogginfo")))
957 (emacs-substitute-variables "emms-info-libtag.el"
958 ("emms-info-libtag-program-name"
959 (string-append out "/bin/emms-print-metadata")))
960 (emacs-substitute-variables "emms-info-mp3info.el"
961 ("emms-info-mp3info-program-name"
962 (string-append mp3info "/bin/mp3info")))
963 (substitute* "emms-volume-amixer.el"
965 (string-append "\"" alsa "/bin/amixer\"")))
966 (substitute* "emms-tag-editor.el"
968 (string-append "\"" mp3info "/bin/mp3info\"")))))))
969 (add-before 'install 'pre-install
970 (lambda* (#:key outputs #:allow-other-keys)
971 ;; The 'install' rule expects the target directories to exist.
972 (let* ((out (assoc-ref outputs "out"))
973 (bin (string-append out "/bin"))
974 (man1 (string-append out "/share/man/man1")))
978 (add-after 'install 'post-install
979 (lambda* (#:key outputs #:allow-other-keys)
980 (let ((out (assoc-ref outputs "out")))
981 (symlink "emms-auto.el"
982 (string-append out "/share/emacs/site-lisp/"
983 "emms-autoloads.el"))))))
985 (native-inputs `(("emacs" ,emacs-minimal) ;for (guix build emacs-utils)
986 ("texinfo" ,texinfo)))
987 (inputs `(("alsa-utils" ,alsa-utils)
988 ("vorbis-tools" ,vorbis-tools)
991 ("mp3info" ,mp3info)))
992 (properties '((upstream-name . "emms")))
993 (synopsis "Emacs Multimedia System")
995 "EMMS is the Emacs Multimedia System. It is a small front-end which
996 can control one of the supported external players. Thus, it supports
997 whatever formats are supported by your music player. It also
998 supports tagging and playlist management, all behind a clean and
999 light user interface.")
1000 (home-page "https://www.gnu.org/software/emms/")
1001 (license license:gpl3+)))
1003 (define-public emacs-emms-player-mpv
1005 (name "emacs-emms-player-mpv")
1010 (uri (string-append "https://github.com/dochang/emms-player-mpv/archive/"
1012 (file-name (string-append name "-" version ".tar.gz"))
1015 "1q81fpmwr8hpdgq71vbdai2nml4yyqbmk4ffdyl4irlwph8gfjyq"))))
1016 (build-system emacs-build-system)
1019 (home-page "https://github.com/dochang/emms-player-mpv/")
1020 (synopsis "Mpv support for EMMS")
1022 "This package provides an EMMS player that uses mpv. It supports pause
1024 (license license:gpl3+)))
1026 (define-public emacs-emms-mode-line-cycle
1028 (name "emacs-emms-mode-line-cycle")
1033 (uri (string-append "https://github.com/momomo5717/emms-mode-line-cycle"
1034 "/archive/" version ".tar.gz"))
1035 (file-name (string-append name "-" version ".tar.gz"))
1038 "0ifszi930pnaxk1x8pcydmvnp06868gc7nfx14q17zbajbx735k6"))))
1039 (build-system emacs-build-system)
1042 (home-page "https://github.com/momomo5717/emms-mode-line-cycle")
1043 (synopsis "Display the EMMS mode line as a ticker")
1045 "This is a minor mode for updating the EMMS mode-line string cyclically
1046 within a specified width. It is useful for displaying long track titles.")
1047 (license license:gpl3+)))
1060 (uri (string-append "mirror://savannah/bbdb/bbdb-"
1064 "1gs16bbpiiy01w9pyg12868r57kx1v3hnw04gmqsmpc40l1hyy05"))
1065 (modules '((guix build utils)))
1067 ;; We don't want to build and install the PDF.
1068 '(substitute* "doc/Makefile.in"
1069 (("^doc_DATA = .*$")
1071 (build-system gnu-build-system)
1073 '(#:phases (alist-cons-after
1074 'install 'post-install
1075 (lambda* (#:key outputs #:allow-other-keys)
1076 ;; Add an autoloads file with the right name for guix.el.
1077 (let* ((out (assoc-ref outputs "out"))
1078 (site (string-append out "/share/emacs/site-lisp")))
1079 (with-directory-excursion site
1080 (symlink "bbdb-loaddefs.el" "bbdb-autoloads.el"))))
1082 (native-inputs `(("emacs" ,emacs-minimal)))
1083 (home-page "http://savannah.nongnu.org/projects/bbdb/")
1084 (synopsis "Contact management utility for Emacs")
1086 "BBDB is the Insidious Big Brother Database for GNU Emacs. It provides
1087 an address book for email and snail mail addresses, phone numbers and the
1088 like. It can be linked with various Emacs mail clients (Message and Mail
1089 mode, Rmail, Gnus, MH-E, and VM). BBDB is fully customizable.")
1090 (license license:gpl3+)))
1092 (define-public emacs-aggressive-indent
1094 (name "emacs-aggressive-indent")
1098 (uri (string-append "https://elpa.gnu.org/packages/"
1099 "aggressive-indent-" version ".el"))
1102 "0jnzccl50x0wapprgwxinp99pwwa6j43q6msn4gv437j7swy8wnj"))))
1103 (build-system emacs-build-system)
1104 (home-page "https://elpa.gnu.org/packages/aggressive-indent.html")
1105 (synopsis "Minor mode to aggressively keep your code always indented")
1107 "@code{aggressive-indent-mode} is a minor mode that keeps your code
1108 always indented. It reindents after every change, making it more reliable
1109 than @code{electric-indent-mode}.")
1110 (license license:gpl2+)))
1112 (define-public emacs-ag
1119 "https://github.com/Wilfred/ag.el/archive/"
1121 (file-name (string-append name "-" version ".tar.gz"))
1124 "1rlmp6wnyhqfg86dbz17r914msp58favn4kd4yrdwyia265a4lar"))))
1125 (build-system emacs-build-system)
1128 (modify-phases %standard-phases
1129 (add-before 'install 'make-info
1131 (with-directory-excursion "docs"
1132 (zero? (system* "make" "info")))))
1133 (add-after 'install 'install-info
1134 (lambda* (#:key outputs #:allow-other-keys)
1135 (let* ((out (assoc-ref outputs "out"))
1136 (info (string-append out "/share/info")))
1137 (install-file "docs/_build/texinfo/agel.info" info)
1140 `(("python-sphinx" ,python-sphinx)
1141 ("texinfo" ,texinfo)))
1143 `(("dash" ,emacs-dash)
1145 ;; We need to use 'ag' as the executable on remote systems.
1146 ("the-silver-searcher" ,the-silver-searcher)))
1147 (home-page "https://github.com/Wilfred/ag.el")
1148 (synopsis "Front-end for ag (the-silver-searcher) for Emacs")
1149 (description "This package provides the ability to use the silver
1150 searcher, a code searching tool, sometimes abbreviated to @code{ag}. Features
1151 include version control system awareness, use of Perl compatible regular
1152 expressions, editing the search results directly and searching file names
1153 rather than the contents of files.")
1154 (license license:gpl3+)))
1156 (define-public emacs-async
1158 (name "emacs-async")
1162 (uri (string-append "https://elpa.gnu.org/packages/async-"
1166 "17fnvrj7jww29sav6a6jpizclg4w2962m6h37akpii71gf0vrffw"))))
1167 (build-system emacs-build-system)
1168 (home-page "https://elpa.gnu.org/packages/async.html")
1169 (synopsis "Asynchronous processing in Emacs")
1171 "This package provides the ability to call asynchronous functions and
1172 processes. For example, it can be used to run dired commands (for copying,
1173 moving, etc.) asynchronously using @code{dired-async-mode}. Also it is used
1174 as a library for other Emacs packages.")
1175 (license license:gpl3+)))
1177 (define-public emacs-auctex
1179 (name "emacs-auctex")
1185 "https://elpa.gnu.org/packages/auctex-"
1190 "04nsndwcf0dimgc2p1yzzrymc36amzdnjg0158nxplmjkzdp28gy"))))
1191 (build-system emacs-build-system)
1192 ;; We use 'emacs' because AUCTeX requires dbus at compile time
1193 ;; ('emacs-minimal' does not provide dbus).
1196 #:include '("\\.el$" "^images/" "^latex/" "\\.info$")
1197 #:exclude '("^tests/" "^latex/README")))
1200 (home-page "https://www.gnu.org/software/auctex/")
1201 (synopsis "Integrated environment for TeX")
1203 "AUCTeX is a comprehensive customizable integrated environment for
1204 writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs
1206 (license license:gpl3+)))
1208 (define-public emacs-calfw
1210 (name "emacs-calfw")
1216 "https://github.com/kiwanami/emacs-calfw/archive/v"
1218 (file-name (string-append name "-" version ".tar.gz"))
1221 "17ssg8gx66yp63nhygjq2r6kgl4h45cacmrxsxs9f0lrfcx37k0l"))))
1222 (build-system emacs-build-system)
1223 (home-page "https://github.com/kiwanami/emacs-calfw/")
1224 (synopsis "Calendar framework for Emacs")
1226 "This package displays a calendar view with various shedule data in
1228 (license license:gpl3+)))
1230 (define-public emacs-google-maps
1232 (name "emacs-google-maps")
1236 (uri (string-append "https://github.com/jd/google-maps.el/"
1237 "archive/" version ".tar.gz"))
1238 (file-name (string-append name "-" version ".tar.gz"))
1241 "014bxapm4d8vjxbzrfjdpsavxyfx981mlcb10aq5rmigr6il8ybs"))))
1242 (build-system emacs-build-system)
1243 (home-page "https://github.com/jd/google-maps.el")
1244 (synopsis "Access Google Maps from Emacs")
1245 (description "The @code{google-maps} package allows to display Google
1246 Maps directly inside Emacs.")
1247 (license license:gpl3+)))
1249 (define-public emacs-mmm-mode
1251 (name "emacs-mmm-mode")
1257 "https://github.com/purcell/mmm-mode/archive/"
1259 (file-name (string-append name "-" version ".tar.gz"))
1262 "10kwslnflbjqm62wkrq420crqzdqalzfflp9pqk1i12zm6dm4mfv"))))
1263 (build-system gnu-build-system)
1266 (modify-phases %standard-phases
1267 (add-after 'unpack 'autogen
1269 (zero? (system* "sh" "autogen.sh")))))))
1271 `(("autoconf" ,autoconf)
1272 ("automake" ,automake)
1273 ("emacs" ,emacs-minimal)
1274 ("texinfo" ,texinfo)))
1275 (home-page "https://github.com/purcell/mmm-mode")
1276 (synopsis "Allow multiple major modes in an Emacs buffer")
1278 "MMM Mode is a minor mode that allows multiple major modes to coexist in a
1280 (license license:gpl3+)))
1282 (define-public emacs-pdf-tools
1284 (name "emacs-pdf-tools")
1289 "https://github.com/politza/pdf-tools/archive/v"
1291 (file-name (string-append name "-" version ".tar.gz"))
1294 "1m0api6wiawswyk46bdsyk6r5rg3b86a4paar6nassm6x6c6vr77"))))
1295 (build-system gnu-build-system)
1297 `(#:tests? #f ; there are no tests
1298 #:modules ((guix build gnu-build-system)
1299 ((guix build emacs-build-system) #:prefix emacs:)
1301 (guix build emacs-utils))
1302 #:imported-modules (,@%gnu-build-system-modules
1303 (guix build emacs-build-system)
1304 (guix build emacs-utils))
1306 (modify-phases %standard-phases
1307 ;; Build server side using 'gnu-build-system'.
1308 (add-after 'unpack 'enter-server-dir
1309 (lambda _ (chdir "server") #t))
1310 (add-before 'configure 'autogen
1312 (zero? (system* "bash" "autogen.sh"))))
1314 ;; Build emacs side using 'emacs-build-system'.
1315 (add-after 'compress-documentation 'enter-lisp-dir
1316 (lambda _ (chdir "../lisp") #t))
1317 (add-after 'enter-lisp-dir 'emacs-patch-variables
1318 (lambda* (#:key outputs #:allow-other-keys)
1319 ;; Set path to epdfinfo program.
1320 (emacs-substitute-variables "pdf-info.el"
1321 ("pdf-info-epdfinfo-program"
1322 (string-append (assoc-ref outputs "out")
1324 ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto
1325 ;; upgrading" that pdf-tools tries to perform.
1326 (emacs-substitute-variables "pdf-tools.el"
1327 ("pdf-tools-handle-upgrades" '()))))
1328 (add-after 'emacs-patch-variables 'emacs-install
1329 (assoc-ref emacs:%standard-phases 'install))
1330 (add-after 'emacs-install 'emacs-build
1331 (assoc-ref emacs:%standard-phases 'build))
1332 (add-after 'emacs-install 'emacs-make-autoloads
1333 (assoc-ref emacs:%standard-phases 'make-autoloads)))))
1334 (native-inputs `(("autoconf" ,autoconf)
1335 ("automake" ,automake)
1336 ("pkg-config" ,pkg-config)
1337 ("emacs" ,emacs-minimal)))
1339 `(("let-alist" ,let-alist)))
1340 (inputs `(("poppler" ,poppler)
1345 (synopsis "Emacs support library for PDF files")
1347 "PDF Tools is, among other things, a replacement of DocView for PDF
1348 files. The key difference is that pages are not pre-rendered by
1349 e.g. ghostscript and stored in the file-system, but rather created on-demand
1350 and stored in memory.")
1351 (home-page "https://github.com/politza/pdf-tools")
1352 (license license:gpl3+)))
1354 (define-public emacs-dash
1361 "https://github.com/magnars/dash.el/archive/"
1363 (file-name (string-append name "-" version ".tar.gz"))
1366 "1pjlkrzr8n45bnp3xs3dybvy0nz3gwamrfc7vsi1nhpkkw99ihhb"))))
1367 (build-system emacs-build-system)
1370 (modify-phases %standard-phases
1371 (add-before 'install 'check
1373 (zero? (system* "./run-tests.sh")))))))
1374 (home-page "https://github.com/magnars/dash.el")
1375 (synopsis "Modern list library for Emacs")
1376 (description "This package provides a modern list API library for Emacs.")
1377 (license license:gpl3+)))
1379 (define-public emacs-bui
1386 "https://github.com/alezost/bui.el/archive/v"
1388 (file-name (string-append name "-" version ".tar.gz"))
1391 "112k0mq6xpy0r47vk66miw7rxbkv3d06pv3pd0vcmrhcnhnnk486"))))
1392 (build-system emacs-build-system)
1394 `(("dash" ,emacs-dash)))
1395 (home-page "https://github.com/alezost/bui.el")
1396 (synopsis "Buffer interface library for Emacs")
1398 "BUI (Buffer User Interface) is a library for making @code{list} and
1399 @code{info} interfaces to display an arbitrary data of the same
1400 type, for example: packages, buffers, files, etc.")
1401 (license license:gpl3+)))
1403 (define-public emacs-guix
1409 (uri (string-append "https://github.com/alezost/guix.el"
1410 "/releases/download/v" version
1411 "/emacs-guix-" version ".tar.gz"))
1414 "0s7s90rfba8ccbilbvmbcwn4qp4m0jv9y58xq8avm39cygmjgyxz"))))
1415 (build-system gnu-build-system)
1418 (let ((guix (assoc-ref %build-inputs "guix"))
1419 (geiser (assoc-ref %build-inputs "geiser"))
1420 (dash (assoc-ref %build-inputs "dash"))
1421 (bui (assoc-ref %build-inputs "bui"))
1422 (magit-popup (assoc-ref %build-inputs "magit-popup"))
1423 (site-lisp "/share/emacs/site-lisp"))
1424 (list (string-append "--with-guix-site-dir="
1425 (car (find-files (string-append guix
1426 "/share/guile/site")
1431 #:directories? #t)))
1432 (string-append "--with-geiser-lispdir=" geiser site-lisp)
1433 (string-append "--with-dash-lispdir="
1434 dash site-lisp "/guix.d/dash-"
1435 ,(package-version emacs-dash))
1436 (string-append "--with-bui-lispdir="
1437 bui site-lisp "/guix.d/bui-"
1438 ,(package-version emacs-bui))
1439 (string-append "--with-popup-lispdir="
1440 magit-popup site-lisp "/guix.d/magit-popup-"
1441 ,(package-version emacs-magit-popup))))))
1443 `(("pkg-config" ,pkg-config)
1444 ("emacs" ,emacs-minimal)))
1446 `(("guile" ,guile-2.2)
1449 `(("geiser" ,geiser)
1450 ("dash" ,emacs-dash)
1452 ("magit-popup" ,emacs-magit-popup)))
1453 (home-page "https://alezost.github.io/guix.el/")
1454 (synopsis "Emacs interface for GNU Guix")
1456 "Emacs-Guix provides a visual interface, tools and features for the GNU
1457 Guix package manager. Particularly, it allows you to do various package
1458 management tasks from Emacs. To begin with, run @code{M-x guix-about} or
1459 @code{M-x guix-help} command.")
1460 (license license:gpl3+)))
1462 (define-public emacs-d-mode
1464 (name "emacs-d-mode")
1469 "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/"
1470 "archive/" version ".tar.gz"))
1473 "0knpgi55jm09282aqf8pv55zillpnpzf9f4sgm6gwsmvxf17xaw0"))))
1474 (build-system emacs-build-system)
1476 `(("emacs-undercover" ,emacs-undercover)))
1477 (home-page "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode")
1478 (synopsis "Emacs major mode for editing D code")
1479 (description "This package provides an Emacs major mode for highlighting
1480 code written in the D programming language. This mode is currently known to
1481 work with Emacs 24 and 25.")
1482 (license license:gpl2+)))
1484 (define-public emacs-keyfreq
1486 (name "emacs-keyfreq")
1487 (version "20160516.716")
1491 (uri (string-append "http://melpa.org/packages/keyfreq-"
1495 "008hd7d06qskc3mx0bbdgpgy2pwxr8185fzlyqf9qjg49y74p6g8"))))
1496 (build-system emacs-build-system)
1497 (home-page "https://github.com/dacap/keyfreq")
1498 (synopsis "Track Emacs command frequencies")
1499 (description "@code{emacs-keyfeq} tracks and shows how many times you used
1501 (license license:gpl3+)))
1503 (define-public emacs-undo-tree
1505 (name "emacs-undo-tree")
1510 (url "http://dr-qubit.org/git/undo-tree.git")
1511 (commit "release/0.6.4")))
1512 (file-name (string-append name "-" version "-checkout"))
1515 "0b6hnv6bq1g5np5q2yw9r9aj1cxpp14akm21br7vpb7wp01fv4b3"))))
1516 (build-system emacs-build-system)
1517 (home-page "http://www.dr-qubit.org/emacs.php")
1518 (synopsis "Treat undo history as a tree")
1519 (description "Tree-like interface to Emacs undo system, providing
1520 graphical tree presentation of all previous states of buffer that
1521 allows easily move between them.")
1522 (license license:gpl3+)))
1524 (define-public emacs-s
1531 "https://github.com/magnars/s.el/archive/"
1533 (file-name (string-append name "-" version ".tar.gz"))
1536 "0krq5nz3llfx0vwdqn18pmq777ja0fac185w0h9qymppb1j1hvc2"))))
1537 (build-system emacs-build-system)
1540 (modify-phases %standard-phases
1541 (add-before 'install 'check
1543 (zero? (system* "./run-tests.sh")))))))
1544 (home-page "https://github.com/magnars/s.el")
1545 (synopsis "Emacs string manipulation library")
1546 (description "This package provides an Emacs library for manipulating
1548 (license license:gpl3+)))
1550 (define-public emacs-symon
1552 (name "emacs-symon")
1553 (version "20160630")
1557 (uri (string-append "https://github.com/zk-phi/symon/archive/"
1559 (file-name (string-append name "-" version ".tar.gz"))
1562 "0h4jcgdnq98wc9rj72nwyazq8498yg55jfljiij5qwbn1xf1g5zz"))))
1563 (build-system emacs-build-system)
1564 (home-page "https://github.com/zk-phi/symon")
1565 (synopsis "Tiny graphical system monitor")
1567 "Tiny graphical system monitor for the Emacs minibuffer when idle.")
1568 (license license:gpl2+)))
1570 (define-public emacs-sx
1576 (uri (string-append "https://github.com/vermiculus/sx.el/"
1577 "archive/v" version ".tar.gz"))
1578 (file-name (string-append name "-" version ".tar.gz"))
1581 "1w0xghfljqg31axcnv8gzlrd8pw25nji6idnrhflq0af9qh1dw03"))))
1582 (build-system emacs-build-system)
1584 `(("emacs-markdown-mode" ,emacs-markdown-mode)
1585 ("let-alist" ,let-alist)))
1586 (home-page "https://github.com/vermiculus/sx.el/")
1587 (synopsis "Emacs StackExchange client")
1589 "Emacs StackExchange client. Ask and answer questions on
1590 Stack Overflow, Super User, and other StackExchange sites.")
1591 (license license:gpl3+)))
1593 (define-public emacs-f
1600 "https://github.com/rejeep/f.el/archive/v"
1602 (file-name (string-append name "-" version ".tar.gz"))
1605 "1926shh2ymdsgz05c6q181mzzz1rci99ch568j151xi865jinyg5"))))
1606 (build-system emacs-build-system)
1608 `(("emacs-s" ,emacs-s)
1609 ("emacs-dash" ,emacs-dash)))
1610 (home-page "https://github.com/rejeep/f.el")
1611 (synopsis "Emacs API for working with files and directories")
1612 (description "This package provides an Emacs library for working with
1613 files and directories.")
1614 (license license:gpl3+)))
1616 (define-public emacs-git-gutter
1618 (name "emacs-git-gutter")
1623 "https://github.com/syohex/" name "/archive/"
1625 (file-name (string-append name "-" version ".tar.gz"))
1628 "1nmhvhpq1l56mj2yq3ag23rw3x4xgnsy8szp30s26l0yjnkhc4qg"))))
1629 (build-system emacs-build-system)
1630 (home-page "https://github.com/syohex/emacs-git-gutter")
1631 (synopsis "See and manage hunks of text in a version control system")
1633 "This package is an Emacs minor mode for displaying and interacting with
1634 hunks of text managed in a version control system. Added modified and deleted
1635 areas can be indicated with symbols on the edge of the buffer, and commands
1636 can be used to move between and perform actions on these hunks.
1638 Git, Mercurial, Subversion and Bazaar are supported, and many parts of the
1639 display and behaviour is easily customisable.")
1640 (license license:gpl3+)))
1642 (define-public emacs-git-timemachine
1644 (name "emacs-git-timemachine")
1649 (uri (string-append "https://github.com/pidu/git-timemachine/"
1650 "archive/" version ".tar.gz"))
1651 (file-name (string-append name "-" version ".tar.gz"))
1654 "1l4g0r69wfrnjsywv03v4bpdd53byg6zdx6mzabfxyymss3kvisa"))))
1655 (build-system emacs-build-system)
1656 (home-page "https://github.com/pidu/git-timemachine")
1657 (synopsis "Step through historic versions of Git-controlled files")
1658 (description "This package enables you to step through historic versions
1659 of files under Git version control from within Emacs.")
1660 (license license:gpl3+)))
1662 (define-public emacs-el-mock
1664 (name "emacs-el-mock")
1669 (uri (string-append "https://github.com/rejeep/el-mock.el/"
1670 "archive/v" version ".tar.gz"))
1671 (file-name (string-append name "-" version ".tar.gz"))
1674 "16xw94n58xxn3zvgyj72bmzs0k5lkvswjmzs79ws9n7rzdivb38b"))))
1675 (build-system emacs-build-system)
1676 (home-page "https://github.com/rejeep/el-mock.el")
1677 (synopsis "Tiny mock and stub framework in Emacs Lisp")
1679 "Emacs Lisp Mock is a library for mocking and stubbing using readable
1680 syntax. Most commonly Emacs Lisp Mock is used in conjunction with Emacs Lisp
1681 Expectations, but it can be used in other contexts.")
1682 (license license:gpl3+)))
1684 (define-public emacs-espuds
1686 (name "emacs-espuds")
1691 (uri (string-append "https://github.com/ecukes/espuds/"
1692 "archive/v" version ".tar.gz"))
1693 (file-name (string-append name "-" version ".tar.gz"))
1696 "0xv551376pbmh735a3zjwc9z4qdx6ngj1vpq3xqjpn0a1rwjyn4k"))))
1697 (build-system emacs-build-system)
1699 `(("emacs-s" ,emacs-s)
1700 ("emacs-dash" ,emacs-dash)
1701 ("emacs-f" ,emacs-f)))
1702 (home-page "https://github.com/ecukes/espuds")
1703 (synopsis "Common step definitions for Ecukes")
1704 (description "Espuds is a collection of the most commonly used step
1705 definitions for testing with the Ecukes framework.")
1706 (license license:gpl3+)))
1708 (define-public emacs-es-mode
1710 (name "emacs-es-mode")
1715 "https://github.com/dakrone/es-mode/archive/"
1717 (file-name (string-append name "-" version ".tar.gz"))
1720 "02as82clm553yss7jfjac888308zr1h2229cch4z1yij70j25c8y"))))
1721 (build-system emacs-build-system)
1723 ;; The version of org in Emacs 24.5 is not sufficient, and causes tables
1724 ;; to be rendered incorrectly
1725 `(("emacs-org" ,emacs-org)))
1726 (home-page "https://github.com/dakrone/es-mode")
1727 (synopsis "Major mode for editing Elasticsearch queries")
1728 (description "@code{es-mode} includes highlighting, completion and
1729 indentation support for Elasticsearch queries. Also supported are
1730 @code{es-mode} blocks in @code{org-mode}, for which the results of queries can
1731 be processed through @code{jq}, or in the case of aggregations, can be
1732 rendered in to a table. In addition, there is an @code{es-command-center}
1733 mode, which displays information about Elasticsearch clusters.")
1734 (license license:gpl3+)))
1736 (define-public emacs-expand-region
1738 (name "emacs-expand-region")
1743 (uri (string-append "https://github.com/magnars/expand-region.el"
1744 "/archive/" version ".tar.gz"))
1745 (file-name (string-append name "-" version ".tar.gz"))
1748 "08dy1f411sh9wwww53rjw80idcf3vpki6ba2arl4hl5jcw9651g0"))))
1749 (build-system emacs-build-system)
1750 (home-page "https://github.com/magnars/expand-region.el")
1751 (synopsis "Increase selected region by semantic units")
1753 "Expand region increases the selected region by semantic units. Just
1754 keep pressing the key until it selects what you want. There's also
1755 @code{er/contract-region} if you expand too far.")
1756 (license license:gpl3+)))
1758 (define-public emacs-fill-column-indicator
1760 (name "emacs-fill-column-indicator")
1765 (uri (string-append "https://github.com/alpaker/Fill-Column-Indicator"
1766 "/archive/v" version ".tar.gz"))
1767 (file-name (string-append name "-" version ".tar.gz"))
1770 "1xwyqbjbbicmvhlb85vg4j5snwy1vd7rfk89ws4viws5ljkhhyg8"))))
1771 (build-system emacs-build-system)
1772 (home-page "https://www.emacswiki.org/emacs/FillColumnIndicator")
1773 (synopsis "Graphically indicate the fill column")
1775 "Fill-column-indicator graphically indicates the location of the fill
1776 column by drawing a thin line down the length of the editing window.")
1777 (license license:gpl3+)))
1779 (define-public emacs-znc
1786 (uri (string-append "https://marmalade-repo.org/packages/znc-"
1790 "1d8lqvybgyazin5z0g1c4l3rg1vzrrvf0saqs53jr1zcdg0lianh"))))
1791 (build-system emacs-build-system)
1792 (home-page "https://github.com/sshirokov/ZNC.el")
1793 (synopsis "Make ERC and ZNC get along better")
1795 "This is a thin wrapper around @code{erc} that enables one to use the ZNC
1796 IRC bouncer with ERC.")
1797 (license license:expat)))
1799 (define-public emacs-shut-up
1801 (name "emacs-shut-up")
1806 (uri (string-append "https://github.com/cask/shut-up/"
1807 "archive/v" version ".tar.gz"))
1808 (file-name (string-append name "-" version ".tar.gz"))
1811 "09kzrjdkb569iviyg7ydwq44yh84m3f9hkl7jizfrlk0w4gz67d1"))))
1812 (build-system emacs-build-system)
1813 (home-page "https://github.com/cask/shut-up")
1814 (synopsis "Silence Emacs")
1815 (description "This package silences most output of Emacs when running an
1816 Emacs shell script.")
1817 (license license:expat)))
1819 (define-public emacs-undercover
1821 (name "emacs-undercover")
1826 (uri (string-append "https://github.com/sviridov/undercover.el/"
1827 "archive/v" version ".tar.gz"))
1828 (file-name (string-append name "-" version ".tar.gz"))
1831 "0f48fi0xnbsqs382rgh85m9mq1wdnr0yib7as9xhwzvq0hsr5m0a"))))
1832 (build-system emacs-build-system)
1834 `(("emacs-dash" ,emacs-dash)
1835 ("emacs-shut-up" ,emacs-shut-up)))
1836 (home-page "https://github.com/sviridov/undercover.el")
1837 (synopsis "Test coverage library for Emacs Lisp")
1839 "Undercover is a test coverage library for software written in Emacs
1841 (license license:expat)))
1843 (define-public emacs-paren-face
1845 (name "emacs-paren-face")
1850 (uri (string-append "https://github.com/tarsius/paren-face/archive/"
1852 (file-name (string-append name "-" version ".tar.gz"))
1855 "0y4qrhxa9332vsvr999jg7qj1ymnfgwpf591yi4a4jgg90pm7qnn"))))
1856 (build-system emacs-build-system)
1857 (home-page "https://github.com/tarsius/paren-face")
1858 (synopsis "Face for parentheses in lisp modes")
1860 "This library defines a face named @code{parenthesis} used just for
1861 parentheses. The intended purpose of this face is to make parentheses less
1862 visible in Lisp code by dimming them. Lispers probably don't need to be
1863 constantly made aware of the existence of the parentheses. Dimming them might
1864 be even more useful for people new to lisp who have not yet learned to
1865 subconsciously blend out the parentheses.")
1866 (license license:gpl3+)))
1868 (define-public emacs-page-break-lines
1870 (name "emacs-page-break-lines")
1875 (uri (string-append "https://github.com/purcell/page-break-lines/"
1876 "archive/" version ".tar.gz"))
1877 (file-name (string-append name "-" version ".tar.gz"))
1880 "1zzhziq5kbrm9rxk30kx2glz455fp1blqxg8cpcf6l8xl3w8z4pg"))))
1881 (build-system emacs-build-system)
1882 (home-page "https://github.com/purcell/page-break-lines")
1883 (synopsis "Display page breaks as tidy horizontal lines")
1885 "This library provides a global mode which displays form feed characters
1886 as horizontal rules.")
1887 (license license:gpl3+)))
1889 (define-public emacs-simple-httpd
1891 (name "emacs-simple-httpd")
1896 (uri (string-append "https://github.com/skeeto/emacs-web-server/"
1897 "archive/" version ".tar.gz"))
1898 (file-name (string-append name "-" version ".tar.gz"))
1901 "01r7h3imnj4qx1m53a2wjafvbylcyz5f9r2rg2cs7ky3chlg220r"))))
1902 (build-system emacs-build-system)
1903 (home-page "https://github.com/skeeto/emacs-http-server")
1904 (synopsis "HTTP server in pure Emacs Lisp")
1906 "This package provides a simple HTTP server written in Emacs Lisp to
1907 serve files and directory listings.")
1908 (license license:unlicense)))
1910 (define-public emacs-skewer-mode
1912 (name "emacs-skewer-mode")
1917 (uri (string-append "https://github.com/skeeto/skewer-mode/archive/"
1919 (file-name (string-append name "-" version ".tar.gz"))
1922 "07jpz374j0j964szy3zznrkyja2kpdl3xa87wh7349mzxivqxdx0"))))
1923 (build-system emacs-build-system)
1925 `(("emacs-simple-httpd" ,emacs-simple-httpd)
1926 ("emacs-js2-mode" ,emacs-js2-mode)))
1927 (home-page "https://github.com/skeeto/skewer-mode")
1928 (synopsis "Live web development in Emacs")
1930 "Skewer-mode provides live interaction with JavaScript, CSS, and HTML in
1931 a web browser. Expressions are sent on-the-fly from an editing buffer to be
1932 evaluated in the browser, just like Emacs does with an inferior Lisp process
1934 (license license:unlicense)))
1936 (define-public emacs-stripe-buffer
1938 (name "emacs-stripe-buffer")
1943 (uri (string-append "https://github.com/sabof/stripe-buffer/"
1944 "archive/" version ".tar.gz"))
1945 (file-name (string-append name "-" version ".tar.gz"))
1948 "1p515dq7raly5hw94kiwm3vzsfih0d8af622q4ipvvljsm98aiik"))))
1949 (build-system emacs-build-system)
1950 (home-page "https://github.com/sabof/stripe-buffer/")
1951 (synopsis "Add stripes to list buffers")
1953 "This Emacs package adds faces to add stripes to list buffers and org
1955 (license license:gpl2+)))
1957 (define-public emacs-rich-minority
1959 (name "emacs-rich-minority")
1964 (uri (string-append "https://github.com/Malabarba/rich-minority/"
1965 "archive/" version ".tar.gz"))
1966 (file-name (string-append name "-" version ".tar.gz"))
1969 "1l0cb0q7kyi88nwfqd542psnkgwnjklpzc5rx32gzd3lkwkrbr8v"))))
1970 (build-system emacs-build-system)
1971 (home-page "https://github.com/Malabarba/rich-minority")
1972 (synopsis "Clean-up and beautify the list of minor modes")
1974 "This Emacs package hides and/or highlights minor modes in the
1976 (license license:gpl2+)))
1978 (define-public emacs-smart-mode-line
1980 (name "emacs-smart-mode-line")
1985 (uri (string-append "https://github.com/Malabarba/smart-mode-line/"
1986 "archive/" version ".tar.gz"))
1987 (file-name (string-append name "-" version ".tar.gz"))
1990 "0i9wajabrrsjzwd842q0m2611kf0q31p9hg1pdj81177gynkw8l8"))))
1991 (build-system emacs-build-system)
1993 `(("emacs-rich-minority" ,emacs-rich-minority)))
1994 (home-page "https://github.com/Malabarba/smart-mode-line")
1995 (synopsis "Color-coded smart mode-line")
1997 "Smart Mode Line is a mode-line theme for Emacs. It aims to be easy to
1998 read from small to large monitors by using colors, a prefix feature, and smart
2000 (license license:gpl2+)))
2002 (define-public emacs-shell-switcher
2004 (name "emacs-shell-switcher")
2009 (uri (string-append "https://github.com/DamienCassou/shell-switcher"
2010 "/archive/v" version ".tar.gz"))
2011 (file-name (string-append name "-" version ".tar.gz"))
2014 "1c23mfkdqz2g9rixd9smm323vzlvhzz3ng34ambcqjfq309qb2nz"))))
2015 (build-system emacs-build-system)
2016 (home-page "https://github.com/DamienCassou/shell-switcher")
2017 (synopsis "Provide fast switching between shell buffers")
2019 "This package provides commands to quickly switch between shell buffers.")
2020 (license license:gpl3+)))
2022 (define-public emacs-ob-ipython
2024 (name "emacs-ob-ipython")
2025 (version "20150704.8807064693")
2029 (commit "880706469338ab59b5bb7dbe8460016f89755364")
2030 (url "https://github.com/gregsexton/ob-ipython.git")))
2033 "1scf25snbds9ymagpny30ijbsg479r3nm0ih01dy4m9d0g7qryb7"))))
2034 (build-system emacs-build-system)
2036 `(("emacs-f" ,emacs-f)))
2037 (home-page "http://www.gregsexton.org")
2038 (synopsis "Org-Babel functions for IPython evaluation")
2039 (description "This package adds support to Org-Babel for evaluating Python
2040 source code using IPython.")
2041 (license license:gpl3+)))
2043 (define-public emacs-debbugs
2045 (name "emacs-debbugs")
2049 (uri (string-append "https://elpa.gnu.org/packages/debbugs-"
2053 "07wgcvg038l88gxvjr0gjpjhyk743w22x1rqghz3gkmif0g70say"))))
2054 (build-system emacs-build-system)
2056 `(("emacs-async" ,emacs-async)))
2057 (home-page "https://elpa.gnu.org/packages/debbugs.html")
2058 (synopsis "Access the Debbugs bug tracker in Emacs")
2060 "This package lets you access the @uref{http://bugs.gnu.org,GNU Bug
2061 Tracker} from within Emacs.
2063 For instance, it defines the command @code{M-x debbugs-gnu} for listing bugs,
2064 and the command @code{M-x debbugs-gnu-search} for bug searching. If you
2065 prefer the listing of bugs as TODO items of @code{org-mode}, you could use
2066 @code{M-x debbugs-org} and related commands.
2068 A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug
2069 Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.")
2070 (license license:gpl3+)))
2072 (define-public emacs-deferred
2074 (name "emacs-deferred")
2076 (home-page "https://github.com/kiwanami/emacs-deferred")
2081 (commit (string-append "v" version))))
2084 "0059jy01ni5irpgrj9fa81ayd9j25nvmjjm79ms3210ysx4pgqdr"))
2085 (file-name (string-append name "-" version))))
2086 (build-system emacs-build-system)
2087 ;; FIXME: Would need 'el-expectations' to actually run tests.
2088 (synopsis "Simple asynchronous functions for Emacs Lisp")
2090 "The @code{deferred.el} library provides support for asynchronous tasks.
2091 The API is almost the same as that of
2092 @uref{https://github.com/cho45/jsdeferred, JSDeferred}, a JavaScript library
2093 for asynchronous tasks.")
2094 (license license:gpl3+)))
2096 (define-public butler
2098 (name "emacs-butler")
2100 (home-page "https://github.com/AshtonKem/Butler")
2108 "1pii9dw4skq7nr4na6qxqasl36av8cwjp71bf1fgppqpcd9z8skj"))
2109 (file-name (string-append name "-" version))))
2110 (build-system emacs-build-system)
2112 `(("emacs-deferred" ,emacs-deferred)))
2113 (synopsis "Emacs client for Jenkins")
2115 "Butler provides an interface to connect to Jenkins continuous
2116 integration servers. Users can specify a list of server in the
2117 @code{butler-server-list} variable and then use @code{M-x butler-status} to
2118 view the build status of those servers' build jobs, and possibly to trigger
2120 (license license:gpl3+)))
2122 (define-public emacs-company
2124 (name "emacs-company")
2129 (uri (string-append "https://github.com/company-mode/company-mode/archive/"
2131 (file-name (string-append name "-" version ".tar.gz"))
2134 "1fyrpchpdmvszssy1qmsw41aqpv6q5rybvs1bw00nv9xdhiaq4vh"))))
2135 (build-system emacs-build-system)
2138 (modify-phases %standard-phases
2139 (add-before 'install 'check
2141 ;; The company-files-candidates-normal-root test looks
2142 ;; for the /bin directory, but the build environment has
2143 ;; no /bin directory. Modify the test to look for the
2145 (substitute* "test/files-tests.el"
2146 (("/bin/") "/tmp/"))
2147 (zero? (system* "make" "test-batch")))))))
2148 (home-page "http://company-mode.github.io/")
2149 (synopsis "Modular text completion framework")
2151 "Company is a modular completion mechanism. Modules for retrieving
2152 completion candidates are called back-ends, modules for displaying them are
2153 front-ends. Company comes with many back-ends, e.g. @code{company-elisp}.
2154 These are distributed in separate files and can be used individually.")
2155 (license license:gpl3+)))
2157 (define-public emacs-multiple-cursors
2159 (name "emacs-multiple-cursors")
2164 (uri (string-append "https://github.com/magnars/multiple-cursors.el/"
2165 "archive/" version ".tar.gz"))
2166 (file-name (string-append name "-" version ".tar.gz"))
2169 "0hihihlvcvzayg5fnqzcg45fhvlmq6xlq58syy00rjwbry9w389k"))))
2170 (build-system emacs-build-system)
2171 (home-page "https://github.com/magnars/multiple-cursors.el")
2172 (synopsis "Multiple cursors for Emacs")
2174 "This package adds support to Emacs for editing text with multiple
2175 simultaneous cursors.")
2176 (license license:gpl3+)))
2182 (home-page "https://github.com/jorgenschaefer/typoel")
2187 (commit (string-append "v" version))))
2190 "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2"))
2191 (file-name (string-append name "-" version))))
2192 (build-system emacs-build-system)
2193 (synopsis "Minor mode for typographic editing")
2195 "This package provides two Emacs modes, @code{typo-mode} and
2196 @code{typo-global-mode}. These modes automatically insert Unicode characters
2197 for quotation marks, dashes, and ellipses. For example, typing @kbd{\"}
2198 automatically inserts a Unicode opening or closing quotation mark, depending
2200 (license license:gpl3+)))
2202 (define-public emacs-scheme-complete
2203 (let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5"))
2205 (name "emacs-scheme-complete")
2206 (version (string-append "20151223." (string-take commit 8)))
2209 (file-name (string-append name "-" version))
2212 (url "https://github.com/ashinn/scheme-complete.git")
2216 "141wn9l0m33w0g3dqmx8nxbfdny1r5xbr6ak61rsz21bk0qafs7x"))
2218 (search-patches "emacs-scheme-complete-scheme-r5rs-info.patch"))))
2219 (build-system emacs-build-system)
2220 (home-page "https://github.com/ashinn/scheme-complete")
2221 (synopsis "Smart tab completion for Scheme in Emacs")
2223 "This file provides a single function, @code{scheme-smart-complete},
2224 which you can use for intelligent, context-sensitive completion for any Scheme
2225 implementation in Emacs. To use it just load this file and bind that function
2226 to a key in your preferred mode.")
2227 (license license:public-domain))))
2229 (define-public emacs-mit-scheme-doc
2231 (name "emacs-mit-scheme-doc")
2232 (version "20140203")
2235 (modules '((guix build utils)))
2237 ;; keep only file of interest
2239 (for-each delete-file '("dot-emacs.el" "Makefile"))
2240 (install-file "6.945-config/mit-scheme-doc.el" ".")
2241 (delete-file-recursively "6.945-config")))
2242 (file-name (string-append name "-" version ".tar.bz2"))
2244 (uri (string-append "http://groups.csail.mit.edu/mac/users/gjs/"
2245 "6.945/dont-panic/emacs-basic-config.tar.bz2"))
2248 "0dqidg2bd66pawqfarvwca93w5gqf9mikn1k2a2rmd9ymfjpziq1"))))
2249 (build-system emacs-build-system)
2250 (inputs `(("mit-scheme" ,mit-scheme)))
2253 (modify-phases %standard-phases
2254 (add-after 'unpack 'configure-doc
2255 (lambda* (#:key inputs #:allow-other-keys)
2256 (let* ((mit-scheme-dir (assoc-ref inputs "mit-scheme"))
2257 (doc-dir (string-append mit-scheme-dir "/share/doc/"
2259 ,(package-version mit-scheme))))
2260 (substitute* "mit-scheme-doc.el"
2261 (("http://www\\.gnu\\.org/software/mit-scheme/documentation/mit-scheme-ref/")
2262 (string-append "file:" doc-dir "/mit-scheme-ref/")))))))))
2263 (home-page "http://groups.csail.mit.edu/mac/users/gjs/6.945/dont-panic/")
2264 (synopsis "MIT-Scheme documentation lookup for Emacs")
2266 "This package provides a set of Emacs functions to search definitions of
2267 identifiers in the MIT-Scheme documentation.")
2268 (license license:gpl2+)))
2270 (define-public emacs-constants
2272 (name "emacs-constants")
2274 (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
2277 (file-name (string-append name "-" version ".tar.gz"))
2279 (uri (string-append "https://github.com/fedeinthemix/emacs-constants"
2280 "/archive/v" version ".tar.gz"))
2283 "0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n"))))
2284 (build-system emacs-build-system)
2285 (synopsis "Enter definition of constants into an Emacs buffer")
2287 "This package provides functions for inserting the definition of natural
2288 constants and units into an Emacs buffer.")
2289 (license license:gpl2+)))
2291 (define-public emacs-tagedit
2293 (name "emacs-tagedit")
2298 (uri (string-append "https://github.com/magnars/tagedit/"
2299 "archive/" version ".tar.gz"))
2300 (file-name (string-append name "-" version ".tar.gz"))
2303 "1apfnann4qklfdsmdi7icjsj18x7gwx8d83iqr4z25clszz95xfq"))))
2304 (build-system emacs-build-system)
2306 `(("emacs-s" ,emacs-s)
2307 ("emacs-dash" ,emacs-dash)))
2308 (home-page "https://github.com/magnars/tagedit")
2309 (synopsis "Some paredit-like features for html-mode")
2311 "This package provides a collection of paredit-like functions for editing
2312 in @code{html-mode}.")
2313 (license license:gpl3+)))
2315 (define-public emacs-slime
2317 (name "emacs-slime")
2321 (file-name (string-append name "-" version ".tar.gz"))
2324 "https://github.com/slime/slime/archive/v"
2328 "1jhaq5cn89k45nzyl0jd12gmjxnh1bq9jlfwrxba342agxsscb0p"))))
2329 (build-system emacs-build-system)
2331 `(("texinfo" ,texinfo)))
2333 `(#:include '("\\.el$" "\\.lisp$" "\\.asd$" "contrib")
2334 #:exclude '("^slime-tests.el" "^contrib/test/"
2335 "^contrib/Makefile$" "^contrib/README.md$")
2337 (modify-phases %standard-phases
2338 (add-before 'install 'configure
2340 (emacs-substitute-variables "slime.el"
2341 ("inferior-lisp-program" "sbcl"))
2343 (add-before 'install 'install-doc
2344 (lambda* (#:key outputs #:allow-other-keys)
2345 (let* ((out (assoc-ref outputs "out"))
2346 (info-dir (string-append out "/share/info"))
2347 (doc-dir (string-append out "/share/doc/"
2348 ,name "-" ,version))
2349 (doc-files '("doc/slime-refcard.pdf"
2350 "README.md" "NEWS" "PROBLEMS"
2351 "CONTRIBUTING.md")))
2352 (with-directory-excursion "doc"
2353 (substitute* "Makefile"
2354 (("infodir=/usr/local/info")
2355 (string-append "infodir=" info-dir)))
2356 (system* "make" "html/index.html")
2357 (system* "make" "slime.info")
2358 (install-file "slime.info" info-dir)
2359 (copy-recursively "html" (string-append doc-dir "/html")))
2360 (for-each (lambda (f)
2361 (install-file f doc-dir)
2364 (delete-file-recursively "doc")
2366 (home-page "https://github.com/slime/slime")
2367 (synopsis "Superior Lisp Interaction Mode for Emacs")
2369 "SLIME extends Emacs with support for interactive programming in
2370 Common Lisp. The features are centered around @{slime-mode}, an Emacs
2371 minor mode that complements the standard @{lisp-mode}. While lisp-mode
2372 supports editing Lisp source files, @{slime-mode} adds support for
2373 interacting with a running Common Lisp process for compilation,
2374 debugging, documentation lookup, and so on.")
2375 (license license:gpl2+)))
2377 (define-public emacs-popup
2379 (name "emacs-popup")
2384 "https://github.com/auto-complete/popup-el/archive/v"
2386 (file-name (string-append name "-" version ".tar.gz"))
2389 "1yrgfj8y69xmcb6kwgplhq68ndm9410qwh7sd2knnd1gchpphdc0"))))
2390 (build-system emacs-build-system)
2391 (home-page "https://github.com/auto-complete/popup-el")
2392 (synopsis "Visual Popup User Interface for Emacs")
2394 "Popup.el is a visual popup user interface library for Emacs.
2395 This provides a basic API and common UI widgets such as popup tooltips
2397 (license license:gpl3+)))
2399 (define-public emacs-god-mode
2400 (let ((commit "6cf0807b6555eb6fcf8387a4e3b667071ef38964")
2403 (name "emacs-god-mode")
2404 (version (string-append "20151005.925."
2405 revision "-" (string-take commit 9)))
2410 (url "https://github.com/chrisdone/god-mode.git")
2412 (file-name (string-append name "-" version "-checkout"))
2415 "1am415k4xxcva6y3vbvyvknzc6bma49pq3p85zmpjsdmsp18qdix"))))
2416 (build-system emacs-build-system)
2417 (home-page "https://github.com/chrisdone/god-mode")
2418 (synopsis "Minor mode for entering commands without modifier keys")
2420 "This package provides a global minor mode for entering Emacs commands
2421 without modifier keys. It's similar to Vim's separation of commands and
2422 insertion mode. When enabled all keys are implicitly prefixed with
2423 @samp{C-} (among other helpful shortcuts).")
2424 (license license:gpl3+))))
2426 (define-public emacs-rfcview
2428 (name "emacs-rfcview")
2430 (home-page "http://www.loveshack.ukfsn.org/emacs")
2433 (uri "http://www.loveshack.ukfsn.org/emacs/rfcview.el")
2436 "0ympj5rxig383zl2jf0pzdsa80nnq0dpvjiriq0ivfi98fj7kxbz"))))
2437 (build-system emacs-build-system)
2438 (synopsis "Prettify Request for Comments (RFC) documents")
2439 (description "The Internet Engineering Task Force (IETF) and the Internet
2440 Society (ISOC) publish various Internet-related protocols and specifications
2441 as \"Request for Comments\" (RFC) documents and Internet Standard (STD)
2442 documents. RFCs and STDs are published in a simple text form. This package
2443 provides an Emacs major mode, rfcview-mode, which makes it more pleasant to
2444 read these documents in Emacs. It prettifies the text and adds
2445 hyperlinks/menus for easier navigation. It also provides functions for
2446 browsing the index of RFC documents and fetching them from remote servers or
2447 local directories.")
2448 (license license:gpl3+)))
2450 (define-public emacs-ffap-rfc-space
2452 (name "emacs-ffap-rfc-space")
2454 (home-page "http://user42.tuxfamily.org/ffap-rfc-space/index.html")
2457 (uri "http://download.tuxfamily.org/user42/ffap-rfc-space.el")
2460 "1iv61dv57a73mdps7rn6zmgz7nqh14v0ninidyrasy45b1nv6gck"))))
2461 (build-system emacs-build-system)
2462 (synopsis "Make ffap recognize an RFC with a space before its number")
2463 (description "The Internet Engineering Task Force (IETF) and the
2464 Internet Society (ISOC) publish various Internet-related protocols and
2465 specifications as \"Request for Comments\" (RFC) documents. The
2466 built-in Emacs module \"ffap\" (Find File at Point) has the ability to
2467 recognize names at point which look like \"RFC1234\" and \"RFC-1234\"
2468 and load the appropriate RFC from a remote server. However, it fails
2469 to recognize a name like \"RFC 1234\". This package enhances ffap so
2470 that it correctly finds RFCs even when a space appears before the
2472 (license license:gpl3+)))
2474 (define-public emacs-org-bullets
2476 (name "emacs-org-bullets")
2481 (uri (string-append "https://github.com/sabof/org-bullets/archive/"
2483 (file-name (string-append name "-" version ".tar.gz"))
2486 "1dyxvpb73vj80v8br2q9rf255hfphrgaw91fbvwdcd735np9pcnh"))))
2487 (build-system emacs-build-system)
2488 (home-page "https://github.com/sabof/org-bullets")
2489 (synopsis "Show bullets in org-mode as UTF-8 characters")
2491 "This package provides an Emacs minor mode causing bullets in
2492 @code{org-mode} to be rendered as UTF-8 characters.")
2493 (license license:gpl3+)))
2495 (define-public emacs-org-trello
2497 (name "emacs-org-trello")
2502 "https://github.com/org-trello/org-trello/archive/"
2504 (file-name (string-append name "-" version ".tar.gz"))
2507 "074dka8g673bj1ck5vavbjaij5jyniygdlw51mdds005wd2br9wf"))))
2508 (build-system emacs-build-system)
2510 `(("emacs-deferred" ,emacs-deferred)
2511 ("emacs-request" ,emacs-request)
2512 ("emacs-dash" ,emacs-dash)
2513 ("emacs-s" ,emacs-s)))
2514 (home-page "https://org-trello.github.io")
2515 (synopsis "Emacs minor mode for interacting with Trello")
2516 (description "This package provides an Emacs minor mode to extend
2517 @code{org-mode} with Trello abilities. Trello is an online project
2519 (license license:gpl3+)))
2521 (define-public emacs-zenburn-theme
2523 (name "emacs-zenburn-theme")
2528 "https://github.com/bbatsov/zenburn-emacs/archive/v"
2530 (file-name (string-append name "-" version ".tar.gz"))
2533 "03kfhzgbbbl8ivpzzky6qxw4j9mmp452m1sk7wikxmcalfnix0gn"))))
2534 (build-system emacs-build-system)
2535 (home-page "https://github.com/bbatsov/zenburn-emacs")
2536 (synopsis "Low contrast color theme for Emacs")
2538 "Zenburn theme is a port of the popular Vim Zenburn theme for Emacs.
2539 It is built on top of the custom theme support in Emacs 24 or later.")
2540 (license license:gpl3+)))
2542 (define-public emacs-solarized-theme
2544 (name "emacs-solarized-theme")
2548 (uri (string-append "https://github.com/bbatsov/solarized-emacs/"
2549 "archive/v" version ".tar.gz"))
2550 (file-name (string-append name "-" version ".tar.gz"))
2553 "1ha3slc6d9wi9ilkhmwrzkvf308n6ph7b0k69pk369s9304awxzx"))))
2554 (build-system emacs-build-system)
2556 `(("emacs-dash" ,emacs-dash)))
2557 (home-page "https://github.com/bbatsov/solarized-emacs")
2558 (synopsis "Port of the Solarized theme for Emacs")
2560 "Solarized for Emacs is a port of the Solarized theme for Vim. This
2561 package provides a light and a dark variant.")
2562 (license license:gpl3+)))
2564 (define-public emacs-ahungry-theme
2566 (name "emacs-ahungry-theme")
2569 (origin (method url-fetch)
2570 (uri (string-append "https://elpa.gnu.org/packages/ahungry-theme-"
2574 "1p2zaq0s4bbl5cx6wyab24wamw7m0mysb0v47dqjmnvfc25z84rq"))))
2575 (build-system emacs-build-system)
2576 (home-page "https://github.com/ahungry/color-theme-ahungry")
2577 (synopsis "Ahungry color theme for Emacs")
2578 (description "Ahungry theme for Emacs provides bright and bold colors.
2579 If you load it from a terminal, you will be able to make use of the
2580 transparent background. If you load it from a GUI, it will default to a
2582 (license license:gpl3+)))
2584 (define-public emacs-smartparens
2586 (name "emacs-smartparens")
2591 "https://github.com/Fuco1/smartparens/archive/"
2593 (file-name (string-append name "-" version ".tar.gz"))
2596 "1nwsi6fbbxjq3r22r6knmx71la3g0lmwfb95i9q4k138gn0m2l3i"))))
2597 (build-system emacs-build-system)
2598 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
2599 (home-page "https://github.com/Fuco1/smartparens")
2600 (synopsis "Paredit-like insertion, wrapping and navigation with user
2603 "Smartparens is a minor mode for Emacs that deals with parens pairs
2604 and tries to be smart about it. It started as a unification effort to
2605 combine functionality of several existing packages in a single,
2606 compatible and extensible way to deal with parentheses, delimiters, tags
2607 and the like. Some of these packages include autopair, textmate,
2608 wrap-region, electric-pair-mode, paredit and others. With the basic
2609 features found in other packages it also brings many improvements as
2610 well as completely new features.")
2611 (license license:gpl3+)))
2613 (define-public emacs-hl-todo
2615 (name "emacs-hl-todo")
2620 "https://raw.githubusercontent.com/tarsius/hl-todo/"
2621 version "/hl-todo.el"))
2622 (file-name (string-append "hl-todo-" version ".el"))
2625 "016ivl4s0ysrm1xbfi86j5xcs759fcb0mkspxw81x8mpi3yb46ya"))))
2626 (build-system emacs-build-system)
2627 (home-page "https://github.com/tarsius/hl-todo")
2628 (synopsis "Emacs mode to highlight TODO and similar keywords")
2630 "This package provides an Emacs mode to highlight TODO and similar
2631 keywords in comments and strings. This package also provides commands for
2632 moving to the next or previous keyword and to invoke @code{occur} with a
2633 regexp that matches all known keywords.")
2634 (license license:gpl3+)))
2636 (define-public emacs-perspective
2638 (name "emacs-perspective")
2643 (uri (string-append "https://github.com/nex3/perspective-el/"
2644 "archive/" version ".tar.gz"))
2645 (file-name (string-append name "-" version ".tar.gz"))
2648 "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic"))))
2649 (build-system emacs-build-system)
2650 (home-page "https://github.com/nex3/perspective-el")
2651 (synopsis "Switch between named \"perspectives\"")
2653 "This package provides tagged workspaces in Emacs, similar to workspaces in
2654 windows managers such as Awesome and XMonad. @code{perspective.el} provides
2655 multiple workspaces (or \"perspectives\") for each Emacs frame. Each
2656 perspective is composed of a window configuration and a set of buffers.
2657 Switching to a perspective activates its window configuration, and when in a
2658 perspective only its buffers are available by default.")
2659 ;; This package is released under the same license as Emacs (GPLv3+) or
2660 ;; the Expat license.
2661 (license license:gpl3+)))
2663 (define-public emacs-request
2665 (name "emacs-request")
2670 "https://github.com/tkf/emacs-request/archive/v"
2672 (file-name (string-append name "-" version ".tar.gz"))
2674 (base32 "0sll9g9x15jxrdr58pdxx4iz74rnjd43q521iqm890i6hmkrgwap"))))
2675 (build-system emacs-build-system)
2676 (home-page "https://github.com/tkf/emacs-request")
2677 (synopsis "Package for speaking HTTP in Emacs Lisp")
2678 (description "This package provides a HTTP request library with multiple
2679 backends. It supports url.el which is shipped with Emacs and the curl command
2681 (license license:gpl3+)))
2683 (define-public emacs-rudel
2685 (name "emacs-rudel")
2690 (uri (string-append "http://elpa.gnu.org/packages/rudel-"
2694 "0glqa68g509p0s2vcc0i8kzlddnc9brd9jqhnm5rzxz4i050cvnz"))))
2695 (build-system emacs-build-system)
2696 (home-page "http://rudel.sourceforge.net/")
2697 (synopsis "Collaborative editing framework")
2699 "Rudel is a collaborative editing environment for GNU Emacs. Its purpose
2700 is to share buffers with other users in order to edit the contents of those
2701 buffers collaboratively. Rudel supports multiple backends to enable
2702 communication with other collaborative editors using different protocols,
2703 though currently Obby (for use with the Gobby editor) is the only
2704 fully-functional one.")
2705 (license license:gpl3+)))
2707 (define-public emacs-hydra
2709 (name "emacs-hydra")
2714 (uri (string-append "https://github.com/abo-abo/hydra/archive/"
2716 (file-name (string-append name "-" version ".tar.gz"))
2719 "0575vh858gm35p57s49dy6pc2ij46dmj9zaa4z0cp98sqra3j3l0"))))
2720 (build-system emacs-build-system)
2721 (home-page "https://github.com/abo-abo/hydra")
2722 (synopsis "Make Emacs bindings that stick around")
2724 "This package can be used to tie related commands into a family of short
2725 bindings with a common prefix---a Hydra. Once you summon the Hydra (through
2726 the prefixed binding), all the heads can be called in succession with only a
2727 short extension. Any binding that isn't the Hydra's head vanquishes the
2728 Hydra. Note that the final binding, besides vanquishing the Hydra, will still
2729 serve its original purpose, calling the command assigned to it. This makes
2730 the Hydra very seamless; it's like a minor mode that disables itself
2732 (license license:gpl3+)))
2734 (define-public emacs-ivy
2741 (uri (string-append "https://github.com/abo-abo/swiper/archive/"
2743 (file-name (string-append name "-" version ".tar.gz"))
2746 "1abi1rvjarwfxxylpx8qlhck0kbavnj0nmlaaizk9q5zr02xfx1j"))))
2747 (build-system emacs-build-system)
2749 `(("emacs-hydra" ,emacs-hydra)))
2750 (home-page "http://oremacs.com/swiper/")
2751 (synopsis "Incremental vertical completion for Emacs")
2753 "This package provides @code{ivy-read} as an alternative to
2754 @code{completing-read} and similar functions. No attempt is made to determine
2755 the best candidate. Instead, the user can navigate candidates with
2756 @code{ivy-next-line} and @code{ivy-previous-line}. The matching is done by
2757 splitting the input text by spaces and re-building it into a regular
2759 (license license:gpl3+)))
2761 (define-public emacs-avy
2768 (uri (string-append "https://github.com/abo-abo/avy/archive/"
2770 (file-name (string-append name "-" version ".tar.gz"))
2773 "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
2774 (build-system emacs-build-system)
2775 (home-page "https://github.com/abo-abo/avy")
2776 (synopsis "Tree-based completion for Emacs")
2778 "This package provides a generic completion method based on building a
2779 balanced decision tree with each candidate being a leaf. To traverse the tree
2780 from the root to a desired leaf, typically a sequence of @code{read-key} can
2783 In order for @code{read-key} to make sense, the tree needs to be visualized
2784 appropriately, with a character at each branch node. So this completion
2785 method works only for things that you can see on your screen, all at once,
2786 such as the positions of characters, words, line beginnings, links, or
2788 (license license:gpl3+)))
2790 (define-public emacs-ace-window
2792 (name "emacs-ace-window")
2797 (uri (string-append "https://github.com/abo-abo/ace-window/archive/"
2799 (file-name (string-append name "-" version ".tar.gz"))
2802 "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn"))))
2803 (build-system emacs-build-system)
2805 `(("emacs-avy" ,emacs-avy)))
2806 (home-page "https://github.com/abo-abo/ace-window")
2807 (synopsis "Quickly switch windows in Emacs")
2809 "@code{ace-window} is meant to replace @code{other-window}.
2810 In fact, when there are only two windows present, @code{other-window} is
2811 called. If there are more, each window will have its first character
2812 highlighted. Pressing that character will switch to that window.")
2813 (license license:gpl3+)))
2815 (define-public emacs-iedit
2817 (name "emacs-iedit")
2822 (uri (string-append "https://github.com/victorhge/iedit/archive/v"
2824 (file-name (string-append name "-" version ".tar.gz"))
2827 "00v86zllcsivmiibigbr91qij2zdf1lr9db8z8again1sn63wkdj"))))
2828 (build-system emacs-build-system)
2829 (home-page "http://www.emacswiki.org/emacs/Iedit")
2830 (synopsis "Edit multiple regions in the same way simultaneously")
2832 "This package is an Emacs minor mode and allows you to edit one
2833 occurrence of some text in a buffer (possibly narrowed) or region, and
2834 simultaneously have other occurrences edited in the same way.
2836 You can also use Iedit mode as a quick way to temporarily show only the buffer
2837 lines that match the current text being edited. This gives you the effect of
2838 a temporary @code{keep-lines} or @code{occur}.")
2839 (license license:gpl3+)))
2841 (define-public emacs-lispy
2843 (name "emacs-lispy")
2848 (uri (string-append "https://github.com/abo-abo/lispy/archive/"
2850 (file-name (string-append name "-" version ".tar.gz"))
2853 "15gig95cvamw5zlw99cxggd27c18b9scznjj97gvjn2zbljcaqzl"))))
2854 (build-system emacs-build-system)
2856 `(("emacs-ace-window" ,emacs-ace-window)
2857 ("emacs-iedit" ,emacs-iedit)
2858 ("emacs-ivy" ,emacs-ivy)
2859 ("emacs-hydra" ,emacs-hydra)))
2860 (home-page "https://github.com/abo-abo/lispy")
2861 (synopsis "Modal S-expression editing")
2863 "Due to the structure of Lisp syntax it's very rare for the programmer to
2864 want to insert characters right before \"(\" or right after \")\". Thus
2865 unprefixed printable characters can be used to call commands when the point is
2866 at one of these special locations. Lispy provides unprefixed keybindings for
2867 S-expression editing when point is at the beginning or end of an
2869 (license license:gpl3+)))
2871 (define-public emacs-clojure-mode
2873 (name "emacs-clojure-mode")
2878 "https://github.com/clojure-emacs/clojure-mode/archive/"
2880 (file-name (string-append name "-" version ".tar.gz"))
2883 "117mvjqh4nm8mvmwmmvy4qmkdg23ldlzk08y91g8b8ac8kxwqg81"))))
2884 (build-system emacs-build-system)
2886 `(("emacs-dash" ,emacs-dash)
2887 ("emacs-s" ,emacs-s)
2888 ("ert-runner" ,ert-runner)))
2891 (modify-phases %standard-phases
2892 (add-after 'install 'check
2894 (zero? (system* "ert-runner")))))))
2895 (home-page "https://github.com/clojure-emacs/clojure-mode")
2896 (synopsis "Major mode for Clojure code")
2898 "This Emacs package provides font-lock, indentation, navigation and basic
2899 refactoring for the @uref{http://clojure.org, Clojure programming language}.
2900 It is recommended to use @code{clojure-mode} with paredit or smartparens.")
2901 (license license:gpl3+)))
2903 (define-public emacs-epl
2910 "https://github.com/cask/epl/archive/"
2914 "1511n3a3f5gvaf2b4nh018by61ciyzi3y3603fzqma7p9hrckarc"))))
2915 (build-system emacs-build-system)
2916 (home-page "https://github.com/cask/epl")
2917 (synopsis "Emacs Package Library")
2919 "A package management library for Emacs, based on @code{package.el}.
2921 The purpose of this library is to wrap all the quirks and hassle of
2922 @code{package.el} into a sane API.")
2923 (license license:gpl3+)))
2925 (define-public emacs-queue
2927 (name "emacs-queue")
2931 (uri (string-append "https://elpa.gnu.org/packages/queue-"
2935 "0jw24fxqnf9qcaf2nh09cnds1kqfk7hal35dw83x1ari95say391"))))
2936 (build-system emacs-build-system)
2937 (home-page "http://www.dr-qubit.org/tags/computing-code-emacs.html")
2938 (synopsis "Queue data structure for Emacs")
2940 "This Emacs library provides queue data structure. These queues can be
2941 used both as a first-in last-out (FILO) and as a first-in first-out (FIFO)
2942 stack, i.e. elements can be added to the front or back of the queue, and can
2943 be removed from the front. This type of data structure is sometimes called an
2944 \"output-restricted deque\".")
2945 (license license:gpl3+)))
2947 (define-public emacs-pkg-info
2949 (name "emacs-pkg-info")
2954 "https://github.com/lunaryorn/pkg-info.el/archive/"
2956 (file-name (string-append name "-" version ".tar.gz"))
2959 "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5"))))
2960 (build-system emacs-build-system)
2961 (propagated-inputs `(("emacs-epl" ,emacs-epl)))
2962 (home-page "https://github.com/lunaryorn/pkg-info.el")
2963 (synopsis "Information about Emacs packages")
2965 "This library extracts information from the installed Emacs packages.")
2966 (license license:gpl3+)))
2968 (define-public emacs-spinner
2970 (name "emacs-spinner")
2974 (uri (string-append "https://elpa.gnu.org/packages/spinner-"
2978 "19kp1mmndbmw11sgvv2ggfjl4pyf5zrsbh3871f0965pw9z8vahd"))))
2979 (build-system emacs-build-system)
2980 (home-page "https://github.com/Malabarba/spinner.el")
2981 (synopsis "Emacs mode-line spinner for operations in progress")
2983 "This Emacs package adds spinners and progress-bars to the mode-line for
2984 ongoing operations.")
2985 (license license:gpl3+)))
2987 (define-public emacs-seq
2993 (uri (string-append "https://elpa.gnu.org/packages/seq-"
2997 "11hb7is6a4h1lscjcfrzh576j0g3m5yjydn16s6x5bxp5gsr6zha"))))
2998 (build-system emacs-build-system)
2999 (home-page "https://elpa.gnu.org/packages/seq.html")
3000 (synopsis "Sequence manipulation functions for Emacs")
3002 "This Emacs library provides sequence-manipulation functions that
3003 complement basic functions provided by @code{subr.el}. All provided functions
3004 work on lists, strings and vectors.")
3005 (license license:gpl3+)))
3007 (define-public emacs-better-defaults
3009 (name "emacs-better-defaults")
3014 (uri (string-append "https://github.com/technomancy/better-defaults"
3015 "/archive/" version ".tar.gz"))
3016 (file-name (string-append name "-" version ".tar.gz"))
3019 "08fg4zslzlxbvyil5g4gwvwd22fh4zsgqprs5wh9hv1rgc6757m2"))))
3020 (build-system emacs-build-system)
3021 (home-page "https://github.com/technomancy/better-defaults")
3022 (synopsis "Better defaults for Emacs")
3024 "Better defaults attempts to address the most obvious deficiencies of the
3025 Emacs default configuration in uncontroversial ways that nearly everyone can
3027 (license license:gpl3+)))
3029 (define-public emacs-eprime
3030 (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
3032 (name "emacs-eprime")
3033 (version (string-append "20140513-" (string-take commit 7)))
3036 (uri (string-append "https://raw.githubusercontent.com"
3037 "/AndrewHynes/eprime-mode/"
3038 commit "/eprime-mode.el"))
3039 (file-name (string-append "eprime-" version ".el"))
3042 "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d"))))
3043 (build-system emacs-build-system)
3044 (home-page "https://github.com/AndrewHynes/eprime-mode")
3045 (synopsis "E-prime checking mode for Emacs")
3046 (description "This package provides an E-prime checking mode for Emacs
3047 that highlights non-conforming text. The subset of the English language called
3048 E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
3049 (license license:gpl3+))))
3051 (define-public emacs-ess
3057 (uri (string-append "http://ess.r-project.org/downloads/ess/ess-"
3061 "0w7mbbajn377gdmvnd21mpyr368b2ia46gq6cb99y4y5rspf9pcg"))))
3062 (build-system gnu-build-system)
3064 `(#:tests? #f ; There is no test suite.
3065 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
3067 (modify-phases %standard-phases
3069 (add-before 'build 'more-shebang-patching
3070 (lambda* (#:key inputs #:allow-other-keys)
3071 (substitute* "Makeconf"
3072 (("SHELL = /bin/sh")
3073 (string-append "SHELL = " (which "sh")))))))))
3075 `(("emacs" ,emacs-minimal)
3076 ("r-minimal" ,r-minimal)))
3079 ("texinfo" ,texinfo)
3080 ("texlive" ,texlive)))
3081 (home-page "http://ess.r-project.org/")
3082 (synopsis "Emacs mode for statistical analysis programs")
3083 (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
3084 Emacs. It is designed to support editing of scripts and interaction with
3085 various statistical analysis programs such as R and OpenBUGS.")
3086 (license license:gpl2+)))
3088 (define-public emacs-smex
3094 (uri (string-append "https://raw.githubusercontent.com"
3095 "/nonsequitur/smex/" version "/smex.el"))
3096 (file-name (string-append "smex-" version ".el"))
3099 "0ar310zx9k5y4i1vl2rawvi712xj9gx77160860jbs691p77cxqp"))))
3100 (build-system emacs-build-system)
3101 (home-page "https://github.com/nonsequitur/smex/")
3102 (synopsis "M-x interface with Ido-style fuzzy matching")
3104 "Smex is a M-x enhancement for Emacs. Built on top of Ido, it provides a
3105 convenient interface to your recently and most frequently used commands. And
3106 to all the other commands, too.")
3107 (license license:gpl3+)))
3109 (define-public emacs-js2-mode
3111 (name "emacs-js2-mode")
3112 (version "20150909")
3115 (uri (string-append "https://github.com/mooz/js2-mode/archive/"
3117 (file-name (string-append name "-" version ".tar.gz"))
3120 "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0"))))
3121 (build-system emacs-build-system)
3122 (home-page "https://github.com/mooz/js2-mode/")
3123 (synopsis "Improved JavaScript editing mode for Emacs")
3125 "Js2-mode provides a JavaScript major mode for Emacs that is more
3126 advanced than the built-in javascript-mode. Features include accurate syntax
3127 highlighting using a recursive-descent parser, on-the-fly reporting of syntax
3128 errors and strict-mode warnings, smart line-wrapping within comments and
3129 strings, and code folding.")
3130 (license license:gpl3+)))
3132 (define-public emacs-markdown-mode
3134 (name "emacs-markdown-mode")
3138 (uri (string-append "https://raw.githubusercontent.com/jrblevin"
3139 "/markdown-mode/v" version
3140 "/markdown-mode.el"))
3141 (file-name (string-append "markdown-mode-" version ".el"))
3144 "1faibar32jnjia9202swblw91q6z1g5s4k9xmypwjahfh8yznl6w"))))
3145 (build-system emacs-build-system)
3146 (home-page "http://jblevins.org/projects/markdown-mode/")
3147 (synopsis "Emacs Major mode for Markdown files")
3149 "Markdown-mode is a major mode for editing Markdown-formatted text files
3151 (license license:gpl3+)))
3153 (define-public emacs-projectile
3155 (name "emacs-projectile")
3159 (uri (string-append "https://raw.githubusercontent.com/bbatsov"
3160 "/projectile/v" version "/projectile.el"))
3161 (file-name (string-append "projectile-" version ".el"))
3164 "1ql1wnzhblbwnv66hf2y0wq45g71hh6s9inc090lmhm1vgylbd1f"))))
3165 (build-system emacs-build-system)
3167 `(("emacs-dash" ,emacs-dash)
3168 ("emacs-pkg-info" ,emacs-pkg-info)))
3169 (home-page "https://github.com/bbatsov/projectile")
3170 (synopsis "Manage and navigate projects in Emacs easily")
3172 "This library provides easy project management and navigation. The
3173 concept of a project is pretty basic - just a folder containing special file.
3174 Currently git, mercurial and bazaar repos are considered projects by default.
3175 If you want to mark a folder manually as a project just create an empty
3176 .projectile file in it.")
3177 (license license:gpl3+)))
3179 (define-public emacs-elfeed
3181 (name "emacs-elfeed")
3185 (uri (string-append "https://github.com/skeeto/elfeed/archive/"
3187 (file-name (string-append name "-" version ".tar.gz"))
3190 "145glas04zd0s2rmnif46vhyijs4z03v871gfp1dcrwxvvvns8ap"))))
3191 (build-system emacs-build-system)
3194 (modify-phases %standard-phases
3195 (add-before 'install 'check
3197 (zero? (system* "make" "test")))))))
3198 (home-page "https://github.com/skeeto/elfeed")
3199 (synopsis "Atom/RSS feed reader for Emacs")
3201 "Elfeed is an extensible web feed reader for Emacs, supporting both Atom
3202 and RSS, with a user interface inspired by notmuch.")
3203 (license license:gpl3+)))
3205 (define-public emacs-rainbow-delimiters
3207 (name "emacs-rainbow-delimiters")
3211 (uri (string-append "https://raw.githubusercontent.com/Fanael"
3212 "/rainbow-delimiters/" version
3213 "/rainbow-delimiters.el"))
3214 (file-name (string-append "rainbow-delimiters-" version ".el"))
3217 "1b3kampwsjabhcqdp0khgff13wc5jqhy3rbvaa12vnv7qy22l9ck"))))
3218 (build-system emacs-build-system)
3219 (home-page "https://github.com/Fanael/rainbow-delimiters")
3220 (synopsis "Highlight brackets according to their depth")
3222 "Rainbow-delimiters is a \"rainbow parentheses\"-like mode for Emacs which
3223 highlights parentheses, brackets, and braces according to their depth. Each
3224 successive level is highlighted in a different color, making it easy to spot
3225 matching delimiters, orient yourself in the code, and tell which statements
3226 are at a given level.")
3227 (license license:gpl3+)))
3229 (define-public emacs-rainbow-identifiers
3231 (name "emacs-rainbow-identifiers")
3235 (uri (string-append "https://raw.githubusercontent.com/Fanael"
3236 "/rainbow-identifiers/" version
3237 "/rainbow-identifiers.el"))
3238 (file-name (string-append "rainbow-identifiers-" version ".el"))
3241 "0325abxj47k0g1i8nqrq70w2wr6060ckhhf92krv1s072b3jzm31"))))
3242 (build-system emacs-build-system)
3243 (home-page "https://github.com/Fanael/rainbow-identifiers")
3244 (synopsis "Highlight identifiers in source code")
3246 "Rainbow identifiers mode is an Emacs minor mode providing highlighting of
3247 identifiers based on their names. Each identifier gets a color based on a hash
3249 (license license:bsd-2)))
3251 (define-public emacs-visual-fill-column
3253 (name "emacs-visual-fill-column")
3257 (uri (string-append "https://codeload.github.com/joostkremers/"
3258 "visual-fill-column/tar.gz/" version))
3259 (file-name (string-append name "-" version ".tar.gz"))
3262 "12vn7kdq2mpz9hgibbn1vhpf23lcm7c26k3fkz8nidhygwl5x5lq"))))
3263 (build-system emacs-build-system)
3264 (home-page "https://github.com/joostkremers/visual-fill-column")
3265 (synopsis "Fill-column for visual-line-mode")
3267 "@code{visual-fill-column-mode} is a small Emacs minor mode that mimics
3268 the effect of @code{fill-column} in @code{visual-line-mode}. Instead of
3269 wrapping lines at the window edge, which is the standard behaviour of
3270 @code{visual-line-mode}, it wraps lines at @code{fill-column}. If
3271 @code{fill-column} is too large for the window, the text is wrapped at the
3273 (license license:gpl3+)))
3275 (define-public emacs-ido-completing-read+
3277 (name "emacs-ido-completing-read+")
3281 (uri (string-append "https://raw.githubusercontent.com"
3282 "/DarwinAwardWinner/ido-ubiquitous/v"
3283 version "/ido-completing-read+.el"))
3284 (file-name (string-append "ido-completing-read+-" version ".el"))
3287 "1cyalb0p7nfsm4n6n9q6rjmvn6adqc0fq8ybnlj3n41n289dkfjf"))))
3288 (build-system emacs-build-system)
3289 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
3290 (synopsis "Replacement for completing-read using ido")
3292 "The ido-completing-read+ function is a wrapper for ido-completing-read.
3293 Importantly, it detects edge cases that ordinary ido cannot handle and either
3294 adjusts them so ido can handle them, or else simply falls back to the standard
3295 Emacs completion function instead.")
3296 (license license:gpl3+)))
3298 (define-public emacs-ido-ubiquitous
3300 (name "emacs-ido-ubiquitous")
3304 (uri (string-append "https://raw.githubusercontent.com"
3305 "/DarwinAwardWinner/ido-ubiquitous/v"
3306 version "/ido-ubiquitous.el"))
3307 (file-name (string-append "ido-ubiquitous-" version ".el"))
3310 "197ypji0fb6jsdcq40rpnknwlh3imas6s6jbsvkfm0pz9988c3q2"))))
3311 (build-system emacs-build-system)
3313 `(("emacs-ido-completing-read+" ,emacs-ido-completing-read+)))
3314 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
3315 (synopsis "Use ido (nearly) everywhere")
3317 "Ido-ubiquitous enables ido-style completion for almost every function
3318 that uses the standard completion function completing-read.")
3319 (license license:gpl3+)))
3321 (define-public emacs-yaml-mode
3323 (name "emacs-yaml-mode")
3327 (uri (string-append "https://raw.githubusercontent.com/yoshiki"
3328 "/yaml-mode/v" version "/yaml-mode.el"))
3329 (file-name (string-append "yaml-mode-" version ".el"))
3332 "17wq433ycli0qx4gdhgrmb392qblm6y2dwcyn38j5ja1lasfb0ax"))))
3333 (build-system emacs-build-system)
3334 (home-page "https://github.com/yoshiki/yaml-mode")
3335 (synopsis "Major mode for editing YAML files")
3337 "Yaml-mode is an Emacs major mode for editing files in the YAML data
3338 serialization format. It was initially developed by Yoshiki Kurihara and many
3339 features were added by Marshall Vandegrift. As YAML and Python share the fact
3340 that indentation determines structure, this mode provides indentation and
3341 indentation command behavior very similar to that of python-mode.")
3342 (license license:gpl3+)))
3344 (define-public emacs-web-mode
3346 (name "emacs-web-mode")
3350 (uri (string-append "https://raw.githubusercontent.com/fxbois"
3351 "/web-mode/v" version "/web-mode.el"))
3352 (file-name (string-append "web-mode-" version ".el"))
3355 "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5"))))
3356 (build-system emacs-build-system)
3357 (synopsis "Major mode for editing web templates")
3358 (description "Web-mode is an Emacs major mode for editing web templates
3359 aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by
3360 client/server side engines). Web-mode is compatible with many template
3361 engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker,
3362 Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template,
3363 Dust.js, React/JSX, Angularjs, ejs, etc.")
3364 (home-page "http://web-mode.org/")
3365 (license license:gpl3+)))
3367 (define-public emacs-helm
3374 "https://github.com/" name "/helm/archive/v"
3376 (file-name (string-append name "-" version ".tar.gz"))
3379 "1scdirpclgq3pi1j2c90gqaaqg1pgvasp98f4jqw8c5xbqcr7jdw"))))
3380 (build-system emacs-build-system)
3382 `(("emacs-async" ,emacs-async)
3383 ("emacs-popup" ,emacs-popup)))
3384 (home-page "https://emacs-helm.github.io/helm/")
3385 (synopsis "Incremental completion and selection narrowing
3386 framework for Emacs")
3387 (description "Helm is incremental completion and selection narrowing
3388 framework for Emacs. It will help steer you in the right direction when
3389 you're looking for stuff in Emacs (like buffers, files, etc). Helm is a fork
3390 of @code{anything.el} originally written by Tamas Patrovic and can be
3391 considered to be its successor. Helm sets out to clean up the legacy code in
3392 @code{anything.el} and provide a cleaner, leaner and more modular tool, that's
3393 not tied in the trap of backward compatibility.")
3394 (license license:gpl3+)))
3396 (define-public emacs-helm-swoop
3398 (name "emacs-helm-swoop")
3403 "https://github.com/ShingoFukuyama/helm-swoop/archive/"
3406 (file-name (string-append name "-" version ".tar.gz"))
3409 "1z34pfi0gsk054pxr906ilaalaw0xz3s536163gf9ykkwmc2356d"))))
3410 (build-system emacs-build-system)
3412 `(("emacs-helm" ,emacs-helm)))
3413 (home-page "https://github.com/ShingoFukuyama/helm-swoop")
3414 (synopsis "Filter and jump to lines in an Emacs buffer using Helm")
3416 "This package builds on the Helm interface to provide several commands
3417 for search-based navigation of buffers.")
3418 (license license:gpl2+)))
3420 (define-public emacs-helm-projectile
3422 (name "emacs-helm-projectile")
3427 "https://github.com/bbatsov/helm-projectile/archive/v"
3430 (file-name (string-append name "-" version ".tar.gz"))
3433 "19cfmilqh8kbab3b2hmx6lyrj73q6vfmn3p730x95g23iz16mnd5"))))
3434 (build-system emacs-build-system)
3436 `(("emacs-dash" ,emacs-dash)
3437 ("emacs-helm" ,emacs-helm)
3438 ("emacs-projectile" ,emacs-projectile)))
3439 (home-page "https://github.com/bbatsov/helm-projectile")
3440 (synopsis "Helm integration for Projectile")
3442 "This Emacs library provides a Helm interface for Projectile.")
3443 (license license:gpl3+)))
3445 (define-public emacs-cider
3447 (name "emacs-cider")
3452 "https://github.com/clojure-emacs/cider/archive/v"
3454 (file-name (string-append name "-" version ".tar.gz"))
3457 "00qzbfjy3w6bcnki7gw0clmi0cc5yqjdrcyhgv4ymijjs79h9p5s"))))
3458 (build-system emacs-build-system)
3460 `(("emacs-clojure-mode" ,emacs-clojure-mode)
3461 ("emacs-spinner" ,emacs-spinner)
3462 ("emacs-pkg-info" ,emacs-pkg-info)
3463 ("emacs-queue" ,emacs-queue)
3464 ("emacs-seq" ,emacs-seq)))
3465 (home-page "https://cider.readthedocs.org/")
3466 (synopsis "Clojure development environment for Emacs")
3468 "CIDER (Clojure Interactive Development Environment that Rocks) aims to
3469 provide an interactive development experience similar to the one you'd get
3470 when programming in Emacs Lisp, Common Lisp (with SLIME or Sly), Scheme (with
3471 Geiser) and Smalltalk.
3473 CIDER is the successor to the now deprecated combination of using SLIME +
3474 swank-clojure for Clojure development.
3476 There are plenty of differences between CIDER and SLIME, but the core ideas
3477 are pretty much the same (and SLIME served as the principle inspiration for
3479 (license license:gpl3+)))
3481 (define-public emacs-lua-mode
3483 (name "emacs-lua-mode")
3484 (version "20151025")
3488 "https://github.com/immerrr/lua-mode/archive/v"
3490 (file-name (string-append name "-" version ".tar.gz"))
3493 "0sbhfny5ib65cnx6xcy6h9bbw27mw034s8m9cca00bhxqaqi6p4v"))))
3494 (build-system emacs-build-system)
3495 (home-page "https://github.com/immerrr/lua-mode/")
3496 (synopsis "Major mode for lua")
3498 "This Emacs package provides a mode for @uref{https://www.lua.org/,
3499 Lua programing language}.")
3500 (license license:gpl2+)))
3502 (define-public emacs-ebuild-mode
3504 (name "emacs-ebuild-mode")
3509 "https://dev.gentoo.org/~ulm/emacs/ebuild-mode"
3510 "-" version ".tar.xz"))
3511 (file-name (string-append name "-" version ".tar.xz"))
3514 "0vp7lq1kvmh1b2bms2x1kf2k76dy9m02d7cirkxpiglwaxa0h9vz"))))
3515 (build-system emacs-build-system)
3516 (home-page "https://devmanual.gentoo.org")
3517 (synopsis "Major modes for Gentoo package files")
3519 "This Emacs package provides modes for ebuild, eclass, eblit, GLEP42
3520 news items, openrc and runscripts.")
3521 (license license:gpl2+)))
3523 (define-public emacs-evil
3530 (uri (string-append "https://bitbucket.org/lyro/evil/get/"
3531 version ".tar.bz2"))
3532 (file-name (string-append name "-" version ".tar.bz2"))
3535 "17cda9fnbq3gmjcxs3lyq64gxswrf37y864bm53rldwsk3khq2yi"))))
3536 (build-system emacs-build-system)
3538 `(("emacs-undo-tree" ,emacs-undo-tree)
3539 ("emacs-goto-chg" ,emacs-goto-chg)))
3540 (home-page "https://bitbucket.com/lyro/evil")
3541 (synopsis "Extensible Vi layer for Emacs")
3543 "Evil is an extensible vi layer for Emacs. It emulates the
3544 main features of Vim, and provides facilities for writing custom
3546 (license license:gpl3+)))
3548 (define-public emacs-goto-chg
3550 (name "emacs-goto-chg")
3555 ;; There is no versioned source.
3556 (uri "https://www.emacswiki.org/emacs/download/goto-chg.el")
3557 (file-name (string-append "goto-chg-" version ".el"))
3560 "078d6p4br5vips7b9x4v6cy0wxf6m5ij9gpqd4g33bryn22gnpij"))))
3561 (build-system emacs-build-system)
3562 ;; There is no other home page.
3563 (home-page "https://www.emacswiki.org/emacs/goto-chg.el")
3564 (synopsis "Go to the last change in the Emacs buffer")
3566 "This package provides @code{M-x goto-last-change} command that goes to
3567 the point of the most recent edit in the current Emacs buffer. When repeated,
3568 go to the second most recent edit, etc. Negative argument, @kbd{C-u -}, is
3569 used for reverse direction.")
3570 (license license:gpl2+)))
3572 (define-public emacs-monroe
3574 (name "emacs-monroe")
3579 (uri (string-append "https://github.com/sanel/monroe/archive/"
3581 (file-name (string-append name "-" version ".tar.gz"))
3584 "0icdx8shkd951phlnmcq1vqaxp1l667q5rjscskc5r22aylakh4w"))))
3585 (build-system emacs-build-system)
3586 (home-page "https://github.com/sanel/monroe")
3587 (synopsis "Clojure nREPL client for Emacs")
3589 "Monroe is a nREPL client for Emacs, focused on simplicity and easy
3590 distribution, primarily targeting Clojure users")
3591 (license license:gpl3+)))
3593 (define-public emacs-writegood-mode
3595 (name "emacs-writegood-mode")
3597 (home-page "https://github.com/bnbeckwith/writegood-mode")
3602 (commit (string-append "v" version))))
3605 "1nnjn1r669hvvzfycllwap4w04m8rfsk4nzcg8057m1f263kj31b"))
3606 (file-name (string-append name "-checkout"))))
3607 (build-system emacs-build-system)
3608 (synopsis "Polish up poor writing on the fly")
3610 "This minor mode tries to find and highlight problems with your writing
3611 in English as you type. It primarily detects \"weasel words\" and abuse of
3613 (license license:gpl3+)))
3615 (define-public emacs-neotree
3617 (name "emacs-neotree")
3619 (home-page "https://github.com/jaypei/emacs-neotree")
3623 "https://github.com/jaypei/" name
3624 "/archive/v" version ".tar.gz"))
3627 "0cr37pdkwjgfijfws5bjskfh1rq9rfngxblcj6v5383vpmn83q7s"))
3628 (file-name (string-append name "-" version ".tar.gz"))))
3629 (build-system emacs-build-system)
3630 (synopsis "Folder tree view for Emacs")
3631 (description "This Emacs package provides a folder tree view.")
3632 (license license:gpl3+)))
3634 (define-public emacs-org
3637 (version "20170515")
3640 (uri (string-append "http://elpa.gnu.org/packages/org-"
3644 "0lfapcxil69x1a63cszgq72lqks1z3gpyxw7vcllqlgi7n7a4y6f"))))
3645 (build-system emacs-build-system)
3646 (home-page "http://orgmode.org/")
3647 (synopsis "Outline-based notes management and organizer")
3648 (description "Org is an Emacs mode for keeping notes, maintaining TODO
3649 lists, and project planning with a fast and effective plain-text system. It
3650 also is an authoring system with unique support for literate programming and
3651 reproducible research.")
3652 (license license:gpl3+)))
3654 (define-public emacs-flx
3661 (uri (string-append "https://github.com/lewang/"
3662 "flx/archive/v" version ".tar.gz"))
3665 "0bkcpnf1j4i2fcc2rllwbz62l00sw2mcia6rm5amgwvlkqavmkv6"))
3666 (file-name (string-append name "-" version ".tar.gz"))))
3667 (build-system emacs-build-system)
3668 (home-page "https://github.com/lewang/flx")
3669 (synopsis "Fuzzy matching for Emacs")
3671 "Flx provides fuzzy matching for emacs a la sublime text.
3672 The sorting algorithm is a balance between word beginnings (abbreviation)
3673 and contiguous matches (substring). The longer the substring match,
3674 the higher it scores. This maps well to how we think about matching.
3675 Flx has support for ido (interactively do things) through flx-ido.")
3676 (license license:gpl3+)))
3678 (define-public emacs-cyberpunk-theme
3680 (name "emacs-cyberpunk-theme")
3685 (uri (string-append "https://github.com/n3mo/cyberpunk-theme.el/"
3686 "archive/" version ".tar.gz"))
3689 "0pxzbw0qjxgkhhs3gn3k9qy41kl1a4pfzbw83dk24l4b3nxd24wg"))
3690 (file-name (string-append name "-" version ".tar.gz"))))
3691 (build-system emacs-build-system)
3692 (home-page "https://github.com/n3mo/cyberpunk-theme.el")
3693 (synopsis "Cyberpunk theme for emacs built-in color theme support")
3695 "Cyberpunk color theme for the emacs 24+ built-in color theme support
3696 known loosely as deftheme. Many mode-specific customizations are included.")
3697 (license license:gpl3+)))
3699 (define-public emacs-danneskjold-theme
3700 (let* ((commit "8733d2fe8743e8a01826ea6d4430ef376c727e57")
3703 (name "emacs-danneskjold-theme")
3704 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
3705 (home-page "https://github.com/rails-to-cosmos/danneskjold-theme")
3712 (file-name (string-append name "-" version "-checkout"))
3715 "0s6rbsb0y8i8m5b9xm4gw1p1cxsxdqnqxqqb638pygz9f76mbir1"))))
3716 (build-system emacs-build-system)
3719 (modify-phases %standard-phases
3720 (add-after 'unpack 'delete-screenshots
3722 (delete-file-recursively "screenshots") #t)))))
3723 (synopsis "High-contrast Emacs theme")
3725 "@code{danneskjold-theme} is a high-contrast theme for Emacs.")
3726 (license license:gpl3+))))
3728 (define-public emacs-dream-theme
3729 (let* ((commit "107a11d74365046f28a1802a2bdb5e69e4a7488b")
3732 (name "emacs-dream-theme")
3733 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
3738 (url "https://github.com/djcb/dream-theme")
3740 (file-name (string-append name "-" version "-checkout"))
3743 "0za18nfkq4xqm35k6006vsixcbmvmxqgma4iw5sw37h8vmcsdylk"))))
3744 (build-system emacs-build-system)
3745 (home-page "https://github.com/djcb/dream-theme")
3746 (synopsis "High-contrast Emacs theme")
3748 "@code{dream-theme} is a dark, clean theme for Emacs. It is inspired
3749 by zenburn, sinburn and similar themes, but slowly diverging from them.")
3750 (license license:gpl3+))))
3752 (define-public emacs-auto-complete
3754 (name "emacs-auto-complete")
3759 (uri (string-append "https://github.com/auto-complete/"
3760 "auto-complete/archive/v" version ".tar.gz"))
3763 "1jvq4lj00hwml75lpmlciazy8f3bbg13gffsfnl835p4qd8l7yqv"))
3764 (file-name (string-append name "-" version ".tar.gz"))))
3765 (build-system emacs-build-system)
3767 `(("emacs-popup" ,emacs-popup)))
3768 (home-page "https://github.com/auto-complete/auto-complete")
3769 (synopsis "Intelligent auto-completion extension for Emacs")
3771 "Auto-Complete is an intelligent auto-completion extension for Emacs.
3772 It extends the standard Emacs completion interface and provides an environment
3773 that allows users to concentrate more on their own work. Its features are:
3774 a visual interface, reduce overhead of completion by using statistic method,
3776 (license license:gpl3+)))
3778 (define-public m17n-db
3785 (uri (string-append "mirror://savannah/m17n/m17n-db-"
3788 (base32 "1w08hnsbknrcjlzp42c99bgwc9hzsnf5m4apdv0dacql2s09zfm2"))))
3789 (build-system gnu-build-system)
3791 `(("gettext" ,gettext-minimal)))
3794 (list (string-append "--with-charmaps="
3795 (assoc-ref %build-inputs "libc")
3796 "/share/i18n/charmaps"))))
3797 ;; With `guix lint' the home-page URI returns a small page saying
3798 ;; that your browser does not handle frames. This triggers the "URI
3799 ;; returns suspiciously small file" warning.
3800 (home-page "http://www.nongnu.org/m17n/")
3801 (synopsis "Multilingual text processing library (database)")
3802 (description "The m17n library realizes multilingualization of
3803 many aspects of applications. The m17n library represents
3804 multilingual text as an object named M-text. M-text is a string with
3805 attributes called text properties, and designed to substitute for
3806 string in C. Text properties carry any information required to input,
3807 display and edit the text.
3809 This package contains the library database.")
3810 (license license:lgpl2.1+)))
3812 (define-public m17n-lib
3819 (uri (string-append "mirror://savannah/m17n/m17n-lib-"
3822 (base32 "10yv730i25g1rpzv6q49m6xn4p8fjm7jdwvik2h70sn8w3hm7f4f"))))
3823 (build-system gnu-build-system)
3825 `(("fribidi" ,fribidi)
3829 ("libxml2" ,libxml2)
3830 ("m17n-db" ,m17n-db)))
3832 `(#:parallel-build? #f))
3833 ;; With `guix lint' the home-page URI returns a small page saying
3834 ;; that your browser does not handle frames. This triggers the "URI
3835 ;; returns suspiciously small file" warning.
3836 (home-page "http://www.nongnu.org/m17n/")
3837 (synopsis "Multilingual text processing library (runtime)")
3838 (description "The m17n library realizes multilingualization of
3839 many aspects of applications. The m17n library represents
3840 multilingual text as an object named M-text. M-text is a string with
3841 attributes called text properties, and designed to substitute for
3842 string in C. Text properties carry any information required to input,
3843 display and edit the text.
3845 This package contains the library runtime.")
3846 (license license:lgpl2.1+)))
3848 (define-public emacs-nginx-mode
3850 (name "emacs-nginx-mode")
3856 "https://github.com/ajc/nginx-mode/archive/v"
3858 (file-name (string-append name "-" version ".tar.gz"))
3861 "1lvkj07kq0jkskr2f61vqb5rlrbnaz9a76ikq40w6925i2r970rr"))))
3862 (build-system emacs-build-system)
3863 (home-page "https://github.com/ajc/nginx-mode")
3864 (synopsis "Emacs major mode for editing nginx config files")
3865 (description "This package provides an Emacs major mode for
3866 editing nginx config files.")
3867 (license license:gpl2+)))
3869 (define-public emacs-stream
3871 (name "emacs-stream")
3873 (home-page "https://github.com/NicolasPetton/stream")
3877 (file-name (string-append name "-" version ".tar.gz"))
3878 (uri (string-append home-page "/archive/"version ".tar.gz"))
3880 (base32 "03ql4nqfz5pn55mjly6clhvc3g7x2d28kj7mrlqmigvjbql39xxc"))))
3881 (build-system emacs-build-system)
3882 (synopsis "Implementation of streams for Emacs")
3883 (description "This library provides an implementation of streams for Emacs.
3884 Streams are implemented as delayed evaluation of cons cells.")
3885 (license license:gpl3+)))
3887 (define-public emacs-el-search
3888 (let ((commit "f26277bfbb3fc3fc74beea6592f294c439796bd4")
3891 (name "emacs-el-search")
3892 ;; No ufficial release.
3893 (version (string-append "0.0-" revision "." (string-take commit 7)))
3894 (home-page "https://github.com/emacsmirror/el-search")
3898 (file-name (string-append name "-" version ".tar.gz"))
3901 (url (string-append home-page ".git"))))
3903 (base32 "12xf40h9sb7xxg2r97gsia94q02543mgiiiw46fzh1ac7b7993g6"))))
3904 (build-system emacs-build-system)
3905 (inputs `(("emacs-stream" ,emacs-stream)))
3906 (synopsis "Expression based interactive search for emacs-lisp-mode")
3907 (description "This package provides expression based interactive search
3908 procedures for emacs-lisp-mode.")
3909 (license license:gpl3+))))
3911 (define-public emacs-ht
3919 "https://github.com/Wilfred/ht.el/archive/"
3921 (file-name (string-append name "-" version ".tar.gz"))
3924 "1lpba36kzxcc966fvsbrfpy8ah9gnvay0yk26gbyjil0rggrbqzj"))))
3925 (build-system emacs-build-system)
3926 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
3927 (home-page "https://github.com/Wilfred/ht.el")
3928 (synopsis "Hash table library for Emacs")
3930 "This package simplifies the use of hash tables in elisp. It also
3931 provides functions to convert hash tables from and to alists and plists.")
3932 (license license:gpl3+)))
3934 (define-public emacs-log4e
3936 (name "emacs-log4e")
3942 "https://github.com/aki2o/log4e/archive/v"
3944 (file-name (string-append name "-" version ".tar.gz"))
3947 "0nbdpbw353snda3v19l9hsm6gimppwnpxj18amm350bm81lyim2g"))))
3948 (build-system emacs-build-system)
3951 (modify-phases %standard-phases
3952 (add-after 'unpack 'remove-tests
3953 ;; Guile builder complains about null characters in some
3954 ;; strings of test files. Remove "test" directory (it is not
3957 (delete-file-recursively "test"))))))
3958 (home-page "https://github.com/aki2o/log4e")
3959 (synopsis "Logging framework for elisp")
3961 "This package provides a logging framework for elisp. It allows
3962 you to deal with multiple log levels.")
3963 (license license:gpl3+)))
3965 (define-public emacs-gntp
3973 "https://github.com/tekai/gntp.el/archive/v"
3975 (file-name (string-append name "-" version ".tar.gz"))
3978 "16c1dfkia9yhl206bdhjr3b8kfvqcqr38jl5lq8qsyrrzsnmghny"))))
3979 (build-system emacs-build-system)
3980 (home-page "https://github.com/tekai/gntp.el")
3981 (synopsis "Growl Notification Protocol for Emacs")
3983 "This package implements the Growl Notification Protocol GNTP
3984 described at @uref{http://www.growlforwindows.com/gfw/help/gntp.aspx}.
3985 It is incomplete as it only lets you send but not receive
3987 (license license:bsd-3)))
3989 (define-public emacs-alert
3991 (name "emacs-alert")
3997 "https://github.com/jwiegley/alert/archive/v"
3999 (file-name (string-append name "-" version ".tar.gz"))
4002 "1693kck3k2iz5zhpmxwqyafxm68hr6gzs60lkxd3j1wlp2c9fwyr"))))
4003 (build-system emacs-build-system)
4005 `(("emacs-gntp" ,emacs-gntp)
4006 ("emacs-log4e" ,emacs-log4e)))
4007 (home-page "https://github.com/jwiegley/alert")
4008 (synopsis "Growl-style notification system for Emacs")
4010 "Alert is a Growl-workalike for Emacs which uses a common notification
4011 interface and multiple, selectable \"styles\", whose use is fully
4012 customizable by the user.")
4013 (license license:gpl2+)))
4015 (define-public emacs-mu4e-alert
4017 (name "emacs-mu4e-alert")
4023 "https://github.com/iqbalansari/mu4e-alert/archive/v"
4025 (file-name (string-append name "-" version ".tar.gz"))
4028 "07qc834qnxn8xi4bw5nawj8g91bmkzw0r0vahkgysp7r9xrf57gj"))))
4029 (build-system emacs-build-system)
4031 `(("emacs-alert" ,emacs-alert)
4032 ("emacs-s" ,emacs-s)
4033 ("emacs-ht" ,emacs-ht)))
4034 (home-page "https://github.com/iqbalansari/mu4e-alert")
4035 (synopsis "Desktop notification for mu4e")
4037 "This package provides desktop notifications for mu4e.
4038 Additionally it can display the number of unread emails in the
4040 (license license:gpl3+)))
4042 (define-public emacs-pretty-mode
4044 (name "emacs-pretty-mode")
4049 (uri (string-append "https://github.com/akatov/pretty-mode/"
4050 "archive/" version ".tar.gz"))
4051 (file-name (string-append name "-" version ".tar.gz"))
4054 "1fan7m4vnqs8kpg7r54kx3g7faadkpkf9kzarfv8n57kq8w157pl"))))
4055 (build-system emacs-build-system)
4056 (home-page "https://github.com/akatov/pretty-mode")
4057 (synopsis "Redisplay parts of the buffer as Unicode symbols")
4059 "Emacs minor mode for redisplaying parts of the buffer as pretty symbols.")
4060 (license license:gpl3+)))
4062 (define-public emacs-yasnippet
4064 (name "emacs-yasnippet")
4068 (uri (string-append "https://github.com/joaotavora/yasnippet/"
4069 "archive/" version ".tar.gz"))
4070 (file-name (string-append name "-" version ".tar.gz"))
4073 "15di6mkkf09b7qddpsrm0qln02hji3sx8blya5jxssi9wxxx9iq5"))))
4074 (build-system emacs-build-system)
4075 (home-page "https://github.com/joaotavora/yasnippet")
4076 (synopsis "Yet another snippet extension for Emacs")
4078 "YASnippet is a template system for Emacs. It allows you to type an
4079 abbreviation and automatically expand it into function templates.")
4080 (license license:gpl3+)))
4082 (define-public emacs-memoize
4084 (name "emacs-memoize")
4085 (version "20130421.b55eab0")
4090 (url "https://github.com/skeeto/emacs-memoize")
4091 (commit "b55eab0cb6ab05d941e07b8c01f1655c0cf1dd75")))
4092 (file-name (string-append name "-" version ".tar.gz"))
4095 "0fjwlrdm270qcrqffvarw5yhijk656q4lam79ybhaznzj0dq3xpw"))))
4096 (build-system emacs-build-system)
4099 (modify-phases %standard-phases
4100 (add-before 'install 'check
4102 (zero? (system* "emacs" "-batch" "-l" "memoize.el"
4103 "-l" "memoize-test.el"
4104 "-f" "ert-run-tests-batch-and-exit")))))))
4105 (home-page "https://github.com/skeeto/emacs-memoize")
4106 (synopsis "Emacs lisp memoization library")
4107 (description "@code{emacs-memoize} is an Emacs library for
4108 memoizing functions.")
4109 (license license:unlicense)))
4111 (define-public emacs-linum-relative
4113 (name "emacs-linum-relative")
4119 "https://github.com/coldnew/linum-relative/archive/"
4121 (file-name (string-append name "-" version ".tar.gz"))
4124 "0s4frvr27866lw1rn3jal9wj5rkz9fx4yiszqv7w06azsdgsqksv"))))
4125 (build-system emacs-build-system)
4126 (home-page "https://github.com/coldnew/linum-relative")
4127 (synopsis "Relative line numbering for Emacs")
4128 (description "@code{emacs-linum-relative} displays the relative line
4129 number on the left margin in Emacs.")
4130 (license license:gpl2+)))
4132 (define-public emacs-idle-highlight
4134 (name "emacs-idle-highlight")
4140 "https://github.com/nonsequitur/idle-highlight-mode/archive/"
4142 (file-name (string-append name "-" version ".tar.gz"))
4145 "0kdv10hrgqpskjh0zvpnzwlkn5bccnqxas62gkws6njln57bf8nl"))))
4146 (build-system emacs-build-system)
4147 (home-page "https://www.emacswiki.org/emacs/IdleHighlight")
4148 (synopsis "Highlights all occurrences of the word the point is on")
4150 "This Emacs package provides @code{idle-highlight-mode} that sets
4151 an idle timer to highlight all occurrences in the buffer of the word under
4153 (license license:gpl3+)))
4155 (define-public emacs-ox-twbs
4157 (name "emacs-ox-twbs")
4163 "https://github.com/marsmining/ox-twbs/archive/v"
4165 (file-name (string-append name "-" version ".tar.gz"))
4168 "1zaq8dczq5wijjk36114k2x3hfrqig3lyx6djril6wyk67vczyqs"))))
4169 (build-system emacs-build-system)
4170 (home-page "https://github.com/marsmining/ox-twbs")
4171 (synopsis "Export org-mode docs as HTML compatible with Twitter Bootstrap")
4173 "This Emacs package outputs your org-mode docs with a simple, clean and
4174 modern look. It implements a new HTML back-end for exporting org-mode docs as
4175 HTML compatible with Twitter Bootstrap. By default, HTML is exported with
4176 jQuery and Bootstrap resources included via osscdn.")
4177 (license license:gpl3+)))
4179 (define-public emacs-highlight-sexp
4181 (name "emacs-highlight-sexp")
4187 "https://github.com/daimrod/highlight-sexp/archive/v"
4189 (file-name (string-append name "-" version ".tar.gz"))
4192 "0jwx87qkln1rg9wmv4qkgkml935fh2pkgrg5x4ca6n5dgb4q6rj1"))))
4193 (build-system emacs-build-system)
4194 (home-page "https://github.com/daimrod/highlight-sexp")
4195 (synopsis "Minor mode that highlights the s-exp at the current position")
4197 "This Emacs package highlights the s-exp at the current position.")
4198 (license license:gpl3+)))
4200 (define-public emacspeak
4208 "https://github.com/tvraman/emacspeak/releases/download/"
4209 version "/emacspeak-" version ".tar.bz2"))
4212 "15x4yfp3wl2fxm1nkx6pz3clw6zyw3argcsqxgcx6pa28sivlg2n"))
4213 (modules '((guix build utils)))
4215 ;; Delete the bundled byte-compiled elisp files.
4216 '(for-each delete-file (find-files "lisp" "\\.elc$")))))
4217 (build-system gnu-build-system)
4219 '(#:make-flags (list (string-append "prefix="
4220 (assoc-ref %outputs "out")))
4222 (modify-phases %standard-phases
4225 ;; Configure Emacspeak according to etc/install.org.
4226 (zero? (system* "make" "config"))))
4227 (add-after 'build 'build-espeak
4229 (zero? (system* "make" "espeak"))))
4231 (lambda* (#:key outputs #:allow-other-keys)
4232 (let* ((out (assoc-ref outputs "out"))
4233 (bin (string-append out "/bin"))
4234 (lisp (string-append out "/share/emacs/site-lisp/emacspeak"))
4235 (info (string-append out "/share/info")))
4236 ;; According to etc/install.org, the Emacspeak directory should
4237 ;; be copied to its installation destination.
4240 (copy-recursively file (string-append lisp "/" file)))
4241 '("etc" "info" "lisp" "media" "servers" "sounds" "stumpwm"
4243 ;; Make sure emacspeak is loaded from the correct directory.
4244 (substitute* "etc/emacspeak.sh"
4246 (string-append "exec emacs -l " lisp
4247 "/lisp/emacspeak-setup.el $CL_ALL")))
4248 ;; Install the convenient startup script.
4250 (copy-file "etc/emacspeak.sh" (string-append bin "/emacspeak")))
4252 (add-after 'install 'wrap-program
4253 (lambda* (#:key inputs outputs #:allow-other-keys)
4254 (let* ((out (assoc-ref outputs "out"))
4255 (emacspeak (string-append out "/bin/emacspeak"))
4256 (espeak (string-append (assoc-ref inputs "espeak")
4258 ;; The environment variable DTK_PROGRAM tells emacspeak what
4259 ;; program to use for speech.
4260 (wrap-program emacspeak
4261 `("DTK_PROGRAM" ":" prefix (,espeak)))
4263 #:tests? #f)) ; no check target
4265 `(("espeak" ,espeak)
4268 (native-inputs `(("emacs" ,emacs-minimal)))
4269 (home-page "http://emacspeak.sourceforge.net")
4270 (synopsis "Audio desktop interface for Emacs")
4272 "Emacspeak is a speech interface that allows visually impaired users to
4273 interact independently and efficiently with the computer. Audio formatting
4274 --a technique pioneered by AsTeR-- and full support for W3C's Aural CSS (ACSS)
4275 allows Emacspeak to produce rich aural presentations of electronic information.
4276 By seamlessly blending all aspects of the Internet such as Web-surfing and
4277 messaging, Emacspeak speech-enables local and remote information via a
4278 consistent and well-integrated user interface.")
4279 (license license:gpl2+)))
4281 (define-public emacs-adaptive-wrap
4283 (name "emacs-adaptive-wrap")
4288 "http://elpa.gnu.org/packages/adaptive-wrap-"
4292 "0frgmp8vrrml4iykm60j4d6cl9rbcivy9yh24q6kd10bcyx59ypy"))))
4293 (build-system emacs-build-system)
4294 (home-page "http://elpa.gnu.org/packages/adaptive-wrap.html")
4295 (synopsis "Smart line-wrapping with wrap-prefix")
4297 "This Emacs package provides the @code{adaptive-wrap-prefix-mode}
4298 minor mode which sets the wrap-prefix property on the fly so that
4299 single-long-line paragraphs get word-wrapped in a way similar to what
4300 you'd get with @kbd{M-q} using @code{adaptive-fill-mode}, but without
4301 actually changing the buffer's text.")
4302 (license license:gpl3+)))
4304 (define-public emacs-diminish
4306 (name "emacs-diminish")
4312 "https://github.com/myrjola/diminish.el/archive/v"
4314 (file-name (string-append name "-" version ".tar.gz"))
4317 "0i3629sv5cfrrb00hcnmaqzgs8mk36yasc1ax3ry1ga09nr6rkj9"))))
4318 (build-system emacs-build-system)
4319 (home-page "https://github.com/myrjola/diminish.el")
4320 (synopsis "Diminish minor modes with no modeline display")
4321 (description "@code{emacs-diminish} implements hiding or
4322 abbreviation of the mode line displays (lighters) of minor modes.")
4323 (license license:gpl2+)))
4325 (define-public emacs-use-package
4327 (name "emacs-use-package")
4333 "https://github.com/jwiegley/use-package/archive/"
4335 (file-name (string-append name "-" version ".tar.gz"))
4338 "0x4h136jb3imyli6zsh7dyzjrra6pv0v6b0yk94jdng3rdfcmsf5"))))
4339 (build-system emacs-build-system)
4341 `(("emacs-diminish" ,emacs-diminish)))
4344 (modify-phases %standard-phases
4345 (add-before 'install 'check
4347 (zero? (system* "emacs" "--batch" "-L" "."
4348 "-l" "use-package-tests.el"
4349 "-f" "ert-run-tests-batch-and-exit"))
4350 ;; Tests fail in this release, but have been fixed in
4351 ;; upstream commit 7956d40eed57d6c06bef36ebc174cf57d934e30d
4353 (home-page "https://github.com/jwiegley/use-package")
4354 (synopsis "Declaration for simplifying your .emacs")
4355 (description "The use-package macro allows you to isolate package
4356 configuration in your @file{.emacs} file in a way that is both
4357 performance-oriented and tidy.")
4358 (license license:gpl2+)))
4360 (define-public emacs-strace-mode
4361 (let* ((commit "6a69b4b06db6797af56f33eda5cb28af94e59f11")
4364 (name "emacs-strace-mode")
4365 (version (string-append "0.0.2-" revision "." (string-take commit 7)))
4369 (url "https://github.com/pkmoore/strace-mode")
4371 (file-name (string-append name "-" version "-checkout"))
4374 "1lbk2kzdznf2bkfazizfbimaxxzfzv00lrz1ran9dc2zqbc0bj9f"))))
4375 (build-system emacs-build-system)
4376 (home-page "https://github.com/pkmoore/strace-mode")
4377 (synopsis "Emacs major mode to highlight strace outputs")
4378 (description "@code{emacs-strace-mode} provides an Emacs major mode
4379 highlighting strace outputs.")
4380 (license license:gpl3+))))
4382 (define-public emacs-default-encrypt
4384 (name "emacs-default-encrypt")
4390 "https://www.informationelle-selbstbestimmung-im-internet.de"
4391 "/emacs/jl-encrypt" version "/jl-encrypt.el"))
4392 (file-name (string-append "jl-encrypt-" version ".el"))
4395 "16i3rlfp3jxlqvndn8idylhmczync3gwmy8a019v29vyr48rnnr0"))))
4396 (build-system emacs-build-system)
4397 (home-page "https://www.informationelle-selbstbestimmung-im-internet.de/Emacs.html")
4398 (synopsis "Automatically encrypt or sign Gnus messages in Emacs")
4400 "DefaultEncrypt is designed to be used with Gnus in Emacs. It
4401 automatically encrypts messages that you send (e.g., email) when public keys
4402 for all recipients are available, and it protects you from accidentally
4403 sending un-encrypted messages. It can also be configured to automatically
4404 sign messages that you send. For details and instructions on how to use
4405 DefaultEncrypt, please refer to the home page or read the comments in the
4406 source file, @file{jl-encrypt.el}.")
4407 (license license:gpl3+)))
4409 (define-public emacs-htmlize
4411 (name "emacs-htmlize")
4417 "https://github.com/hniksic/emacs-htmlize/archive/release/"
4419 (file-name (string-append name "-" version ".tar.gz"))
4422 "1fy1lybzrxl8a8r88f6p19nz8ygmvcxhxbnymkxh7jqaz25viwld"))))
4423 (build-system emacs-build-system)
4424 (home-page "https://github.com/hniksic/emacs-htmlize")
4425 (synopsis "Convert buffer text and decorations to HTML")
4426 (description "@code{emacs-htmlize} converts the buffer text and
4427 the associated decorations to HTML. Output to CSS, inline CSS and
4428 fonts is supported.")
4429 (license license:gpl2+)))
4431 (define-public emacs-xmlgen
4433 (name "emacs-xmlgen")
4439 "https://github.com/philjackson/xmlgen/archive/"
4441 (file-name (string-append name "-" version ".tar.gz"))
4444 "0zay490vjby3f7455r0vydmjg7q1gwc78hilpfb0rg4gwz224z8r"))))
4445 (build-system emacs-build-system)
4448 (modify-phases %standard-phases
4449 (add-before 'install 'check
4451 (zero? (system* "emacs" "--batch" "-L" "."
4452 "-l" "xmlgen-test.el"
4453 "-f" "ert-run-tests-batch-and-exit")))))))
4454 (home-page "https://github.com/philjackson/xmlgen")
4455 (synopsis "S-expression to XML domain specific language (DSL) in
4457 (description "@code{emacs-xmlgen} provides S-expression to XML
4458 conversion for Emacs Lisp.")
4459 (license license:gpl2+)))
4461 (define-public emacs-cdlatex
4463 (name "emacs-cdlatex")
4469 "https://github.com/cdominik/cdlatex/archive/"
4471 (file-name (string-append name "-" version ".tar.gz"))
4474 "0pivapphmykc6vhvpx7hdyl55ls37vc4jcrxpvs4yk7jzcmwa9xp"))))
4475 (build-system emacs-build-system)
4476 (home-page "https://github.com/cdominik/cdlatex")
4477 (synopsis "Fast Emacs input methods for LaTeX environments and
4479 (description "CDLaTeX is an Emacs minor mode supporting fast
4480 insertion of environment templates and math in LaTeX. Similar
4481 commands are also offered as part of the AUCTeX package, but it is not
4482 the same - CDLaTeX focuses on speediness for inserting LaTeX
4484 (license license:gpl3+)))
4486 (define-public emacs-xelb
4492 (uri (string-append "https://elpa.gnu.org/packages/xelb-"
4496 "0i9n0f3ibj4a5pwcsvwrah9m0fz32m0x6a9wsmjn3li20v8pcb81"))))
4497 (build-system emacs-build-system)
4498 ;; The following functions and variables needed by emacs-xelb are
4499 ;; not included in emacs-minimal:
4500 ;; x-display-screens, x-keysym-table, x-alt-keysym, x-meta-keysym
4501 ;; x-hyper-keysym, x-super-keysym, libxml-parse-xml-region
4502 ;; x-display-pixel-width, x-display-pixel-height
4506 (modify-phases %standard-phases
4507 (add-after 'unpack 'regenerate-el-files
4508 (lambda* (#:key inputs #:allow-other-keys)
4509 (zero? (system* "make"
4510 (string-append "PROTO_PATH="
4511 (assoc-ref inputs "xcb-proto")
4513 (string-append "EMACS_BIN="
4514 (assoc-ref inputs "emacs")
4515 "/bin/emacs -Q"))))))))
4516 (native-inputs `(("xcb-proto" ,xcb-proto)))
4517 (home-page "https://github.com/ch11ng/xelb")
4518 (synopsis "X protocol Emacs Lisp binding")
4519 (description "@code{emacs-xelb} is a pure Emacs Lisp implementation of the
4520 X11 protocol based on the XML description files from the XCB project. It
4521 features an object-oriented API and permits a certain degree of concurrency.
4522 It should enable you to implement low-level X11 applications.")
4523 (license license:gpl3+)))
4525 (define-public emacs-exwm
4529 (synopsis "Emacs X window manager")
4532 (uri (string-append "https://elpa.gnu.org/packages/exwm-"
4536 "0n1wzy6chh024r0yaywjbf7mdsrxs6hrfycv5v0ps0drf6q3zldc"))))
4537 (build-system emacs-build-system)
4539 `(("emacs-xelb" ,emacs-xelb)))
4543 ;; The following functions and variables needed by emacs-exwm are
4544 ;; not included in emacs-minimal:
4545 ;; scroll-bar-mode, fringe-mode
4546 ;; x-display-pixel-width, x-display-pixel-height
4550 (modify-phases %standard-phases
4551 (add-after 'build 'install-xsession
4552 (lambda* (#:key inputs outputs #:allow-other-keys)
4553 (let* ((out (assoc-ref outputs "out"))
4554 (xsessions (string-append out "/share/xsessions"))
4555 (bin (string-append out "/bin"))
4556 (exwm-executable (string-append bin "/exwm")))
4557 ;; Add a .desktop file to xsessions
4560 (with-output-to-file
4561 (string-append xsessions "/exwm.desktop")
4563 (format #t "[Desktop Entry]~@
4568 Type=Application~%" ,name ,synopsis exwm-executable)))
4569 ;; Add a shell wrapper to bin
4570 ;; Set DISPLAY variable to work around
4571 ;; https://github.com/ch11ng/exwm/issues/213
4572 (with-output-to-file exwm-executable
4575 export DISPLAY=:0 ~@
4576 ~a +SI:localuser:$USER ~@
4577 exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
4578 (string-append (assoc-ref inputs "bash") "/bin/sh")
4579 (string-append (assoc-ref inputs "xhost") "/bin/xhost")
4580 (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")
4581 (string-append (assoc-ref inputs "emacs") "/bin/emacs")
4583 ((file-exists-p "~/.exwm")
4584 (load-file "~/.exwm"))
4585 ((not (featurep 'exwm))
4587 (require 'exwm-config)
4588 (exwm-config-default)
4589 (message "exwm configuration not found. Falling back to default configuration..."))))))
4590 (chmod exwm-executable #o555)
4592 (home-page "https://github.com/ch11ng/exwm")
4593 (description "EXWM is a full-featured tiling X window manager for Emacs
4594 built on top of XELB.")
4595 (license license:gpl3+)))
4597 (define-public emacs-gnuplot
4599 (name "emacs-gnuplot")
4605 "https://github.com/bruceravel/gnuplot-mode/archive/"
4607 (file-name (string-append name "-" version ".tar.gz"))
4610 "0glzymrn138lwig7p4cj17x4if5jisr6l4g6wcbxisqkqgc1h01i"))))
4611 (build-system gnu-build-system)
4612 (native-inputs `(("emacs" ,emacs-minimal)))
4614 (let ((elisp-dir (string-append "/share/emacs/site-lisp/guix.d"
4615 "/gnuplot-" version)))
4616 `(#:modules ((guix build gnu-build-system)
4618 (guix build emacs-utils))
4619 #:imported-modules (,@%gnu-build-system-modules
4620 (guix build emacs-utils))
4622 (list (string-append "EMACS=" (assoc-ref %build-inputs "emacs")
4624 (string-append "--with-lispdir=" %output ,elisp-dir))
4626 (modify-phases %standard-phases
4627 (add-after 'install 'generate-autoloads
4628 (lambda* (#:key outputs #:allow-other-keys)
4629 (emacs-generate-autoloads
4631 (string-append (assoc-ref outputs "out") ,elisp-dir))
4633 (home-page "https://github.com/bruceravel/gnuplot-mode")
4634 (synopsis "Emacs major mode for interacting with gnuplot")
4635 (description "@code{emacs-gnuplot} is an emacs major mode for interacting
4637 (license license:gpl2+)))
4639 (define-public emacs-transpose-frame
4641 (name "emacs-transpose-frame")
4646 (uri "http://www.emacswiki.org/emacs/download/transpose-frame.el")
4647 (file-name (string-append "transpose-frame-" version ".el"))
4650 "1f67yksgw9s6j0033hmqzaxx2a93jm11sd5ys7cc3li5gfh680m4"))))
4651 (build-system emacs-build-system)
4652 (home-page "https://www.emacswiki.org/emacs/TransposeFrame")
4653 (synopsis "Transpose window arrangement in current frame")
4654 (description "@code{emacs-transpose-frame} provides some interactive
4655 functions which allows users to transpose windows arrangement in currently
4657 (license license:bsd-2)))
4659 (define-public emacs-key-chord
4661 (name "emacs-key-chord")
4666 (uri "https://www.emacswiki.org/emacs/download/key-chord.el")
4667 (file-name (string-append "key-chord-" version ".el"))
4670 "03m44pqggfrd53nh9dvpdjgm0rvca34qxmd30hr33hzprzjambxg"))))
4671 (build-system emacs-build-system)
4672 (home-page "https://www.emacswiki.org/emacs/key-chord.el")
4673 (synopsis "Map pairs of simultaneously pressed keys to Emacs commands")
4674 (description "@code{emacs-key-chord} provides @code{key-chord-mode}, a
4675 mode for binding key chords to commands. A key chord is defined as two keys
4676 pressed simultaneously or a single key quickly pressed twice.")
4677 (license license:gpl2+)))
4679 (define-public emacs-evil-surround
4681 (name "emacs-evil-surround")
4687 "https://github.com/timcharper/evil-surround/archive/v"
4689 (file-name (string-append name "-" version ".tar.gz"))
4692 "0p572jgic3q1ia1nz37kclir729ay6i2f4sa7wnaapyxly2lwb3r"))))
4693 (build-system emacs-build-system)
4695 `(("emacs-evil" ,emacs-evil)))
4696 (home-page "https://github.com/timcharper/evil-surround")
4697 (synopsis "Easily modify surrounding parantheses and quotes")
4698 (description "@code{emacs-evil-surround} allows easy deletion, change and
4699 addition of surrounding pairs, such as parantheses and quotes, in evil mode.")
4700 (license license:gpl3+)))
4702 (define-public emacs-evil-commentary
4704 (name "emacs-evil-commentary")
4710 "https://github.com/linktohack/evil-commentary/archive/v"
4712 (file-name (string-append name "-" version ".tar.gz"))
4715 "1jdya0i921nwskwrzdsj0vrr3m7gm49dy6f6pk9p5nxaarfxk230"))))
4716 (build-system emacs-build-system)
4718 `(("emacs-evil" ,emacs-evil)))
4719 (home-page "https://github.com/linktohack/evil-commentary")
4720 (synopsis "Comment out code in evil mode")
4721 (description "@code{emacs-evil-commentary} adds keybindings to easily
4722 comment out lines of code in evil mode. It provides @code{gcc} to comment out
4723 lines, and @code{gc} to comment out the target of a motion.")
4724 (license license:gpl3+)))
4726 ;; Tests for emacs-ansi have a circular dependency with ert-runner, and
4727 ;; therefore cannot be run
4728 (define-public emacs-ansi
4735 (uri (string-append "https://github.com/rejeep/ansi.el/archive/v"
4737 (file-name (string-append name "-" version ".tar.gz"))
4740 "13jj4vbi98j3p17hs99bmy7g21jd5h4v3wpxk4pkvhylm3bfwjw8"))))
4741 (build-system emacs-build-system)
4743 `(("emacs-dash" ,emacs-dash)
4744 ("emacs-s" ,emacs-s)))
4745 (home-page "https://github.com/rejeep/ansi.el")
4746 (synopsis "Convert strings to ANSI")
4747 (description "@code{emacs-ansi} defines functions that turns simple
4748 strings to ANSI strings. Turning a string into an ANSI string can be to add
4749 color to a text, add color in the background of a text or adding a style, such
4750 as bold, underscore or italic.")
4751 (license license:gpl3+)))
4753 ;; Tests for emacs-commander have a circular dependency with ert-runner, and
4754 ;; therefore cannot be run
4755 (define-public emacs-commander
4757 (name "emacs-commander")
4762 (uri (string-append "https://github.com/rejeep/commander.el/archive/v"
4764 (file-name (string-append name "-" version ".tar.gz"))
4767 "196s2i15z7gwxa97l1wkxvjnfmj5n38wwm6d3g4zz15l2vqggc2y"))))
4768 (build-system emacs-build-system)
4770 `(("emacs-dash" ,emacs-dash)
4771 ("emacs-f" ,emacs-f)
4772 ("emacs-s" ,emacs-s)))
4773 (home-page "https://github.com/rejeep/commander.el")
4774 (synopsis "Emacs command line parser")
4775 (description "@code{emacs-commander} provides command line parsing for
4777 (license license:gpl3+)))
4779 ;; Tests for ert-runner have a circular dependency with ecukes, and therefore
4781 (define-public ert-runner
4783 `(("emacs-ansi" ,emacs-ansi)
4784 ("emacs-commander" ,emacs-commander)
4785 ("emacs-dash" ,emacs-dash)
4786 ("emacs-f" ,emacs-f)
4787 ("emacs-s" ,emacs-s)
4788 ("emacs-shut-up" ,emacs-shut-up))))
4795 (uri (string-append "https://github.com/rejeep/ert-runner.el/archive/v"
4797 (file-name (string-append name "-" version ".tar.gz"))
4800 "1657nck9i96a4xgl8crfqq0s8gflzp21pkkzwg6m3z5npjxklgwp"))))
4801 (build-system emacs-build-system)
4802 (inputs dependencies)
4805 (modify-phases %standard-phases
4806 (add-after 'install 'install-executable
4807 (lambda* (#:key inputs outputs #:allow-other-keys)
4808 (let ((out (assoc-ref outputs "out")))
4809 (substitute* "bin/ert-runner"
4810 (("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)")
4811 (string-append "ERT_RUNNER=\"" out
4812 "/share/emacs/site-lisp/guix.d/"
4813 ,name "-" ,version)))
4814 (install-file "bin/ert-runner" (string-append out "/bin"))
4815 (wrap-program (string-append out "/bin/ert-runner")
4816 (list "EMACSLOADPATH" ":" '=
4818 ,(match dependencies
4819 (((labels packages) ...)
4820 `(map (lambda (label package version)
4821 (string-append (assoc-ref inputs label)
4822 "/share/emacs/site-lisp/guix.d/"
4823 (string-drop package 6)
4826 ',(map package-name packages)
4827 ',(map package-version packages))))
4828 ;; empty element to include the default load path as
4829 ;; determined by emacs' standard initialization
4833 (home-page "https://github.com/rejeep/ert-runner.el")
4834 (synopsis "Opinionated Ert testing workflow")
4835 (description "@code{ert-runner} is a tool for Emacs projects tested
4836 using ERT. It assumes a certain test structure setup and can therefore make
4837 running tests easier.")
4838 (license license:gpl3+))))