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).
1194 (arguments `(#:emacs ,emacs))
1197 (home-page "https://www.gnu.org/software/auctex/")
1198 (synopsis "Integrated environment for TeX")
1200 "AUCTeX is a comprehensive customizable integrated environment for
1201 writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs
1203 (license license:gpl3+)))
1205 (define-public emacs-calfw
1207 (name "emacs-calfw")
1213 "https://github.com/kiwanami/emacs-calfw/archive/v"
1215 (file-name (string-append name "-" version ".tar.gz"))
1218 "17ssg8gx66yp63nhygjq2r6kgl4h45cacmrxsxs9f0lrfcx37k0l"))))
1219 (build-system emacs-build-system)
1220 (home-page "https://github.com/kiwanami/emacs-calfw/")
1221 (synopsis "Calendar framework for Emacs")
1223 "This package displays a calendar view with various shedule data in
1225 (license license:gpl3+)))
1227 (define-public emacs-google-maps
1229 (name "emacs-google-maps")
1233 (uri (string-append "https://github.com/jd/google-maps.el/"
1234 "archive/" version ".tar.gz"))
1235 (file-name (string-append name "-" version ".tar.gz"))
1238 "014bxapm4d8vjxbzrfjdpsavxyfx981mlcb10aq5rmigr6il8ybs"))))
1239 (build-system emacs-build-system)
1240 (home-page "https://github.com/jd/google-maps.el")
1241 (synopsis "Access Google Maps from Emacs")
1242 (description "The @code{google-maps} package allows to display Google
1243 Maps directly inside Emacs.")
1244 (license license:gpl3+)))
1246 (define-public emacs-mmm-mode
1248 (name "emacs-mmm-mode")
1254 "https://github.com/purcell/mmm-mode/archive/"
1256 (file-name (string-append name "-" version ".tar.gz"))
1259 "10kwslnflbjqm62wkrq420crqzdqalzfflp9pqk1i12zm6dm4mfv"))))
1260 (build-system gnu-build-system)
1263 (modify-phases %standard-phases
1264 (add-after 'unpack 'autogen
1266 (zero? (system* "sh" "autogen.sh")))))))
1268 `(("autoconf" ,autoconf)
1269 ("automake" ,automake)
1270 ("emacs" ,emacs-minimal)
1271 ("texinfo" ,texinfo)))
1272 (home-page "https://github.com/purcell/mmm-mode")
1273 (synopsis "Allow multiple major modes in an Emacs buffer")
1275 "MMM Mode is a minor mode that allows multiple major modes to coexist in a
1277 (license license:gpl3+)))
1279 (define-public emacs-pdf-tools
1281 (name "emacs-pdf-tools")
1286 "https://github.com/politza/pdf-tools/archive/v"
1288 (file-name (string-append name "-" version ".tar.gz"))
1291 "1m0api6wiawswyk46bdsyk6r5rg3b86a4paar6nassm6x6c6vr77"))))
1292 (build-system gnu-build-system)
1294 `(#:tests? #f ; there are no tests
1295 #:modules ((guix build gnu-build-system)
1296 ((guix build emacs-build-system) #:prefix emacs:)
1298 (guix build emacs-utils))
1299 #:imported-modules (,@%gnu-build-system-modules
1300 (guix build emacs-build-system)
1301 (guix build emacs-utils))
1303 (modify-phases %standard-phases
1304 ;; Build server side using 'gnu-build-system'.
1305 (add-after 'unpack 'enter-server-dir
1306 (lambda _ (chdir "server") #t))
1307 (add-before 'configure 'autogen
1309 (zero? (system* "bash" "autogen.sh"))))
1311 ;; Build emacs side using 'emacs-build-system'.
1312 (add-after 'compress-documentation 'enter-lisp-dir
1313 (lambda _ (chdir "../lisp") #t))
1314 (add-after 'enter-lisp-dir 'emacs-patch-variables
1315 (lambda* (#:key outputs #:allow-other-keys)
1316 ;; Set path to epdfinfo program.
1317 (emacs-substitute-variables "pdf-info.el"
1318 ("pdf-info-epdfinfo-program"
1319 (string-append (assoc-ref outputs "out")
1321 ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto
1322 ;; upgrading" that pdf-tools tries to perform.
1323 (emacs-substitute-variables "pdf-tools.el"
1324 ("pdf-tools-handle-upgrades" '()))))
1325 (add-after 'emacs-patch-variables 'emacs-install
1326 (assoc-ref emacs:%standard-phases 'install))
1327 (add-after 'emacs-install 'emacs-build
1328 (assoc-ref emacs:%standard-phases 'build))
1329 (add-after 'emacs-install 'emacs-make-autoloads
1330 (assoc-ref emacs:%standard-phases 'make-autoloads)))))
1331 (native-inputs `(("autoconf" ,autoconf)
1332 ("automake" ,automake)
1333 ("pkg-config" ,pkg-config)
1334 ("emacs" ,emacs-minimal)))
1336 `(("let-alist" ,let-alist)))
1337 (inputs `(("poppler" ,poppler)
1342 (synopsis "Emacs support library for PDF files")
1344 "PDF Tools is, among other things, a replacement of DocView for PDF
1345 files. The key difference is that pages are not pre-rendered by
1346 e.g. ghostscript and stored in the file-system, but rather created on-demand
1347 and stored in memory.")
1348 (home-page "https://github.com/politza/pdf-tools")
1349 (license license:gpl3+)))
1351 (define-public emacs-dash
1358 "https://github.com/magnars/dash.el/archive/"
1360 (file-name (string-append name "-" version ".tar.gz"))
1363 "1pjlkrzr8n45bnp3xs3dybvy0nz3gwamrfc7vsi1nhpkkw99ihhb"))))
1364 (build-system emacs-build-system)
1367 (modify-phases %standard-phases
1368 (add-before 'install 'check
1370 (zero? (system* "./run-tests.sh")))))))
1371 (home-page "https://github.com/magnars/dash.el")
1372 (synopsis "Modern list library for Emacs")
1373 (description "This package provides a modern list API library for Emacs.")
1374 (license license:gpl3+)))
1376 (define-public emacs-bui
1383 "https://github.com/alezost/bui.el/archive/v"
1385 (file-name (string-append name "-" version ".tar.gz"))
1388 "112k0mq6xpy0r47vk66miw7rxbkv3d06pv3pd0vcmrhcnhnnk486"))))
1389 (build-system emacs-build-system)
1391 `(("dash" ,emacs-dash)))
1392 (home-page "https://github.com/alezost/bui.el")
1393 (synopsis "Buffer interface library for Emacs")
1395 "BUI (Buffer User Interface) is a library for making @code{list} and
1396 @code{info} interfaces to display an arbitrary data of the same
1397 type, for example: packages, buffers, files, etc.")
1398 (license license:gpl3+)))
1400 (define-public emacs-guix
1406 (uri (string-append "https://github.com/alezost/guix.el"
1407 "/releases/download/v" version
1408 "/emacs-guix-" version ".tar.gz"))
1411 "0s7s90rfba8ccbilbvmbcwn4qp4m0jv9y58xq8avm39cygmjgyxz"))))
1412 (build-system gnu-build-system)
1415 (let ((guix (assoc-ref %build-inputs "guix"))
1416 (geiser (assoc-ref %build-inputs "geiser"))
1417 (dash (assoc-ref %build-inputs "dash"))
1418 (bui (assoc-ref %build-inputs "bui"))
1419 (magit-popup (assoc-ref %build-inputs "magit-popup"))
1420 (site-lisp "/share/emacs/site-lisp"))
1421 (list (string-append "--with-guix-site-dir="
1422 (car (find-files (string-append guix
1423 "/share/guile/site")
1428 #:directories? #t)))
1429 (string-append "--with-geiser-lispdir=" geiser site-lisp)
1430 (string-append "--with-dash-lispdir="
1431 dash site-lisp "/guix.d/dash-"
1432 ,(package-version emacs-dash))
1433 (string-append "--with-bui-lispdir="
1434 bui site-lisp "/guix.d/bui-"
1435 ,(package-version emacs-bui))
1436 (string-append "--with-popup-lispdir="
1437 magit-popup site-lisp "/guix.d/magit-popup-"
1438 ,(package-version emacs-magit-popup))))))
1440 `(("pkg-config" ,pkg-config)
1441 ("emacs" ,emacs-minimal)))
1443 `(("guile" ,guile-2.2)
1446 `(("geiser" ,geiser)
1447 ("dash" ,emacs-dash)
1449 ("magit-popup" ,emacs-magit-popup)))
1450 (home-page "https://alezost.github.io/guix.el/")
1451 (synopsis "Emacs interface for GNU Guix")
1453 "Emacs-Guix provides a visual interface, tools and features for the GNU
1454 Guix package manager. Particularly, it allows you to do various package
1455 management tasks from Emacs. To begin with, run @code{M-x guix-about} or
1456 @code{M-x guix-help} command.")
1457 (license license:gpl3+)))
1459 (define-public emacs-d-mode
1461 (name "emacs-d-mode")
1466 "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/"
1467 "archive/" version ".tar.gz"))
1470 "0knpgi55jm09282aqf8pv55zillpnpzf9f4sgm6gwsmvxf17xaw0"))))
1471 (build-system emacs-build-system)
1473 `(("emacs-undercover" ,emacs-undercover)))
1474 (home-page "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode")
1475 (synopsis "Emacs major mode for editing D code")
1476 (description "This package provides an Emacs major mode for highlighting
1477 code written in the D programming language. This mode is currently known to
1478 work with Emacs 24 and 25.")
1479 (license license:gpl2+)))
1481 (define-public emacs-keyfreq
1483 (name "emacs-keyfreq")
1484 (version "20160516.716")
1488 (uri (string-append "http://melpa.org/packages/keyfreq-"
1492 "008hd7d06qskc3mx0bbdgpgy2pwxr8185fzlyqf9qjg49y74p6g8"))))
1493 (build-system emacs-build-system)
1494 (home-page "https://github.com/dacap/keyfreq")
1495 (synopsis "Track Emacs command frequencies")
1496 (description "@code{emacs-keyfeq} tracks and shows how many times you used
1498 (license license:gpl3+)))
1500 (define-public emacs-undo-tree
1502 (name "emacs-undo-tree")
1507 (url "http://dr-qubit.org/git/undo-tree.git")
1508 (commit "release/0.6.4")))
1509 (file-name (string-append name "-" version "-checkout"))
1512 "0b6hnv6bq1g5np5q2yw9r9aj1cxpp14akm21br7vpb7wp01fv4b3"))))
1513 (build-system emacs-build-system)
1514 (home-page "http://www.dr-qubit.org/emacs.php")
1515 (synopsis "Treat undo history as a tree")
1516 (description "Tree-like interface to Emacs undo system, providing
1517 graphical tree presentation of all previous states of buffer that
1518 allows easily move between them.")
1519 (license license:gpl3+)))
1521 (define-public emacs-s
1528 "https://github.com/magnars/s.el/archive/"
1530 (file-name (string-append name "-" version ".tar.gz"))
1533 "0krq5nz3llfx0vwdqn18pmq777ja0fac185w0h9qymppb1j1hvc2"))))
1534 (build-system emacs-build-system)
1537 (modify-phases %standard-phases
1538 (add-before 'install 'check
1540 (zero? (system* "./run-tests.sh")))))))
1541 (home-page "https://github.com/magnars/s.el")
1542 (synopsis "Emacs string manipulation library")
1543 (description "This package provides an Emacs library for manipulating
1545 (license license:gpl3+)))
1547 (define-public emacs-symon
1549 (name "emacs-symon")
1550 (version "20160630")
1554 (uri (string-append "https://github.com/zk-phi/symon/archive/"
1556 (file-name (string-append name "-" version ".tar.gz"))
1559 "0h4jcgdnq98wc9rj72nwyazq8498yg55jfljiij5qwbn1xf1g5zz"))))
1560 (build-system emacs-build-system)
1561 (home-page "https://github.com/zk-phi/symon")
1562 (synopsis "Tiny graphical system monitor")
1564 "Tiny graphical system monitor for the Emacs minibuffer when idle.")
1565 (license license:gpl2+)))
1567 (define-public emacs-sx
1573 (uri (string-append "https://github.com/vermiculus/sx.el/"
1574 "archive/v" version ".tar.gz"))
1575 (file-name (string-append name "-" version ".tar.gz"))
1578 "1w0xghfljqg31axcnv8gzlrd8pw25nji6idnrhflq0af9qh1dw03"))))
1579 (build-system emacs-build-system)
1581 `(("emacs-markdown-mode" ,emacs-markdown-mode)
1582 ("let-alist" ,let-alist)))
1583 (home-page "https://github.com/vermiculus/sx.el/")
1584 (synopsis "Emacs StackExchange client")
1586 "Emacs StackExchange client. Ask and answer questions on
1587 Stack Overflow, Super User, and other StackExchange sites.")
1588 (license license:gpl3+)))
1590 (define-public emacs-f
1597 "https://github.com/rejeep/f.el/archive/v"
1599 (file-name (string-append name "-" version ".tar.gz"))
1602 "1926shh2ymdsgz05c6q181mzzz1rci99ch568j151xi865jinyg5"))))
1603 (build-system emacs-build-system)
1605 `(("emacs-s" ,emacs-s)
1606 ("emacs-dash" ,emacs-dash)))
1607 (home-page "https://github.com/rejeep/f.el")
1608 (synopsis "Emacs API for working with files and directories")
1609 (description "This package provides an Emacs library for working with
1610 files and directories.")
1611 (license license:gpl3+)))
1613 (define-public emacs-git-gutter
1615 (name "emacs-git-gutter")
1620 "https://github.com/syohex/" name "/archive/"
1622 (file-name (string-append name "-" version ".tar.gz"))
1625 "1nmhvhpq1l56mj2yq3ag23rw3x4xgnsy8szp30s26l0yjnkhc4qg"))))
1626 (build-system emacs-build-system)
1627 (home-page "https://github.com/syohex/emacs-git-gutter")
1628 (synopsis "See and manage hunks of text in a version control system")
1630 "This package is an Emacs minor mode for displaying and interacting with
1631 hunks of text managed in a version control system. Added modified and deleted
1632 areas can be indicated with symbols on the edge of the buffer, and commands
1633 can be used to move between and perform actions on these hunks.
1635 Git, Mercurial, Subversion and Bazaar are supported, and many parts of the
1636 display and behaviour is easily customisable.")
1637 (license license:gpl3+)))
1639 (define-public emacs-git-timemachine
1641 (name "emacs-git-timemachine")
1646 (uri (string-append "https://github.com/pidu/git-timemachine/"
1647 "archive/" version ".tar.gz"))
1648 (file-name (string-append name "-" version ".tar.gz"))
1651 "1l4g0r69wfrnjsywv03v4bpdd53byg6zdx6mzabfxyymss3kvisa"))))
1652 (build-system emacs-build-system)
1653 (home-page "https://github.com/pidu/git-timemachine")
1654 (synopsis "Step through historic versions of Git-controlled files")
1655 (description "This package enables you to step through historic versions
1656 of files under Git version control from within Emacs.")
1657 (license license:gpl3+)))
1659 (define-public emacs-el-mock
1661 (name "emacs-el-mock")
1666 (uri (string-append "https://github.com/rejeep/el-mock.el/"
1667 "archive/v" version ".tar.gz"))
1668 (file-name (string-append name "-" version ".tar.gz"))
1671 "16xw94n58xxn3zvgyj72bmzs0k5lkvswjmzs79ws9n7rzdivb38b"))))
1672 (build-system emacs-build-system)
1673 (home-page "https://github.com/rejeep/el-mock.el")
1674 (synopsis "Tiny mock and stub framework in Emacs Lisp")
1676 "Emacs Lisp Mock is a library for mocking and stubbing using readable
1677 syntax. Most commonly Emacs Lisp Mock is used in conjunction with Emacs Lisp
1678 Expectations, but it can be used in other contexts.")
1679 (license license:gpl3+)))
1681 (define-public emacs-espuds
1683 (name "emacs-espuds")
1688 (uri (string-append "https://github.com/ecukes/espuds/"
1689 "archive/v" version ".tar.gz"))
1690 (file-name (string-append name "-" version ".tar.gz"))
1693 "0xv551376pbmh735a3zjwc9z4qdx6ngj1vpq3xqjpn0a1rwjyn4k"))))
1694 (build-system emacs-build-system)
1696 `(("emacs-s" ,emacs-s)
1697 ("emacs-dash" ,emacs-dash)
1698 ("emacs-f" ,emacs-f)))
1699 (home-page "https://github.com/ecukes/espuds")
1700 (synopsis "Common step definitions for Ecukes")
1701 (description "Espuds is a collection of the most commonly used step
1702 definitions for testing with the Ecukes framework.")
1703 (license license:gpl3+)))
1705 (define-public emacs-es-mode
1707 (name "emacs-es-mode")
1712 "https://github.com/dakrone/es-mode/archive/"
1714 (file-name (string-append name "-" version ".tar.gz"))
1717 "02as82clm553yss7jfjac888308zr1h2229cch4z1yij70j25c8y"))))
1718 (build-system emacs-build-system)
1720 ;; The version of org in Emacs 24.5 is not sufficient, and causes tables
1721 ;; to be rendered incorrectly
1722 `(("emacs-org" ,emacs-org)))
1723 (home-page "https://github.com/dakrone/es-mode")
1724 (synopsis "Major mode for editing Elasticsearch queries")
1725 (description "@code{es-mode} includes highlighting, completion and
1726 indentation support for Elasticsearch queries. Also supported are
1727 @code{es-mode} blocks in @code{org-mode}, for which the results of queries can
1728 be processed through @code{jq}, or in the case of aggregations, can be
1729 rendered in to a table. In addition, there is an @code{es-command-center}
1730 mode, which displays information about Elasticsearch clusters.")
1731 (license license:gpl3+)))
1733 (define-public emacs-expand-region
1735 (name "emacs-expand-region")
1740 (uri (string-append "https://github.com/magnars/expand-region.el"
1741 "/archive/" version ".tar.gz"))
1742 (file-name (string-append name "-" version ".tar.gz"))
1745 "08dy1f411sh9wwww53rjw80idcf3vpki6ba2arl4hl5jcw9651g0"))))
1746 (build-system emacs-build-system)
1747 (home-page "https://github.com/magnars/expand-region.el")
1748 (synopsis "Increase selected region by semantic units")
1750 "Expand region increases the selected region by semantic units. Just
1751 keep pressing the key until it selects what you want. There's also
1752 @code{er/contract-region} if you expand too far.")
1753 (license license:gpl3+)))
1755 (define-public emacs-fill-column-indicator
1757 (name "emacs-fill-column-indicator")
1762 (uri (string-append "https://github.com/alpaker/Fill-Column-Indicator"
1763 "/archive/v" version ".tar.gz"))
1764 (file-name (string-append name "-" version ".tar.gz"))
1767 "1xwyqbjbbicmvhlb85vg4j5snwy1vd7rfk89ws4viws5ljkhhyg8"))))
1768 (build-system emacs-build-system)
1769 (home-page "https://www.emacswiki.org/emacs/FillColumnIndicator")
1770 (synopsis "Graphically indicate the fill column")
1772 "Fill-column-indicator graphically indicates the location of the fill
1773 column by drawing a thin line down the length of the editing window.")
1774 (license license:gpl3+)))
1776 (define-public emacs-znc
1783 (uri (string-append "https://marmalade-repo.org/packages/znc-"
1787 "1d8lqvybgyazin5z0g1c4l3rg1vzrrvf0saqs53jr1zcdg0lianh"))))
1788 (build-system emacs-build-system)
1789 (home-page "https://github.com/sshirokov/ZNC.el")
1790 (synopsis "Make ERC and ZNC get along better")
1792 "This is a thin wrapper around @code{erc} that enables one to use the ZNC
1793 IRC bouncer with ERC.")
1794 (license license:expat)))
1796 (define-public emacs-shut-up
1798 (name "emacs-shut-up")
1803 (uri (string-append "https://github.com/cask/shut-up/"
1804 "archive/v" version ".tar.gz"))
1805 (file-name (string-append name "-" version ".tar.gz"))
1808 "09kzrjdkb569iviyg7ydwq44yh84m3f9hkl7jizfrlk0w4gz67d1"))))
1809 (build-system emacs-build-system)
1810 (home-page "https://github.com/cask/shut-up")
1811 (synopsis "Silence Emacs")
1812 (description "This package silences most output of Emacs when running an
1813 Emacs shell script.")
1814 (license license:expat)))
1816 (define-public emacs-undercover
1818 (name "emacs-undercover")
1823 (uri (string-append "https://github.com/sviridov/undercover.el/"
1824 "archive/v" version ".tar.gz"))
1825 (file-name (string-append name "-" version ".tar.gz"))
1828 "0f48fi0xnbsqs382rgh85m9mq1wdnr0yib7as9xhwzvq0hsr5m0a"))))
1829 (build-system emacs-build-system)
1831 `(("emacs-dash" ,emacs-dash)
1832 ("emacs-shut-up" ,emacs-shut-up)))
1833 (home-page "https://github.com/sviridov/undercover.el")
1834 (synopsis "Test coverage library for Emacs Lisp")
1836 "Undercover is a test coverage library for software written in Emacs
1838 (license license:expat)))
1840 (define-public emacs-paren-face
1842 (name "emacs-paren-face")
1847 (uri (string-append "https://github.com/tarsius/paren-face/archive/"
1849 (file-name (string-append name "-" version ".tar.gz"))
1852 "0y4qrhxa9332vsvr999jg7qj1ymnfgwpf591yi4a4jgg90pm7qnn"))))
1853 (build-system emacs-build-system)
1854 (home-page "https://github.com/tarsius/paren-face")
1855 (synopsis "Face for parentheses in lisp modes")
1857 "This library defines a face named @code{parenthesis} used just for
1858 parentheses. The intended purpose of this face is to make parentheses less
1859 visible in Lisp code by dimming them. Lispers probably don't need to be
1860 constantly made aware of the existence of the parentheses. Dimming them might
1861 be even more useful for people new to lisp who have not yet learned to
1862 subconsciously blend out the parentheses.")
1863 (license license:gpl3+)))
1865 (define-public emacs-page-break-lines
1867 (name "emacs-page-break-lines")
1872 (uri (string-append "https://github.com/purcell/page-break-lines/"
1873 "archive/" version ".tar.gz"))
1874 (file-name (string-append name "-" version ".tar.gz"))
1877 "1zzhziq5kbrm9rxk30kx2glz455fp1blqxg8cpcf6l8xl3w8z4pg"))))
1878 (build-system emacs-build-system)
1879 (home-page "https://github.com/purcell/page-break-lines")
1880 (synopsis "Display page breaks as tidy horizontal lines")
1882 "This library provides a global mode which displays form feed characters
1883 as horizontal rules.")
1884 (license license:gpl3+)))
1886 (define-public emacs-simple-httpd
1888 (name "emacs-simple-httpd")
1893 (uri (string-append "https://github.com/skeeto/emacs-web-server/"
1894 "archive/" version ".tar.gz"))
1895 (file-name (string-append name "-" version ".tar.gz"))
1898 "01r7h3imnj4qx1m53a2wjafvbylcyz5f9r2rg2cs7ky3chlg220r"))))
1899 (build-system emacs-build-system)
1900 (home-page "https://github.com/skeeto/emacs-http-server")
1901 (synopsis "HTTP server in pure Emacs Lisp")
1903 "This package provides a simple HTTP server written in Emacs Lisp to
1904 serve files and directory listings.")
1905 (license license:unlicense)))
1907 (define-public emacs-skewer-mode
1909 (name "emacs-skewer-mode")
1914 (uri (string-append "https://github.com/skeeto/skewer-mode/archive/"
1916 (file-name (string-append name "-" version ".tar.gz"))
1919 "07jpz374j0j964szy3zznrkyja2kpdl3xa87wh7349mzxivqxdx0"))))
1920 (build-system emacs-build-system)
1922 `(("emacs-simple-httpd" ,emacs-simple-httpd)
1923 ("emacs-js2-mode" ,emacs-js2-mode)))
1924 (home-page "https://github.com/skeeto/skewer-mode")
1925 (synopsis "Live web development in Emacs")
1927 "Skewer-mode provides live interaction with JavaScript, CSS, and HTML in
1928 a web browser. Expressions are sent on-the-fly from an editing buffer to be
1929 evaluated in the browser, just like Emacs does with an inferior Lisp process
1931 (license license:unlicense)))
1933 (define-public emacs-stripe-buffer
1935 (name "emacs-stripe-buffer")
1940 (uri (string-append "https://github.com/sabof/stripe-buffer/"
1941 "archive/" version ".tar.gz"))
1942 (file-name (string-append name "-" version ".tar.gz"))
1945 "1p515dq7raly5hw94kiwm3vzsfih0d8af622q4ipvvljsm98aiik"))))
1946 (build-system emacs-build-system)
1947 (home-page "https://github.com/sabof/stripe-buffer/")
1948 (synopsis "Add stripes to list buffers")
1950 "This Emacs package adds faces to add stripes to list buffers and org
1952 (license license:gpl2+)))
1954 (define-public emacs-rich-minority
1956 (name "emacs-rich-minority")
1961 (uri (string-append "https://github.com/Malabarba/rich-minority/"
1962 "archive/" version ".tar.gz"))
1963 (file-name (string-append name "-" version ".tar.gz"))
1966 "1l0cb0q7kyi88nwfqd542psnkgwnjklpzc5rx32gzd3lkwkrbr8v"))))
1967 (build-system emacs-build-system)
1968 (home-page "https://github.com/Malabarba/rich-minority")
1969 (synopsis "Clean-up and beautify the list of minor modes")
1971 "This Emacs package hides and/or highlights minor modes in the
1973 (license license:gpl2+)))
1975 (define-public emacs-smart-mode-line
1977 (name "emacs-smart-mode-line")
1982 (uri (string-append "https://github.com/Malabarba/smart-mode-line/"
1983 "archive/" version ".tar.gz"))
1984 (file-name (string-append name "-" version ".tar.gz"))
1987 "0i9wajabrrsjzwd842q0m2611kf0q31p9hg1pdj81177gynkw8l8"))))
1988 (build-system emacs-build-system)
1990 `(("emacs-rich-minority" ,emacs-rich-minority)))
1991 (home-page "https://github.com/Malabarba/smart-mode-line")
1992 (synopsis "Color-coded smart mode-line")
1994 "Smart Mode Line is a mode-line theme for Emacs. It aims to be easy to
1995 read from small to large monitors by using colors, a prefix feature, and smart
1997 (license license:gpl2+)))
1999 (define-public emacs-shell-switcher
2001 (name "emacs-shell-switcher")
2006 (uri (string-append "https://github.com/DamienCassou/shell-switcher"
2007 "/archive/v" version ".tar.gz"))
2008 (file-name (string-append name "-" version ".tar.gz"))
2011 "1c23mfkdqz2g9rixd9smm323vzlvhzz3ng34ambcqjfq309qb2nz"))))
2012 (build-system emacs-build-system)
2013 (home-page "https://github.com/DamienCassou/shell-switcher")
2014 (synopsis "Provide fast switching between shell buffers")
2016 "This package provides commands to quickly switch between shell buffers.")
2017 (license license:gpl3+)))
2019 (define-public emacs-ob-ipython
2021 (name "emacs-ob-ipython")
2022 (version "20150704.8807064693")
2026 (commit "880706469338ab59b5bb7dbe8460016f89755364")
2027 (url "https://github.com/gregsexton/ob-ipython.git")))
2030 "1scf25snbds9ymagpny30ijbsg479r3nm0ih01dy4m9d0g7qryb7"))))
2031 (build-system emacs-build-system)
2033 `(("emacs-f" ,emacs-f)))
2034 (home-page "http://www.gregsexton.org")
2035 (synopsis "Org-Babel functions for IPython evaluation")
2036 (description "This package adds support to Org-Babel for evaluating Python
2037 source code using IPython.")
2038 (license license:gpl3+)))
2040 (define-public emacs-debbugs
2042 (name "emacs-debbugs")
2046 (uri (string-append "https://elpa.gnu.org/packages/debbugs-"
2050 "07wgcvg038l88gxvjr0gjpjhyk743w22x1rqghz3gkmif0g70say"))))
2051 (build-system emacs-build-system)
2053 `(("emacs-async" ,emacs-async)))
2054 (home-page "https://elpa.gnu.org/packages/debbugs.html")
2055 (synopsis "Access the Debbugs bug tracker in Emacs")
2057 "This package lets you access the @uref{http://bugs.gnu.org,GNU Bug
2058 Tracker} from within Emacs.
2060 For instance, it defines the command @code{M-x debbugs-gnu} for listing bugs,
2061 and the command @code{M-x debbugs-gnu-search} for bug searching. If you
2062 prefer the listing of bugs as TODO items of @code{org-mode}, you could use
2063 @code{M-x debbugs-org} and related commands.
2065 A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug
2066 Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.")
2067 (license license:gpl3+)))
2069 (define-public emacs-deferred
2071 (name "emacs-deferred")
2073 (home-page "https://github.com/kiwanami/emacs-deferred")
2078 (commit (string-append "v" version))))
2081 "0059jy01ni5irpgrj9fa81ayd9j25nvmjjm79ms3210ysx4pgqdr"))
2082 (file-name (string-append name "-" version))))
2083 (build-system emacs-build-system)
2084 ;; FIXME: Would need 'el-expectations' to actually run tests.
2085 (synopsis "Simple asynchronous functions for Emacs Lisp")
2087 "The @code{deferred.el} library provides support for asynchronous tasks.
2088 The API is almost the same as that of
2089 @uref{https://github.com/cho45/jsdeferred, JSDeferred}, a JavaScript library
2090 for asynchronous tasks.")
2091 (license license:gpl3+)))
2093 (define-public butler
2095 (name "emacs-butler")
2097 (home-page "https://github.com/AshtonKem/Butler")
2105 "1pii9dw4skq7nr4na6qxqasl36av8cwjp71bf1fgppqpcd9z8skj"))
2106 (file-name (string-append name "-" version))))
2107 (build-system emacs-build-system)
2109 `(("emacs-deferred" ,emacs-deferred)))
2110 (synopsis "Emacs client for Jenkins")
2112 "Butler provides an interface to connect to Jenkins continuous
2113 integration servers. Users can specify a list of server in the
2114 @code{butler-server-list} variable and then use @code{M-x butler-status} to
2115 view the build status of those servers' build jobs, and possibly to trigger
2117 (license license:gpl3+)))
2119 (define-public emacs-company
2121 (name "emacs-company")
2126 (uri (string-append "https://github.com/company-mode/company-mode/archive/"
2128 (file-name (string-append name "-" version ".tar.gz"))
2131 "1fyrpchpdmvszssy1qmsw41aqpv6q5rybvs1bw00nv9xdhiaq4vh"))))
2132 (build-system emacs-build-system)
2135 (modify-phases %standard-phases
2136 (add-before 'install 'check
2138 ;; The company-files-candidates-normal-root test looks
2139 ;; for the /bin directory, but the build environment has
2140 ;; no /bin directory. Modify the test to look for the
2142 (substitute* "test/files-tests.el"
2143 (("/bin/") "/tmp/"))
2144 (zero? (system* "make" "test-batch")))))))
2145 (home-page "http://company-mode.github.io/")
2146 (synopsis "Modular text completion framework")
2148 "Company is a modular completion mechanism. Modules for retrieving
2149 completion candidates are called back-ends, modules for displaying them are
2150 front-ends. Company comes with many back-ends, e.g. @code{company-elisp}.
2151 These are distributed in separate files and can be used individually.")
2152 (license license:gpl3+)))
2154 (define-public emacs-multiple-cursors
2156 (name "emacs-multiple-cursors")
2161 (uri (string-append "https://github.com/magnars/multiple-cursors.el/"
2162 "archive/" version ".tar.gz"))
2163 (file-name (string-append name "-" version ".tar.gz"))
2166 "0hihihlvcvzayg5fnqzcg45fhvlmq6xlq58syy00rjwbry9w389k"))))
2167 (build-system emacs-build-system)
2168 (home-page "https://github.com/magnars/multiple-cursors.el")
2169 (synopsis "Multiple cursors for Emacs")
2171 "This package adds support to Emacs for editing text with multiple
2172 simultaneous cursors.")
2173 (license license:gpl3+)))
2179 (home-page "https://github.com/jorgenschaefer/typoel")
2184 (commit (string-append "v" version))))
2187 "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2"))
2188 (file-name (string-append name "-" version))))
2189 (build-system emacs-build-system)
2190 (synopsis "Minor mode for typographic editing")
2192 "This package provides two Emacs modes, @code{typo-mode} and
2193 @code{typo-global-mode}. These modes automatically insert Unicode characters
2194 for quotation marks, dashes, and ellipses. For example, typing @kbd{\"}
2195 automatically inserts a Unicode opening or closing quotation mark, depending
2197 (license license:gpl3+)))
2199 (define-public emacs-scheme-complete
2200 (let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5"))
2202 (name "emacs-scheme-complete")
2203 (version (string-append "20151223." (string-take commit 8)))
2206 (file-name (string-append name "-" version))
2209 (url "https://github.com/ashinn/scheme-complete.git")
2213 "141wn9l0m33w0g3dqmx8nxbfdny1r5xbr6ak61rsz21bk0qafs7x"))
2215 (search-patches "emacs-scheme-complete-scheme-r5rs-info.patch"))))
2216 (build-system emacs-build-system)
2217 (home-page "https://github.com/ashinn/scheme-complete")
2218 (synopsis "Smart tab completion for Scheme in Emacs")
2220 "This file provides a single function, @code{scheme-smart-complete},
2221 which you can use for intelligent, context-sensitive completion for any Scheme
2222 implementation in Emacs. To use it just load this file and bind that function
2223 to a key in your preferred mode.")
2224 (license license:public-domain))))
2226 (define-public emacs-mit-scheme-doc
2228 (name "emacs-mit-scheme-doc")
2229 (version "20140203")
2232 (modules '((guix build utils)))
2234 ;; keep only file of interest
2236 (for-each delete-file '("dot-emacs.el" "Makefile"))
2237 (install-file "6.945-config/mit-scheme-doc.el" ".")
2238 (delete-file-recursively "6.945-config")))
2239 (file-name (string-append name "-" version ".tar.bz2"))
2241 (uri (string-append "http://groups.csail.mit.edu/mac/users/gjs/"
2242 "6.945/dont-panic/emacs-basic-config.tar.bz2"))
2245 "0dqidg2bd66pawqfarvwca93w5gqf9mikn1k2a2rmd9ymfjpziq1"))))
2246 (build-system emacs-build-system)
2247 (inputs `(("mit-scheme" ,mit-scheme)))
2250 (modify-phases %standard-phases
2251 (add-after 'unpack 'configure-doc
2252 (lambda* (#:key inputs #:allow-other-keys)
2253 (let* ((mit-scheme-dir (assoc-ref inputs "mit-scheme"))
2254 (doc-dir (string-append mit-scheme-dir "/share/doc/"
2256 ,(package-version mit-scheme))))
2257 (substitute* "mit-scheme-doc.el"
2258 (("http://www\\.gnu\\.org/software/mit-scheme/documentation/mit-scheme-ref/")
2259 (string-append "file:" doc-dir "/mit-scheme-ref/")))))))))
2260 (home-page "http://groups.csail.mit.edu/mac/users/gjs/6.945/dont-panic/")
2261 (synopsis "MIT-Scheme documentation lookup for Emacs")
2263 "This package provides a set of Emacs functions to search definitions of
2264 identifiers in the MIT-Scheme documentation.")
2265 (license license:gpl2+)))
2267 (define-public emacs-constants
2269 (name "emacs-constants")
2271 (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
2274 (file-name (string-append name "-" version ".tar.gz"))
2276 (uri (string-append "https://github.com/fedeinthemix/emacs-constants"
2277 "/archive/v" version ".tar.gz"))
2280 "0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n"))))
2281 (build-system emacs-build-system)
2282 (synopsis "Enter definition of constants into an Emacs buffer")
2284 "This package provides functions for inserting the definition of natural
2285 constants and units into an Emacs buffer.")
2286 (license license:gpl2+)))
2288 (define-public emacs-tagedit
2290 (name "emacs-tagedit")
2295 (uri (string-append "https://github.com/magnars/tagedit/"
2296 "archive/" version ".tar.gz"))
2297 (file-name (string-append name "-" version ".tar.gz"))
2300 "1apfnann4qklfdsmdi7icjsj18x7gwx8d83iqr4z25clszz95xfq"))))
2301 (build-system emacs-build-system)
2303 `(("emacs-s" ,emacs-s)
2304 ("emacs-dash" ,emacs-dash)))
2305 (home-page "https://github.com/magnars/tagedit")
2306 (synopsis "Some paredit-like features for html-mode")
2308 "This package provides a collection of paredit-like functions for editing
2309 in @code{html-mode}.")
2310 (license license:gpl3+)))
2312 (define-public emacs-slime
2314 (name "emacs-slime")
2318 (file-name (string-append name "-" version ".tar.gz"))
2321 "https://github.com/slime/slime/archive/v"
2325 "1jhaq5cn89k45nzyl0jd12gmjxnh1bq9jlfwrxba342agxsscb0p"))))
2326 (build-system emacs-build-system)
2328 `(("texinfo" ,texinfo)))
2331 (modify-phases %standard-phases
2332 (add-before 'install 'configure
2334 (emacs-substitute-variables "slime.el"
2335 ("inferior-lisp-program" "sbcl"))
2337 (add-before 'install 'install-doc
2338 (lambda* (#:key outputs #:allow-other-keys)
2339 (let* ((out (assoc-ref outputs "out"))
2340 (info-dir (string-append out "/share/info"))
2341 (doc-dir (string-append out "/share/doc/"
2342 ,name "-" ,version))
2343 (doc-files '("doc/slime-refcard.pdf"
2344 "README.md" "NEWS" "PROBLEMS"
2345 "CONTRIBUTING.md")))
2346 (with-directory-excursion "doc"
2347 (substitute* "Makefile"
2348 (("infodir=/usr/local/info")
2349 (string-append "infodir=" info-dir)))
2350 (system* "make" "html/index.html")
2351 (system* "make" "slime.info")
2352 (install-file "slime.info" info-dir)
2353 (copy-recursively "html" (string-append doc-dir "/html")))
2354 (for-each (lambda (f)
2355 (install-file f doc-dir)
2358 (delete-file-recursively "doc")
2360 (home-page "https://github.com/slime/slime")
2361 (synopsis "Superior Lisp Interaction Mode for Emacs")
2363 "SLIME extends Emacs with support for interactive programming in
2364 Common Lisp. The features are centered around @{slime-mode}, an Emacs
2365 minor mode that complements the standard @{lisp-mode}. While lisp-mode
2366 supports editing Lisp source files, @{slime-mode} adds support for
2367 interacting with a running Common Lisp process for compilation,
2368 debugging, documentation lookup, and so on.")
2369 (license license:gpl2+)))
2371 (define-public emacs-popup
2373 (name "emacs-popup")
2378 "https://github.com/auto-complete/popup-el/archive/v"
2380 (file-name (string-append name "-" version ".tar.gz"))
2383 "1yrgfj8y69xmcb6kwgplhq68ndm9410qwh7sd2knnd1gchpphdc0"))))
2384 (build-system emacs-build-system)
2385 (home-page "https://github.com/auto-complete/popup-el")
2386 (synopsis "Visual Popup User Interface for Emacs")
2388 "Popup.el is a visual popup user interface library for Emacs.
2389 This provides a basic API and common UI widgets such as popup tooltips
2391 (license license:gpl3+)))
2393 (define-public emacs-god-mode
2394 (let ((commit "6cf0807b6555eb6fcf8387a4e3b667071ef38964")
2397 (name "emacs-god-mode")
2398 (version (string-append "20151005.925."
2399 revision "-" (string-take commit 9)))
2404 (url "https://github.com/chrisdone/god-mode.git")
2406 (file-name (string-append name "-" version "-checkout"))
2409 "1am415k4xxcva6y3vbvyvknzc6bma49pq3p85zmpjsdmsp18qdix"))))
2410 (build-system emacs-build-system)
2411 (home-page "https://github.com/chrisdone/god-mode")
2412 (synopsis "Minor mode for entering commands without modifier keys")
2414 "This package provides a global minor mode for entering Emacs commands
2415 without modifier keys. It's similar to Vim's separation of commands and
2416 insertion mode. When enabled all keys are implicitly prefixed with
2417 @samp{C-} (among other helpful shortcuts).")
2418 (license license:gpl3+))))
2420 (define-public emacs-rfcview
2422 (name "emacs-rfcview")
2424 (home-page "http://www.loveshack.ukfsn.org/emacs")
2427 (uri "http://www.loveshack.ukfsn.org/emacs/rfcview.el")
2430 "0ympj5rxig383zl2jf0pzdsa80nnq0dpvjiriq0ivfi98fj7kxbz"))))
2431 (build-system emacs-build-system)
2432 (synopsis "Prettify Request for Comments (RFC) documents")
2433 (description "The Internet Engineering Task Force (IETF) and the Internet
2434 Society (ISOC) publish various Internet-related protocols and specifications
2435 as \"Request for Comments\" (RFC) documents and Internet Standard (STD)
2436 documents. RFCs and STDs are published in a simple text form. This package
2437 provides an Emacs major mode, rfcview-mode, which makes it more pleasant to
2438 read these documents in Emacs. It prettifies the text and adds
2439 hyperlinks/menus for easier navigation. It also provides functions for
2440 browsing the index of RFC documents and fetching them from remote servers or
2441 local directories.")
2442 (license license:gpl3+)))
2444 (define-public emacs-ffap-rfc-space
2446 (name "emacs-ffap-rfc-space")
2448 (home-page "http://user42.tuxfamily.org/ffap-rfc-space/index.html")
2451 (uri "http://download.tuxfamily.org/user42/ffap-rfc-space.el")
2454 "1iv61dv57a73mdps7rn6zmgz7nqh14v0ninidyrasy45b1nv6gck"))))
2455 (build-system emacs-build-system)
2456 (synopsis "Make ffap recognize an RFC with a space before its number")
2457 (description "The Internet Engineering Task Force (IETF) and the
2458 Internet Society (ISOC) publish various Internet-related protocols and
2459 specifications as \"Request for Comments\" (RFC) documents. The
2460 built-in Emacs module \"ffap\" (Find File at Point) has the ability to
2461 recognize names at point which look like \"RFC1234\" and \"RFC-1234\"
2462 and load the appropriate RFC from a remote server. However, it fails
2463 to recognize a name like \"RFC 1234\". This package enhances ffap so
2464 that it correctly finds RFCs even when a space appears before the
2466 (license license:gpl3+)))
2468 (define-public emacs-org-bullets
2470 (name "emacs-org-bullets")
2475 (uri (string-append "https://github.com/sabof/org-bullets/archive/"
2477 (file-name (string-append name "-" version ".tar.gz"))
2480 "1dyxvpb73vj80v8br2q9rf255hfphrgaw91fbvwdcd735np9pcnh"))))
2481 (build-system emacs-build-system)
2482 (home-page "https://github.com/sabof/org-bullets")
2483 (synopsis "Show bullets in org-mode as UTF-8 characters")
2485 "This package provides an Emacs minor mode causing bullets in
2486 @code{org-mode} to be rendered as UTF-8 characters.")
2487 (license license:gpl3+)))
2489 (define-public emacs-org-trello
2491 (name "emacs-org-trello")
2496 "https://github.com/org-trello/org-trello/archive/"
2498 (file-name (string-append name "-" version ".tar.gz"))
2501 "074dka8g673bj1ck5vavbjaij5jyniygdlw51mdds005wd2br9wf"))))
2502 (build-system emacs-build-system)
2504 `(("emacs-deferred" ,emacs-deferred)
2505 ("emacs-request" ,emacs-request)
2506 ("emacs-dash" ,emacs-dash)
2507 ("emacs-s" ,emacs-s)))
2508 (home-page "https://org-trello.github.io")
2509 (synopsis "Emacs minor mode for interacting with Trello")
2510 (description "This package provides an Emacs minor mode to extend
2511 @code{org-mode} with Trello abilities. Trello is an online project
2513 (license license:gpl3+)))
2515 (define-public emacs-zenburn-theme
2517 (name "emacs-zenburn-theme")
2522 "https://github.com/bbatsov/zenburn-emacs/archive/v"
2524 (file-name (string-append name "-" version ".tar.gz"))
2527 "03kfhzgbbbl8ivpzzky6qxw4j9mmp452m1sk7wikxmcalfnix0gn"))))
2528 (build-system emacs-build-system)
2529 (home-page "https://github.com/bbatsov/zenburn-emacs")
2530 (synopsis "Low contrast color theme for Emacs")
2532 "Zenburn theme is a port of the popular Vim Zenburn theme for Emacs.
2533 It is built on top of the custom theme support in Emacs 24 or later.")
2534 (license license:gpl3+)))
2536 (define-public emacs-solarized-theme
2538 (name "emacs-solarized-theme")
2542 (uri (string-append "https://github.com/bbatsov/solarized-emacs/"
2543 "archive/v" version ".tar.gz"))
2544 (file-name (string-append name "-" version ".tar.gz"))
2547 "1ha3slc6d9wi9ilkhmwrzkvf308n6ph7b0k69pk369s9304awxzx"))))
2548 (build-system emacs-build-system)
2550 `(("emacs-dash" ,emacs-dash)))
2551 (home-page "https://github.com/bbatsov/solarized-emacs")
2552 (synopsis "Port of the Solarized theme for Emacs")
2554 "Solarized for Emacs is a port of the Solarized theme for Vim. This
2555 package provides a light and a dark variant.")
2556 (license license:gpl3+)))
2558 (define-public emacs-ahungry-theme
2560 (name "emacs-ahungry-theme")
2563 (origin (method url-fetch)
2564 (uri (string-append "https://elpa.gnu.org/packages/ahungry-theme-"
2568 "1p2zaq0s4bbl5cx6wyab24wamw7m0mysb0v47dqjmnvfc25z84rq"))))
2569 (build-system emacs-build-system)
2570 (home-page "https://github.com/ahungry/color-theme-ahungry")
2571 (synopsis "Ahungry color theme for Emacs")
2572 (description "Ahungry theme for Emacs provides bright and bold colors.
2573 If you load it from a terminal, you will be able to make use of the
2574 transparent background. If you load it from a GUI, it will default to a
2576 (license license:gpl3+)))
2578 (define-public emacs-smartparens
2580 (name "emacs-smartparens")
2585 "https://github.com/Fuco1/smartparens/archive/"
2587 (file-name (string-append name "-" version ".tar.gz"))
2590 "1nwsi6fbbxjq3r22r6knmx71la3g0lmwfb95i9q4k138gn0m2l3i"))))
2591 (build-system emacs-build-system)
2592 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
2593 (home-page "https://github.com/Fuco1/smartparens")
2594 (synopsis "Paredit-like insertion, wrapping and navigation with user
2597 "Smartparens is a minor mode for Emacs that deals with parens pairs
2598 and tries to be smart about it. It started as a unification effort to
2599 combine functionality of several existing packages in a single,
2600 compatible and extensible way to deal with parentheses, delimiters, tags
2601 and the like. Some of these packages include autopair, textmate,
2602 wrap-region, electric-pair-mode, paredit and others. With the basic
2603 features found in other packages it also brings many improvements as
2604 well as completely new features.")
2605 (license license:gpl3+)))
2607 (define-public emacs-hl-todo
2609 (name "emacs-hl-todo")
2614 "https://raw.githubusercontent.com/tarsius/hl-todo/"
2615 version "/hl-todo.el"))
2616 (file-name (string-append "hl-todo-" version ".el"))
2619 "016ivl4s0ysrm1xbfi86j5xcs759fcb0mkspxw81x8mpi3yb46ya"))))
2620 (build-system emacs-build-system)
2621 (home-page "https://github.com/tarsius/hl-todo")
2622 (synopsis "Emacs mode to highlight TODO and similar keywords")
2624 "This package provides an Emacs mode to highlight TODO and similar
2625 keywords in comments and strings. This package also provides commands for
2626 moving to the next or previous keyword and to invoke @code{occur} with a
2627 regexp that matches all known keywords.")
2628 (license license:gpl3+)))
2630 (define-public emacs-perspective
2632 (name "emacs-perspective")
2637 (uri (string-append "https://github.com/nex3/perspective-el/"
2638 "archive/" version ".tar.gz"))
2639 (file-name (string-append name "-" version ".tar.gz"))
2642 "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic"))))
2643 (build-system emacs-build-system)
2644 (home-page "https://github.com/nex3/perspective-el")
2645 (synopsis "Switch between named \"perspectives\"")
2647 "This package provides tagged workspaces in Emacs, similar to workspaces in
2648 windows managers such as Awesome and XMonad. @code{perspective.el} provides
2649 multiple workspaces (or \"perspectives\") for each Emacs frame. Each
2650 perspective is composed of a window configuration and a set of buffers.
2651 Switching to a perspective activates its window configuration, and when in a
2652 perspective only its buffers are available by default.")
2653 ;; This package is released under the same license as Emacs (GPLv3+) or
2654 ;; the Expat license.
2655 (license license:gpl3+)))
2657 (define-public emacs-request
2659 (name "emacs-request")
2664 "https://github.com/tkf/emacs-request/archive/v"
2666 (file-name (string-append name "-" version ".tar.gz"))
2668 (base32 "0sll9g9x15jxrdr58pdxx4iz74rnjd43q521iqm890i6hmkrgwap"))))
2669 (build-system emacs-build-system)
2670 (home-page "https://github.com/tkf/emacs-request")
2671 (synopsis "Package for speaking HTTP in Emacs Lisp")
2672 (description "This package provides a HTTP request library with multiple
2673 backends. It supports url.el which is shipped with Emacs and the curl command
2675 (license license:gpl3+)))
2677 (define-public emacs-rudel
2679 (name "emacs-rudel")
2684 (uri (string-append "http://elpa.gnu.org/packages/rudel-"
2688 "0glqa68g509p0s2vcc0i8kzlddnc9brd9jqhnm5rzxz4i050cvnz"))))
2689 (build-system emacs-build-system)
2690 (home-page "http://rudel.sourceforge.net/")
2691 (synopsis "Collaborative editing framework")
2693 "Rudel is a collaborative editing environment for GNU Emacs. Its purpose
2694 is to share buffers with other users in order to edit the contents of those
2695 buffers collaboratively. Rudel supports multiple backends to enable
2696 communication with other collaborative editors using different protocols,
2697 though currently Obby (for use with the Gobby editor) is the only
2698 fully-functional one.")
2699 (license license:gpl3+)))
2701 (define-public emacs-hydra
2703 (name "emacs-hydra")
2708 (uri (string-append "https://github.com/abo-abo/hydra/archive/"
2710 (file-name (string-append name "-" version ".tar.gz"))
2713 "0575vh858gm35p57s49dy6pc2ij46dmj9zaa4z0cp98sqra3j3l0"))))
2714 (build-system emacs-build-system)
2715 (home-page "https://github.com/abo-abo/hydra")
2716 (synopsis "Make Emacs bindings that stick around")
2718 "This package can be used to tie related commands into a family of short
2719 bindings with a common prefix---a Hydra. Once you summon the Hydra (through
2720 the prefixed binding), all the heads can be called in succession with only a
2721 short extension. Any binding that isn't the Hydra's head vanquishes the
2722 Hydra. Note that the final binding, besides vanquishing the Hydra, will still
2723 serve its original purpose, calling the command assigned to it. This makes
2724 the Hydra very seamless; it's like a minor mode that disables itself
2726 (license license:gpl3+)))
2728 (define-public emacs-ivy
2735 (uri (string-append "https://github.com/abo-abo/swiper/archive/"
2737 (file-name (string-append name "-" version ".tar.gz"))
2740 "1abi1rvjarwfxxylpx8qlhck0kbavnj0nmlaaizk9q5zr02xfx1j"))))
2741 (build-system emacs-build-system)
2743 `(("emacs-hydra" ,emacs-hydra)))
2744 (home-page "http://oremacs.com/swiper/")
2745 (synopsis "Incremental vertical completion for Emacs")
2747 "This package provides @code{ivy-read} as an alternative to
2748 @code{completing-read} and similar functions. No attempt is made to determine
2749 the best candidate. Instead, the user can navigate candidates with
2750 @code{ivy-next-line} and @code{ivy-previous-line}. The matching is done by
2751 splitting the input text by spaces and re-building it into a regular
2753 (license license:gpl3+)))
2755 (define-public emacs-avy
2762 (uri (string-append "https://github.com/abo-abo/avy/archive/"
2764 (file-name (string-append name "-" version ".tar.gz"))
2767 "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
2768 (build-system emacs-build-system)
2769 (home-page "https://github.com/abo-abo/avy")
2770 (synopsis "Tree-based completion for Emacs")
2772 "This package provides a generic completion method based on building a
2773 balanced decision tree with each candidate being a leaf. To traverse the tree
2774 from the root to a desired leaf, typically a sequence of @code{read-key} can
2777 In order for @code{read-key} to make sense, the tree needs to be visualized
2778 appropriately, with a character at each branch node. So this completion
2779 method works only for things that you can see on your screen, all at once,
2780 such as the positions of characters, words, line beginnings, links, or
2782 (license license:gpl3+)))
2784 (define-public emacs-ace-window
2786 (name "emacs-ace-window")
2791 (uri (string-append "https://github.com/abo-abo/ace-window/archive/"
2793 (file-name (string-append name "-" version ".tar.gz"))
2796 "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn"))))
2797 (build-system emacs-build-system)
2799 `(("emacs-avy" ,emacs-avy)))
2800 (home-page "https://github.com/abo-abo/ace-window")
2801 (synopsis "Quickly switch windows in Emacs")
2803 "@code{ace-window} is meant to replace @code{other-window}.
2804 In fact, when there are only two windows present, @code{other-window} is
2805 called. If there are more, each window will have its first character
2806 highlighted. Pressing that character will switch to that window.")
2807 (license license:gpl3+)))
2809 (define-public emacs-iedit
2811 (name "emacs-iedit")
2816 (uri (string-append "https://github.com/victorhge/iedit/archive/v"
2818 (file-name (string-append name "-" version ".tar.gz"))
2821 "00v86zllcsivmiibigbr91qij2zdf1lr9db8z8again1sn63wkdj"))))
2822 (build-system emacs-build-system)
2823 (home-page "http://www.emacswiki.org/emacs/Iedit")
2824 (synopsis "Edit multiple regions in the same way simultaneously")
2826 "This package is an Emacs minor mode and allows you to edit one
2827 occurrence of some text in a buffer (possibly narrowed) or region, and
2828 simultaneously have other occurrences edited in the same way.
2830 You can also use Iedit mode as a quick way to temporarily show only the buffer
2831 lines that match the current text being edited. This gives you the effect of
2832 a temporary @code{keep-lines} or @code{occur}.")
2833 (license license:gpl3+)))
2835 (define-public emacs-lispy
2837 (name "emacs-lispy")
2842 (uri (string-append "https://github.com/abo-abo/lispy/archive/"
2844 (file-name (string-append name "-" version ".tar.gz"))
2847 "15gig95cvamw5zlw99cxggd27c18b9scznjj97gvjn2zbljcaqzl"))))
2848 (build-system emacs-build-system)
2850 `(("emacs-ace-window" ,emacs-ace-window)
2851 ("emacs-iedit" ,emacs-iedit)
2852 ("emacs-ivy" ,emacs-ivy)
2853 ("emacs-hydra" ,emacs-hydra)))
2854 (home-page "https://github.com/abo-abo/lispy")
2855 (synopsis "Modal S-expression editing")
2857 "Due to the structure of Lisp syntax it's very rare for the programmer to
2858 want to insert characters right before \"(\" or right after \")\". Thus
2859 unprefixed printable characters can be used to call commands when the point is
2860 at one of these special locations. Lispy provides unprefixed keybindings for
2861 S-expression editing when point is at the beginning or end of an
2863 (license license:gpl3+)))
2865 (define-public emacs-clojure-mode
2867 (name "emacs-clojure-mode")
2872 "https://github.com/clojure-emacs/clojure-mode/archive/"
2874 (file-name (string-append name "-" version ".tar.gz"))
2877 "117mvjqh4nm8mvmwmmvy4qmkdg23ldlzk08y91g8b8ac8kxwqg81"))))
2878 (build-system emacs-build-system)
2880 `(("emacs-dash" ,emacs-dash)
2881 ("emacs-s" ,emacs-s)
2882 ("ert-runner" ,ert-runner)))
2885 (modify-phases %standard-phases
2886 (add-after 'install 'check
2888 (zero? (system* "ert-runner")))))))
2889 (home-page "https://github.com/clojure-emacs/clojure-mode")
2890 (synopsis "Major mode for Clojure code")
2892 "This Emacs package provides font-lock, indentation, navigation and basic
2893 refactoring for the @uref{http://clojure.org, Clojure programming language}.
2894 It is recommended to use @code{clojure-mode} with paredit or smartparens.")
2895 (license license:gpl3+)))
2897 (define-public emacs-epl
2904 "https://github.com/cask/epl/archive/"
2908 "1511n3a3f5gvaf2b4nh018by61ciyzi3y3603fzqma7p9hrckarc"))))
2909 (build-system emacs-build-system)
2910 (home-page "https://github.com/cask/epl")
2911 (synopsis "Emacs Package Library")
2913 "A package management library for Emacs, based on @code{package.el}.
2915 The purpose of this library is to wrap all the quirks and hassle of
2916 @code{package.el} into a sane API.")
2917 (license license:gpl3+)))
2919 (define-public emacs-queue
2921 (name "emacs-queue")
2925 (uri (string-append "https://elpa.gnu.org/packages/queue-"
2929 "0jw24fxqnf9qcaf2nh09cnds1kqfk7hal35dw83x1ari95say391"))))
2930 (build-system emacs-build-system)
2931 (home-page "http://www.dr-qubit.org/tags/computing-code-emacs.html")
2932 (synopsis "Queue data structure for Emacs")
2934 "This Emacs library provides queue data structure. These queues can be
2935 used both as a first-in last-out (FILO) and as a first-in first-out (FIFO)
2936 stack, i.e. elements can be added to the front or back of the queue, and can
2937 be removed from the front. This type of data structure is sometimes called an
2938 \"output-restricted deque\".")
2939 (license license:gpl3+)))
2941 (define-public emacs-pkg-info
2943 (name "emacs-pkg-info")
2948 "https://github.com/lunaryorn/pkg-info.el/archive/"
2950 (file-name (string-append name "-" version ".tar.gz"))
2953 "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5"))))
2954 (build-system emacs-build-system)
2955 (propagated-inputs `(("emacs-epl" ,emacs-epl)))
2956 (home-page "https://github.com/lunaryorn/pkg-info.el")
2957 (synopsis "Information about Emacs packages")
2959 "This library extracts information from the installed Emacs packages.")
2960 (license license:gpl3+)))
2962 (define-public emacs-spinner
2964 (name "emacs-spinner")
2968 (uri (string-append "https://elpa.gnu.org/packages/spinner-"
2972 "19kp1mmndbmw11sgvv2ggfjl4pyf5zrsbh3871f0965pw9z8vahd"))))
2973 (build-system emacs-build-system)
2974 (home-page "https://github.com/Malabarba/spinner.el")
2975 (synopsis "Emacs mode-line spinner for operations in progress")
2977 "This Emacs package adds spinners and progress-bars to the mode-line for
2978 ongoing operations.")
2979 (license license:gpl3+)))
2981 (define-public emacs-seq
2987 (uri (string-append "https://elpa.gnu.org/packages/seq-"
2991 "11hb7is6a4h1lscjcfrzh576j0g3m5yjydn16s6x5bxp5gsr6zha"))))
2992 (build-system emacs-build-system)
2993 (home-page "https://elpa.gnu.org/packages/seq.html")
2994 (synopsis "Sequence manipulation functions for Emacs")
2996 "This Emacs library provides sequence-manipulation functions that
2997 complement basic functions provided by @code{subr.el}. All provided functions
2998 work on lists, strings and vectors.")
2999 (license license:gpl3+)))
3001 (define-public emacs-better-defaults
3003 (name "emacs-better-defaults")
3008 (uri (string-append "https://github.com/technomancy/better-defaults"
3009 "/archive/" version ".tar.gz"))
3010 (file-name (string-append name "-" version ".tar.gz"))
3013 "08fg4zslzlxbvyil5g4gwvwd22fh4zsgqprs5wh9hv1rgc6757m2"))))
3014 (build-system emacs-build-system)
3015 (home-page "https://github.com/technomancy/better-defaults")
3016 (synopsis "Better defaults for Emacs")
3018 "Better defaults attempts to address the most obvious deficiencies of the
3019 Emacs default configuration in uncontroversial ways that nearly everyone can
3021 (license license:gpl3+)))
3023 (define-public emacs-eprime
3024 (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
3026 (name "emacs-eprime")
3027 (version (string-append "20140513-" (string-take commit 7)))
3030 (uri (string-append "https://raw.githubusercontent.com"
3031 "/AndrewHynes/eprime-mode/"
3032 commit "/eprime-mode.el"))
3033 (file-name (string-append "eprime-" version ".el"))
3036 "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d"))))
3037 (build-system emacs-build-system)
3038 (home-page "https://github.com/AndrewHynes/eprime-mode")
3039 (synopsis "E-prime checking mode for Emacs")
3040 (description "This package provides an E-prime checking mode for Emacs
3041 that highlights non-conforming text. The subset of the English language called
3042 E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
3043 (license license:gpl3+))))
3045 (define-public emacs-ess
3051 (uri (string-append "http://ess.r-project.org/downloads/ess/ess-"
3055 "0w7mbbajn377gdmvnd21mpyr368b2ia46gq6cb99y4y5rspf9pcg"))))
3056 (build-system gnu-build-system)
3058 `(#:tests? #f ; There is no test suite.
3059 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
3061 (modify-phases %standard-phases
3063 (add-before 'build 'more-shebang-patching
3064 (lambda* (#:key inputs #:allow-other-keys)
3065 (substitute* "Makeconf"
3066 (("SHELL = /bin/sh")
3067 (string-append "SHELL = " (which "sh")))))))))
3069 `(("emacs" ,emacs-minimal)
3070 ("r-minimal" ,r-minimal)))
3073 ("texinfo" ,texinfo)
3074 ("texlive" ,texlive)))
3075 (home-page "http://ess.r-project.org/")
3076 (synopsis "Emacs mode for statistical analysis programs")
3077 (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
3078 Emacs. It is designed to support editing of scripts and interaction with
3079 various statistical analysis programs such as R and OpenBUGS.")
3080 (license license:gpl2+)))
3082 (define-public emacs-smex
3088 (uri (string-append "https://raw.githubusercontent.com"
3089 "/nonsequitur/smex/" version "/smex.el"))
3090 (file-name (string-append "smex-" version ".el"))
3093 "0ar310zx9k5y4i1vl2rawvi712xj9gx77160860jbs691p77cxqp"))))
3094 (build-system emacs-build-system)
3095 (home-page "https://github.com/nonsequitur/smex/")
3096 (synopsis "M-x interface with Ido-style fuzzy matching")
3098 "Smex is a M-x enhancement for Emacs. Built on top of Ido, it provides a
3099 convenient interface to your recently and most frequently used commands. And
3100 to all the other commands, too.")
3101 (license license:gpl3+)))
3103 (define-public emacs-js2-mode
3105 (name "emacs-js2-mode")
3106 (version "20150909")
3109 (uri (string-append "https://github.com/mooz/js2-mode/archive/"
3111 (file-name (string-append name "-" version ".tar.gz"))
3114 "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0"))))
3115 (build-system emacs-build-system)
3116 (home-page "https://github.com/mooz/js2-mode/")
3117 (synopsis "Improved JavaScript editing mode for Emacs")
3119 "Js2-mode provides a JavaScript major mode for Emacs that is more
3120 advanced than the built-in javascript-mode. Features include accurate syntax
3121 highlighting using a recursive-descent parser, on-the-fly reporting of syntax
3122 errors and strict-mode warnings, smart line-wrapping within comments and
3123 strings, and code folding.")
3124 (license license:gpl3+)))
3126 (define-public emacs-markdown-mode
3128 (name "emacs-markdown-mode")
3132 (uri (string-append "https://raw.githubusercontent.com/jrblevin"
3133 "/markdown-mode/v" version
3134 "/markdown-mode.el"))
3135 (file-name (string-append "markdown-mode-" version ".el"))
3138 "1faibar32jnjia9202swblw91q6z1g5s4k9xmypwjahfh8yznl6w"))))
3139 (build-system emacs-build-system)
3140 (home-page "http://jblevins.org/projects/markdown-mode/")
3141 (synopsis "Emacs Major mode for Markdown files")
3143 "Markdown-mode is a major mode for editing Markdown-formatted text files
3145 (license license:gpl3+)))
3147 (define-public emacs-projectile
3149 (name "emacs-projectile")
3153 (uri (string-append "https://raw.githubusercontent.com/bbatsov"
3154 "/projectile/v" version "/projectile.el"))
3155 (file-name (string-append "projectile-" version ".el"))
3158 "1ql1wnzhblbwnv66hf2y0wq45g71hh6s9inc090lmhm1vgylbd1f"))))
3159 (build-system emacs-build-system)
3161 `(("emacs-dash" ,emacs-dash)
3162 ("emacs-pkg-info" ,emacs-pkg-info)))
3163 (home-page "https://github.com/bbatsov/projectile")
3164 (synopsis "Manage and navigate projects in Emacs easily")
3166 "This library provides easy project management and navigation. The
3167 concept of a project is pretty basic - just a folder containing special file.
3168 Currently git, mercurial and bazaar repos are considered projects by default.
3169 If you want to mark a folder manually as a project just create an empty
3170 .projectile file in it.")
3171 (license license:gpl3+)))
3173 (define-public emacs-elfeed
3175 (name "emacs-elfeed")
3179 (uri (string-append "https://github.com/skeeto/elfeed/archive/"
3181 (file-name (string-append name "-" version ".tar.gz"))
3184 "145glas04zd0s2rmnif46vhyijs4z03v871gfp1dcrwxvvvns8ap"))))
3185 (build-system emacs-build-system)
3188 (modify-phases %standard-phases
3189 (add-before 'install 'check
3191 (zero? (system* "make" "test")))))))
3192 (home-page "https://github.com/skeeto/elfeed")
3193 (synopsis "Atom/RSS feed reader for Emacs")
3195 "Elfeed is an extensible web feed reader for Emacs, supporting both Atom
3196 and RSS, with a user interface inspired by notmuch.")
3197 (license license:gpl3+)))
3199 (define-public emacs-rainbow-delimiters
3201 (name "emacs-rainbow-delimiters")
3205 (uri (string-append "https://raw.githubusercontent.com/Fanael"
3206 "/rainbow-delimiters/" version
3207 "/rainbow-delimiters.el"))
3208 (file-name (string-append "rainbow-delimiters-" version ".el"))
3211 "1b3kampwsjabhcqdp0khgff13wc5jqhy3rbvaa12vnv7qy22l9ck"))))
3212 (build-system emacs-build-system)
3213 (home-page "https://github.com/Fanael/rainbow-delimiters")
3214 (synopsis "Highlight brackets according to their depth")
3216 "Rainbow-delimiters is a \"rainbow parentheses\"-like mode for Emacs which
3217 highlights parentheses, brackets, and braces according to their depth. Each
3218 successive level is highlighted in a different color, making it easy to spot
3219 matching delimiters, orient yourself in the code, and tell which statements
3220 are at a given level.")
3221 (license license:gpl3+)))
3223 (define-public emacs-rainbow-identifiers
3225 (name "emacs-rainbow-identifiers")
3229 (uri (string-append "https://raw.githubusercontent.com/Fanael"
3230 "/rainbow-identifiers/" version
3231 "/rainbow-identifiers.el"))
3232 (file-name (string-append "rainbow-identifiers-" version ".el"))
3235 "0325abxj47k0g1i8nqrq70w2wr6060ckhhf92krv1s072b3jzm31"))))
3236 (build-system emacs-build-system)
3237 (home-page "https://github.com/Fanael/rainbow-identifiers")
3238 (synopsis "Highlight identifiers in source code")
3240 "Rainbow identifiers mode is an Emacs minor mode providing highlighting of
3241 identifiers based on their names. Each identifier gets a color based on a hash
3243 (license license:bsd-2)))
3245 (define-public emacs-visual-fill-column
3247 (name "emacs-visual-fill-column")
3251 (uri (string-append "https://codeload.github.com/joostkremers/"
3252 "visual-fill-column/tar.gz/" version))
3253 (file-name (string-append name "-" version ".tar.gz"))
3256 "12vn7kdq2mpz9hgibbn1vhpf23lcm7c26k3fkz8nidhygwl5x5lq"))))
3257 (build-system emacs-build-system)
3258 (home-page "https://github.com/joostkremers/visual-fill-column")
3259 (synopsis "Fill-column for visual-line-mode")
3261 "@code{visual-fill-column-mode} is a small Emacs minor mode that mimics
3262 the effect of @code{fill-column} in @code{visual-line-mode}. Instead of
3263 wrapping lines at the window edge, which is the standard behaviour of
3264 @code{visual-line-mode}, it wraps lines at @code{fill-column}. If
3265 @code{fill-column} is too large for the window, the text is wrapped at the
3267 (license license:gpl3+)))
3269 (define-public emacs-ido-completing-read+
3271 (name "emacs-ido-completing-read+")
3275 (uri (string-append "https://raw.githubusercontent.com"
3276 "/DarwinAwardWinner/ido-ubiquitous/v"
3277 version "/ido-completing-read+.el"))
3278 (file-name (string-append "ido-completing-read+-" version ".el"))
3281 "1cyalb0p7nfsm4n6n9q6rjmvn6adqc0fq8ybnlj3n41n289dkfjf"))))
3282 (build-system emacs-build-system)
3283 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
3284 (synopsis "Replacement for completing-read using ido")
3286 "The ido-completing-read+ function is a wrapper for ido-completing-read.
3287 Importantly, it detects edge cases that ordinary ido cannot handle and either
3288 adjusts them so ido can handle them, or else simply falls back to the standard
3289 Emacs completion function instead.")
3290 (license license:gpl3+)))
3292 (define-public emacs-ido-ubiquitous
3294 (name "emacs-ido-ubiquitous")
3298 (uri (string-append "https://raw.githubusercontent.com"
3299 "/DarwinAwardWinner/ido-ubiquitous/v"
3300 version "/ido-ubiquitous.el"))
3301 (file-name (string-append "ido-ubiquitous-" version ".el"))
3304 "197ypji0fb6jsdcq40rpnknwlh3imas6s6jbsvkfm0pz9988c3q2"))))
3305 (build-system emacs-build-system)
3307 `(("emacs-ido-completing-read+" ,emacs-ido-completing-read+)))
3308 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
3309 (synopsis "Use ido (nearly) everywhere")
3311 "Ido-ubiquitous enables ido-style completion for almost every function
3312 that uses the standard completion function completing-read.")
3313 (license license:gpl3+)))
3315 (define-public emacs-yaml-mode
3317 (name "emacs-yaml-mode")
3321 (uri (string-append "https://raw.githubusercontent.com/yoshiki"
3322 "/yaml-mode/v" version "/yaml-mode.el"))
3323 (file-name (string-append "yaml-mode-" version ".el"))
3326 "17wq433ycli0qx4gdhgrmb392qblm6y2dwcyn38j5ja1lasfb0ax"))))
3327 (build-system emacs-build-system)
3328 (home-page "https://github.com/yoshiki/yaml-mode")
3329 (synopsis "Major mode for editing YAML files")
3331 "Yaml-mode is an Emacs major mode for editing files in the YAML data
3332 serialization format. It was initially developed by Yoshiki Kurihara and many
3333 features were added by Marshall Vandegrift. As YAML and Python share the fact
3334 that indentation determines structure, this mode provides indentation and
3335 indentation command behavior very similar to that of python-mode.")
3336 (license license:gpl3+)))
3338 (define-public emacs-web-mode
3340 (name "emacs-web-mode")
3344 (uri (string-append "https://raw.githubusercontent.com/fxbois"
3345 "/web-mode/v" version "/web-mode.el"))
3346 (file-name (string-append "web-mode-" version ".el"))
3349 "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5"))))
3350 (build-system emacs-build-system)
3351 (synopsis "Major mode for editing web templates")
3352 (description "Web-mode is an Emacs major mode for editing web templates
3353 aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by
3354 client/server side engines). Web-mode is compatible with many template
3355 engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker,
3356 Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template,
3357 Dust.js, React/JSX, Angularjs, ejs, etc.")
3358 (home-page "http://web-mode.org/")
3359 (license license:gpl3+)))
3361 (define-public emacs-helm
3368 "https://github.com/" name "/helm/archive/v"
3370 (file-name (string-append name "-" version ".tar.gz"))
3373 "1scdirpclgq3pi1j2c90gqaaqg1pgvasp98f4jqw8c5xbqcr7jdw"))))
3374 (build-system emacs-build-system)
3376 `(("emacs-async" ,emacs-async)
3377 ("emacs-popup" ,emacs-popup)))
3378 (home-page "https://emacs-helm.github.io/helm/")
3379 (synopsis "Incremental completion and selection narrowing
3380 framework for Emacs")
3381 (description "Helm is incremental completion and selection narrowing
3382 framework for Emacs. It will help steer you in the right direction when
3383 you're looking for stuff in Emacs (like buffers, files, etc). Helm is a fork
3384 of @code{anything.el} originally written by Tamas Patrovic and can be
3385 considered to be its successor. Helm sets out to clean up the legacy code in
3386 @code{anything.el} and provide a cleaner, leaner and more modular tool, that's
3387 not tied in the trap of backward compatibility.")
3388 (license license:gpl3+)))
3390 (define-public emacs-helm-swoop
3392 (name "emacs-helm-swoop")
3397 "https://github.com/ShingoFukuyama/helm-swoop/archive/"
3400 (file-name (string-append name "-" version ".tar.gz"))
3403 "1z34pfi0gsk054pxr906ilaalaw0xz3s536163gf9ykkwmc2356d"))))
3404 (build-system emacs-build-system)
3406 `(("emacs-helm" ,emacs-helm)))
3407 (home-page "https://github.com/ShingoFukuyama/helm-swoop")
3408 (synopsis "Filter and jump to lines in an Emacs buffer using Helm")
3410 "This package builds on the Helm interface to provide several commands
3411 for search-based navigation of buffers.")
3412 (license license:gpl2+)))
3414 (define-public emacs-cider
3416 (name "emacs-cider")
3421 "https://github.com/clojure-emacs/cider/archive/v"
3423 (file-name (string-append name "-" version ".tar.gz"))
3426 "00qzbfjy3w6bcnki7gw0clmi0cc5yqjdrcyhgv4ymijjs79h9p5s"))))
3427 (build-system emacs-build-system)
3429 `(("emacs-clojure-mode" ,emacs-clojure-mode)
3430 ("emacs-spinner" ,emacs-spinner)
3431 ("emacs-pkg-info" ,emacs-pkg-info)
3432 ("emacs-queue" ,emacs-queue)
3433 ("emacs-seq" ,emacs-seq)))
3434 (home-page "https://cider.readthedocs.org/")
3435 (synopsis "Clojure development environment for Emacs")
3437 "CIDER (Clojure Interactive Development Environment that Rocks) aims to
3438 provide an interactive development experience similar to the one you'd get
3439 when programming in Emacs Lisp, Common Lisp (with SLIME or Sly), Scheme (with
3440 Geiser) and Smalltalk.
3442 CIDER is the successor to the now deprecated combination of using SLIME +
3443 swank-clojure for Clojure development.
3445 There are plenty of differences between CIDER and SLIME, but the core ideas
3446 are pretty much the same (and SLIME served as the principle inspiration for
3448 (license license:gpl3+)))
3450 (define-public emacs-lua-mode
3452 (name "emacs-lua-mode")
3453 (version "20151025")
3457 "https://github.com/immerrr/lua-mode/archive/v"
3459 (file-name (string-append name "-" version ".tar.gz"))
3462 "0sbhfny5ib65cnx6xcy6h9bbw27mw034s8m9cca00bhxqaqi6p4v"))))
3463 (build-system emacs-build-system)
3464 (home-page "https://github.com/immerrr/lua-mode/")
3465 (synopsis "Major mode for lua")
3467 "This Emacs package provides a mode for @uref{https://www.lua.org/,
3468 Lua programing language}.")
3469 (license license:gpl2+)))
3471 (define-public emacs-ebuild-mode
3473 (name "emacs-ebuild-mode")
3478 "https://dev.gentoo.org/~ulm/emacs/ebuild-mode"
3479 "-" version ".tar.xz"))
3480 (file-name (string-append name "-" version ".tar.xz"))
3483 "0vp7lq1kvmh1b2bms2x1kf2k76dy9m02d7cirkxpiglwaxa0h9vz"))))
3484 (build-system emacs-build-system)
3485 (home-page "https://devmanual.gentoo.org")
3486 (synopsis "Major modes for Gentoo package files")
3488 "This Emacs package provides modes for ebuild, eclass, eblit, GLEP42
3489 news items, openrc and runscripts.")
3490 (license license:gpl2+)))
3492 (define-public emacs-evil
3499 (uri (string-append "https://bitbucket.org/lyro/evil/get/"
3500 version ".tar.bz2"))
3501 (file-name (string-append name "-" version ".tar.bz2"))
3504 "17cda9fnbq3gmjcxs3lyq64gxswrf37y864bm53rldwsk3khq2yi"))))
3505 (build-system emacs-build-system)
3507 `(("emacs-undo-tree" ,emacs-undo-tree)
3508 ("emacs-goto-chg" ,emacs-goto-chg)))
3509 (home-page "https://bitbucket.com/lyro/evil")
3510 (synopsis "Extensible Vi layer for Emacs")
3512 "Evil is an extensible vi layer for Emacs. It emulates the
3513 main features of Vim, and provides facilities for writing custom
3515 (license license:gpl3+)))
3517 (define-public emacs-goto-chg
3519 (name "emacs-goto-chg")
3524 ;; There is no versioned source.
3525 (uri "https://www.emacswiki.org/emacs/download/goto-chg.el")
3526 (file-name (string-append "goto-chg-" version ".el"))
3529 "078d6p4br5vips7b9x4v6cy0wxf6m5ij9gpqd4g33bryn22gnpij"))))
3530 (build-system emacs-build-system)
3531 ;; There is no other home page.
3532 (home-page "https://www.emacswiki.org/emacs/goto-chg.el")
3533 (synopsis "Go to the last change in the Emacs buffer")
3535 "This package provides @code{M-x goto-last-change} command that goes to
3536 the point of the most recent edit in the current Emacs buffer. When repeated,
3537 go to the second most recent edit, etc. Negative argument, @kbd{C-u -}, is
3538 used for reverse direction.")
3539 (license license:gpl2+)))
3541 (define-public emacs-monroe
3543 (name "emacs-monroe")
3548 (uri (string-append "https://github.com/sanel/monroe/archive/"
3550 (file-name (string-append name "-" version ".tar.gz"))
3553 "0icdx8shkd951phlnmcq1vqaxp1l667q5rjscskc5r22aylakh4w"))))
3554 (build-system emacs-build-system)
3555 (home-page "https://github.com/sanel/monroe")
3556 (synopsis "Clojure nREPL client for Emacs")
3558 "Monroe is a nREPL client for Emacs, focused on simplicity and easy
3559 distribution, primarily targeting Clojure users")
3560 (license license:gpl3+)))
3562 (define-public emacs-writegood-mode
3564 (name "emacs-writegood-mode")
3566 (home-page "https://github.com/bnbeckwith/writegood-mode")
3571 (commit (string-append "v" version))))
3574 "1nnjn1r669hvvzfycllwap4w04m8rfsk4nzcg8057m1f263kj31b"))
3575 (file-name (string-append name "-checkout"))))
3576 (build-system emacs-build-system)
3577 (synopsis "Polish up poor writing on the fly")
3579 "This minor mode tries to find and highlight problems with your writing
3580 in English as you type. It primarily detects \"weasel words\" and abuse of
3582 (license license:gpl3+)))
3584 (define-public emacs-neotree
3586 (name "emacs-neotree")
3588 (home-page "https://github.com/jaypei/emacs-neotree")
3592 "https://github.com/jaypei/" name
3593 "/archive/v" version ".tar.gz"))
3596 "0cr37pdkwjgfijfws5bjskfh1rq9rfngxblcj6v5383vpmn83q7s"))
3597 (file-name (string-append name "-" version ".tar.gz"))))
3598 (build-system emacs-build-system)
3599 (synopsis "Folder tree view for Emacs")
3600 (description "This Emacs package provides a folder tree view.")
3601 (license license:gpl3+)))
3603 (define-public emacs-org
3606 (version "20170515")
3609 (uri (string-append "http://elpa.gnu.org/packages/org-"
3613 "0lfapcxil69x1a63cszgq72lqks1z3gpyxw7vcllqlgi7n7a4y6f"))))
3614 (build-system emacs-build-system)
3615 (home-page "http://orgmode.org/")
3616 (synopsis "Outline-based notes management and organizer")
3617 (description "Org is an Emacs mode for keeping notes, maintaining TODO
3618 lists, and project planning with a fast and effective plain-text system. It
3619 also is an authoring system with unique support for literate programming and
3620 reproducible research.")
3621 (license license:gpl3+)))
3623 (define-public emacs-flx
3630 (uri (string-append "https://github.com/lewang/"
3631 "flx/archive/v" version ".tar.gz"))
3634 "0bkcpnf1j4i2fcc2rllwbz62l00sw2mcia6rm5amgwvlkqavmkv6"))
3635 (file-name (string-append name "-" version ".tar.gz"))))
3636 (build-system emacs-build-system)
3637 (home-page "https://github.com/lewang/flx")
3638 (synopsis "Fuzzy matching for Emacs")
3640 "Flx provides fuzzy matching for emacs a la sublime text.
3641 The sorting algorithm is a balance between word beginnings (abbreviation)
3642 and contiguous matches (substring). The longer the substring match,
3643 the higher it scores. This maps well to how we think about matching.
3644 Flx has support for ido (interactively do things) through flx-ido.")
3645 (license license:gpl3+)))
3647 (define-public emacs-cyberpunk-theme
3649 (name "emacs-cyberpunk-theme")
3654 (uri (string-append "https://github.com/n3mo/cyberpunk-theme.el/"
3655 "archive/" version ".tar.gz"))
3658 "0pxzbw0qjxgkhhs3gn3k9qy41kl1a4pfzbw83dk24l4b3nxd24wg"))
3659 (file-name (string-append name "-" version ".tar.gz"))))
3660 (build-system emacs-build-system)
3661 (home-page "https://github.com/n3mo/cyberpunk-theme.el")
3662 (synopsis "Cyberpunk theme for emacs built-in color theme support")
3664 "Cyberpunk color theme for the emacs 24+ built-in color theme support
3665 known loosely as deftheme. Many mode-specific customizations are included.")
3666 (license license:gpl3+)))
3668 (define-public emacs-danneskjold-theme
3669 (let* ((commit "8733d2fe8743e8a01826ea6d4430ef376c727e57")
3672 (name "emacs-danneskjold-theme")
3673 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
3674 (home-page "https://github.com/rails-to-cosmos/danneskjold-theme")
3681 (file-name (string-append name "-" version "-checkout"))
3684 "0s6rbsb0y8i8m5b9xm4gw1p1cxsxdqnqxqqb638pygz9f76mbir1"))))
3685 (build-system emacs-build-system)
3688 (modify-phases %standard-phases
3689 (add-after 'unpack 'delete-screenshots
3691 (delete-file-recursively "screenshots") #t)))))
3692 (synopsis "High-contrast Emacs theme")
3694 "@code{danneskjold-theme} is a high-contrast theme for Emacs.")
3695 (license license:gpl3+))))
3697 (define-public emacs-dream-theme
3698 (let* ((commit "107a11d74365046f28a1802a2bdb5e69e4a7488b")
3701 (name "emacs-dream-theme")
3702 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
3707 (url "https://github.com/djcb/dream-theme")
3709 (file-name (string-append name "-" version "-checkout"))
3712 "0za18nfkq4xqm35k6006vsixcbmvmxqgma4iw5sw37h8vmcsdylk"))))
3713 (build-system emacs-build-system)
3714 (home-page "https://github.com/djcb/dream-theme")
3715 (synopsis "High-contrast Emacs theme")
3717 "@code{dream-theme} is a dark, clean theme for Emacs. It is inspired
3718 by zenburn, sinburn and similar themes, but slowly diverging from them.")
3719 (license license:gpl3+))))
3721 (define-public emacs-auto-complete
3723 (name "emacs-auto-complete")
3728 (uri (string-append "https://github.com/auto-complete/"
3729 "auto-complete/archive/v" version ".tar.gz"))
3732 "1jvq4lj00hwml75lpmlciazy8f3bbg13gffsfnl835p4qd8l7yqv"))
3733 (file-name (string-append name "-" version ".tar.gz"))))
3734 (build-system emacs-build-system)
3736 `(("emacs-popup" ,emacs-popup)))
3737 (home-page "https://github.com/auto-complete/auto-complete")
3738 (synopsis "Intelligent auto-completion extension for Emacs")
3740 "Auto-Complete is an intelligent auto-completion extension for Emacs.
3741 It extends the standard Emacs completion interface and provides an environment
3742 that allows users to concentrate more on their own work. Its features are:
3743 a visual interface, reduce overhead of completion by using statistic method,
3745 (license license:gpl3+)))
3747 (define-public m17n-db
3754 (uri (string-append "mirror://savannah/m17n/m17n-db-"
3757 (base32 "1w08hnsbknrcjlzp42c99bgwc9hzsnf5m4apdv0dacql2s09zfm2"))))
3758 (build-system gnu-build-system)
3760 `(("gettext" ,gettext-minimal)))
3763 (list (string-append "--with-charmaps="
3764 (assoc-ref %build-inputs "libc")
3765 "/share/i18n/charmaps"))))
3766 ;; With `guix lint' the home-page URI returns a small page saying
3767 ;; that your browser does not handle frames. This triggers the "URI
3768 ;; returns suspiciously small file" warning.
3769 (home-page "http://www.nongnu.org/m17n/")
3770 (synopsis "Multilingual text processing library (database)")
3771 (description "The m17n library realizes multilingualization of
3772 many aspects of applications. The m17n library represents
3773 multilingual text as an object named M-text. M-text is a string with
3774 attributes called text properties, and designed to substitute for
3775 string in C. Text properties carry any information required to input,
3776 display and edit the text.
3778 This package contains the library database.")
3779 (license license:lgpl2.1+)))
3781 (define-public m17n-lib
3788 (uri (string-append "mirror://savannah/m17n/m17n-lib-"
3791 (base32 "10yv730i25g1rpzv6q49m6xn4p8fjm7jdwvik2h70sn8w3hm7f4f"))))
3792 (build-system gnu-build-system)
3794 `(("fribidi" ,fribidi)
3798 ("libxml2" ,libxml2)
3799 ("m17n-db" ,m17n-db)))
3801 `(#:parallel-build? #f))
3802 ;; With `guix lint' the home-page URI returns a small page saying
3803 ;; that your browser does not handle frames. This triggers the "URI
3804 ;; returns suspiciously small file" warning.
3805 (home-page "http://www.nongnu.org/m17n/")
3806 (synopsis "Multilingual text processing library (runtime)")
3807 (description "The m17n library realizes multilingualization of
3808 many aspects of applications. The m17n library represents
3809 multilingual text as an object named M-text. M-text is a string with
3810 attributes called text properties, and designed to substitute for
3811 string in C. Text properties carry any information required to input,
3812 display and edit the text.
3814 This package contains the library runtime.")
3815 (license license:lgpl2.1+)))
3817 (define-public emacs-nginx-mode
3819 (name "emacs-nginx-mode")
3825 "https://github.com/ajc/nginx-mode/archive/v"
3827 (file-name (string-append name "-" version ".tar.gz"))
3830 "1lvkj07kq0jkskr2f61vqb5rlrbnaz9a76ikq40w6925i2r970rr"))))
3831 (build-system emacs-build-system)
3832 (home-page "https://github.com/ajc/nginx-mode")
3833 (synopsis "Emacs major mode for editing nginx config files")
3834 (description "This package provides an Emacs major mode for
3835 editing nginx config files.")
3836 (license license:gpl2+)))
3838 (define-public emacs-stream
3840 (name "emacs-stream")
3842 (home-page "https://github.com/NicolasPetton/stream")
3846 (file-name (string-append name "-" version ".tar.gz"))
3847 (uri (string-append home-page "/archive/"version ".tar.gz"))
3849 (base32 "03ql4nqfz5pn55mjly6clhvc3g7x2d28kj7mrlqmigvjbql39xxc"))))
3850 (build-system emacs-build-system)
3851 (synopsis "Implementation of streams for Emacs")
3852 (description "This library provides an implementation of streams for Emacs.
3853 Streams are implemented as delayed evaluation of cons cells.")
3854 (license license:gpl3+)))
3856 (define-public emacs-el-search
3857 (let ((commit "f26277bfbb3fc3fc74beea6592f294c439796bd4")
3860 (name "emacs-el-search")
3861 ;; No ufficial release.
3862 (version (string-append "0.0-" revision "." (string-take commit 7)))
3863 (home-page "https://github.com/emacsmirror/el-search")
3867 (file-name (string-append name "-" version ".tar.gz"))
3870 (url (string-append home-page ".git"))))
3872 (base32 "12xf40h9sb7xxg2r97gsia94q02543mgiiiw46fzh1ac7b7993g6"))))
3873 (build-system emacs-build-system)
3874 (inputs `(("emacs-stream" ,emacs-stream)))
3875 (synopsis "Expression based interactive search for emacs-lisp-mode")
3876 (description "This package provides expression based interactive search
3877 procedures for emacs-lisp-mode.")
3878 (license license:gpl3+))))
3880 (define-public emacs-ht
3888 "https://github.com/Wilfred/ht.el/archive/"
3890 (file-name (string-append name "-" version ".tar.gz"))
3893 "1lpba36kzxcc966fvsbrfpy8ah9gnvay0yk26gbyjil0rggrbqzj"))))
3894 (build-system emacs-build-system)
3895 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
3896 (home-page "https://github.com/Wilfred/ht.el")
3897 (synopsis "Hash table library for Emacs")
3899 "This package simplifies the use of hash tables in elisp. It also
3900 provides functions to convert hash tables from and to alists and plists.")
3901 (license license:gpl3+)))
3903 (define-public emacs-log4e
3905 (name "emacs-log4e")
3911 "https://github.com/aki2o/log4e/archive/v"
3913 (file-name (string-append name "-" version ".tar.gz"))
3916 "0nbdpbw353snda3v19l9hsm6gimppwnpxj18amm350bm81lyim2g"))))
3917 (build-system emacs-build-system)
3920 (modify-phases %standard-phases
3921 (add-after 'unpack 'remove-tests
3922 ;; Guile builder complains about null characters in some
3923 ;; strings of test files. Remove "test" directory (it is not
3926 (delete-file-recursively "test"))))))
3927 (home-page "https://github.com/aki2o/log4e")
3928 (synopsis "Logging framework for elisp")
3930 "This package provides a logging framework for elisp. It allows
3931 you to deal with multiple log levels.")
3932 (license license:gpl3+)))
3934 (define-public emacs-gntp
3942 "https://github.com/tekai/gntp.el/archive/v"
3944 (file-name (string-append name "-" version ".tar.gz"))
3947 "16c1dfkia9yhl206bdhjr3b8kfvqcqr38jl5lq8qsyrrzsnmghny"))))
3948 (build-system emacs-build-system)
3949 (home-page "https://github.com/tekai/gntp.el")
3950 (synopsis "Growl Notification Protocol for Emacs")
3952 "This package implements the Growl Notification Protocol GNTP
3953 described at @uref{http://www.growlforwindows.com/gfw/help/gntp.aspx}.
3954 It is incomplete as it only lets you send but not receive
3956 (license license:bsd-3)))
3958 (define-public emacs-alert
3960 (name "emacs-alert")
3966 "https://github.com/jwiegley/alert/archive/v"
3968 (file-name (string-append name "-" version ".tar.gz"))
3971 "1693kck3k2iz5zhpmxwqyafxm68hr6gzs60lkxd3j1wlp2c9fwyr"))))
3972 (build-system emacs-build-system)
3974 `(("emacs-gntp" ,emacs-gntp)
3975 ("emacs-log4e" ,emacs-log4e)))
3976 (home-page "https://github.com/jwiegley/alert")
3977 (synopsis "Growl-style notification system for Emacs")
3979 "Alert is a Growl-workalike for Emacs which uses a common notification
3980 interface and multiple, selectable \"styles\", whose use is fully
3981 customizable by the user.")
3982 (license license:gpl2+)))
3984 (define-public emacs-mu4e-alert
3986 (name "emacs-mu4e-alert")
3992 "https://github.com/iqbalansari/mu4e-alert/archive/v"
3994 (file-name (string-append name "-" version ".tar.gz"))
3997 "07qc834qnxn8xi4bw5nawj8g91bmkzw0r0vahkgysp7r9xrf57gj"))))
3998 (build-system emacs-build-system)
4000 `(("emacs-alert" ,emacs-alert)
4001 ("emacs-s" ,emacs-s)
4002 ("emacs-ht" ,emacs-ht)))
4003 (home-page "https://github.com/iqbalansari/mu4e-alert")
4004 (synopsis "Desktop notification for mu4e")
4006 "This package provides desktop notifications for mu4e.
4007 Additionally it can display the number of unread emails in the
4009 (license license:gpl3+)))
4011 (define-public emacs-pretty-mode
4013 (name "emacs-pretty-mode")
4018 (uri (string-append "https://github.com/akatov/pretty-mode/"
4019 "archive/" version ".tar.gz"))
4020 (file-name (string-append name "-" version ".tar.gz"))
4023 "1fan7m4vnqs8kpg7r54kx3g7faadkpkf9kzarfv8n57kq8w157pl"))))
4024 (build-system emacs-build-system)
4025 (home-page "https://github.com/akatov/pretty-mode")
4026 (synopsis "Redisplay parts of the buffer as Unicode symbols")
4028 "Emacs minor mode for redisplaying parts of the buffer as pretty symbols.")
4029 (license license:gpl3+)))
4031 (define-public emacs-yasnippet
4033 (name "emacs-yasnippet")
4037 (uri (string-append "https://github.com/joaotavora/yasnippet/"
4038 "archive/" version ".tar.gz"))
4039 (file-name (string-append name "-" version ".tar.gz"))
4042 "15di6mkkf09b7qddpsrm0qln02hji3sx8blya5jxssi9wxxx9iq5"))))
4043 (build-system emacs-build-system)
4044 (home-page "https://github.com/joaotavora/yasnippet")
4045 (synopsis "Yet another snippet extension for Emacs")
4047 "YASnippet is a template system for Emacs. It allows you to type an
4048 abbreviation and automatically expand it into function templates.")
4049 (license license:gpl3+)))
4051 (define-public emacs-memoize
4053 (name "emacs-memoize")
4054 (version "20130421.b55eab0")
4059 (url "https://github.com/skeeto/emacs-memoize")
4060 (commit "b55eab0cb6ab05d941e07b8c01f1655c0cf1dd75")))
4061 (file-name (string-append name "-" version ".tar.gz"))
4064 "0fjwlrdm270qcrqffvarw5yhijk656q4lam79ybhaznzj0dq3xpw"))))
4065 (build-system emacs-build-system)
4068 (modify-phases %standard-phases
4069 (add-before 'install 'check
4071 (zero? (system* "emacs" "-batch" "-l" "memoize.el"
4072 "-l" "memoize-test.el"
4073 "-f" "ert-run-tests-batch-and-exit")))))))
4074 (home-page "https://github.com/skeeto/emacs-memoize")
4075 (synopsis "Emacs lisp memoization library")
4076 (description "@code{emacs-memoize} is an Emacs library for
4077 memoizing functions.")
4078 (license license:unlicense)))
4080 (define-public emacs-linum-relative
4082 (name "emacs-linum-relative")
4088 "https://github.com/coldnew/linum-relative/archive/"
4090 (file-name (string-append name "-" version ".tar.gz"))
4093 "0s4frvr27866lw1rn3jal9wj5rkz9fx4yiszqv7w06azsdgsqksv"))))
4094 (build-system emacs-build-system)
4095 (home-page "https://github.com/coldnew/linum-relative")
4096 (synopsis "Relative line numbering for Emacs")
4097 (description "@code{emacs-linum-relative} displays the relative line
4098 number on the left margin in Emacs.")
4099 (license license:gpl2+)))
4101 (define-public emacs-idle-highlight
4103 (name "emacs-idle-highlight")
4109 "https://github.com/nonsequitur/idle-highlight-mode/archive/"
4111 (file-name (string-append name "-" version ".tar.gz"))
4114 "0kdv10hrgqpskjh0zvpnzwlkn5bccnqxas62gkws6njln57bf8nl"))))
4115 (build-system emacs-build-system)
4116 (home-page "https://www.emacswiki.org/emacs/IdleHighlight")
4117 (synopsis "Highlights all occurrences of the word the point is on")
4119 "This Emacs package provides @code{idle-highlight-mode} that sets
4120 an idle timer to highlight all occurrences in the buffer of the word under
4122 (license license:gpl3+)))
4124 (define-public emacs-ox-twbs
4126 (name "emacs-ox-twbs")
4132 "https://github.com/marsmining/ox-twbs/archive/v"
4134 (file-name (string-append name "-" version ".tar.gz"))
4137 "1zaq8dczq5wijjk36114k2x3hfrqig3lyx6djril6wyk67vczyqs"))))
4138 (build-system emacs-build-system)
4139 (home-page "https://github.com/marsmining/ox-twbs")
4140 (synopsis "Export org-mode docs as HTML compatible with Twitter Bootstrap")
4142 "This Emacs package outputs your org-mode docs with a simple, clean and
4143 modern look. It implements a new HTML back-end for exporting org-mode docs as
4144 HTML compatible with Twitter Bootstrap. By default, HTML is exported with
4145 jQuery and Bootstrap resources included via osscdn.")
4146 (license license:gpl3+)))
4148 (define-public emacs-highlight-sexp
4150 (name "emacs-highlight-sexp")
4156 "https://github.com/daimrod/highlight-sexp/archive/v"
4158 (file-name (string-append name "-" version ".tar.gz"))
4161 "0jwx87qkln1rg9wmv4qkgkml935fh2pkgrg5x4ca6n5dgb4q6rj1"))))
4162 (build-system emacs-build-system)
4163 (home-page "https://github.com/daimrod/highlight-sexp")
4164 (synopsis "Minor mode that highlights the s-exp at the current position")
4166 "This Emacs package highlights the s-exp at the current position.")
4167 (license license:gpl3+)))
4169 (define-public emacspeak
4177 "https://github.com/tvraman/emacspeak/releases/download/"
4178 version "/emacspeak-" version ".tar.bz2"))
4181 "15x4yfp3wl2fxm1nkx6pz3clw6zyw3argcsqxgcx6pa28sivlg2n"))
4182 (modules '((guix build utils)))
4184 ;; Delete the bundled byte-compiled elisp files.
4185 '(for-each delete-file (find-files "lisp" "\\.elc$")))))
4186 (build-system gnu-build-system)
4188 '(#:make-flags (list (string-append "prefix="
4189 (assoc-ref %outputs "out")))
4191 (modify-phases %standard-phases
4194 ;; Configure Emacspeak according to etc/install.org.
4195 (zero? (system* "make" "config"))))
4196 (add-after 'build 'build-espeak
4198 (zero? (system* "make" "espeak"))))
4200 (lambda* (#:key outputs #:allow-other-keys)
4201 (let* ((out (assoc-ref outputs "out"))
4202 (bin (string-append out "/bin"))
4203 (lisp (string-append out "/share/emacs/site-lisp/emacspeak"))
4204 (info (string-append out "/share/info")))
4205 ;; According to etc/install.org, the Emacspeak directory should
4206 ;; be copied to its installation destination.
4209 (copy-recursively file (string-append lisp "/" file)))
4210 '("etc" "info" "lisp" "media" "servers" "sounds" "stumpwm"
4212 ;; Make sure emacspeak is loaded from the correct directory.
4213 (substitute* "etc/emacspeak.sh"
4215 (string-append "exec emacs -l " lisp
4216 "/lisp/emacspeak-setup.el $CL_ALL")))
4217 ;; Install the convenient startup script.
4219 (copy-file "etc/emacspeak.sh" (string-append bin "/emacspeak")))
4221 (add-after 'install 'wrap-program
4222 (lambda* (#:key inputs outputs #:allow-other-keys)
4223 (let* ((out (assoc-ref outputs "out"))
4224 (emacspeak (string-append out "/bin/emacspeak"))
4225 (espeak (string-append (assoc-ref inputs "espeak")
4227 ;; The environment variable DTK_PROGRAM tells emacspeak what
4228 ;; program to use for speech.
4229 (wrap-program emacspeak
4230 `("DTK_PROGRAM" ":" prefix (,espeak)))
4232 #:tests? #f)) ; no check target
4234 `(("espeak" ,espeak)
4237 (native-inputs `(("emacs" ,emacs-minimal)))
4238 (home-page "http://emacspeak.sourceforge.net")
4239 (synopsis "Audio desktop interface for Emacs")
4241 "Emacspeak is a speech interface that allows visually impaired users to
4242 interact independently and efficiently with the computer. Audio formatting
4243 --a technique pioneered by AsTeR-- and full support for W3C's Aural CSS (ACSS)
4244 allows Emacspeak to produce rich aural presentations of electronic information.
4245 By seamlessly blending all aspects of the Internet such as Web-surfing and
4246 messaging, Emacspeak speech-enables local and remote information via a
4247 consistent and well-integrated user interface.")
4248 (license license:gpl2+)))
4250 (define-public emacs-adaptive-wrap
4252 (name "emacs-adaptive-wrap")
4257 "http://elpa.gnu.org/packages/adaptive-wrap-"
4261 "0frgmp8vrrml4iykm60j4d6cl9rbcivy9yh24q6kd10bcyx59ypy"))))
4262 (build-system emacs-build-system)
4263 (home-page "http://elpa.gnu.org/packages/adaptive-wrap.html")
4264 (synopsis "Smart line-wrapping with wrap-prefix")
4266 "This Emacs package provides the @code{adaptive-wrap-prefix-mode}
4267 minor mode which sets the wrap-prefix property on the fly so that
4268 single-long-line paragraphs get word-wrapped in a way similar to what
4269 you'd get with @kbd{M-q} using @code{adaptive-fill-mode}, but without
4270 actually changing the buffer's text.")
4271 (license license:gpl3+)))
4273 (define-public emacs-diminish
4275 (name "emacs-diminish")
4281 "https://github.com/myrjola/diminish.el/archive/v"
4283 (file-name (string-append name "-" version ".tar.gz"))
4286 "0i3629sv5cfrrb00hcnmaqzgs8mk36yasc1ax3ry1ga09nr6rkj9"))))
4287 (build-system emacs-build-system)
4288 (home-page "https://github.com/myrjola/diminish.el")
4289 (synopsis "Diminish minor modes with no modeline display")
4290 (description "@code{emacs-diminish} implements hiding or
4291 abbreviation of the mode line displays (lighters) of minor modes.")
4292 (license license:gpl2+)))
4294 (define-public emacs-use-package
4296 (name "emacs-use-package")
4302 "https://github.com/jwiegley/use-package/archive/"
4304 (file-name (string-append name "-" version ".tar.gz"))
4307 "0x4h136jb3imyli6zsh7dyzjrra6pv0v6b0yk94jdng3rdfcmsf5"))))
4308 (build-system emacs-build-system)
4310 `(("emacs-diminish" ,emacs-diminish)))
4313 (modify-phases %standard-phases
4314 (add-before 'install 'check
4316 (zero? (system* "emacs" "--batch" "-L" "."
4317 "-l" "use-package-tests.el"
4318 "-f" "ert-run-tests-batch-and-exit"))
4319 ;; Tests fail in this release, but have been fixed in
4320 ;; upstream commit 7956d40eed57d6c06bef36ebc174cf57d934e30d
4322 (home-page "https://github.com/jwiegley/use-package")
4323 (synopsis "Declaration for simplifying your .emacs")
4324 (description "The use-package macro allows you to isolate package
4325 configuration in your @file{.emacs} file in a way that is both
4326 performance-oriented and tidy.")
4327 (license license:gpl2+)))
4329 (define-public emacs-strace-mode
4330 (let* ((commit "6a69b4b06db6797af56f33eda5cb28af94e59f11")
4333 (name "emacs-strace-mode")
4334 (version (string-append "0.0.2-" revision "." (string-take commit 7)))
4338 (url "https://github.com/pkmoore/strace-mode")
4340 (file-name (string-append name "-" version "-checkout"))
4343 "1lbk2kzdznf2bkfazizfbimaxxzfzv00lrz1ran9dc2zqbc0bj9f"))))
4344 (build-system emacs-build-system)
4345 (home-page "https://github.com/pkmoore/strace-mode")
4346 (synopsis "Emacs major mode to highlight strace outputs")
4347 (description "@code{emacs-strace-mode} provides an Emacs major mode
4348 highlighting strace outputs.")
4349 (license license:gpl3+))))
4351 (define-public emacs-default-encrypt
4353 (name "emacs-default-encrypt")
4359 "https://www.informationelle-selbstbestimmung-im-internet.de"
4360 "/emacs/jl-encrypt" version "/jl-encrypt.el"))
4361 (file-name (string-append "jl-encrypt-" version ".el"))
4364 "16i3rlfp3jxlqvndn8idylhmczync3gwmy8a019v29vyr48rnnr0"))))
4365 (build-system emacs-build-system)
4366 (home-page "https://www.informationelle-selbstbestimmung-im-internet.de/Emacs.html")
4367 (synopsis "Automatically encrypt or sign Gnus messages in Emacs")
4369 "DefaultEncrypt is designed to be used with Gnus in Emacs. It
4370 automatically encrypts messages that you send (e.g., email) when public keys
4371 for all recipients are available, and it protects you from accidentally
4372 sending un-encrypted messages. It can also be configured to automatically
4373 sign messages that you send. For details and instructions on how to use
4374 DefaultEncrypt, please refer to the home page or read the comments in the
4375 source file, @file{jl-encrypt.el}.")
4376 (license license:gpl3+)))
4378 (define-public emacs-htmlize
4380 (name "emacs-htmlize")
4386 "https://github.com/hniksic/emacs-htmlize/archive/release/"
4388 (file-name (string-append name "-" version ".tar.gz"))
4391 "1fy1lybzrxl8a8r88f6p19nz8ygmvcxhxbnymkxh7jqaz25viwld"))))
4392 (build-system emacs-build-system)
4393 (home-page "https://github.com/hniksic/emacs-htmlize")
4394 (synopsis "Convert buffer text and decorations to HTML")
4395 (description "@code{emacs-htmlize} converts the buffer text and
4396 the associated decorations to HTML. Output to CSS, inline CSS and
4397 fonts is supported.")
4398 (license license:gpl2+)))
4400 (define-public emacs-xmlgen
4402 (name "emacs-xmlgen")
4408 "https://github.com/philjackson/xmlgen/archive/"
4410 (file-name (string-append name "-" version ".tar.gz"))
4413 "0zay490vjby3f7455r0vydmjg7q1gwc78hilpfb0rg4gwz224z8r"))))
4414 (build-system emacs-build-system)
4417 (modify-phases %standard-phases
4418 (add-before 'install 'check
4420 (zero? (system* "emacs" "--batch" "-L" "."
4421 "-l" "xmlgen-test.el"
4422 "-f" "ert-run-tests-batch-and-exit")))))))
4423 (home-page "https://github.com/philjackson/xmlgen")
4424 (synopsis "S-expression to XML domain specific language (DSL) in
4426 (description "@code{emacs-xmlgen} provides S-expression to XML
4427 conversion for Emacs Lisp.")
4428 (license license:gpl2+)))
4430 (define-public emacs-cdlatex
4432 (name "emacs-cdlatex")
4438 "https://github.com/cdominik/cdlatex/archive/"
4440 (file-name (string-append name "-" version ".tar.gz"))
4443 "0pivapphmykc6vhvpx7hdyl55ls37vc4jcrxpvs4yk7jzcmwa9xp"))))
4444 (build-system emacs-build-system)
4445 (home-page "https://github.com/cdominik/cdlatex")
4446 (synopsis "Fast Emacs input methods for LaTeX environments and
4448 (description "CDLaTeX is an Emacs minor mode supporting fast
4449 insertion of environment templates and math in LaTeX. Similar
4450 commands are also offered as part of the AUCTeX package, but it is not
4451 the same - CDLaTeX focuses on speediness for inserting LaTeX
4453 (license license:gpl3+)))
4455 (define-public emacs-xelb
4461 (uri (string-append "https://elpa.gnu.org/packages/xelb-"
4465 "0i9n0f3ibj4a5pwcsvwrah9m0fz32m0x6a9wsmjn3li20v8pcb81"))))
4466 (build-system emacs-build-system)
4467 ;; The following functions and variables needed by emacs-xelb are
4468 ;; not included in emacs-minimal:
4469 ;; x-display-screens, x-keysym-table, x-alt-keysym, x-meta-keysym
4470 ;; x-hyper-keysym, x-super-keysym, libxml-parse-xml-region
4471 ;; x-display-pixel-width, x-display-pixel-height
4475 (modify-phases %standard-phases
4476 (add-after 'unpack 'regenerate-el-files
4477 (lambda* (#:key inputs #:allow-other-keys)
4478 (zero? (system* "make"
4479 (string-append "PROTO_PATH="
4480 (assoc-ref inputs "xcb-proto")
4482 (string-append "EMACS_BIN="
4483 (assoc-ref inputs "emacs")
4484 "/bin/emacs -Q"))))))))
4485 (native-inputs `(("xcb-proto" ,xcb-proto)))
4486 (home-page "https://github.com/ch11ng/xelb")
4487 (synopsis "X protocol Emacs Lisp binding")
4488 (description "@code{emacs-xelb} is a pure Emacs Lisp implementation of the
4489 X11 protocol based on the XML description files from the XCB project. It
4490 features an object-oriented API and permits a certain degree of concurrency.
4491 It should enable you to implement low-level X11 applications.")
4492 (license license:gpl3+)))
4494 (define-public emacs-exwm
4498 (synopsis "Emacs X window manager")
4501 (uri (string-append "https://elpa.gnu.org/packages/exwm-"
4505 "0n1wzy6chh024r0yaywjbf7mdsrxs6hrfycv5v0ps0drf6q3zldc"))))
4506 (build-system emacs-build-system)
4508 `(("emacs-xelb" ,emacs-xelb)))
4512 ;; The following functions and variables needed by emacs-exwm are
4513 ;; not included in emacs-minimal:
4514 ;; scroll-bar-mode, fringe-mode
4515 ;; x-display-pixel-width, x-display-pixel-height
4519 (modify-phases %standard-phases
4520 (add-after 'build 'install-xsession
4521 (lambda* (#:key inputs outputs #:allow-other-keys)
4522 (let* ((out (assoc-ref outputs "out"))
4523 (xsessions (string-append out "/share/xsessions"))
4524 (bin (string-append out "/bin"))
4525 (exwm-executable (string-append bin "/exwm")))
4526 ;; Add a .desktop file to xsessions
4529 (with-output-to-file
4530 (string-append xsessions "/exwm.desktop")
4532 (format #t "[Desktop Entry]~@
4537 Type=Application~%" ,name ,synopsis exwm-executable)))
4538 ;; Add a shell wrapper to bin
4539 ;; Set DISPLAY variable to work around
4540 ;; https://github.com/ch11ng/exwm/issues/213
4541 (with-output-to-file exwm-executable
4544 export DISPLAY=:0 ~@
4545 ~a +SI:localuser:$USER ~@
4546 exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
4547 (string-append (assoc-ref inputs "bash") "/bin/sh")
4548 (string-append (assoc-ref inputs "xhost") "/bin/xhost")
4549 (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")
4550 (string-append (assoc-ref inputs "emacs") "/bin/emacs")
4552 ((file-exists-p "~/.exwm")
4553 (load-file "~/.exwm"))
4554 ((not (featurep 'exwm))
4556 (require 'exwm-config)
4557 (exwm-config-default)
4558 (message "exwm configuration not found. Falling back to default configuration..."))))))
4559 (chmod exwm-executable #o555)
4561 (home-page "https://github.com/ch11ng/exwm")
4562 (description "EXWM is a full-featured tiling X window manager for Emacs
4563 built on top of XELB.")
4564 (license license:gpl3+)))
4566 (define-public emacs-gnuplot
4568 (name "emacs-gnuplot")
4574 "https://github.com/bruceravel/gnuplot-mode/archive/"
4576 (file-name (string-append name "-" version ".tar.gz"))
4579 "0glzymrn138lwig7p4cj17x4if5jisr6l4g6wcbxisqkqgc1h01i"))))
4580 (build-system gnu-build-system)
4581 (native-inputs `(("emacs" ,emacs-minimal)))
4583 (let ((elisp-dir (string-append "/share/emacs/site-lisp/guix.d"
4584 "/gnuplot-" version)))
4585 `(#:modules ((guix build gnu-build-system)
4587 (guix build emacs-utils))
4588 #:imported-modules (,@%gnu-build-system-modules
4589 (guix build emacs-utils))
4591 (list (string-append "EMACS=" (assoc-ref %build-inputs "emacs")
4593 (string-append "--with-lispdir=" %output ,elisp-dir))
4595 (modify-phases %standard-phases
4596 (add-after 'install 'generate-autoloads
4597 (lambda* (#:key outputs #:allow-other-keys)
4598 (emacs-generate-autoloads
4600 (string-append (assoc-ref outputs "out") ,elisp-dir))
4602 (home-page "https://github.com/bruceravel/gnuplot-mode")
4603 (synopsis "Emacs major mode for interacting with gnuplot")
4604 (description "@code{emacs-gnuplot} is an emacs major mode for interacting
4606 (license license:gpl2+)))
4608 (define-public emacs-transpose-frame
4610 (name "emacs-transpose-frame")
4615 (uri "http://www.emacswiki.org/emacs/download/transpose-frame.el")
4616 (file-name (string-append "transpose-frame-" version ".el"))
4619 "1f67yksgw9s6j0033hmqzaxx2a93jm11sd5ys7cc3li5gfh680m4"))))
4620 (build-system emacs-build-system)
4621 (home-page "https://www.emacswiki.org/emacs/TransposeFrame")
4622 (synopsis "Transpose window arrangement in current frame")
4623 (description "@code{emacs-transpose-frame} provides some interactive
4624 functions which allows users to transpose windows arrangement in currently
4626 (license license:bsd-2)))
4628 (define-public emacs-key-chord
4630 (name "emacs-key-chord")
4635 (uri "https://www.emacswiki.org/emacs/download/key-chord.el")
4636 (file-name (string-append "key-chord-" version ".el"))
4639 "03m44pqggfrd53nh9dvpdjgm0rvca34qxmd30hr33hzprzjambxg"))))
4640 (build-system emacs-build-system)
4641 (home-page "https://www.emacswiki.org/emacs/key-chord.el")
4642 (synopsis "Map pairs of simultaneously pressed keys to Emacs commands")
4643 (description "@code{emacs-key-chord} provides @code{key-chord-mode}, a
4644 mode for binding key chords to commands. A key chord is defined as two keys
4645 pressed simultaneously or a single key quickly pressed twice.")
4646 (license license:gpl2+)))
4648 (define-public emacs-evil-surround
4650 (name "emacs-evil-surround")
4656 "https://github.com/timcharper/evil-surround/archive/v"
4658 (file-name (string-append name "-" version ".tar.gz"))
4661 "0p572jgic3q1ia1nz37kclir729ay6i2f4sa7wnaapyxly2lwb3r"))))
4662 (build-system emacs-build-system)
4664 `(("emacs-evil" ,emacs-evil)))
4665 (home-page "https://github.com/timcharper/evil-surround")
4666 (synopsis "Easily modify surrounding parantheses and quotes")
4667 (description "@code{emacs-evil-surround} allows easy deletion, change and
4668 addition of surrounding pairs, such as parantheses and quotes, in evil mode.")
4669 (license license:gpl3+)))
4671 (define-public emacs-evil-commentary
4673 (name "emacs-evil-commentary")
4679 "https://github.com/linktohack/evil-commentary/archive/v"
4681 (file-name (string-append name "-" version ".tar.gz"))
4684 "1jdya0i921nwskwrzdsj0vrr3m7gm49dy6f6pk9p5nxaarfxk230"))))
4685 (build-system emacs-build-system)
4687 `(("emacs-evil" ,emacs-evil)))
4688 (home-page "https://github.com/linktohack/evil-commentary")
4689 (synopsis "Comment out code in evil mode")
4690 (description "@code{emacs-evil-commentary} adds keybindings to easily
4691 comment out lines of code in evil mode. It provides @code{gcc} to comment out
4692 lines, and @code{gc} to comment out the target of a motion.")
4693 (license license:gpl3+)))
4695 ;; Tests for emacs-ansi have a circular dependency with ert-runner, and
4696 ;; therefore cannot be run
4697 (define-public emacs-ansi
4704 (uri (string-append "https://github.com/rejeep/ansi.el/archive/v"
4706 (file-name (string-append name "-" version ".tar.gz"))
4709 "13jj4vbi98j3p17hs99bmy7g21jd5h4v3wpxk4pkvhylm3bfwjw8"))))
4710 (build-system emacs-build-system)
4712 `(("emacs-dash" ,emacs-dash)
4713 ("emacs-s" ,emacs-s)))
4714 (home-page "https://github.com/rejeep/ansi.el")
4715 (synopsis "Convert strings to ANSI")
4716 (description "@code{emacs-ansi} defines functions that turns simple
4717 strings to ANSI strings. Turning a string into an ANSI string can be to add
4718 color to a text, add color in the background of a text or adding a style, such
4719 as bold, underscore or italic.")
4720 (license license:gpl3+)))
4722 ;; Tests for emacs-commander have a circular dependency with ert-runner, and
4723 ;; therefore cannot be run
4724 (define-public emacs-commander
4726 (name "emacs-commander")
4731 (uri (string-append "https://github.com/rejeep/commander.el/archive/v"
4733 (file-name (string-append name "-" version ".tar.gz"))
4736 "196s2i15z7gwxa97l1wkxvjnfmj5n38wwm6d3g4zz15l2vqggc2y"))))
4737 (build-system emacs-build-system)
4739 `(("emacs-dash" ,emacs-dash)
4740 ("emacs-f" ,emacs-f)
4741 ("emacs-s" ,emacs-s)))
4742 (home-page "https://github.com/rejeep/commander.el")
4743 (synopsis "Emacs command line parser")
4744 (description "@code{emacs-commander} provides command line parsing for
4746 (license license:gpl3+)))
4748 ;; Tests for ert-runner have a circular dependency with ecukes, and therefore
4750 (define-public ert-runner
4752 `(("emacs-ansi" ,emacs-ansi)
4753 ("emacs-commander" ,emacs-commander)
4754 ("emacs-dash" ,emacs-dash)
4755 ("emacs-f" ,emacs-f)
4756 ("emacs-s" ,emacs-s)
4757 ("emacs-shut-up" ,emacs-shut-up))))
4764 (uri (string-append "https://github.com/rejeep/ert-runner.el/archive/v"
4766 (file-name (string-append name "-" version ".tar.gz"))
4769 "1657nck9i96a4xgl8crfqq0s8gflzp21pkkzwg6m3z5npjxklgwp"))))
4770 (build-system emacs-build-system)
4771 (inputs dependencies)
4774 (modify-phases %standard-phases
4775 (add-after 'install 'install-executable
4776 (lambda* (#:key inputs outputs #:allow-other-keys)
4777 (let ((out (assoc-ref outputs "out")))
4778 (substitute* "bin/ert-runner"
4779 (("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)")
4780 (string-append "ERT_RUNNER=\"" out
4781 "/share/emacs/site-lisp/guix.d/"
4782 ,name "-" ,version)))
4783 (install-file "bin/ert-runner" (string-append out "/bin"))
4784 (wrap-program (string-append out "/bin/ert-runner")
4785 (list "EMACSLOADPATH" ":" '=
4787 ,(match dependencies
4788 (((labels packages) ...)
4789 `(map (lambda (label package version)
4790 (string-append (assoc-ref inputs label)
4791 "/share/emacs/site-lisp/guix.d/"
4792 (string-drop package 6)
4795 ',(map package-name packages)
4796 ',(map package-version packages))))
4797 ;; empty element to include the default load path as
4798 ;; determined by emacs' standard initialization
4802 (home-page "https://github.com/rejeep/ert-runner.el")
4803 (synopsis "Opinionated Ert testing workflow")
4804 (description "@code{ert-runner} is a tool for Emacs projects tested
4805 using ERT. It assumes a certain test structure setup and can therefore make
4806 running tests easier.")
4807 (license license:gpl3+))))