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, 2018 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014, 2015, 2016, 2017, 2018 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, 2018 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, 2017, 2018 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, 2017 Roel Janssen <roel@gnu.org>
15 ;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
16 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
17 ;;; Copyright © 2016, 2017, 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
18 ;;; Copyright © 2016, 2017 Alex Vong <alexvong1995@gmail.com>
19 ;;; Copyright © 2016, 2017, 2018 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, 2018 Kyle Meyer <kyle@kyleam.com>
25 ;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
26 ;;; Copyright © 2017 George Clemmer <myglc2@gmail.com>
27 ;;; Copyright © 2017 Feng Shu <tumashu@163.com>
28 ;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
29 ;;; Copyright © 2017, 2018 Oleg Pykhalov <go.wigust@gmail.com>
30 ;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
31 ;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
32 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
33 ;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
34 ;;; Copyright © 2017, 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
35 ;;; Copyright © 2018 Sohom Bhattacharjee <soham.bhattacharjee15@gmail.com>
36 ;;; Copyright © 2018 Mathieu Lirzin <mthl@gnu.org>
38 ;;; This file is part of GNU Guix.
40 ;;; GNU Guix is free software; you can redistribute it and/or modify it
41 ;;; under the terms of the GNU General Public License as published by
42 ;;; the Free Software Foundation; either version 3 of the License, or (at
43 ;;; your option) any later version.
45 ;;; GNU Guix is distributed in the hope that it will be useful, but
46 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
47 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48 ;;; GNU General Public License for more details.
50 ;;; You should have received a copy of the GNU General Public License
51 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
53 (define-module (gnu packages emacs)
54 #:use-module ((guix licenses) #:prefix license:)
55 #:use-module (guix packages)
56 #:use-module (guix download)
57 #:use-module (guix git-download)
58 #:use-module (guix gexp)
59 #:use-module (guix monads)
60 #:use-module (guix store)
61 #:use-module (guix build-system gnu)
62 #:use-module (guix build-system emacs)
63 #:use-module (guix build-system glib-or-gtk)
64 #:use-module (guix build-system trivial)
65 #:use-module (gnu packages)
66 #:use-module (gnu packages audio)
67 #:use-module (gnu packages bash)
68 #:use-module (gnu packages code)
69 #:use-module (gnu packages guile)
70 #:use-module (gnu packages gtk)
71 #:use-module (gnu packages gnome)
72 #:use-module (gnu packages ncurses)
73 #:use-module (gnu packages python)
74 #:use-module (gnu packages tex)
75 #:use-module (gnu packages texinfo)
76 #:use-module (gnu packages tcl)
77 #:use-module (gnu packages tls)
78 #:use-module (gnu packages pkg-config)
79 #:use-module (gnu packages xorg)
80 #:use-module (gnu packages lesstif)
81 #:use-module (gnu packages image)
82 #:use-module (gnu packages linux)
83 #:use-module (gnu packages version-control)
84 #:use-module (gnu packages imagemagick)
85 #:use-module (gnu packages w3m)
86 #:use-module (gnu packages wget)
87 #:use-module (gnu packages autotools)
88 #:use-module (gnu packages base)
89 #:use-module (gnu packages compression)
90 #:use-module (gnu packages xml)
91 #:use-module (gnu packages glib)
92 #:use-module (gnu packages acl)
93 #:use-module (gnu packages package-management)
94 #:use-module (gnu packages perl)
95 #:use-module (gnu packages pdf)
96 #:use-module (gnu packages scheme)
97 #:use-module (gnu packages statistics)
98 #:use-module (gnu packages xiph)
99 #:use-module (gnu packages mp3)
100 #:use-module (gnu packages gettext)
101 #:use-module (gnu packages fribidi)
102 #:use-module (gnu packages gd)
103 #:use-module (gnu packages fontutils)
104 #:use-module (gnu packages password-utils)
105 #:use-module (guix utils)
106 #:use-module (srfi srfi-1)
107 #:use-module (ice-9 match))
115 (uri (string-append "mirror://gnu/emacs/emacs-"
119 "02y00y9q42g1iqgz5qhmsja75hwxd88yrn9zp14lanay0zkwafi5"))
120 (patches (search-patches "emacs-exec-path.patch"
121 "emacs-fix-scheme-indent-function.patch"
122 "emacs-source-date-epoch.patch"))
123 (modules '((guix build utils)))
125 ;; Delete the bundled byte-compiled elisp files and
126 ;; generated autoloads.
127 '(with-directory-excursion "lisp"
128 (for-each delete-file
129 (append (find-files "." "\\.elc$")
130 (find-files "." "loaddefs\\.el$")
131 ;; This is the only "autoloads" file that
132 ;; does not have "*loaddefs.el" name.
133 '("eshell/esh-groups.el")))
135 ;; Make sure Tramp looks for binaries in the right places on
136 ;; remote GuixSD machines, where 'getconf PATH' returns
138 (substitute* "net/tramp-sh.el"
139 ;; Patch the line after "(defcustom tramp-remote-path".
140 (("\\(tramp-default-remote-path")
141 (format #f "(tramp-default-remote-path ~s ~s ~s ~s "
142 "~/.guix-profile/bin" "~/.guix-profile/sbin"
143 "/run/current-system/profile/bin"
144 "/run/current-system/profile/sbin")))
146 ;; Make sure Man looks for C header files in the right
148 (substitute* "man.el"
149 (("\"/usr/local/include\"" line)
152 "\"~/.guix-profile/include\""
153 "\"/var/guix/profiles/system/profile/include\"")
155 (build-system glib-or-gtk-build-system)
158 (modify-phases %standard-phases
159 (add-before 'configure 'fix-/bin/pwd
161 ;; Use `pwd', not `/bin/pwd'.
162 (substitute* (find-files "." "^Makefile\\.in$")
165 (add-after 'install 'install-site-start
166 ;; Use 'guix-emacs' in "site-start.el". This way, Emacs packages
167 ;; provided by Guix and installed in
168 ;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are
169 ;; automatically found.
170 (lambda* (#:key inputs outputs #:allow-other-keys)
171 (let* ((out (assoc-ref outputs "out"))
172 (lisp-dir (string-append out "/share/emacs/site-lisp")))
173 (copy-file (assoc-ref inputs "guix-emacs.el")
174 (string-append lisp-dir "/guix-emacs.el"))
175 (with-output-to-file (string-append lisp-dir "/site-start.el")
178 (string-append "(when (require 'guix-emacs nil t)\n"
179 " (guix-emacs-autoload-packages))\n"))))
185 ;; TODO: Add the optional dependencies.
191 ("libjpeg" ,libjpeg-8)
192 ("imagemagick" ,imagemagick)
195 ;; When looking for libpng `configure' links with `-lpng -lz', so we
196 ;; must also provide zlib as an input.
205 ("alsa-lib" ,alsa-lib)
208 ;; multilingualization support
210 ("m17n-lib" ,m17n-lib)))
212 `(("guix-emacs.el" ,(search-auxiliary-file "emacs/guix-emacs.el"))
213 ("pkg-config" ,pkg-config)
214 ("texinfo" ,texinfo)))
217 (list (search-path-specification
218 (variable "INFOPATH")
219 (files '("share/info")))))
221 (home-page "https://www.gnu.org/software/emacs/")
222 (synopsis "The extensible, customizable, self-documenting text editor")
224 "GNU Emacs is an extensible and highly customizable text editor. It is
225 based on an Emacs Lisp interpreter with extensions for text editing. Emacs
226 has been extended in essentially all areas of computing, giving rise to a
227 vast array of packages supporting, e.g., email, IRC and XMPP messaging,
228 spreadsheets, remote server editing, and much more. Emacs includes extensive
229 documentation on all aspects of the system, from basic editing to writing
230 large Lisp programs. It has full Unicode support for nearly all human
232 (license license:gpl3+)))
234 (define-public emacs-minimal
235 ;; This is the version that you should use as an input to packages that just
236 ;; need to byte-compile .el files.
237 (package (inherit emacs)
238 (name "emacs-minimal")
239 (synopsis "The extensible text editor (used only for byte-compilation)")
240 (build-system gnu-build-system)
242 (substitute-keyword-arguments (package-arguments emacs)
244 `(modify-phases ,phases
245 (delete 'install-site-start)))))
247 `(("ncurses" ,ncurses)))
249 `(("pkg-config" ,pkg-config)))))
251 (define-public emacs-no-x
252 (package (inherit emacs)
254 (synopsis "The extensible, customizable, self-documenting text
255 editor (console only)")
256 (build-system gnu-build-system)
257 (inputs (fold alist-delete
258 (package-inputs emacs)
259 '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
260 "imagemagick" "libpng" "librsvg" "libxpm" "libice"
263 ;; These depend on libx11, so remove them as well.
264 "libotf" "m17n-lib" "dbus")))))
266 (define-public emacs-no-x-toolkit
267 (package (inherit emacs)
268 (name "emacs-no-x-toolkit")
269 (synopsis "The extensible, customizable, self-documenting text
270 editor (without an X toolkit)" )
271 (build-system gnu-build-system)
272 (inputs (append `(("inotify-tools" ,inotify-tools))
273 (alist-delete "gtk+" (package-inputs emacs))))
274 (arguments (append '(#:configure-flags '("--with-x-toolkit=no"))
275 (package-arguments emacs)))))
277 (define-public guile-emacs
278 (package (inherit emacs)
280 (version "20150512.41120e0")
284 (url "git://git.hcoop.net/git/bpt/emacs.git")
285 (commit "41120e0f595b16387eebfbf731fff70481de1b4b")))
286 (file-name (string-append name "-" version "-checkout"))
287 (patches (search-patches "guile-emacs-fix-configure.patch"))
290 "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6"))))
292 `(("autoconf" ,autoconf)
293 ("automake" ,automake)
294 ("guile" ,guile-for-guile-emacs)
295 ,@(package-native-inputs emacs)))
297 (substitute-keyword-arguments `(;; Build fails if we allow parallel build.
299 ;; Tests aren't passing for now.
301 ,@(package-arguments emacs))
303 `(modify-phases ,phases
304 (add-after 'unpack 'autogen
306 (zero? (system* "sh" "autogen.sh"))))
307 ;; Build sometimes fails: deps/dispnew.d: No such file or directory
308 (add-before 'build 'make-deps-dir
310 (zero? (system* "mkdir" "-p" "src/deps"))))))))))
317 (define-public geiser
323 (uri (string-append "mirror://savannah/geiser/" version
324 "/geiser-" version ".tar.gz"))
327 "0phz9d8wjk4p13vqannv0003fwh8qqrp0gfzcs2hgq1mrmv1srss"))))
328 (build-system gnu-build-system)
331 (modify-phases %standard-phases
332 (add-after 'install 'post-install
333 (lambda* (#:key outputs #:allow-other-keys)
334 (symlink "geiser-install.el"
335 (string-append (assoc-ref outputs "out")
336 "/share/emacs/site-lisp/"
337 "geiser-autoloads.el"))
339 (inputs `(("guile" ,guile-2.0)))
340 (native-inputs `(("emacs" ,emacs-minimal)))
341 (home-page "https://nongnu.org/geiser/")
342 (synopsis "Collection of Emacs modes for Guile and Racket hacking")
344 "Geiser is a collection of Emacs major and minor modes that conspire with
345 one or more Scheme implementations to keep the Lisp Machine Spirit alive. The
346 continuously running Scheme interpreter takes the center of the stage in
347 Geiser. A bundle of Elisp shims orchestrates the dialog between the Scheme
348 implementation, Emacs and, ultimately, the schemer, giving them access to live
350 (license license:bsd-3)))
352 (define-public geiser-next
353 ;; This has become "geiser".
354 (deprecated-package "geiser-next" geiser))
356 (define-public paredit
358 (name "emacs-paredit")
362 (uri (string-append "http://mumble.net/~campbell/emacs/paredit-"
366 "0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
367 (build-system emacs-build-system)
368 (home-page "http://mumble.net/~campbell/emacs/paredit/")
369 (synopsis "Emacs minor mode for editing parentheses")
371 "ParEdit (paredit.el) is a minor mode for performing structured editing
372 of S-expression data. The typical example of this would be Lisp or Scheme
375 ParEdit helps **keep parentheses balanced** and adds many keys for moving
376 S-expressions and moving around in S-expressions. Its behavior can be jarring
377 for those who may want transient periods of unbalanced parentheses, such as
378 when typing parentheses directly or commenting out code line by line.")
379 (license license:gpl3+)))
381 (define-public paredit/old-name
382 (deprecated-package "paredit" paredit))
384 (define-public git-modes
386 (name "emacs-git-modes")
391 "https://github.com/magit/git-modes/archive/"
393 (file-name (string-append name "-" version ".tar.gz"))
396 "1mzl70s0xyysnjq1j10mc5vn9i022n5vd82kxsgp4xxqq7gc4qnx"))))
397 (build-system emacs-build-system)
398 (home-page "https://github.com/magit/git-modes")
399 (synopsis "Emacs major modes for Git configuration files")
401 "This package provides Emacs major modes for editing various Git
402 configuration files, such as .gitattributes, .gitignore, and .git/config.")
403 (license license:gpl3+)))
405 (define-public git-modes/old-name
406 (deprecated-package "git-modes" git-modes))
408 (define-public emacs-with-editor
410 (name "emacs-with-editor")
415 "https://github.com/magit/with-editor/archive/v"
417 (file-name (string-append name "-" version ".tar.gz"))
420 "0kah7pv211zx9fsb5g4hd51bqcq2bxd1chdykd488ihvfz1l5y14"))))
421 (build-system emacs-build-system)
423 `(("emacs-dash" ,emacs-dash)))
424 (home-page "https://github.com/magit/with-editor")
425 (synopsis "Emacs library for using Emacsclient as EDITOR")
427 "This package provides an Emacs library to use the Emacsclient as
428 @code{$EDITOR} of child processes, making sure they know how to call home.
429 For remote processes a substitute is provided, which communicates with Emacs
430 on stdout instead of using a socket as the Emacsclient does.")
431 (license license:gpl3+)))
440 "https://github.com/magit/magit/releases/download/"
441 version "/" name "-" version ".tar.gz"))
444 "11xly5bma9jc1jhs8fqbqrci8kz1y26yfq7dqjkqfy956wvfg6hz"))))
445 (build-system gnu-build-system)
446 (native-inputs `(("texinfo" ,texinfo)
447 ("emacs" ,emacs-minimal)))
452 `(("dash" ,emacs-dash)
453 ;; XXX Add 'magit-popup' dependency for the next release (after 2.11.0).
454 ("with-editor" ,emacs-with-editor)))
456 `(#:test-target "test"
457 #:tests? #f ; tests are not included in the release
460 (list (string-append "PREFIX=" %output)
461 ;; Don't put .el files in a sub-directory.
462 (string-append "lispdir=" %output "/share/emacs/site-lisp")
463 (string-append "DASH_DIR="
464 (assoc-ref %build-inputs "dash")
465 "/share/emacs/site-lisp/guix.d/dash-"
466 ,(package-version emacs-dash))
467 (string-append "WITH_EDITOR_DIR="
468 (assoc-ref %build-inputs "with-editor")
469 "/share/emacs/site-lisp/guix.d/with-editor-"
470 ,(package-version emacs-with-editor)))
473 (modify-phases %standard-phases
476 'build 'patch-exec-paths
477 (lambda* (#:key inputs #:allow-other-keys)
478 (let ((perl (assoc-ref inputs "perl")))
479 (substitute* "lisp/magit-sequence.el"
480 (("perl") (string-append perl "/bin/perl")))
482 (home-page "http://magit.github.io/")
483 (synopsis "Emacs interface for the Git version control system")
485 "With Magit, you can inspect and modify your Git repositories with Emacs.
486 You can review and commit the changes you have made to the tracked files, for
487 example, and you can browse the history of past changes. There is support for
488 cherry picking, reverting, merging, rebasing, and other common Git
490 (license license:gpl3+)))
492 (define-public magit-svn
499 "https://github.com/magit/magit-svn/archive/"
501 (file-name (string-append name "-" version ".tar.gz"))
504 "1c3n377v436zaxamlsz04y1ahdhp96x1vd43zaryv4y10m02ba47"))))
505 (build-system trivial-build-system)
506 (native-inputs `(("emacs" ,emacs-minimal)
509 (propagated-inputs `(("dash" ,emacs-dash)
510 ("with-editor" ,emacs-with-editor)
513 `(#:modules ((guix build utils)
514 (guix build emacs-utils))
518 (use-modules (guix build utils)
519 (guix build emacs-utils))
521 (let* ((tar (string-append (assoc-ref %build-inputs "tar")
523 (PATH (string-append (assoc-ref %build-inputs "gzip")
525 (emacs (string-append (assoc-ref %build-inputs "emacs")
527 (magit (string-append (assoc-ref %build-inputs "magit")
528 "/share/emacs/site-lisp"))
529 (dash (string-append (assoc-ref %build-inputs "dash")
530 "/share/emacs/site-lisp/guix.d/dash-"
531 ,(package-version emacs-dash)))
532 (with-editor (string-append (assoc-ref %build-inputs "with-editor")
533 "/share/emacs/site-lisp/guix.d/with-editor-"
534 ,(package-version emacs-with-editor)))
535 (source (assoc-ref %build-inputs "source"))
536 (lisp-dir (string-append %output "/share/emacs/site-lisp")))
538 (system* tar "xvf" source)
540 (install-file (string-append ,name "-" ,version "/magit-svn.el")
543 (with-directory-excursion lisp-dir
544 (parameterize ((%emacs emacs))
545 (emacs-generate-autoloads ,name lisp-dir)
546 (setenv "EMACSLOADPATH"
547 (string-append ":" magit ":" dash ":" with-editor))
548 (emacs-batch-eval '(byte-compile-file "magit-svn.el"))))))))
549 (home-page "https://github.com/magit/magit-svn")
550 (synopsis "Git-SVN extension to Magit")
552 "This package is an extension to Magit, the Git Emacs mode, providing
553 support for Git-SVN.")
554 (license license:gpl3+)))
556 (define-public emacs-magit-popup
558 (name "emacs-magit-popup")
563 "https://github.com/magit/magit-popup/archive/v"
565 (file-name (string-append name "-" version ".tar.gz"))
568 "1dnk611f7lww6rb03hk8ijg2jwxx9f26pjfff4bwjmnjz7hnd6vz"))))
569 (build-system emacs-build-system)
572 (modify-phases %standard-phases
573 (add-before 'install 'make-info
575 (zero? (system* "make" "info")))))))
577 `(("texinfo" ,texinfo)))
579 `(("emacs-dash" ,emacs-dash)))
580 (home-page "https://github.com/magit/magit-popup")
581 (synopsis "Define prefix-infix-suffix command combos")
583 "This library implements a generic interface for toggling switches and
584 setting options and then invoking an Emacs command which does something with
585 these arguments. The prototypical use is for the command to call an external
586 process, passing on the arguments as command line arguments.")
587 (license license:gpl3+)))
589 (define-public haskell-mode
591 (name "haskell-mode")
595 (file-name (string-append name "-" version ".tar.gz"))
597 "https://github.com/haskell/haskell-mode/archive/v"
600 (base32 "0g6lcjw7lcgavv3yrd8xjcyqgfyjl787y32r1z14amw2f009m78h"))))
602 `(("emacs-el-search" ,emacs-el-search) ; for tests
603 ("emacs-stream" ,emacs-stream))) ; for tests
605 `(("emacs-dash" ,emacs-dash)))
607 `(("emacs" ,emacs-minimal)
608 ("texinfo" ,texinfo)))
609 (build-system gnu-build-system)
611 `(#:make-flags (list (string-append "EMACS="
612 (assoc-ref %build-inputs "emacs")
614 #:modules ((ice-9 match)
616 ,@%gnu-build-system-modules)
618 (modify-phases %standard-phases
622 (lambda* (#:key inputs #:allow-other-keys)
623 (define (el-dir store-dir)
624 (match (find-files store-dir "\\.el$")
625 ((f1 f2 ...) (dirname f1))
628 (let ((sh (string-append (assoc-ref inputs "bash") "/bin/sh")))
629 (define emacs-prefix? (cut string-prefix? "emacs-" <>))
631 (setenv "SHELL" "sh")
632 (setenv "EMACSLOADPATH"
635 (((? emacs-prefix? name) . dir)
636 (string-append (el-dir dir) ":"))
639 (substitute* (find-files "." "\\.el") (("/bin/sh") sh))
640 (substitute* "tests/haskell-code-conventions.el"
641 ;; Function name recently changed in "emacs-el-search".
642 (("el-search--search-pattern") "el-search-forward")
643 ;; Don't contact home.
644 (("\\(when \\(>= emacs-major-version 25\\)")
645 "(require 'el-search) (when nil"))
649 (lambda* (#:key outputs #:allow-other-keys)
650 (let* ((out (assoc-ref outputs "out"))
651 (el-dir (string-append out "/share/emacs/site-lisp"))
653 out "/share/doc/haskell-mode-" ,version))
654 (info (string-append out "/share/info")))
655 (define (copy-to-dir dir files)
656 (for-each (lambda (f)
657 (install-file f dir))
660 (with-directory-excursion "doc"
661 (unless (zero? (system* "makeinfo" "haskell-mode.texi"))
662 (error "makeinfo failed"))
663 (install-file "haskell-mode.info" info))
664 (copy-to-dir doc '("CONTRIBUTING.md" "NEWS" "README.md"))
665 (copy-to-dir el-dir (find-files "." "\\.elc?"))
666 ;; These are part of other packages.
667 (with-directory-excursion el-dir
668 (for-each delete-file '("dash.el" "ert.el")))
670 (home-page "https://github.com/haskell/haskell-mode")
671 (synopsis "Haskell mode for Emacs")
673 "This is an Emacs mode for editing, debugging and developing Haskell
675 (license license:gpl3+)))
677 (define-public flycheck
679 (name "emacs-flycheck")
684 "https://github.com/flycheck/flycheck/releases/download/"
685 version "/flycheck-" version ".tar"))
688 "01rnwan16m7cyyrfca3c5c60mbj2r3knkpzbhji2fczsf0wns240"))))
689 (build-system emacs-build-system)
691 `(("emacs-dash" ,emacs-dash)))
692 (home-page "https://www.flycheck.org")
693 (synopsis "On-the-fly syntax checking")
695 "This package provides on-the-fly syntax checking for GNU Emacs. It is a
696 replacement for the older Flymake extension which is part of GNU Emacs, with
697 many improvements and additional features.
699 Flycheck provides fully-automatic, fail-safe, on-the-fly background syntax
700 checking for over 30 programming and markup languages with more than 70
701 different tools. It highlights errors and warnings inline in the buffer, and
702 provides an optional IDE-like error list.")
703 (license license:gpl3+))) ;+GFDLv1.3+ for the manual
710 (define-public emacs-w3m
713 (version "1.4.538+0.20141022")
716 (uri (string-append "mirror://debian/pool/main/w/w3m-el/w3m-el_"
717 version ".orig.tar.gz"))
720 "0zfxmq86pwk64yv0426gnjrvhjrgrjqn08sdcdhmmjmfpmqvm79y"))))
721 (build-system gnu-build-system)
722 (native-inputs `(("autoconf" ,autoconf)
723 ("emacs" ,emacs-minimal)))
724 (inputs `(("w3m" ,w3m)
725 ("imagemagick" ,imagemagick)))
727 `(#:modules ((guix build gnu-build-system)
729 (guix build emacs-utils))
730 #:imported-modules (,@%gnu-build-system-modules
731 (guix build emacs-utils))
733 (let ((out (assoc-ref %outputs "out")))
734 (list (string-append "--with-lispdir="
735 out "/share/emacs/site-lisp")
736 (string-append "--with-icondir="
737 out "/share/images/emacs-w3m")
738 ;; Leave .el files uncompressed, otherwise GC can't
739 ;; identify run-time dependencies. See
740 ;; <http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00208.html>
741 "--without-compress-install"))
742 #:tests? #f ; no check target
744 (modify-phases %standard-phases
745 (add-after 'unpack 'autoconf
747 (zero? (system* "autoconf"))))
748 (add-before 'build 'patch-exec-paths
749 (lambda* (#:key inputs outputs #:allow-other-keys)
750 (let ((out (assoc-ref outputs "out"))
751 (w3m (assoc-ref inputs "w3m"))
752 (imagemagick (assoc-ref inputs "imagemagick"))
753 (coreutils (assoc-ref inputs "coreutils")))
754 (emacs-substitute-variables "w3m.el"
755 ("w3m-command" (string-append w3m "/bin/w3m"))
757 (string-append coreutils "/bin/touch"))
759 (string-append imagemagick "/bin/display"))
760 ("w3m-icon-directory"
761 (string-append out "/share/images/emacs-w3m")))
762 (emacs-substitute-variables "w3m-image.el"
763 ("w3m-imagick-convert-program"
764 (string-append imagemagick "/bin/convert"))
765 ("w3m-imagick-identify-program"
766 (string-append imagemagick "/bin/identify")))
769 (lambda* (#:key outputs #:allow-other-keys)
770 (and (zero? (system* "make" "install" "install-icons"))
771 (with-directory-excursion
772 (string-append (assoc-ref outputs "out")
773 "/share/emacs/site-lisp")
774 (for-each delete-file '("ChangeLog" "ChangeLog.1"))
775 (symlink "w3m-load.el" "w3m-autoloads.el")
777 (home-page "http://emacs-w3m.namazu.org/")
778 (synopsis "Simple Web browser for Emacs based on w3m")
780 "Emacs-w3m is an emacs interface for the w3m web browser.")
781 (license license:gpl2+)))
783 (define-public emacs-wget
789 (uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_"
790 version ".orig.tar.gz"))
792 (base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff"))))
793 (build-system gnu-build-system)
794 (inputs `(("wget" ,wget)))
795 (native-inputs `(("emacs" ,emacs-minimal)))
797 `(#:modules ((guix build gnu-build-system)
799 (guix build emacs-utils))
800 #:imported-modules (,@%gnu-build-system-modules
801 (guix build emacs-utils))
802 #:tests? #f ; no check target
804 (modify-phases %standard-phases
806 (lambda* (#:key outputs #:allow-other-keys)
807 (substitute* "Makefile"
808 (("/usr/local") (assoc-ref outputs "out"))
809 (("/site-lisp/emacs-wget") "/site-lisp"))
811 (add-before 'build 'patch-exec-paths
812 (lambda* (#:key inputs outputs #:allow-other-keys)
813 (let ((wget (assoc-ref inputs "wget")))
814 (emacs-substitute-variables "wget.el"
815 ("wget-command" (string-append wget "/bin/wget"))))
817 (add-after 'install 'post-install
818 (lambda* (#:key outputs #:allow-other-keys)
819 (emacs-generate-autoloads
820 "wget" (string-append (assoc-ref outputs "out")
821 "/share/emacs/site-lisp/"))
823 (home-page "http://www.emacswiki.org/emacs/EmacsWget")
824 (synopsis "Simple file downloader for Emacs based on wget")
826 "Emacs-wget is an emacs interface for the wget file downloader.")
827 (license license:gpl2+)))
840 (uri (string-append "mirror://gnu/emms/emms-"
844 "1b0kalhn81dir26jgsma30i5bbly7d3s1ngqpf01zjjpr7lw5v0h"))
845 (modules '((guix build utils)))
847 '(substitute* "Makefile"
848 (("/usr/bin/install-info")
849 ;; No need to use 'install-info' since it would create a
850 ;; useless 'dir' file.
853 ;; Install Info files to $out/share/info, not $out/info.
854 "INFODIR := $(PREFIX)/share/info\n")
856 ;; Install directly in share/emacs/site-lisp, not in a
859 (("^all: (.*)\n" _ rest)
860 ;; Build 'emms-print-metadata'.
861 (string-append "all: " rest " emms-print-metadata\n"))))))
862 (build-system gnu-build-system)
864 `(#:modules ((guix build gnu-build-system)
866 (guix build emacs-utils))
867 #:imported-modules (,@%gnu-build-system-modules
868 (guix build emacs-utils))
871 (modify-phases %standard-phases
873 (lambda* (#:key inputs outputs #:allow-other-keys)
874 (let ((out (assoc-ref outputs "out"))
875 (flac (assoc-ref inputs "flac"))
876 (vorbis (assoc-ref inputs "vorbis-tools"))
877 (alsa (assoc-ref inputs "alsa-utils"))
878 (mpg321 (assoc-ref inputs "mpg321"))
879 (mp3info (assoc-ref inputs "mp3info")))
880 ;; Specify the installation directory.
881 (substitute* "Makefile"
883 (string-append "PREFIX := " out "\n")))
885 (setenv "SHELL" (which "sh"))
888 ;; Specify the absolute file names of the various
889 ;; programs so that everything works out-of-the-box.
890 (with-directory-excursion "lisp"
891 (emacs-substitute-variables
892 "emms-player-mpg321-remote.el"
893 ("emms-player-mpg321-remote-command"
894 (string-append mpg321 "/bin/mpg321")))
895 (substitute* "emms-player-simple.el"
897 (string-append "\"" vorbis "/bin/ogg123\"")))
898 (substitute* "emms-player-simple.el"
900 (string-append "\"" mpg321 "/bin/mpg321\"")))
901 (emacs-substitute-variables "emms-info-ogginfo.el"
902 ("emms-info-ogginfo-program-name"
903 (string-append vorbis "/bin/ogginfo")))
904 (emacs-substitute-variables "emms-info-libtag.el"
905 ("emms-info-libtag-program-name"
906 (string-append out "/bin/emms-print-metadata")))
907 (emacs-substitute-variables "emms-info-mp3info.el"
908 ("emms-info-mp3info-program-name"
909 (string-append mp3info "/bin/mp3info")))
910 (emacs-substitute-variables "emms-info-metaflac.el"
911 ("emms-info-metaflac-program-name"
912 (string-append flac "/bin/metaflac")))
913 (emacs-substitute-variables "emms-source-file.el"
914 ("emms-source-file-gnu-find" (which "find")))
915 (substitute* "emms-volume-amixer.el"
917 (string-append "\"" alsa "/bin/amixer\"")))
918 (substitute* "emms-tag-editor.el"
920 (string-append "\"" mp3info "/bin/mp3info\"")))))))
921 (add-before 'install 'pre-install
922 (lambda* (#:key outputs #:allow-other-keys)
923 ;; The 'install' rule expects the target directories to exist.
924 (let* ((out (assoc-ref outputs "out"))
925 (bin (string-append out "/bin"))
926 (man1 (string-append out "/share/man/man1")))
930 (add-after 'install 'post-install
931 (lambda* (#:key outputs #:allow-other-keys)
932 (let ((out (assoc-ref outputs "out")))
933 (symlink "emms-auto.el"
934 (string-append out "/share/emacs/site-lisp/"
935 "emms-autoloads.el"))))))
937 (native-inputs `(("emacs" ,emacs-minimal) ;for (guix build emacs-utils)
938 ("texinfo" ,texinfo)))
939 (inputs `(("alsa-utils" ,alsa-utils)
940 ("flac" ,flac) ;for metaflac
941 ("vorbis-tools" ,vorbis-tools)
944 ("mp3info" ,mp3info)))
945 (properties '((upstream-name . "emms")))
946 (synopsis "Emacs Multimedia System")
948 "EMMS is the Emacs Multimedia System. It is a small front-end which
949 can control one of the supported external players. Thus, it supports
950 whatever formats are supported by your music player. It also
951 supports tagging and playlist management, all behind a clean and
952 light user interface.")
953 (home-page "https://www.gnu.org/software/emms/")
954 (license license:gpl3+)))
956 (define-public emacs-emms-player-mpv
958 (name "emacs-emms-player-mpv")
963 (uri (string-append "https://github.com/dochang/emms-player-mpv/archive/"
965 (file-name (string-append name "-" version ".tar.gz"))
968 "01i0bz7wdqzcnv5r63m9xgl07yf1nmn86dwy00rcfsn5za46y3r3"))))
969 (build-system emacs-build-system)
972 (home-page "https://github.com/dochang/emms-player-mpv/")
973 (synopsis "Mpv support for EMMS")
975 "This package provides an EMMS player that uses mpv. It supports pause
977 (license license:gpl3+)))
979 (define-public emacs-emms-mode-line-cycle
981 (name "emacs-emms-mode-line-cycle")
986 (uri (string-append "https://github.com/momomo5717/emms-mode-line-cycle"
987 "/archive/" version ".tar.gz"))
988 (file-name (string-append name "-" version ".tar.gz"))
991 "0ifszi930pnaxk1x8pcydmvnp06868gc7nfx14q17zbajbx735k6"))))
992 (build-system emacs-build-system)
995 (home-page "https://github.com/momomo5717/emms-mode-line-cycle")
996 (synopsis "Display the EMMS mode line as a ticker")
998 "This is a minor mode for updating the EMMS mode-line string cyclically
999 within a specified width. It is useful for displaying long track titles.")
1000 (license license:gpl3+)))
1013 (uri (string-append "mirror://savannah/bbdb/bbdb-"
1017 "1gs16bbpiiy01w9pyg12868r57kx1v3hnw04gmqsmpc40l1hyy05"))
1018 (modules '((guix build utils)))
1020 ;; We don't want to build and install the PDF.
1021 '(substitute* "doc/Makefile.in"
1022 (("^doc_DATA = .*$")
1024 (build-system gnu-build-system)
1027 (modify-phases %standard-phases
1028 (add-after 'install 'post-install
1029 (lambda* (#:key outputs #:allow-other-keys)
1030 ;; Add an autoloads file with the right name for guix.el.
1031 (let* ((out (assoc-ref outputs "out"))
1032 (site (string-append out "/share/emacs/site-lisp")))
1033 (with-directory-excursion site
1034 (symlink "bbdb-loaddefs.el" "bbdb-autoloads.el")))
1036 (native-inputs `(("emacs" ,emacs-minimal)))
1037 (home-page "https://savannah.nongnu.org/projects/bbdb/")
1038 (synopsis "Contact management utility for Emacs")
1040 "BBDB is the Insidious Big Brother Database for GNU Emacs. It provides
1041 an address book for email and snail mail addresses, phone numbers and the
1042 like. It can be linked with various Emacs mail clients (Message and Mail
1043 mode, Rmail, Gnus, MH-E, and VM). BBDB is fully customizable.")
1044 (license license:gpl3+)))
1046 (define-public emacs-aggressive-indent
1048 (name "emacs-aggressive-indent")
1052 (uri (string-append "https://elpa.gnu.org/packages/"
1053 "aggressive-indent-" version ".el"))
1056 "0jnzccl50x0wapprgwxinp99pwwa6j43q6msn4gv437j7swy8wnj"))))
1057 (build-system emacs-build-system)
1058 (home-page "https://elpa.gnu.org/packages/aggressive-indent.html")
1059 (synopsis "Minor mode to aggressively keep your code always indented")
1061 "@code{aggressive-indent-mode} is a minor mode that keeps your code
1062 always indented. It reindents after every change, making it more reliable
1063 than @code{electric-indent-mode}.")
1064 (license license:gpl2+)))
1066 (define-public emacs-ag
1073 "https://github.com/Wilfred/ag.el/archive/"
1075 (file-name (string-append name "-" version ".tar.gz"))
1078 "1rlmp6wnyhqfg86dbz17r914msp58favn4kd4yrdwyia265a4lar"))))
1079 (build-system emacs-build-system)
1082 (modify-phases %standard-phases
1083 (add-before 'install 'make-info
1085 (with-directory-excursion "docs"
1086 (zero? (system* "make" "info")))))
1087 (add-after 'install 'install-info
1088 (lambda* (#:key outputs #:allow-other-keys)
1089 (let* ((out (assoc-ref outputs "out"))
1090 (info (string-append out "/share/info")))
1091 (install-file "docs/_build/texinfo/agel.info" info)
1094 `(("python-sphinx" ,python-sphinx)
1095 ("texinfo" ,texinfo)))
1097 `(("dash" ,emacs-dash)
1099 ;; We need to use 'ag' as the executable on remote systems.
1100 ("the-silver-searcher" ,the-silver-searcher)))
1101 (home-page "https://github.com/Wilfred/ag.el")
1102 (synopsis "Front-end for ag (the-silver-searcher) for Emacs")
1103 (description "This package provides the ability to use the silver
1104 searcher, a code searching tool, sometimes abbreviated to @code{ag}. Features
1105 include version control system awareness, use of Perl compatible regular
1106 expressions, editing the search results directly and searching file names
1107 rather than the contents of files.")
1108 (license license:gpl3+)))
1110 (define-public emacs-async
1112 (name "emacs-async")
1116 (uri (string-append "https://elpa.gnu.org/packages/async-"
1120 "17fnvrj7jww29sav6a6jpizclg4w2962m6h37akpii71gf0vrffw"))))
1121 (build-system emacs-build-system)
1122 (home-page "https://elpa.gnu.org/packages/async.html")
1123 (synopsis "Asynchronous processing in Emacs")
1125 "This package provides the ability to call asynchronous functions and
1126 processes. For example, it can be used to run dired commands (for copying,
1127 moving, etc.) asynchronously using @code{dired-async-mode}. Also it is used
1128 as a library for other Emacs packages.")
1129 (license license:gpl3+)))
1131 (define-public emacs-auctex
1133 (name "emacs-auctex")
1139 "https://elpa.gnu.org/packages/auctex-"
1144 "0iy5x61xqkxaph2hq64sg50l1c6yp6qhzppwadayxkdz00b46sas"))))
1145 (build-system emacs-build-system)
1146 ;; We use 'emacs' because AUCTeX requires dbus at compile time
1147 ;; ('emacs-minimal' does not provide dbus).
1150 #:include '("\\.el$" "^images/" "^latex/" "\\.info$")
1151 #:exclude '("^tests/" "^latex/README")))
1154 (home-page "https://www.gnu.org/software/auctex/")
1155 (synopsis "Integrated environment for TeX")
1157 "AUCTeX is a comprehensive customizable integrated environment for
1158 writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs
1160 (license license:gpl3+)))
1162 (define-public emacs-autothemer
1164 (name "emacs-autothemer")
1169 (uri (string-append "https://github.com/sebastiansturm/autothemer/archive/"
1171 (file-name (string-append name "-" version ".tar.gz"))
1174 "0rd28r9wfrbll212am4ih9hrvypx785aff76va2cbfxdwm9kixsa"))))
1175 (build-system emacs-build-system)
1177 `(("emacs-dash" ,emacs-dash)))
1178 (home-page "https://github.com/sebastiansturm/autothemer")
1179 (synopsis "Conveniently create Emacs themes")
1181 "Autothemer provides a thin layer on top of @code{deftheme} and
1182 @code{custom-theme-set-faces} that creates a new custom color theme, based on
1183 a set of simplified face specifications and a user-supplied color palette")
1184 (license license:gpl3+)))
1186 (define-public emacs-calfw
1188 (name "emacs-calfw")
1194 "https://github.com/kiwanami/emacs-calfw/archive/v"
1196 (file-name (string-append name "-" version ".tar.gz"))
1199 "17ssg8gx66yp63nhygjq2r6kgl4h45cacmrxsxs9f0lrfcx37k0l"))))
1200 (build-system emacs-build-system)
1201 (home-page "https://github.com/kiwanami/emacs-calfw/")
1202 (synopsis "Calendar framework for Emacs")
1204 "This package displays a calendar view with various schedule data in the
1206 (license license:gpl3+)))
1208 (define-public emacs-direnv
1210 (name "emacs-direnv")
1216 "https://github.com/wbolster/emacs-direnv/archive/"
1218 (file-name (string-append name "-" version ".tar.gz"))
1221 "0m9nxawklhiiysyibzzhh2zkxgq1fskqvaqb06f7r8dnhabfy9fr"))))
1222 (build-system emacs-build-system)
1224 `(("dash" ,emacs-dash)
1225 ("with-editor" ,emacs-with-editor)))
1226 (home-page "https://github.com/wbolster/emacs-direnv")
1227 (synopsis "Direnv integration for Emacs")
1229 "This package provides support for invoking direnv to get the environment
1230 for the current file and updating the environment within Emacs to match.
1232 Direnv can be invoked manually, and a global minor mode is included that will
1233 update the environment when the active buffer changes.
1235 Using emacs-direnv means that programs started from Emacs will use the
1236 environment set through Direnv.")
1237 (license license:gpl3+)))
1239 (define-public emacs-ggtags
1241 (name "emacs-ggtags")
1246 (uri (string-append "http://elpa.gnu.org/packages/ggtags-"
1250 "0ny3llk021g6r0s75xdm4hzpbxv393ddm2r6f2xdk8kqnq4gnirp"))))
1251 (build-system emacs-build-system)
1252 (home-page "https://github.com/leoliu/ggtags")
1253 (synopsis "Frontend to the GNU Global source code tagging system")
1254 (description "@code{ggtags} provides a frontend to the GNU Global source
1255 code tagging system.
1260 @item Build on @code{compile.el} for asynchronicity and its large feature-set.
1261 @item Automatically update Global's tag files when needed with tuning for
1263 @item Intuitive navigation among multiple matches with mode-line display of
1264 current match, total matches and exit status.
1265 @item Read tag with completion.
1266 @item Show definition at point.
1267 @item Jump to #include files.
1268 @item Support search history and saving a search to register/bookmark.
1269 @item Query replace.
1270 @item Manage Global's environment variables on a per-project basis.
1271 @item Highlight (definition) tag at point.
1272 @item Abbreviated display of file names.
1273 @item Support all Global search backends: @code{grep}, @code{idutils}, etc.
1274 @item Support exuberant ctags @url{http://ctags.sourceforge.net/} and
1275 @code{pygments} backend.
1276 @item Support all Global's output formats: @code{grep}, @code{ctags-x},
1278 @item Support projects on remote hosts (e.g. via @code{tramp}).
1279 @item Support eldoc.
1280 @item Search @code{GTAGSLIBPATH} for references and symbols.
1282 (license license:gpl3+)))
1284 (define-public emacs-go-mode
1286 (name "emacs-go-mode")
1290 (uri (string-append "https://github.com/dominikh/go-mode.el/"
1291 "archive/v" version ".tar.gz"))
1292 (file-name (string-append name "-" version ".tar.gz"))
1295 "1adngbjyb8qnwg7n6r2y31djw9j6qf3b9fi63zd85035q7x4ljnm"))))
1296 (build-system emacs-build-system)
1297 (home-page "https://github.com/dominikh/go-mode.el")
1298 (synopsis "Go mode for Emacs")
1300 "This package provides go-mode, an Emacs mode for working with software
1301 written in the Go programming language.")
1302 (license license:bsd-3)))
1304 (define-public emacs-google-maps
1306 (name "emacs-google-maps")
1310 (uri (string-append "https://github.com/jd/google-maps.el/"
1311 "archive/" version ".tar.gz"))
1312 (file-name (string-append name "-" version ".tar.gz"))
1315 "014bxapm4d8vjxbzrfjdpsavxyfx981mlcb10aq5rmigr6il8ybs"))))
1316 (build-system emacs-build-system)
1317 (home-page "https://github.com/jd/google-maps.el")
1318 (synopsis "Access Google Maps from Emacs")
1319 (description "The @code{google-maps} package allows to display Google
1320 Maps directly inside Emacs.")
1321 (license license:gpl3+)))
1323 (define-public emacs-graphviz-dot-mode
1324 (let ((commit "fdaabbcc95d9156e3dadc84f81a4750c5b692580")
1327 (name "emacs-graphviz-dot-mode")
1328 (version (string-append "0.3.10-" revision "."
1329 (string-take commit 7)))
1333 (url "https://github.com/ppareit/graphviz-dot-mode.git")
1335 (file-name (string-append name "-" version "-checkout"))
1338 "1s1qh5r0xp6hs0rl5yz5mkmjhpg04bh449c7vgjbb1pjsl1dl714"))))
1339 (build-system emacs-build-system)
1342 (modify-phases %standard-phases
1343 (add-before 'install 'make-info
1344 (lambda* (#:key inputs #:allow-other-keys)
1345 (with-directory-excursion "texinfo"
1346 (substitute* "Makefile"
1347 (("\\/usr\\/bin\\/gzip")
1348 (string-append (assoc-ref inputs "gzip") "/bin/gzip")))
1353 (string-append "TEXINFODIR="
1354 (assoc-ref inputs "texinfo")
1356 (add-after 'install 'install-info
1357 (lambda* (#:key outputs #:allow-other-keys)
1358 (let* ((out (assoc-ref outputs "out"))
1359 (info (string-append out "/share/info")))
1360 (install-file "texinfo/graphviz-dot-mode.info.gz" info)
1363 `(("texinfo" ,texinfo)
1365 (home-page "http://ppareit.github.com/graphviz-dot-mode")
1366 (synopsis "Major mode for editing Graphviz Dot files")
1368 "This Emacs packages helps you to create @file{.dot} or @file{.gv}
1369 files using the dot syntax, and use Graphviz to convert these files to
1371 (license license:gpl2+))))
1373 (define-public emacs-mmm-mode
1375 (name "emacs-mmm-mode")
1381 "https://github.com/purcell/mmm-mode/archive/"
1383 (file-name (string-append name "-" version ".tar.gz"))
1386 "0c5ing3hcr74k78hqhrfwiv6m3n8hqfrw89j2x34vf60f4iyqzqc"))))
1387 (build-system gnu-build-system)
1390 (modify-phases %standard-phases
1391 (add-after 'unpack 'autogen
1393 (zero? (system* "sh" "autogen.sh")))))))
1395 `(("autoconf" ,autoconf)
1396 ("automake" ,automake)
1397 ("emacs" ,emacs-minimal)
1398 ("texinfo" ,texinfo)))
1399 (home-page "https://github.com/purcell/mmm-mode")
1400 (synopsis "Allow multiple major modes in an Emacs buffer")
1402 "MMM Mode is a minor mode that allows multiple major modes to coexist in a
1404 (license license:gpl3+)))
1406 (define-public emacs-tablist
1408 (name "emacs-tablist")
1413 "https://github.com/politza/tablist/archive/v"
1415 (file-name (string-append name "-" version ".tar.gz"))
1418 "177d6s7ym1mwz1nhnl09r14z3n093g9a2szm97xsaig0c204xz9c"))))
1419 (build-system emacs-build-system)
1420 (home-page "https://github.com/politza/tablist")
1421 (synopsis "Extension for @code{tabulated-list-mode}")
1422 (description "Tablist is the Emacs package that provides several
1423 additional features to @code{tabulated-list-mode}: it adds marks,
1424 filters, new key bindings and faces. It can be enabled by
1425 @code{tablist-mode} or @code{tablist-minor-mode} commands.")
1426 (license license:gpl3+)))
1428 (define-public emacs-pdf-tools
1430 (name "emacs-pdf-tools")
1435 "https://github.com/politza/pdf-tools/archive/v"
1437 (file-name (string-append name "-" version ".tar.gz"))
1440 "06imydn3a92vr57azpn1zhqc14kxyyslmyi9ldsyphan9b724gb6"))))
1441 (build-system gnu-build-system)
1443 `(#:tests? #f ; there are no tests
1444 #:modules ((guix build gnu-build-system)
1445 ((guix build emacs-build-system) #:prefix emacs:)
1447 (guix build emacs-utils))
1448 #:imported-modules (,@%gnu-build-system-modules
1449 (guix build emacs-build-system)
1450 (guix build emacs-utils))
1452 (modify-phases %standard-phases
1453 ;; Build server side using 'gnu-build-system'.
1454 (add-after 'unpack 'enter-server-dir
1455 (lambda _ (chdir "server") #t))
1456 (add-after 'enter-server-dir 'autogen
1458 (zero? (system* "bash" "autogen.sh"))))
1460 ;; Build emacs side using 'emacs-build-system'.
1461 (add-after 'compress-documentation 'enter-lisp-dir
1462 (lambda _ (chdir "../lisp") #t))
1463 (add-after 'enter-lisp-dir 'emacs-patch-variables
1464 (lambda* (#:key outputs #:allow-other-keys)
1465 ;; Set path to epdfinfo program.
1466 (emacs-substitute-variables "pdf-info.el"
1467 ("pdf-info-epdfinfo-program"
1468 (string-append (assoc-ref outputs "out")
1470 ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto
1471 ;; upgrading" that pdf-tools tries to perform.
1472 (emacs-substitute-variables "pdf-tools.el"
1473 ("pdf-tools-handle-upgrades" '()))))
1474 (add-after 'emacs-patch-variables 'emacs-install
1475 (assoc-ref emacs:%standard-phases 'install))
1476 (add-after 'emacs-install 'emacs-build
1477 (assoc-ref emacs:%standard-phases 'build))
1478 (add-after 'emacs-install 'emacs-make-autoloads
1479 (assoc-ref emacs:%standard-phases 'make-autoloads)))))
1480 (native-inputs `(("autoconf" ,autoconf)
1481 ("automake" ,automake)
1482 ("pkg-config" ,pkg-config)
1483 ("emacs" ,emacs-minimal)))
1484 (inputs `(("poppler" ,poppler)
1489 (propagated-inputs `(("tablist" ,emacs-tablist)))
1490 (synopsis "Emacs support library for PDF files")
1492 "PDF Tools is, among other things, a replacement of DocView for PDF
1493 files. The key difference is that pages are not pre-rendered by
1494 e.g. ghostscript and stored in the file-system, but rather created on-demand
1495 and stored in memory.")
1496 (home-page "https://github.com/politza/pdf-tools")
1497 (license license:gpl3+)))
1499 (define-public emacs-dash
1506 "https://github.com/magnars/dash.el/archive/"
1508 (file-name (string-append name "-" version ".tar.gz"))
1511 "1pjlkrzr8n45bnp3xs3dybvy0nz3gwamrfc7vsi1nhpkkw99ihhb"))))
1512 (build-system emacs-build-system)
1515 (modify-phases %standard-phases
1516 (add-before 'install 'check
1518 (zero? (system* "./run-tests.sh")))))))
1519 (home-page "https://github.com/magnars/dash.el")
1520 (synopsis "Modern list library for Emacs")
1521 (description "This package provides a modern list API library for Emacs.")
1522 (license license:gpl3+)))
1524 (define-public emacs-bui
1531 "https://github.com/alezost/bui.el/archive/v"
1533 (file-name (string-append name "-" version ".tar.gz"))
1536 "112k0mq6xpy0r47vk66miw7rxbkv3d06pv3pd0vcmrhcnhnnk486"))))
1537 (build-system emacs-build-system)
1539 `(("dash" ,emacs-dash)))
1540 (home-page "https://github.com/alezost/bui.el")
1541 (synopsis "Buffer interface library for Emacs")
1543 "BUI (Buffer User Interface) is a library for making @code{list} and
1544 @code{info} interfaces to display an arbitrary data of the same
1545 type, for example: packages, buffers, files, etc.")
1546 (license license:gpl3+)))
1548 (define-public emacs-guix
1554 (uri (string-append "https://github.com/alezost/guix.el"
1555 "/releases/download/v" version
1556 "/emacs-guix-" version ".tar.gz"))
1559 "152zf9vkafmnnf7by5armg165npznb961csgnvr8iwdj3smvivjf"))))
1560 (build-system gnu-build-system)
1563 (let ((guix (assoc-ref %build-inputs "guix"))
1564 (geiser (assoc-ref %build-inputs "geiser"))
1565 (dash (assoc-ref %build-inputs "dash"))
1566 (bui (assoc-ref %build-inputs "bui"))
1567 (magit-popup (assoc-ref %build-inputs "magit-popup"))
1568 (site-lisp "/share/emacs/site-lisp"))
1569 (list (string-append "--with-guix-site-dir="
1570 (car (find-files (string-append guix
1571 "/share/guile/site")
1576 #:directories? #t)))
1577 (string-append "--with-guix-site-ccache-dir="
1578 (car (find-files (string-append guix "/lib/guile")
1581 "2." (basename file)))
1584 (string-append "--with-geiser-lispdir=" geiser site-lisp)
1585 (string-append "--with-dash-lispdir="
1586 dash site-lisp "/guix.d/dash-"
1587 ,(package-version emacs-dash))
1588 (string-append "--with-bui-lispdir="
1589 bui site-lisp "/guix.d/bui-"
1590 ,(package-version emacs-bui))
1591 (string-append "--with-popup-lispdir="
1592 magit-popup site-lisp "/guix.d/magit-popup-"
1593 ,(package-version emacs-magit-popup))))))
1595 `(("pkg-config" ,pkg-config)
1596 ("emacs" ,emacs-minimal)))
1598 `(("guile" ,guile-2.2)
1601 `(("geiser" ,geiser)
1602 ("dash" ,emacs-dash)
1604 ("magit-popup" ,emacs-magit-popup)))
1605 (home-page "https://alezost.github.io/guix.el/")
1606 (synopsis "Emacs interface for GNU Guix")
1608 "Emacs-Guix provides a visual interface, tools and features for the GNU
1609 Guix package manager. Particularly, it allows you to do various package
1610 management tasks from Emacs. To begin with, run @code{M-x guix-about} or
1611 @code{M-x guix-help} command.")
1612 (license license:gpl3+)))
1614 (define-public emacs-d-mode
1616 (name "emacs-d-mode")
1621 "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/"
1622 "archive/" version ".tar.gz"))
1623 (file-name (string-append name "-" version ".tar.gz"))
1626 "0knpgi55jm09282aqf8pv55zillpnpzf9f4sgm6gwsmvxf17xaw0"))))
1627 (build-system emacs-build-system)
1629 `(("emacs-undercover" ,emacs-undercover)))
1630 (home-page "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode")
1631 (synopsis "Emacs major mode for editing D code")
1632 (description "This package provides an Emacs major mode for highlighting
1633 code written in the D programming language. This mode is currently known to
1634 work with Emacs 24 and 25.")
1635 (license license:gpl2+)))
1637 (define-public emacs-keyfreq
1639 (name "emacs-keyfreq")
1640 (version "20160516.716")
1644 (uri (string-append "http://melpa.org/packages/keyfreq-"
1648 "008hd7d06qskc3mx0bbdgpgy2pwxr8185fzlyqf9qjg49y74p6g8"))))
1649 (build-system emacs-build-system)
1650 (home-page "https://github.com/dacap/keyfreq")
1651 (synopsis "Track Emacs command frequencies")
1652 (description "@code{emacs-keyfeq} tracks and shows how many times you used
1654 (license license:gpl3+)))
1656 (define-public emacs-olivetti
1658 (name "emacs-olivetti")
1663 "https://stable.melpa.org/packages/olivetti-"
1667 "1yj2ylg46q0pw1xzlv2b0fv9x8p56x25284s9v2smwjr4vf0nwcj"))))
1668 (build-system emacs-build-system)
1669 (home-page "https://github.com/rnkn/olivetti")
1670 (synopsis "Emacs minor mode for a nice writing environment")
1671 (description "This package provides an Emacs minor mode that puts writing
1673 (license license:gpl3+)))
1675 (define-public emacs-undo-tree
1677 (name "emacs-undo-tree")
1682 (url "http://dr-qubit.org/git/undo-tree.git")
1683 (commit (string-append "release/" version))))
1684 (file-name (string-append name "-" version "-checkout"))
1687 "1hnh2mnmw179gr094r561w6cw1haid0lpvpqvkc24wpj82vphzpa"))))
1688 (build-system emacs-build-system)
1689 (home-page "http://www.dr-qubit.org/emacs.php")
1690 (synopsis "Treat undo history as a tree")
1691 (description "Tree-like interface to Emacs undo system, providing
1692 graphical tree presentation of all previous states of buffer that
1693 allows easily move between them.")
1694 (license license:gpl3+)))
1696 (define-public emacs-s
1703 "https://github.com/magnars/s.el/archive/"
1705 (file-name (string-append name "-" version ".tar.gz"))
1708 "0xbl75863pcm806zg0x1lw7qznzjq2c8320k8js7apyag8q4srvh"))))
1709 (build-system emacs-build-system)
1712 (modify-phases %standard-phases
1713 (add-before 'install 'check
1715 (zero? (system* "./run-tests.sh")))))))
1716 (home-page "https://github.com/magnars/s.el")
1717 (synopsis "Emacs string manipulation library")
1718 (description "This package provides an Emacs library for manipulating
1720 (license license:gpl3+)))
1722 (define-public emacs-symon
1724 (name "emacs-symon")
1725 (version "20160630")
1729 (uri (string-append "https://github.com/zk-phi/symon/archive/"
1731 (file-name (string-append name "-" version ".tar.gz"))
1734 "0h4jcgdnq98wc9rj72nwyazq8498yg55jfljiij5qwbn1xf1g5zz"))))
1735 (build-system emacs-build-system)
1736 (home-page "https://github.com/zk-phi/symon")
1737 (synopsis "Tiny graphical system monitor")
1739 "Tiny graphical system monitor for the Emacs minibuffer when idle.")
1740 (license license:gpl2+)))
1742 (define-public emacs-sx
1748 (uri (string-append "https://github.com/vermiculus/sx.el/"
1749 "archive/v" version ".tar.gz"))
1750 (file-name (string-append name "-" version ".tar.gz"))
1753 "1w0xghfljqg31axcnv8gzlrd8pw25nji6idnrhflq0af9qh1dw03"))))
1754 (build-system emacs-build-system)
1756 `(("emacs-markdown-mode" ,emacs-markdown-mode)))
1757 (home-page "https://github.com/vermiculus/sx.el/")
1758 (synopsis "Emacs StackExchange client")
1760 "Emacs StackExchange client. Ask and answer questions on
1761 Stack Overflow, Super User, and other StackExchange sites.")
1762 (license license:gpl3+)))
1764 (define-public emacs-f
1771 "https://github.com/rejeep/f.el/archive/v"
1773 (file-name (string-append name "-" version ".tar.gz"))
1776 "05195n80ywa68qykxn7dza6qd59rhakvlzhaa9l6mcpmjf9l9grs"))))
1777 (build-system emacs-build-system)
1779 `(("emacs-s" ,emacs-s)
1780 ("emacs-dash" ,emacs-dash)))
1781 (home-page "https://github.com/rejeep/f.el")
1782 (synopsis "Emacs API for working with files and directories")
1783 (description "This package provides an Emacs library for working with
1784 files and directories.")
1785 (license license:gpl3+)))
1787 (define-public emacs-git-gutter
1789 (name "emacs-git-gutter")
1794 "https://github.com/syohex/" name "/archive/"
1796 (file-name (string-append name "-" version ".tar.gz"))
1799 "1nmhvhpq1l56mj2yq3ag23rw3x4xgnsy8szp30s26l0yjnkhc4qg"))))
1800 (build-system emacs-build-system)
1801 (home-page "https://github.com/syohex/emacs-git-gutter")
1802 (synopsis "See and manage hunks of text in a version control system")
1804 "This package is an Emacs minor mode for displaying and interacting with
1805 hunks of text managed in a version control system. Added modified and deleted
1806 areas can be indicated with symbols on the edge of the buffer, and commands
1807 can be used to move between and perform actions on these hunks.
1809 Git, Mercurial, Subversion and Bazaar are supported, and many parts of the
1810 display and behaviour is easily customisable.")
1811 (license license:gpl3+)))
1813 (define-public emacs-git-timemachine
1815 (name "emacs-git-timemachine")
1820 (uri (string-append "https://github.com/pidu/git-timemachine/"
1821 "archive/" version ".tar.gz"))
1822 (file-name (string-append name "-" version ".tar.gz"))
1825 "1l4g0r69wfrnjsywv03v4bpdd53byg6zdx6mzabfxyymss3kvisa"))))
1826 (build-system emacs-build-system)
1827 (home-page "https://github.com/pidu/git-timemachine")
1828 (synopsis "Step through historic versions of Git-controlled files")
1829 (description "This package enables you to step through historic versions
1830 of files under Git version control from within Emacs.")
1831 (license license:gpl3+)))
1833 (define-public emacs-minitest
1834 (let ((commit "1aadb7865c1dc69c201cecee275751ecec33a182")
1837 (name "emacs-minitest")
1838 (version (git-version "0.8.0" revision commit))
1842 (url "https://github.com/arthurnn/minitest-emacs")
1844 (file-name (git-file-name name commit))
1847 "1l18zqpdzbnqj2qawq8hj7z7pl8hr8z9d8ihy8jaiqma915hmhj1"))))
1848 (build-system emacs-build-system)
1850 '(#:include (cons "^snippets\\/minitest-mode\\/" %default-include)
1851 #:exclude (delete "^[^/]*tests?\\.el$" %default-exclude)))
1853 `(("emacs-dash" ,emacs-dash)
1854 ("emacs-f" ,emacs-f)))
1855 (home-page "https://github.com/arthurnn/minitest-emacs")
1856 (synopsis "Emacs minitest mode")
1858 "The minitest mode provides commands to run the tests for the current
1859 file or line, as well as rerunning the previous tests, or all the tests for a
1862 This package also includes relevant snippets for yasnippet.")
1863 (license license:expat))))
1865 (define-public emacs-el-mock
1867 (name "emacs-el-mock")
1872 (uri (string-append "https://github.com/rejeep/el-mock.el/"
1873 "archive/v" version ".tar.gz"))
1874 (file-name (string-append name "-" version ".tar.gz"))
1877 "16xw94n58xxn3zvgyj72bmzs0k5lkvswjmzs79ws9n7rzdivb38b"))))
1878 (build-system emacs-build-system)
1879 (home-page "https://github.com/rejeep/el-mock.el")
1880 (synopsis "Tiny mock and stub framework in Emacs Lisp")
1882 "Emacs Lisp Mock is a library for mocking and stubbing using readable
1883 syntax. Most commonly Emacs Lisp Mock is used in conjunction with Emacs Lisp
1884 Expectations, but it can be used in other contexts.")
1885 (license license:gpl3+)))
1887 (define-public emacs-espuds
1889 (name "emacs-espuds")
1894 (uri (string-append "https://github.com/ecukes/espuds/"
1895 "archive/v" version ".tar.gz"))
1896 (file-name (string-append name "-" version ".tar.gz"))
1899 "0xv551376pbmh735a3zjwc9z4qdx6ngj1vpq3xqjpn0a1rwjyn4k"))))
1900 (build-system emacs-build-system)
1902 `(("emacs-s" ,emacs-s)
1903 ("emacs-dash" ,emacs-dash)
1904 ("emacs-f" ,emacs-f)))
1905 (home-page "https://github.com/ecukes/espuds")
1906 (synopsis "Common step definitions for Ecukes")
1907 (description "Espuds is a collection of the most commonly used step
1908 definitions for testing with the Ecukes framework.")
1909 (license license:gpl3+)))
1911 (define-public emacs-spark
1912 (let ((version "20160503") ; no proper tag, use date of commit
1913 (commit "0bf148c3ede3b31d56fd75f347cdd0b0eae60025")
1916 (name "emacs-spark")
1917 (version (git-version version revision commit))
1922 (url "https://github.com/alvinfrancis/spark.git")
1924 (file-name (git-file-name name version))
1927 "1ykqr86j17mi95s08d9fp02d7ych1331b04dcqxzxnmpkhwngyj1"))))
1928 (build-system emacs-build-system)
1929 (home-page "https://github.com/alvinfrancis/spark")
1930 (synopsis "Sparkline generation library for Emacs Lisp")
1931 (description "@code{emacs-spark} is a sparkline generation library for
1932 Emacs Lisp. It generates a sparkline string given a list of numbers. It is a
1933 port of @code{cl-spark} to Emacs Lisp.")
1934 (license license:expat))))
1936 (define-public emacs-es-mode
1938 (name "emacs-es-mode")
1943 "https://github.com/dakrone/es-mode/archive/"
1945 (file-name (string-append name "-" version ".tar.gz"))
1948 "0y86qdcb3g7fkcb4pzsjh3syzql6w3314hg1wqxq4a8bbk3y0cgr"))))
1949 (build-system emacs-build-system)
1951 ;; The version of org in Emacs 24.5 is not sufficient, and causes tables
1952 ;; to be rendered incorrectly
1953 `(("emacs-dash" ,emacs-dash)
1954 ("emacs-org" ,emacs-org)
1955 ("emacs-spark" ,emacs-spark)))
1956 (home-page "https://github.com/dakrone/es-mode")
1957 (synopsis "Major mode for editing Elasticsearch queries")
1958 (description "@code{es-mode} includes highlighting, completion and
1959 indentation support for Elasticsearch queries. Also supported are
1960 @code{es-mode} blocks in @code{org-mode}, for which the results of queries can
1961 be processed through @code{jq}, or in the case of aggregations, can be
1962 rendered in to a table. In addition, there is an @code{es-command-center}
1963 mode, which displays information about Elasticsearch clusters.")
1964 (license license:gpl3+)))
1966 (define-public emacs-expand-region
1968 (name "emacs-expand-region")
1973 (uri (string-append "https://github.com/magnars/expand-region.el"
1974 "/archive/" version ".tar.gz"))
1975 (file-name (string-append name "-" version ".tar.gz"))
1978 "08dy1f411sh9wwww53rjw80idcf3vpki6ba2arl4hl5jcw9651g0"))))
1979 (build-system emacs-build-system)
1980 (home-page "https://github.com/magnars/expand-region.el")
1981 (synopsis "Increase selected region by semantic units")
1983 "Expand region increases the selected region by semantic units. Just
1984 keep pressing the key until it selects what you want. There's also
1985 @code{er/contract-region} if you expand too far.")
1986 (license license:gpl3+)))
1988 (define-public emacs-fill-column-indicator
1990 (name "emacs-fill-column-indicator")
1995 (uri (string-append "https://github.com/alpaker/Fill-Column-Indicator"
1996 "/archive/v" version ".tar.gz"))
1997 (file-name (string-append name "-" version ".tar.gz"))
2000 "1xwyqbjbbicmvhlb85vg4j5snwy1vd7rfk89ws4viws5ljkhhyg8"))))
2001 (build-system emacs-build-system)
2002 (home-page "https://www.emacswiki.org/emacs/FillColumnIndicator")
2003 (synopsis "Graphically indicate the fill column")
2005 "Fill-column-indicator graphically indicates the location of the fill
2006 column by drawing a thin line down the length of the editing window.")
2007 (license license:gpl3+)))
2009 (define-public emacs-grep-a-lot
2011 (name "emacs-grep-a-lot")
2016 (url "https://github.com/ZungBang/emacs-grep-a-lot.git")
2017 (commit "9f9f645b9e308a0d887b66864ff97d0fca1ba4ad")))
2018 (file-name (string-append name "-" version "-checkout"))
2021 "1f8262mrlinzgnn4m49hbj1hm3c1mvzza24py4b37sasn49546lw"))))
2022 (build-system emacs-build-system)
2023 (home-page "https://github.com/ZungBang/emacs-grep-a-lot")
2024 (synopsis "Enables multiple grep buffers in Emacs")
2026 "This Emacs package allows managing multiple grep buffers.")
2027 (license license:gpl3+)))
2029 (define-public emacs-inf-ruby
2031 (name "emacs-inf-ruby")
2036 (uri (string-append "https://github.com/nonsequitur/inf-ruby/"
2037 "archive/" version ".tar.gz"))
2038 (file-name (string-append name "-" version ".tar.gz"))
2041 "0m7323k649ckxql1grsdnf71bjhys7l4qb8wbpphb1mr1q8i4066"))))
2042 (build-system emacs-build-system)
2043 (home-page "https://github.com/nonsequitur/inf-ruby")
2044 (synopsis "Provides a REPL buffer connected to a Ruby subprocess in Emacs")
2046 "@code{inf-ruby} provides a Read Eval Print Loop (REPL) buffer, allowing
2047 for easy interaction with a ruby subprocess. Features include support for
2048 detecting specific uses of Ruby, e.g. when using rails, and using a
2049 appropriate console.")
2050 (license license:gpl3+)))
2052 (define-public emacs-znc
2059 (uri (string-append "https://marmalade-repo.org/packages/znc-"
2063 "1d8lqvybgyazin5z0g1c4l3rg1vzrrvf0saqs53jr1zcdg0lianh"))))
2064 (build-system emacs-build-system)
2065 (home-page "https://github.com/sshirokov/ZNC.el")
2066 (synopsis "Make ERC and ZNC get along better")
2068 "This is a thin wrapper around @code{erc} that enables one to use the ZNC
2069 IRC bouncer with ERC.")
2070 (license license:expat)))
2072 (define-public emacs-shut-up
2074 (name "emacs-shut-up")
2079 (uri (string-append "https://github.com/cask/shut-up/"
2080 "archive/v" version ".tar.gz"))
2081 (file-name (string-append name "-" version ".tar.gz"))
2084 "09kzrjdkb569iviyg7ydwq44yh84m3f9hkl7jizfrlk0w4gz67d1"))))
2085 (build-system emacs-build-system)
2086 (home-page "https://github.com/cask/shut-up")
2087 (synopsis "Silence Emacs")
2088 (description "This package silences most output of Emacs when running an
2089 Emacs shell script.")
2090 (license license:expat)))
2092 (define-public emacs-undercover
2094 (name "emacs-undercover")
2099 (uri (string-append "https://github.com/sviridov/undercover.el/"
2100 "archive/v" version ".tar.gz"))
2101 (file-name (string-append name "-" version ".tar.gz"))
2104 "0f48fi0xnbsqs382rgh85m9mq1wdnr0yib7as9xhwzvq0hsr5m0a"))))
2105 (build-system emacs-build-system)
2107 `(("emacs-dash" ,emacs-dash)
2108 ("emacs-shut-up" ,emacs-shut-up)))
2109 (home-page "https://github.com/sviridov/undercover.el")
2110 (synopsis "Test coverage library for Emacs Lisp")
2112 "Undercover is a test coverage library for software written in Emacs
2114 (license license:expat)))
2116 (define-public emacs-paren-face
2118 (name "emacs-paren-face")
2123 (uri (string-append "https://github.com/tarsius/paren-face/archive/"
2125 (file-name (string-append name "-" version ".tar.gz"))
2128 "0y4qrhxa9332vsvr999jg7qj1ymnfgwpf591yi4a4jgg90pm7qnn"))))
2129 (build-system emacs-build-system)
2130 (home-page "https://github.com/tarsius/paren-face")
2131 (synopsis "Face for parentheses in lisp modes")
2133 "This library defines a face named @code{parenthesis} used just for
2134 parentheses. The intended purpose of this face is to make parentheses less
2135 visible in Lisp code by dimming them. Lispers probably don't need to be
2136 constantly made aware of the existence of the parentheses. Dimming them might
2137 be even more useful for people new to lisp who have not yet learned to
2138 subconsciously blend out the parentheses.")
2139 (license license:gpl3+)))
2141 (define-public emacs-page-break-lines
2143 (name "emacs-page-break-lines")
2148 (uri (string-append "https://github.com/purcell/page-break-lines/"
2149 "archive/" version ".tar.gz"))
2150 (file-name (string-append name "-" version ".tar.gz"))
2153 "1zzhziq5kbrm9rxk30kx2glz455fp1blqxg8cpcf6l8xl3w8z4pg"))))
2154 (build-system emacs-build-system)
2155 (home-page "https://github.com/purcell/page-break-lines")
2156 (synopsis "Display page breaks as tidy horizontal lines")
2158 "This library provides a global mode which displays form feed characters
2159 as horizontal rules.")
2160 (license license:gpl3+)))
2162 (define-public emacs-simple-httpd
2164 (name "emacs-simple-httpd")
2169 (uri (string-append "https://github.com/skeeto/emacs-web-server/"
2170 "archive/" version ".tar.gz"))
2171 (file-name (string-append name "-" version ".tar.gz"))
2174 "01r7h3imnj4qx1m53a2wjafvbylcyz5f9r2rg2cs7ky3chlg220r"))))
2175 (build-system emacs-build-system)
2176 (home-page "https://github.com/skeeto/emacs-http-server")
2177 (synopsis "HTTP server in pure Emacs Lisp")
2179 "This package provides a simple HTTP server written in Emacs Lisp to
2180 serve files and directory listings.")
2181 (license license:unlicense)))
2183 (define-public emacs-skewer-mode
2185 (name "emacs-skewer-mode")
2190 (uri (string-append "https://github.com/skeeto/skewer-mode/archive/"
2192 (file-name (string-append name "-" version ".tar.gz"))
2195 "07jpz374j0j964szy3zznrkyja2kpdl3xa87wh7349mzxivqxdx0"))))
2196 (build-system emacs-build-system)
2198 `(("emacs-simple-httpd" ,emacs-simple-httpd)
2199 ("emacs-js2-mode" ,emacs-js2-mode)))
2200 (arguments '(#:include '("\\.el$" "\\.js$" "\\.html$")))
2201 (home-page "https://github.com/skeeto/skewer-mode")
2202 (synopsis "Live web development in Emacs")
2204 "Skewer-mode provides live interaction with JavaScript, CSS, and HTML in
2205 a web browser. Expressions are sent on-the-fly from an editing buffer to be
2206 evaluated in the browser, just like Emacs does with an inferior Lisp process
2208 (license license:unlicense)))
2210 (define-public emacs-string-inflection
2212 (name "emacs-string-inflection")
2217 (url "https://github.com/akicho8/string-inflection")
2218 (commit "a150e7bdda60b7824d3a936750ce23f73b0e4edd")))
2219 (file-name (string-append name "-" version "-checkout"))
2222 "1k0sm552iawi49v4zis6dbb81d1rzgky9v0dpv7nj31gnb7bmy7k"))))
2223 (build-system emacs-build-system)
2225 `(("ert-runner" ,ert-runner)))
2228 (modify-phases %standard-phases
2229 (add-before 'install 'check
2231 (zero? (system* "ert-runner")))))))
2232 (home-page "https://github.com/akicho8/string-inflection")
2233 (synopsis "Convert symbol names between different naming conventions")
2235 "This Emacs package provides convenient methods for manipulating the
2236 naming style of a symbol. It supports different naming conventions such as:
2241 @item all upper case
2242 @item lower case separated by underscore
2245 (license license:gpl2+)))
2247 (define-public emacs-stripe-buffer
2249 (name "emacs-stripe-buffer")
2254 (uri (string-append "https://github.com/sabof/stripe-buffer/"
2255 "archive/" version ".tar.gz"))
2256 (file-name (string-append name "-" version ".tar.gz"))
2259 "1p515dq7raly5hw94kiwm3vzsfih0d8af622q4ipvvljsm98aiik"))))
2260 (build-system emacs-build-system)
2261 (home-page "https://github.com/sabof/stripe-buffer/")
2262 (synopsis "Add stripes to list buffers")
2264 "This Emacs package adds faces to add stripes to list buffers and org
2266 (license license:gpl2+)))
2268 (define-public emacs-rich-minority
2270 (name "emacs-rich-minority")
2275 (uri (string-append "https://github.com/Malabarba/rich-minority/"
2276 "archive/" version ".tar.gz"))
2277 (file-name (string-append name "-" version ".tar.gz"))
2280 "1l0cb0q7kyi88nwfqd542psnkgwnjklpzc5rx32gzd3lkwkrbr8v"))))
2281 (build-system emacs-build-system)
2282 (home-page "https://github.com/Malabarba/rich-minority")
2283 (synopsis "Clean-up and beautify the list of minor modes")
2285 "This Emacs package hides and/or highlights minor modes in the
2287 (license license:gpl2+)))
2289 (define-public emacs-robe
2296 (uri (string-append "https://github.com/dgutov/robe/"
2297 "archive/" version ".tar.gz"))
2298 (file-name (string-append name "-" version ".tar.gz"))
2301 "1vp45y99fwj88z04ah4yppz4z568qcib646az6m9az5ar0f203br"))))
2302 (build-system emacs-build-system)
2304 '(#:include (cons "^lib\\/" %default-include)))
2306 `(("emacs-inf-ruby" ,emacs-inf-ruby)))
2307 (home-page "https://github.com/dgutov/robe")
2308 (synopsis "Ruby code assistance tool for Emacs")
2310 "Robe can provide information on loaded classes and modules in Ruby code,
2311 as well as where methods are defined. This allows the user to jump to method
2312 definitions, modules and classes, display method documentation and provide
2313 method and constant name completion.")
2314 (license license:gpl3+)))
2316 (define-public emacs-rspec
2318 (name "emacs-rspec")
2323 (uri (string-append "https://github.com/pezra/rspec-mode/"
2324 "archive/v" version ".tar.gz"))
2325 (file-name (string-append name "-" version ".tar.gz"))
2328 "1j0a7ms5516nlg60qfyn730pfxys6acm0rgyxh5xfkpi6jafgpvw"))))
2329 (build-system emacs-build-system)
2330 (home-page "https://github.com/pezra/rspec-mode")
2331 (synopsis "Provides a rspec mode for working with RSpec")
2333 "The Emacs RSpec mode provides keybindings for Ruby source files, e.g. to
2334 verify the spec associated with the current buffer, or entire project, as well
2335 as moving between the spec files, and coresponding code files.
2337 Also included are keybindings for spec files and Dired buffers, as well as
2338 snippets for yasnippet.")
2339 (license license:gpl3+)))
2341 (define-public emacs-smart-mode-line
2343 (name "emacs-smart-mode-line")
2348 (uri (string-append "https://github.com/Malabarba/smart-mode-line/"
2349 "archive/" version ".tar.gz"))
2350 (file-name (string-append name "-" version ".tar.gz"))
2353 "0i9wajabrrsjzwd842q0m2611kf0q31p9hg1pdj81177gynkw8l8"))))
2354 (build-system emacs-build-system)
2356 `(("emacs-rich-minority" ,emacs-rich-minority)))
2357 (home-page "https://github.com/Malabarba/smart-mode-line")
2358 (synopsis "Color-coded smart mode-line")
2360 "Smart Mode Line is a mode-line theme for Emacs. It aims to be easy to
2361 read from small to large monitors by using colors, a prefix feature, and smart
2363 (license license:gpl2+)))
2365 (define-public emacs-sr-speedbar
2366 (let ((commit "77a83fb50f763a465c021eca7343243f465b4a47")
2369 (name "emacs-sr-speedbar")
2370 (version (git-version "20161025" revision commit))
2375 (url "https://github.com/emacsorphanage/sr-speedbar.git")
2377 (file-name (git-file-name name version))
2380 "0sd12555hk7z721y00kv3crdybvcn1i08wmd148z5imayzibj153"))))
2381 (build-system emacs-build-system)
2382 (home-page "https://www.emacswiki.org/emacs/SrSpeedbar")
2383 (synopsis "Same frame Emacs @code{speedbar}")
2385 "This Emacs package allows you to show @code{M-x speedbar} in the
2386 same frame (in an extra window). You can customize the initial width of
2387 the speedbar window.")
2388 (license license:gpl3+))))
2390 (define-public emacs-shell-switcher
2392 (name "emacs-shell-switcher")
2397 (uri (string-append "https://github.com/DamienCassou/shell-switcher"
2398 "/archive/v" version ".tar.gz"))
2399 (file-name (string-append name "-" version ".tar.gz"))
2402 "1c23mfkdqz2g9rixd9smm323vzlvhzz3ng34ambcqjfq309qb2nz"))))
2403 (build-system emacs-build-system)
2404 (home-page "https://github.com/DamienCassou/shell-switcher")
2405 (synopsis "Provide fast switching between shell buffers")
2407 "This package provides commands to quickly switch between shell buffers.")
2408 (license license:gpl3+)))
2410 (define-public emacs-ob-ipython
2412 (name "emacs-ob-ipython")
2413 (version "20150704.8807064693")
2417 (commit "880706469338ab59b5bb7dbe8460016f89755364")
2418 (url "https://github.com/gregsexton/ob-ipython.git")))
2419 (file-name (string-append name "-" version "-checkout"))
2422 "1scf25snbds9ymagpny30ijbsg479r3nm0ih01dy4m9d0g7qryb7"))))
2423 (build-system emacs-build-system)
2425 `(("emacs-f" ,emacs-f)))
2426 (home-page "http://www.gregsexton.org")
2427 (synopsis "Org-Babel functions for IPython evaluation")
2428 (description "This package adds support to Org-Babel for evaluating Python
2429 source code using IPython.")
2430 (license license:gpl3+)))
2432 (define-public emacs-debbugs
2434 (name "emacs-debbugs")
2438 (uri (string-append "https://elpa.gnu.org/packages/debbugs-"
2442 "1x7jw2ldgkknyxg7x9fhnqkary691icnysmi3xw0g2fjrvllzhqw"))))
2443 (build-system emacs-build-system)
2444 (arguments '(#:include '("\\.el$" "\\.wsdl$" "\\.info$")))
2446 `(("emacs-async" ,emacs-async)))
2447 (home-page "https://elpa.gnu.org/packages/debbugs.html")
2448 (synopsis "Access the Debbugs bug tracker in Emacs")
2450 "This package lets you access the @uref{http://bugs.gnu.org,GNU Bug
2451 Tracker} from within Emacs.
2453 For instance, it defines the command @code{M-x debbugs-gnu} for listing bugs,
2454 and the command @code{M-x debbugs-gnu-search} for bug searching. If you
2455 prefer the listing of bugs as TODO items of @code{org-mode}, you could use
2456 @code{M-x debbugs-org} and related commands.
2458 A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug
2459 Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.")
2460 (license license:gpl3+)))
2462 (define-public emacs-deferred
2464 (name "emacs-deferred")
2466 (home-page "https://github.com/kiwanami/emacs-deferred")
2471 (commit (string-append "v" version))))
2474 "0xy9zb6wwkgwhcxdnslqk52bq3z24chgk6prqi4ks0qcf2bwyh5h"))
2475 (file-name (string-append name "-" version))))
2476 (build-system emacs-build-system)
2477 ;; FIXME: Would need 'el-expectations' to actually run tests.
2478 (synopsis "Simple asynchronous functions for Emacs Lisp")
2480 "The @code{deferred.el} library provides support for asynchronous tasks.
2481 The API is almost the same as that of
2482 @uref{https://github.com/cho45/jsdeferred, JSDeferred}, a JavaScript library
2483 for asynchronous tasks.")
2484 (license license:gpl3+)))
2486 (define-public butler
2488 (name "emacs-butler")
2490 (home-page "https://github.com/AshtonKem/Butler")
2498 "1pii9dw4skq7nr4na6qxqasl36av8cwjp71bf1fgppqpcd9z8skj"))
2499 (file-name (string-append name "-" version))))
2500 (build-system emacs-build-system)
2502 `(("emacs-deferred" ,emacs-deferred)))
2503 (synopsis "Emacs client for Jenkins")
2505 "Butler provides an interface to connect to Jenkins continuous
2506 integration servers. Users can specify a list of server in the
2507 @code{butler-server-list} variable and then use @code{M-x butler-status} to
2508 view the build status of those servers' build jobs, and possibly to trigger
2510 (license license:gpl3+)))
2512 (define-public emacs-company
2514 (name "emacs-company")
2519 (uri (string-append "https://github.com/company-mode/company-mode/archive/"
2521 (file-name (string-append name "-" version ".tar.gz"))
2524 "1fyrpchpdmvszssy1qmsw41aqpv6q5rybvs1bw00nv9xdhiaq4vh"))))
2525 (build-system emacs-build-system)
2528 (modify-phases %standard-phases
2529 (add-before 'install 'check
2531 ;; The company-files-candidates-normal-root test looks
2532 ;; for the /bin directory, but the build environment has
2533 ;; no /bin directory. Modify the test to look for the
2535 (substitute* "test/files-tests.el"
2536 (("/bin/") "/tmp/"))
2537 (zero? (system* "make" "test-batch")))))))
2538 (home-page "http://company-mode.github.io/")
2539 (synopsis "Modular text completion framework")
2541 "Company is a modular completion mechanism. Modules for retrieving
2542 completion candidates are called back-ends, modules for displaying them are
2543 front-ends. Company comes with many back-ends, e.g. @code{company-elisp}.
2544 These are distributed in separate files and can be used individually.")
2545 (license license:gpl3+)))
2547 (define-public emacs-company-quickhelp
2549 (name "emacs-company-quickhelp")
2555 "https://github.com/expez/company-quickhelp/archive/"
2557 (file-name (string-append name "-" version ".tar.gz"))
2560 "0xrn2z1dgk5gmkmp2jkn9g83ckk39lqp5pyyv8rl7f6gqvib3qh0"))))
2561 (build-system emacs-build-system)
2563 `(("emacs-pos-tip" ,emacs-pos-tip)
2564 ("emacs-company" ,emacs-company)))
2565 (home-page "https://github.com/expez/company-quickhelp")
2566 (synopsis "Popup documentation for completion candidates")
2567 (description "@code{company-quickhelp} shows documentation for the
2568 completion candidate when using the Company text completion framework.")
2569 (license license:gpl3+)))
2571 (define-public emacs-multiple-cursors
2573 (name "emacs-multiple-cursors")
2578 (uri (string-append "https://github.com/magnars/multiple-cursors.el/"
2579 "archive/" version ".tar.gz"))
2580 (file-name (string-append name "-" version ".tar.gz"))
2583 "0hihihlvcvzayg5fnqzcg45fhvlmq6xlq58syy00rjwbry9w389k"))))
2584 (build-system emacs-build-system)
2585 (home-page "https://github.com/magnars/multiple-cursors.el")
2586 (synopsis "Multiple cursors for Emacs")
2588 "This package adds support to Emacs for editing text with multiple
2589 simultaneous cursors.")
2590 (license license:gpl3+)))
2596 (home-page "https://github.com/jorgenschaefer/typoel")
2601 (commit (string-append "v" version))))
2604 "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2"))
2605 (file-name (string-append name "-" version))))
2606 (build-system emacs-build-system)
2607 (synopsis "Minor mode for typographic editing")
2609 "This package provides two Emacs modes, @code{typo-mode} and
2610 @code{typo-global-mode}. These modes automatically insert Unicode characters
2611 for quotation marks, dashes, and ellipses. For example, typing @kbd{\"}
2612 automatically inserts a Unicode opening or closing quotation mark, depending
2614 (license license:gpl3+)))
2616 (define-public emacs-scheme-complete
2617 (let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5"))
2619 (name "emacs-scheme-complete")
2620 (version (string-append "20151223." (string-take commit 8)))
2623 (file-name (string-append name "-" version))
2626 (url "https://github.com/ashinn/scheme-complete.git")
2630 "141wn9l0m33w0g3dqmx8nxbfdny1r5xbr6ak61rsz21bk0qafs7x"))
2632 (search-patches "emacs-scheme-complete-scheme-r5rs-info.patch"))))
2633 (build-system emacs-build-system)
2634 (home-page "https://github.com/ashinn/scheme-complete")
2635 (synopsis "Smart tab completion for Scheme in Emacs")
2637 "This file provides a single function, @code{scheme-smart-complete},
2638 which you can use for intelligent, context-sensitive completion for any Scheme
2639 implementation in Emacs. To use it just load this file and bind that function
2640 to a key in your preferred mode.")
2641 (license license:public-domain))))
2643 (define-public emacs-mit-scheme-doc
2645 (name "emacs-mit-scheme-doc")
2646 (version "20140203")
2649 (modules '((guix build utils)))
2651 ;; keep only file of interest
2653 (for-each delete-file '("dot-emacs.el" "Makefile"))
2654 (install-file "6.945-config/mit-scheme-doc.el" ".")
2655 (delete-file-recursively "6.945-config")))
2656 (file-name (string-append name "-" version ".tar.bz2"))
2658 (uri (string-append "http://groups.csail.mit.edu/mac/users/gjs/"
2659 "6.945/dont-panic/emacs-basic-config.tar.bz2"))
2662 "0dqidg2bd66pawqfarvwca93w5gqf9mikn1k2a2rmd9ymfjpziq1"))))
2663 (build-system emacs-build-system)
2664 (inputs `(("mit-scheme" ,mit-scheme)))
2667 (modify-phases %standard-phases
2668 (add-after 'unpack 'configure-doc
2669 (lambda* (#:key inputs #:allow-other-keys)
2670 (let* ((mit-scheme-dir (assoc-ref inputs "mit-scheme"))
2671 (doc-dir (string-append mit-scheme-dir "/share/doc/"
2673 ,(package-version mit-scheme))))
2674 (substitute* "mit-scheme-doc.el"
2675 (("http://www\\.gnu\\.org/software/mit-scheme/documentation/mit-scheme-ref/")
2676 (string-append "file:" doc-dir "/mit-scheme-ref/")))))))))
2677 (home-page "http://groups.csail.mit.edu/mac/users/gjs/6.945/dont-panic/")
2678 (synopsis "MIT-Scheme documentation lookup for Emacs")
2680 "This package provides a set of Emacs functions to search definitions of
2681 identifiers in the MIT-Scheme documentation.")
2682 (license license:gpl2+)))
2684 (define-public emacs-constants
2686 (name "emacs-constants")
2688 (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
2691 (file-name (string-append name "-" version ".tar.gz"))
2693 (uri (string-append "https://github.com/fedeinthemix/emacs-constants"
2694 "/archive/v" version ".tar.gz"))
2697 "0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n"))))
2698 (build-system emacs-build-system)
2699 (synopsis "Enter definition of constants into an Emacs buffer")
2701 "This package provides functions for inserting the definition of natural
2702 constants and units into an Emacs buffer.")
2703 (license license:gpl2+)))
2705 (define-public emacs-tagedit
2707 (name "emacs-tagedit")
2712 (uri (string-append "https://github.com/magnars/tagedit/"
2713 "archive/" version ".tar.gz"))
2714 (file-name (string-append name "-" version ".tar.gz"))
2717 "1apfnann4qklfdsmdi7icjsj18x7gwx8d83iqr4z25clszz95xfq"))))
2718 (build-system emacs-build-system)
2720 `(("emacs-s" ,emacs-s)
2721 ("emacs-dash" ,emacs-dash)))
2722 (home-page "https://github.com/magnars/tagedit")
2723 (synopsis "Some paredit-like features for html-mode")
2725 "This package provides a collection of paredit-like functions for editing
2726 in @code{html-mode}.")
2727 (license license:gpl3+)))
2729 (define-public emacs-slime
2731 (name "emacs-slime")
2735 (file-name (string-append name "-" version ".tar.gz"))
2738 "https://github.com/slime/slime/archive/v"
2742 "086lq5y4pvj9wihy0si02xxvyzpzz8mcg3hz1cvy9zxlyjwzr1gk"))))
2743 (build-system emacs-build-system)
2745 `(("texinfo" ,texinfo)))
2747 `(#:include '("\\.el$" "\\.lisp$" "\\.asd$" "contrib")
2748 #:exclude '("^slime-tests.el" "^contrib/test/"
2749 "^contrib/Makefile$" "^contrib/README.md$")
2751 (modify-phases %standard-phases
2752 (add-before 'install 'configure
2754 (emacs-substitute-variables "slime.el"
2755 ("inferior-lisp-program" "sbcl"))
2757 (add-before 'install 'install-doc
2758 (lambda* (#:key outputs #:allow-other-keys)
2759 (let* ((out (assoc-ref outputs "out"))
2760 (info-dir (string-append out "/share/info"))
2761 (doc-dir (string-append out "/share/doc/"
2762 ,name "-" ,version))
2763 (doc-files '("doc/slime-refcard.pdf"
2764 "README.md" "NEWS" "PROBLEMS"
2765 "CONTRIBUTING.md")))
2766 (with-directory-excursion "doc"
2767 (substitute* "Makefile"
2768 (("infodir=/usr/local/info")
2769 (string-append "infodir=" info-dir)))
2770 (system* "make" "html/index.html")
2771 (system* "make" "slime.info")
2772 (install-file "slime.info" info-dir)
2773 (copy-recursively "html" (string-append doc-dir "/html")))
2774 (for-each (lambda (f)
2775 (install-file f doc-dir)
2778 (delete-file-recursively "doc")
2780 (home-page "https://github.com/slime/slime")
2781 (synopsis "Superior Lisp Interaction Mode for Emacs")
2783 "SLIME extends Emacs with support for interactive programming in
2784 Common Lisp. The features are centered around @command{slime-mode},
2785 an Emacs minor mode that complements the standard @command{lisp-mode}.
2786 While lisp-mode supports editing Lisp source files, @command{slime-mode}
2787 adds support for interacting with a running Common Lisp process
2788 for compilation, debugging, documentation lookup, and so on.")
2789 (license license:gpl2+)))
2791 (define-public emacs-popup
2793 (name "emacs-popup")
2798 "https://github.com/auto-complete/popup-el/archive/v"
2800 (file-name (string-append name "-" version ".tar.gz"))
2803 "1yrgfj8y69xmcb6kwgplhq68ndm9410qwh7sd2knnd1gchpphdc0"))))
2804 (build-system emacs-build-system)
2805 (home-page "https://github.com/auto-complete/popup-el")
2806 (synopsis "Visual Popup User Interface for Emacs")
2808 "Popup.el is a visual popup user interface library for Emacs.
2809 This provides a basic API and common UI widgets such as popup tooltips
2811 (license license:gpl3+)))
2813 (define-public emacs-god-mode
2814 (let ((commit "6cf0807b6555eb6fcf8387a4e3b667071ef38964")
2817 (name "emacs-god-mode")
2818 (version (string-append "20151005.925."
2819 revision "-" (string-take commit 9)))
2824 (url "https://github.com/chrisdone/god-mode.git")
2826 (file-name (string-append name "-" version "-checkout"))
2829 "1am415k4xxcva6y3vbvyvknzc6bma49pq3p85zmpjsdmsp18qdix"))))
2830 (build-system emacs-build-system)
2831 (home-page "https://github.com/chrisdone/god-mode")
2832 (synopsis "Minor mode for entering commands without modifier keys")
2834 "This package provides a global minor mode for entering Emacs commands
2835 without modifier keys. It's similar to Vim's separation of commands and
2836 insertion mode. When enabled all keys are implicitly prefixed with
2837 @samp{C-} (among other helpful shortcuts).")
2838 (license license:gpl3+))))
2840 (define-public emacs-jinja2-mode
2842 (name "emacs-jinja2-mode")
2847 (uri (string-append "https://github.com/paradoxxxzero/jinja2-mode/"
2848 "archive/v" version ".tar.gz"))
2849 (file-name (string-append name "-" version ".tar.gz"))
2852 "0cgxjab1kla2zc2fj7bzib6i7snp08zshandmp9kqcm85l262xpn"))))
2853 (build-system emacs-build-system)
2854 (home-page "https://github.com/paradoxxxzero/jinja2-mode")
2855 (synopsis "Major mode for jinja2")
2857 "Emacs major mode for jinja2 with: syntax highlighting,
2858 sgml/html integration, and indentation (working with sgml).")
2859 (license license:gpl3+)))
2861 (define-public emacs-rfcview
2863 (name "emacs-rfcview")
2865 (home-page "http://www.loveshack.ukfsn.org/emacs")
2868 (uri "http://www.loveshack.ukfsn.org/emacs/rfcview.el")
2871 "0ympj5rxig383zl2jf0pzdsa80nnq0dpvjiriq0ivfi98fj7kxbz"))))
2872 (build-system emacs-build-system)
2873 (synopsis "Prettify Request for Comments (RFC) documents")
2874 (description "The Internet Engineering Task Force (IETF) and the Internet
2875 Society (ISOC) publish various Internet-related protocols and specifications
2876 as \"Request for Comments\" (RFC) documents and Internet Standard (STD)
2877 documents. RFCs and STDs are published in a simple text form. This package
2878 provides an Emacs major mode, rfcview-mode, which makes it more pleasant to
2879 read these documents in Emacs. It prettifies the text and adds
2880 hyperlinks/menus for easier navigation. It also provides functions for
2881 browsing the index of RFC documents and fetching them from remote servers or
2882 local directories.")
2883 (license license:gpl3+)))
2885 (define-public emacs-ffap-rfc-space
2887 (name "emacs-ffap-rfc-space")
2889 (home-page "http://user42.tuxfamily.org/ffap-rfc-space/index.html")
2892 (uri "http://download.tuxfamily.org/user42/ffap-rfc-space.el")
2895 "1iv61dv57a73mdps7rn6zmgz7nqh14v0ninidyrasy45b1nv6gck"))))
2896 (build-system emacs-build-system)
2897 (synopsis "Make ffap recognize an RFC with a space before its number")
2898 (description "The Internet Engineering Task Force (IETF) and the
2899 Internet Society (ISOC) publish various Internet-related protocols and
2900 specifications as \"Request for Comments\" (RFC) documents. The
2901 built-in Emacs module \"ffap\" (Find File at Point) has the ability to
2902 recognize names at point which look like \"RFC1234\" and \"RFC-1234\"
2903 and load the appropriate RFC from a remote server. However, it fails
2904 to recognize a name like \"RFC 1234\". This package enhances ffap so
2905 that it correctly finds RFCs even when a space appears before the
2907 (license license:gpl3+)))
2909 (define-public emacs-org-bullets
2911 (name "emacs-org-bullets")
2916 (uri (string-append "https://github.com/sabof/org-bullets/archive/"
2918 (file-name (string-append name "-" version ".tar.gz"))
2921 "1dyxvpb73vj80v8br2q9rf255hfphrgaw91fbvwdcd735np9pcnh"))))
2922 (build-system emacs-build-system)
2923 (home-page "https://github.com/sabof/org-bullets")
2924 (synopsis "Show bullets in org-mode as UTF-8 characters")
2926 "This package provides an Emacs minor mode causing bullets in
2927 @code{org-mode} to be rendered as UTF-8 characters.")
2928 (license license:gpl3+)))
2930 (define-public emacs-org-pomodoro
2932 (name "emacs-org-pomodoro")
2938 "https://github.com/lolownia/org-pomodoro/archive/"
2940 (file-name (string-append name "-" version ".tar.gz"))
2943 "1jalsggw3q5kvj353f84x4nl04a5vmq07h75ggppy1627lb31zm4"))))
2944 (build-system emacs-build-system)
2946 `(("emacs-alert" ,emacs-alert)))
2947 (home-page "https://github.com/lolownia/org-pomodoro")
2948 (synopsis "Pomodoro technique for org-mode")
2949 (description "@code{emacs-org-pomodoro} adds very basic support for
2950 Pomodoro technique in Emacs org-mode.
2952 Run @code{M-x org-pomodoro} for the task at point or select one of the
2953 last tasks that you clocked time for. Each clocked-in pomodoro starts
2954 a timer of 25 minutes and after each pomodoro a break timer of 5
2955 minutes is started automatically. Every 4 breaks a long break is
2956 started with 20 minutes. All values are customizable.")
2957 (license license:gpl3+)))
2959 (define-public emacs-org-trello
2961 (name "emacs-org-trello")
2966 "https://github.com/org-trello/org-trello/archive/"
2968 (file-name (string-append name "-" version ".tar.gz"))
2971 "074dka8g673bj1ck5vavbjaij5jyniygdlw51mdds005wd2br9wf"))))
2972 (build-system emacs-build-system)
2974 `(("emacs-deferred" ,emacs-deferred)
2975 ("emacs-request" ,emacs-request)
2976 ("emacs-dash" ,emacs-dash)
2977 ("emacs-s" ,emacs-s)))
2978 (home-page "https://org-trello.github.io")
2979 (synopsis "Emacs minor mode for interacting with Trello")
2980 (description "This package provides an Emacs minor mode to extend
2981 @code{org-mode} with Trello abilities. Trello is an online project
2983 (license license:gpl3+)))
2985 (define-public emacs-zenburn-theme
2987 (name "emacs-zenburn-theme")
2992 "https://github.com/bbatsov/zenburn-emacs/archive/v"
2994 (file-name (string-append name "-" version ".tar.gz"))
2997 "03kfhzgbbbl8ivpzzky6qxw4j9mmp452m1sk7wikxmcalfnix0gn"))))
2998 (build-system emacs-build-system)
2999 (home-page "https://github.com/bbatsov/zenburn-emacs")
3000 (synopsis "Low contrast color theme for Emacs")
3002 "Zenburn theme is a port of the popular Vim Zenburn theme for Emacs.
3003 It is built on top of the custom theme support in Emacs 24 or later.")
3004 (license license:gpl3+)))
3006 (define-public emacs-solarized-theme
3008 (name "emacs-solarized-theme")
3012 (uri (string-append "https://github.com/bbatsov/solarized-emacs/"
3013 "archive/v" version ".tar.gz"))
3014 (file-name (string-append name "-" version ".tar.gz"))
3017 "1ha3slc6d9wi9ilkhmwrzkvf308n6ph7b0k69pk369s9304awxzx"))))
3018 (build-system emacs-build-system)
3020 `(("emacs-dash" ,emacs-dash)))
3021 (home-page "https://github.com/bbatsov/solarized-emacs")
3022 (synopsis "Port of the Solarized theme for Emacs")
3024 "Solarized for Emacs is a port of the Solarized theme for Vim. This
3025 package provides a light and a dark variant.")
3026 (license license:gpl3+)))
3028 (define-public emacs-ahungry-theme
3030 (name "emacs-ahungry-theme")
3033 (origin (method url-fetch)
3034 (uri (string-append "https://elpa.gnu.org/packages/ahungry-theme-"
3038 "14q5yw56n82qph09bk7wmj5b1snhh9w0nk5s1l7yn9ldg71xq6pm"))))
3039 (build-system emacs-build-system)
3040 (home-page "https://github.com/ahungry/color-theme-ahungry")
3041 (synopsis "Ahungry color theme for Emacs")
3042 (description "Ahungry theme for Emacs provides bright and bold colors.
3043 If you load it from a terminal, you will be able to make use of the
3044 transparent background. If you load it from a GUI, it will default to a
3046 (license license:gpl3+)))
3048 (define-public emacs-2048-game
3050 (name "emacs-2048-game")
3051 (version "20151026.1233")
3055 (uri (string-append "https://melpa.org/packages/2048-game-"
3059 "0gy2pvz79whpavp4jmz8h9krzn7brmvv3diixi1d4w51pcdvaldd"))))
3060 (build-system emacs-build-system)
3061 (home-page "https://bitbucket.org/zck/2048.el")
3062 (synopsis "Implementation of the game 2048 in Emacs Lisp")
3064 "This program is an implementation of 2048 for Emacs.
3065 The goal of this game is to create a tile with value 2048. The size of the
3066 board and goal value can be customized.")
3067 (license license:gpl3+)))
3069 (define-public emacs-base16-theme
3071 (name "emacs-base16-theme")
3076 (uri (string-append "https://stable.melpa.org/packages/base16-theme-"
3080 "0z6hrwz2jlz6jbr381rcqcqvx6hss5cad352klx07rark7zccacj"))))
3081 (build-system emacs-build-system)
3082 (home-page "https://github.com/belak/base16-emacs")
3083 (synopsis "Base16 color themes for Emacs")
3085 "Base16 provides carefully chosen syntax highlighting and a default set
3086 of sixteen colors suitable for a wide range of applications. Base16 is not a
3087 single theme but a set of guidelines with numerous implementations.")
3088 (license license:expat)))
3090 (define-public emacs-smartparens
3092 (name "emacs-smartparens")
3097 "https://github.com/Fuco1/smartparens/archive/"
3099 (file-name (string-append name "-" version ".tar.gz"))
3102 "0q5as813xs8y29i3v2rm97phd6m7xsmmw6hwbvx57gwmi8i1c409"))))
3103 (build-system emacs-build-system)
3104 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
3105 (home-page "https://github.com/Fuco1/smartparens")
3106 (synopsis "Paredit-like insertion, wrapping and navigation with user
3109 "Smartparens is a minor mode for Emacs that deals with parens pairs
3110 and tries to be smart about it. It started as a unification effort to
3111 combine functionality of several existing packages in a single,
3112 compatible and extensible way to deal with parentheses, delimiters, tags
3113 and the like. Some of these packages include autopair, textmate,
3114 wrap-region, electric-pair-mode, paredit and others. With the basic
3115 features found in other packages it also brings many improvements as
3116 well as completely new features.")
3117 (license license:gpl3+)))
3119 (define-public emacs-highlight-symbol
3121 (name "emacs-highlight-symbol")
3126 "https://github.com/nschum/highlight-symbol.el/archive/"
3128 (file-name (string-append name "-" version ".tar.gz"))
3131 "1n7k1qns0fn0jsyc0hrjac5nzk21xw48yc30vyrhwvc51h0b9g90"))))
3132 (build-system emacs-build-system)
3133 (home-page "https://nschum.de/src/emacs/highlight-symbol")
3134 (synopsis "Automatic and manual symbol highlighting for Emacs")
3136 "Use @code{highlight-symbol} to toggle highlighting of the symbol at
3137 point throughout the current buffer. Use @code{highlight-symbol-mode} to keep
3138 the symbol at point highlighted.
3140 The functions @code{highlight-symbol-next}, @code{highlight-symbol-prev},
3141 @code{highlight-symbol-next-in-defun} and
3142 @code{highlight-symbol-prev-in-defun} allow for cycling through the locations
3143 of any symbol at point. Use @code{highlight-symbol-nav-mode} to enable key
3144 bindings @code{M-p} and @code{M-p} for navigation. When
3145 @code{highlight-symbol-on-navigation-p} is set, highlighting is triggered
3146 regardless of @code{highlight-symbol-idle-delay}.
3148 @code{highlight-symbol-query-replace} can be used to replace the symbol. ")
3149 (license license:gpl2+)))
3151 (define-public emacs-hl-todo
3153 (name "emacs-hl-todo")
3158 "https://raw.githubusercontent.com/tarsius/hl-todo/"
3159 version "/hl-todo.el"))
3160 (file-name (string-append "hl-todo-" version ".el"))
3163 "0g0h9v4572p7mcird8wsj1c41haf60krslm6mlpi4mdbh248kv6z"))))
3164 (build-system emacs-build-system)
3165 (home-page "https://github.com/tarsius/hl-todo")
3166 (synopsis "Emacs mode to highlight TODO and similar keywords")
3168 "This package provides an Emacs mode to highlight TODO and similar
3169 keywords in comments and strings. This package also provides commands for
3170 moving to the next or previous keyword and to invoke @code{occur} with a
3171 regexp that matches all known keywords.")
3172 (license license:gpl3+)))
3174 (define-public emacs-perspective
3176 (name "emacs-perspective")
3181 (uri (string-append "https://github.com/nex3/perspective-el/"
3182 "archive/" version ".tar.gz"))
3183 (file-name (string-append name "-" version ".tar.gz"))
3186 "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic"))))
3187 (build-system emacs-build-system)
3188 (home-page "https://github.com/nex3/perspective-el")
3189 (synopsis "Switch between named \"perspectives\"")
3191 "This package provides tagged workspaces in Emacs, similar to workspaces in
3192 windows managers such as Awesome and XMonad. @code{perspective.el} provides
3193 multiple workspaces (or \"perspectives\") for each Emacs frame. Each
3194 perspective is composed of a window configuration and a set of buffers.
3195 Switching to a perspective activates its window configuration, and when in a
3196 perspective only its buffers are available by default.")
3197 ;; This package is released under the same license as Emacs (GPLv3+) or
3198 ;; the Expat license.
3199 (license license:gpl3+)))
3201 (define-public emacs-test-simple
3203 (name "emacs-test-simple")
3208 (uri (string-append "https://elpa.gnu.org/packages/test-simple-"
3212 "1yd61jc9ds95a5n09052kwc5gasy57g4lxr0jsff040brlyi9czz"))))
3213 (build-system emacs-build-system)
3214 (home-page "https://github.com/rocky/emacs-test-simple")
3215 (synopsis "Simple unit test framework for Emacs Lisp")
3217 "Test Simple is a simple unit test framework for Emacs Lisp. It
3218 alleviates the need for context macros, enclosing specifications or required
3219 test tags. It supports both interactive and non-interactive use.")
3220 (license license:gpl3+)))
3222 (define-public emacs-load-relative
3224 (name "emacs-load-relative")
3229 (uri (string-append "https://elpa.gnu.org/packages/load-relative-"
3233 "1hfxb2436jdsi9wfmsv47lkkpa5galjf5q81bqabbsv79rv59dps"))))
3234 (build-system emacs-build-system)
3235 (home-page "http://github.com/rocky/emacs-load-relative")
3236 (synopsis "Emacs Lisp relative file loading related functions")
3238 "Provides functions which facilitate writing multi-file Emacs packages
3239 and running from the source tree without having to \"install\" code or fiddle
3242 The main function, @code{load-relative}, loads an Emacs Lisp file relative to
3243 another (presumably currently running) Emacs Lisp file.")
3244 (license license:gpl3+)))
3246 (define-public emacs-loc-changes
3248 (name "emacs-loc-changes")
3253 (uri (string-append "https://elpa.gnu.org/packages/loc-changes-"
3257 "1x8fn8vqasayf1rb8a6nma9n6nbvkx60krmiahyb05vl5rrsw6r3"))))
3258 (build-system emacs-build-system)
3259 (home-page "https://github.com/rocky/emacs-loc-changes")
3260 (synopsis "Keeps track of positions even after buffer changes")
3262 "This Emacs package provides a mean to track important buffer positions
3263 after buffer changes.")
3264 (license license:gpl3+)))
3266 (define-public emacs-realgud
3268 (name "emacs-realgud")
3273 (uri (string-append "https://elpa.gnu.org/packages/realgud-"
3277 "1nc8km339ip90h1j55ahfga03v7x7rh4iycmw6yrxyzir68vwn7c"))))
3278 (build-system emacs-build-system)
3282 (modify-phases %standard-phases
3283 (add-after 'unpack 'fix-autogen-script
3285 (substitute* "autogen.sh"
3286 (("./configure") "sh configure"))))
3287 (add-after 'fix-autogen-script 'autogen
3289 (setenv "CONFIG_SHELL" "sh")
3290 (invoke "sh" "autogen.sh")))
3291 (add-after 'fix-autogen-script 'set-home
3293 (setenv "HOME" (getenv "TMPDIR"))))
3294 (add-before 'patch-el-files 'remove-realgud-pkg.el
3296 ;; XXX: This file is auto-generated at some point and causes
3297 ;; substitute* to crash during the `patch-el-files' phase with:
3298 ;; ERROR: In procedure stat: No such file or directory:
3299 ;; "./realgud-pkg.el"
3300 (delete-file "./realgud-pkg.el")
3301 ;; FIXME: `patch-el-files' crashes on this file with error:
3302 ;; unable to locate "bashdb".
3303 (delete-file "./test/test-regexp-bashdb.el"))))
3304 #:include (cons* ".*\\.el$" %default-include)))
3306 `(("autoconf" ,autoconf)
3307 ("automake" ,automake)
3308 ("emacs-test-simple" ,emacs-test-simple)))
3310 `(("emacs-load-relative" ,emacs-load-relative)
3311 ("emacs-loc-changes" ,emacs-loc-changes)))
3312 (home-page "https://github.com/realgud/realgud/")
3314 "Modular front-end for interacting with external debuggers")
3316 "RealGUD is a modular, extensible GNU Emacs front-end for interacting
3317 with external debuggers. It integrates various debuggers such as gdb, pdb,
3318 ipdb, jdb, lldb, bashdb, zshdb, etc. and allows to visually step code in the
3319 sources. Unlike GUD, it also supports running multiple debug sessions in
3321 (license license:gpl3+)))
3323 (define-public emacs-request
3325 (name "emacs-request")
3330 (url "https://github.com/tkf/emacs-request.git")
3331 (commit (string-append "v" version))))
3332 (file-name (string-append name "-" version "-checkout"))
3335 "0wyxqbb35yqf6ci47531lk32d6fppamx9d8826kdz983vm87him7"))))
3336 (build-system emacs-build-system)
3337 (home-page "https://github.com/tkf/emacs-request")
3338 (synopsis "Package for speaking HTTP in Emacs Lisp")
3339 (description "This package provides a HTTP request library with multiple
3340 backends. It supports url.el which is shipped with Emacs and the curl command
3342 (license license:gpl3+)))
3344 (define-public emacs-rudel
3346 (name "emacs-rudel")
3351 (uri (string-append "http://elpa.gnu.org/packages/rudel-"
3355 "0glqa68g509p0s2vcc0i8kzlddnc9brd9jqhnm5rzxz4i050cvnz"))))
3356 (build-system emacs-build-system)
3357 (home-page "http://rudel.sourceforge.net/")
3358 (synopsis "Collaborative editing framework")
3360 "Rudel is a collaborative editing environment for GNU Emacs. Its purpose
3361 is to share buffers with other users in order to edit the contents of those
3362 buffers collaboratively. Rudel supports multiple backends to enable
3363 communication with other collaborative editors using different protocols,
3364 though currently Obby (for use with the Gobby editor) is the only
3365 fully-functional one.")
3366 (license license:gpl3+)))
3368 (define-public emacs-hydra
3370 (name "emacs-hydra")
3375 (uri (string-append "https://github.com/abo-abo/hydra/archive/"
3377 (file-name (string-append name "-" version ".tar.gz"))
3380 "0884k3ffwzhh6krbd8l7vvm184dkagb2jf4q8xzg72plln34qrm8"))))
3381 (build-system emacs-build-system)
3382 (home-page "https://github.com/abo-abo/hydra")
3383 (synopsis "Make Emacs bindings that stick around")
3385 "This package can be used to tie related commands into a family of short
3386 bindings with a common prefix---a Hydra. Once you summon the Hydra (through
3387 the prefixed binding), all the heads can be called in succession with only a
3388 short extension. Any binding that isn't the Hydra's head vanquishes the
3389 Hydra. Note that the final binding, besides vanquishing the Hydra, will still
3390 serve its original purpose, calling the command assigned to it. This makes
3391 the Hydra very seamless; it's like a minor mode that disables itself
3393 (license license:gpl3+)))
3395 (define-public emacs-ivy
3403 (url "https://github.com/abo-abo/swiper.git")
3405 (file-name (string-append name "-" version "-checkout"))
3408 "14vnigqb5c3yi4q9ysw1fiwdqyqwyklqpb9wnjf81chm7s2mshnr"))))
3409 (build-system emacs-build-system)
3412 (modify-phases %standard-phases
3413 (add-after 'install 'install-doc
3414 (lambda* (#:key outputs #:allow-other-keys)
3415 (let* ((out (assoc-ref outputs "out"))
3416 (info (string-append out "/share/info")))
3417 (with-directory-excursion "doc"
3418 (unless (zero? (system* "makeinfo" "ivy.texi"))
3419 (error "makeinfo failed"))
3420 (install-file "ivy.info" info))))))))
3422 `(("emacs-hydra" ,emacs-hydra)))
3424 `(("texinfo" ,texinfo)))
3425 (home-page "http://oremacs.com/swiper/")
3426 (synopsis "Incremental vertical completion for Emacs")
3428 "This package provides @code{ivy-read} as an alternative to
3429 @code{completing-read} and similar functions. No attempt is made to determine
3430 the best candidate. Instead, the user can navigate candidates with
3431 @code{ivy-next-line} and @code{ivy-previous-line}. The matching is done by
3432 splitting the input text by spaces and re-building it into a regular
3434 (license license:gpl3+)))
3436 (define-public emacs-avy
3443 (uri (string-append "https://github.com/abo-abo/avy/archive/"
3445 (file-name (string-append name "-" version ".tar.gz"))
3448 "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
3449 (build-system emacs-build-system)
3450 (home-page "https://github.com/abo-abo/avy")
3451 (synopsis "Tree-based completion for Emacs")
3453 "This package provides a generic completion method based on building a
3454 balanced decision tree with each candidate being a leaf. To traverse the tree
3455 from the root to a desired leaf, typically a sequence of @code{read-key} can
3458 In order for @code{read-key} to make sense, the tree needs to be visualized
3459 appropriately, with a character at each branch node. So this completion
3460 method works only for things that you can see on your screen, all at once,
3461 such as the positions of characters, words, line beginnings, links, or
3463 (license license:gpl3+)))
3465 (define-public emacs-ace-window
3467 (name "emacs-ace-window")
3472 (uri (string-append "https://github.com/abo-abo/ace-window/archive/"
3474 (file-name (string-append name "-" version ".tar.gz"))
3477 "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn"))))
3478 (build-system emacs-build-system)
3480 `(("emacs-avy" ,emacs-avy)))
3481 (home-page "https://github.com/abo-abo/ace-window")
3482 (synopsis "Quickly switch windows in Emacs")
3484 "@code{ace-window} is meant to replace @code{other-window}.
3485 In fact, when there are only two windows present, @code{other-window} is
3486 called. If there are more, each window will have its first character
3487 highlighted. Pressing that character will switch to that window.")
3488 (license license:gpl3+)))
3490 (define-public emacs-iedit
3492 (name "emacs-iedit")
3497 (uri (string-append "https://github.com/victorhge/iedit/archive/v"
3499 (file-name (string-append name "-" version ".tar.gz"))
3502 "1hv8q6pr85ss9g3158l1fqv3m62vsq8rslsi86jicr2dcxyascr0"))))
3503 (build-system emacs-build-system)
3504 (home-page "http://www.emacswiki.org/emacs/Iedit")
3505 (synopsis "Edit multiple regions in the same way simultaneously")
3507 "This package is an Emacs minor mode and allows you to edit one
3508 occurrence of some text in a buffer (possibly narrowed) or region, and
3509 simultaneously have other occurrences edited in the same way.
3511 You can also use Iedit mode as a quick way to temporarily show only the buffer
3512 lines that match the current text being edited. This gives you the effect of
3513 a temporary @code{keep-lines} or @code{occur}.")
3514 (license license:gpl3+)))
3516 (define-public emacs-lispy
3518 (name "emacs-lispy")
3523 (uri (string-append "https://github.com/abo-abo/lispy/archive/"
3525 (file-name (string-append name "-" version ".tar.gz"))
3528 "15gig95cvamw5zlw99cxggd27c18b9scznjj97gvjn2zbljcaqzl"))))
3529 (build-system emacs-build-system)
3531 `(("emacs-ace-window" ,emacs-ace-window)
3532 ("emacs-iedit" ,emacs-iedit)
3533 ("emacs-ivy" ,emacs-ivy)
3534 ("emacs-hydra" ,emacs-hydra)))
3535 (home-page "https://github.com/abo-abo/lispy")
3536 (synopsis "Modal S-expression editing")
3538 "Due to the structure of Lisp syntax it's very rare for the programmer to
3539 want to insert characters right before \"(\" or right after \")\". Thus
3540 unprefixed printable characters can be used to call commands when the point is
3541 at one of these special locations. Lispy provides unprefixed keybindings for
3542 S-expression editing when point is at the beginning or end of an
3544 (license license:gpl3+)))
3546 (define-public emacs-clojure-mode
3548 (name "emacs-clojure-mode")
3553 "https://github.com/clojure-emacs/clojure-mode/archive/"
3555 (file-name (string-append name "-" version ".tar.gz"))
3558 "1f4k1hncy5ygh4izn7mqfp744nnisrp9ywn2njknbjxx34ai1q88"))))
3559 (build-system emacs-build-system)
3561 `(("emacs-dash" ,emacs-dash)
3562 ("emacs-s" ,emacs-s)
3563 ("ert-runner" ,ert-runner)))
3566 (modify-phases %standard-phases
3567 (add-after 'install 'check
3569 (zero? (system* "ert-runner")))))))
3570 (home-page "https://github.com/clojure-emacs/clojure-mode")
3571 (synopsis "Major mode for Clojure code")
3573 "This Emacs package provides font-lock, indentation, navigation and basic
3574 refactoring for the @uref{http://clojure.org, Clojure programming language}.
3575 It is recommended to use @code{clojure-mode} with paredit or smartparens.")
3576 (license license:gpl3+)))
3578 (define-public emacs-epl
3585 "https://github.com/cask/epl/archive/"
3587 (file-name (string-append name "-" version ".tar.gz"))
3590 "1511n3a3f5gvaf2b4nh018by61ciyzi3y3603fzqma7p9hrckarc"))))
3591 (build-system emacs-build-system)
3592 (home-page "https://github.com/cask/epl")
3593 (synopsis "Emacs Package Library")
3595 "A package management library for Emacs, based on @code{package.el}.
3597 The purpose of this library is to wrap all the quirks and hassle of
3598 @code{package.el} into a sane API.")
3599 (license license:gpl3+)))
3601 (define-public emacs-queue
3603 (name "emacs-queue")
3607 (uri (string-append "https://elpa.gnu.org/packages/queue-"
3611 "0cx2848sqnnkkr4zisvqadzxngjyhmb36mh0q3if7q19yjjhmrkb"))))
3612 (build-system emacs-build-system)
3613 (home-page "http://www.dr-qubit.org/tags/computing-code-emacs.html")
3614 (synopsis "Queue data structure for Emacs")
3616 "This Emacs library provides queue data structure. These queues can be
3617 used both as a first-in last-out (FILO) and as a first-in first-out (FIFO)
3618 stack, i.e. elements can be added to the front or back of the queue, and can
3619 be removed from the front. This type of data structure is sometimes called an
3620 \"output-restricted deque\".")
3621 (license license:gpl3+)))
3623 (define-public emacs-pkg-info
3625 (name "emacs-pkg-info")
3630 "https://github.com/lunaryorn/pkg-info.el/archive/"
3632 (file-name (string-append name "-" version ".tar.gz"))
3635 "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5"))))
3636 (build-system emacs-build-system)
3637 (propagated-inputs `(("emacs-epl" ,emacs-epl)))
3638 (home-page "https://github.com/lunaryorn/pkg-info.el")
3639 (synopsis "Information about Emacs packages")
3641 "This library extracts information from the installed Emacs packages.")
3642 (license license:gpl3+)))
3644 (define-public emacs-spinner
3646 (name "emacs-spinner")
3650 (uri (string-append "https://elpa.gnu.org/packages/spinner-"
3654 "19kp1mmndbmw11sgvv2ggfjl4pyf5zrsbh3871f0965pw9z8vahd"))))
3655 (build-system emacs-build-system)
3656 (home-page "https://github.com/Malabarba/spinner.el")
3657 (synopsis "Emacs mode-line spinner for operations in progress")
3659 "This Emacs package adds spinners and progress-bars to the mode-line for
3660 ongoing operations.")
3661 (license license:gpl3+)))
3663 (define-public emacs-sparql-mode
3665 (name "emacs-sparql-mode")
3669 (uri (string-append "https://github.com/ljos/sparql-mode/archive/"
3670 "v" version ".tar.gz"))
3671 (file-name (string-append name "-" version ".tar.gz"))
3674 "1s93mkllxnhy7fw616cnnc2danacdlarys0g3cn89drh0llh53cv"))))
3675 (build-system emacs-build-system)
3676 (home-page "https://github.com/ljos/sparql-mode")
3677 (synopsis "SPARQL mode for Emacs")
3678 (description "This package provides a major mode for Emacs that provides
3679 syntax highlighting for SPARQL. It also provides a way to execute queries
3680 against a SPARQL HTTP endpoint, such as is provided by Fuseki. It is also
3681 possible to query other endpoints like DBPedia.")
3682 (license license:gpl3+)))
3684 (define-public emacs-better-defaults
3686 (name "emacs-better-defaults")
3691 (uri (string-append "https://github.com/technomancy/better-defaults"
3692 "/archive/" version ".tar.gz"))
3693 (file-name (string-append name "-" version ".tar.gz"))
3696 "08fg4zslzlxbvyil5g4gwvwd22fh4zsgqprs5wh9hv1rgc6757m2"))))
3697 (build-system emacs-build-system)
3698 (home-page "https://github.com/technomancy/better-defaults")
3699 (synopsis "Better defaults for Emacs")
3701 "Better defaults attempts to address the most obvious deficiencies of the
3702 Emacs default configuration in uncontroversial ways that nearly everyone can
3704 (license license:gpl3+)))
3706 (define-public emacs-eprime
3707 (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
3709 (name "emacs-eprime")
3710 (version (string-append "20140513-" (string-take commit 7)))
3713 (uri (string-append "https://raw.githubusercontent.com"
3714 "/AndrewHynes/eprime-mode/"
3715 commit "/eprime-mode.el"))
3716 (file-name (string-append "eprime-" version ".el"))
3719 "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d"))))
3720 (build-system emacs-build-system)
3721 (home-page "https://github.com/AndrewHynes/eprime-mode")
3722 (synopsis "E-prime checking mode for Emacs")
3723 (description "This package provides an E-prime checking mode for Emacs
3724 that highlights non-conforming text. The subset of the English language called
3725 E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
3726 (license license:gpl3+))))
3728 (define-public emacs-julia-mode
3729 ;; XXX: Upstream version remained stuck at 0.3. See
3730 ;; <https://github.com/JuliaEditorSupport/julia-emacs/issues/46>.
3731 (let ((commit "115d4dc8a07445301772da8376b232fa8c7168f4")
3734 (name "emacs-julia-mode")
3735 (version (string-append "0.3-" revision "." (string-take commit 8)))
3740 (url "https://github.com/JuliaEditorSupport/julia-emacs.git")
3742 (file-name (string-append name "-" version "-checkout"))
3745 "1is4dcv6blslpzbjcg8l2jpxi8xj96q4cm0nxjxsyswpm8bw8ki0"))))
3746 (build-system emacs-build-system)
3749 (modify-phases %standard-phases
3750 (add-before 'install 'check
3752 (zero? (system* "emacs" "-batch"
3753 "-l" "julia-mode.el"
3754 "-l" "julia-mode-tests.el"
3755 "-f" "ert-run-tests-batch-and-exit")))))))
3756 (home-page "https://github.com/JuliaEditorSupport/julia-emacs")
3757 (synopsis "Major mode for Julia")
3758 (description "This Emacs package provides a mode for the Julia
3759 programming language.")
3760 (license license:expat))))
3762 (define-public emacs-ess
3768 (uri (string-append "http://ess.r-project.org/downloads/ess/ess-"
3772 "04m8lwp3ylh2vl7k2bjjs7mxbm64j4sdckqpvnm9k0qhaqf02pjk"))
3773 (modules '((guix build utils)))
3776 ;; Stop ESS from trying to bundle an external julia-mode.el.
3777 (substitute* "lisp/Makefile"
3778 (("^\tjulia-mode.elc\\\\\n") "")
3779 (("^all: \\$\\(ELC\\) ess-custom.el julia-mode.el")
3780 "all: $(ELC) ess-custom.el"))))))
3781 (build-system gnu-build-system)
3783 (let ((base-directory "/share/emacs/site-lisp/guix.d/ess"))
3784 `(#:make-flags (list (string-append "PREFIX=" %output)
3785 (string-append "ETCDIR=" %output "/"
3786 ,base-directory "/etc")
3787 (string-append "LISPDIR=" %output "/"
3790 (modify-phases %standard-phases
3792 (add-before 'build 'more-shebang-patching
3793 (lambda* (#:key inputs #:allow-other-keys)
3794 (substitute* "Makeconf"
3795 (("SHELL = /bin/sh")
3796 (string-append "SHELL = " (which "sh"))))))
3797 ;; FIXME: the texlive-union insists on regenerating fonts. It stores
3798 ;; them in HOME, so it needs to be writeable.
3799 (add-before 'build 'set-HOME
3800 (lambda _ (setenv "HOME" "/tmp") #t))
3803 (zero? (system* "make" "test"))))))))
3805 `(("emacs" ,emacs-minimal)
3806 ("r-minimal" ,r-minimal)))
3809 ("texinfo" ,texinfo)
3810 ("texlive" ,(texlive-union (list texlive-latex-natbib
3811 texlive-latex-seminar
3812 texlive-latex-hyperref
3813 texlive-tex-texinfo)))))
3814 (home-page "https://ess.r-project.org/")
3815 (synopsis "Emacs mode for statistical analysis programs")
3816 (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
3817 Emacs. It is designed to support editing of scripts and interaction with
3818 various statistical analysis programs such as R and OpenBUGS.")
3819 (license license:gpl2+)))
3821 (define-public emacs-smex
3827 (uri (string-append "https://raw.githubusercontent.com"
3828 "/nonsequitur/smex/" version "/smex.el"))
3829 (file-name (string-append "smex-" version ".el"))
3832 "0ar310zx9k5y4i1vl2rawvi712xj9gx77160860jbs691p77cxqp"))))
3833 (build-system emacs-build-system)
3834 (home-page "https://github.com/nonsequitur/smex/")
3835 (synopsis "M-x interface with Ido-style fuzzy matching")
3837 "Smex is a M-x enhancement for Emacs. Built on top of Ido, it provides a
3838 convenient interface to your recently and most frequently used commands. And
3839 to all the other commands, too.")
3840 (license license:gpl3+)))
3842 (define-public emacs-js2-mode
3844 (name "emacs-js2-mode")
3845 (version "20150909")
3848 (uri (string-append "https://github.com/mooz/js2-mode/archive/"
3850 (file-name (string-append name "-" version ".tar.gz"))
3853 "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0"))))
3854 (build-system emacs-build-system)
3855 (home-page "https://github.com/mooz/js2-mode/")
3856 (synopsis "Improved JavaScript editing mode for Emacs")
3858 "Js2-mode provides a JavaScript major mode for Emacs that is more
3859 advanced than the built-in javascript-mode. Features include accurate syntax
3860 highlighting using a recursive-descent parser, on-the-fly reporting of syntax
3861 errors and strict-mode warnings, smart line-wrapping within comments and
3862 strings, and code folding.")
3863 (license license:gpl3+)))
3865 (define-public emacs-markdown-mode
3867 (name "emacs-markdown-mode")
3871 (uri (string-append "https://raw.githubusercontent.com/jrblevin"
3872 "/markdown-mode/v" version
3873 "/markdown-mode.el"))
3874 (file-name (string-append "markdown-mode-" version ".el"))
3877 "152whyrq3dqlqy5wv4mdd94kmal19hs5kwaxjcp2gp2r97lsmdmi"))))
3878 (build-system emacs-build-system)
3879 (home-page "http://jblevins.org/projects/markdown-mode/")
3880 (synopsis "Emacs Major mode for Markdown files")
3882 "Markdown-mode is a major mode for editing Markdown-formatted text files
3884 (license license:gpl3+)))
3886 (define-public emacs-edit-indirect
3888 (name "emacs-edit-indirect")
3893 (uri (string-append "https://github.com/Fanael/edit-indirect/archive/"
3895 (file-name (string-append name "-" version ".tar.gz"))
3898 "07kr58rd1p5j764wminsssazr73hy51yw8iqcsv5z2dwgj7msv71"))))
3899 (build-system emacs-build-system)
3900 (home-page "https://github.com/Fanael/edit-indirect")
3901 (synopsis "Edit regions in separate buffers")
3902 (description "This package allows you to edit regions in separate buffers,
3903 like @code{org-edit-src-code} but for arbitrary regions.")
3904 (license license:gpl3+)))
3906 (define-public emacs-projectile
3908 (name "emacs-projectile")
3912 (uri (string-append "https://raw.githubusercontent.com/bbatsov"
3913 "/projectile/v" version "/projectile.el"))
3914 (file-name (string-append "projectile-" version ".el"))
3917 "1ql1wnzhblbwnv66hf2y0wq45g71hh6s9inc090lmhm1vgylbd1f"))))
3918 (build-system emacs-build-system)
3920 `(("emacs-dash" ,emacs-dash)
3921 ("emacs-pkg-info" ,emacs-pkg-info)))
3922 (home-page "https://github.com/bbatsov/projectile")
3923 (synopsis "Manage and navigate projects in Emacs easily")
3925 "This library provides easy project management and navigation. The
3926 concept of a project is pretty basic - just a folder containing special file.
3927 Currently git, mercurial and bazaar repos are considered projects by default.
3928 If you want to mark a folder manually as a project just create an empty
3929 .projectile file in it.")
3930 (license license:gpl3+)))
3932 (define-public emacs-elfeed
3934 (name "emacs-elfeed")
3938 (uri (string-append "https://github.com/skeeto/elfeed/archive/"
3940 (file-name (string-append name "-" version ".tar.gz"))
3943 "1fd1mx0q1qb9vgdzls5ppxfriyid48blg8smgjspiazp7kxakzxv"))))
3944 (build-system emacs-build-system)
3947 (modify-phases %standard-phases
3948 (add-before 'install 'check
3950 (zero? (system* "make" "test")))))))
3951 (home-page "https://github.com/skeeto/elfeed")
3952 (synopsis "Atom/RSS feed reader for Emacs")
3954 "Elfeed is an extensible web feed reader for Emacs, supporting both Atom
3955 and RSS, with a user interface inspired by notmuch.")
3956 (license license:gpl3+)))
3958 (define-public emacs-rainbow-delimiters
3960 (name "emacs-rainbow-delimiters")
3964 (uri (string-append "https://raw.githubusercontent.com/Fanael"
3965 "/rainbow-delimiters/" version
3966 "/rainbow-delimiters.el"))
3967 (file-name (string-append "rainbow-delimiters-" version ".el"))
3970 "1b3kampwsjabhcqdp0khgff13wc5jqhy3rbvaa12vnv7qy22l9ck"))))
3971 (build-system emacs-build-system)
3972 (home-page "https://github.com/Fanael/rainbow-delimiters")
3973 (synopsis "Highlight brackets according to their depth")
3975 "Rainbow-delimiters is a \"rainbow parentheses\"-like mode for Emacs which
3976 highlights parentheses, brackets, and braces according to their depth. Each
3977 successive level is highlighted in a different color, making it easy to spot
3978 matching delimiters, orient yourself in the code, and tell which statements
3979 are at a given level.")
3980 (license license:gpl3+)))
3982 (define-public emacs-rainbow-identifiers
3984 (name "emacs-rainbow-identifiers")
3988 (uri (string-append "https://raw.githubusercontent.com/Fanael"
3989 "/rainbow-identifiers/" version
3990 "/rainbow-identifiers.el"))
3991 (file-name (string-append "rainbow-identifiers-" version ".el"))
3994 "0325abxj47k0g1i8nqrq70w2wr6060ckhhf92krv1s072b3jzm31"))))
3995 (build-system emacs-build-system)
3996 (home-page "https://github.com/Fanael/rainbow-identifiers")
3997 (synopsis "Highlight identifiers in source code")
3999 "Rainbow identifiers mode is an Emacs minor mode providing highlighting of
4000 identifiers based on their names. Each identifier gets a color based on a hash
4002 (license license:bsd-2)))
4004 (define-public emacs-rainbow-mode
4006 (name "emacs-rainbow-mode")
4011 "http://elpa.gnu.org/packages/rainbow-mode-" version ".el"))
4014 "1d3aamx6qgqqpqijwsr02ggwrh67gfink1bir0692alfkm3zdddl"))))
4015 (build-system emacs-build-system)
4016 (home-page "http://elpa.gnu.org/packages/rainbow-mode.html")
4017 (synopsis "Colorize color names in buffers")
4019 "This minor mode sets background color to strings that match color
4020 names, e.g. #0000ff is displayed in white with a blue background.")
4021 (license license:gpl3+)))
4023 (define-public emacs-visual-fill-column
4025 (name "emacs-visual-fill-column")
4029 (uri (string-append "https://codeload.github.com/joostkremers/"
4030 "visual-fill-column/tar.gz/" version))
4031 (file-name (string-append name "-" version ".tar.gz"))
4034 "13jnviakp607zcms7f8ams56mr8wffnq1pghlc6fvqs39663pgwh"))))
4035 (build-system emacs-build-system)
4036 (home-page "https://github.com/joostkremers/visual-fill-column")
4037 (synopsis "Fill-column for visual-line-mode")
4039 "@code{visual-fill-column-mode} is a small Emacs minor mode that mimics
4040 the effect of @code{fill-column} in @code{visual-line-mode}. Instead of
4041 wrapping lines at the window edge, which is the standard behaviour of
4042 @code{visual-line-mode}, it wraps lines at @code{fill-column}. If
4043 @code{fill-column} is too large for the window, the text is wrapped at the
4045 (license license:gpl3+)))
4047 (define-public emacs-writeroom
4049 (name "emacs-writeroom")
4054 "https://github.com/joostkremers/writeroom-mode/archive/"
4056 (file-name (string-append name "-" version ".tar.gz"))
4059 "0yqgp5h3kvvpgva4azakb2wnjl7gsyh45glf75crspv3xyq57f2r"))))
4060 (build-system emacs-build-system)
4062 `(("emacs-visual-fill-column" ,emacs-visual-fill-column)))
4063 (home-page "https://github.com/joostkremers/writeroom-mode")
4064 (synopsis "Distraction-free writing for Emacs")
4066 "This package defines a minor mode for distraction-free writing. Some of
4067 the default effects include entering fullscreen, deleting other windows of the
4068 current frame, disabling the mode line, and adding margins to the buffer that
4069 restrict the text width to 80 characters.")
4070 (license license:bsd-3)))
4072 (define-public emacs-ido-completing-read+
4074 (name "emacs-ido-completing-read+")
4078 (uri (string-append "https://raw.githubusercontent.com"
4079 "/DarwinAwardWinner/ido-ubiquitous/v"
4080 version "/ido-completing-read+.el"))
4081 (file-name (string-append "ido-completing-read+-" version ".el"))
4084 "1cyalb0p7nfsm4n6n9q6rjmvn6adqc0fq8ybnlj3n41n289dkfjf"))))
4085 (build-system emacs-build-system)
4086 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
4087 (synopsis "Replacement for completing-read using ido")
4089 "The ido-completing-read+ function is a wrapper for ido-completing-read.
4090 Importantly, it detects edge cases that ordinary ido cannot handle and either
4091 adjusts them so ido can handle them, or else simply falls back to the standard
4092 Emacs completion function instead.")
4093 (license license:gpl3+)))
4095 (define-public emacs-ido-ubiquitous
4097 (name "emacs-ido-ubiquitous")
4101 (uri (string-append "https://raw.githubusercontent.com"
4102 "/DarwinAwardWinner/ido-ubiquitous/v"
4103 version "/ido-ubiquitous.el"))
4104 (file-name (string-append "ido-ubiquitous-" version ".el"))
4107 "197ypji0fb6jsdcq40rpnknwlh3imas6s6jbsvkfm0pz9988c3q2"))))
4108 (build-system emacs-build-system)
4110 `(("emacs-ido-completing-read+" ,emacs-ido-completing-read+)))
4111 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
4112 (synopsis "Use ido (nearly) everywhere")
4114 "Ido-ubiquitous enables ido-style completion for almost every function
4115 that uses the standard completion function completing-read.")
4116 (license license:gpl3+)))
4118 (define-public emacs-yaml-mode
4120 (name "emacs-yaml-mode")
4124 (uri (string-append "https://raw.githubusercontent.com/yoshiki"
4125 "/yaml-mode/v" version "/yaml-mode.el"))
4126 (file-name (string-append "yaml-mode-" version ".el"))
4129 "0im88sk9dqw03x6d6zaspgvg9i0pfpgb8f2zygrmbifh2w4pwmvj"))))
4130 (build-system emacs-build-system)
4131 (home-page "https://github.com/yoshiki/yaml-mode")
4132 (synopsis "Major mode for editing YAML files")
4134 "Yaml-mode is an Emacs major mode for editing files in the YAML data
4135 serialization format. It was initially developed by Yoshiki Kurihara and many
4136 features were added by Marshall Vandegrift. As YAML and Python share the fact
4137 that indentation determines structure, this mode provides indentation and
4138 indentation command behavior very similar to that of python-mode.")
4139 (license license:gpl3+)))
4141 (define-public emacs-web-mode
4143 (name "emacs-web-mode")
4147 (uri (string-append "https://raw.githubusercontent.com/fxbois"
4148 "/web-mode/v" version "/web-mode.el"))
4149 (file-name (string-append "web-mode-" version ".el"))
4152 "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5"))))
4153 (build-system emacs-build-system)
4154 (synopsis "Major mode for editing web templates")
4155 (description "Web-mode is an Emacs major mode for editing web templates
4156 aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by
4157 client/server side engines). Web-mode is compatible with many template
4158 engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker,
4159 Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template,
4160 Dust.js, React/JSX, Angularjs, ejs, etc.")
4161 (home-page "http://web-mode.org/")
4162 (license license:gpl3+)))
4164 (define-public emacs-wgrep
4166 (name "emacs-wgrep")
4171 "https://github.com/mhayashi1120/Emacs-wgrep/archive/"
4173 (file-name (string-append name "-" version ".tar.gz"))
4176 "1r2bpypar70xg6dsx12x1k74f39ww930rday7rgqpyknzsx1k4l1"))))
4177 (build-system emacs-build-system)
4178 (home-page "https://github.com/mhayashi1120/Emacs-wgrep")
4179 (synopsis "Edit a grep buffer and apply those changes to the files")
4181 "Emacs wgrep allows you to edit a grep buffer and apply those changes to
4183 (license license:gpl3+)))
4185 (define-public emacs-helm
4192 "https://github.com/" name "/helm/archive/v"
4194 (file-name (string-append name "-" version ".tar.gz"))
4197 "1798gn0za11cxdbi436javfczv4abniccxcl0jppl463r8lzb8is"))))
4198 (build-system emacs-build-system)
4200 `(("emacs-async" ,emacs-async)
4201 ("emacs-popup" ,emacs-popup)))
4202 (home-page "https://emacs-helm.github.io/helm/")
4203 (synopsis "Incremental completion and selection narrowing
4204 framework for Emacs")
4205 (description "Helm is incremental completion and selection narrowing
4206 framework for Emacs. It will help steer you in the right direction when
4207 you're looking for stuff in Emacs (like buffers, files, etc). Helm is a fork
4208 of @code{anything.el} originally written by Tamas Patrovic and can be
4209 considered to be its successor. Helm sets out to clean up the legacy code in
4210 @code{anything.el} and provide a cleaner, leaner and more modular tool, that's
4211 not tied in the trap of backward compatibility.")
4212 (license license:gpl3+)))
4214 (define-public emacs-helm-swoop
4216 (name "emacs-helm-swoop")
4221 "https://github.com/ShingoFukuyama/helm-swoop/archive/"
4224 (file-name (string-append name "-" version ".tar.gz"))
4227 "1ssivsjzlnkg049cg993l8fp09l5nhpz6asj7w5c91zp5kpc6fh7"))))
4228 (build-system emacs-build-system)
4230 `(("emacs-helm" ,emacs-helm)))
4231 (home-page "https://github.com/ShingoFukuyama/helm-swoop")
4232 (synopsis "Filter and jump to lines in an Emacs buffer using Helm")
4234 "This package builds on the Helm interface to provide several commands
4235 for search-based navigation of buffers.")
4236 (license license:gpl2+)))
4238 (define-public emacs-helm-projectile
4240 (name "emacs-helm-projectile")
4245 "https://github.com/bbatsov/helm-projectile/archive/v"
4248 (file-name (string-append name "-" version ".tar.gz"))
4251 "19cfmilqh8kbab3b2hmx6lyrj73q6vfmn3p730x95g23iz16mnd5"))))
4252 (build-system emacs-build-system)
4254 `(("emacs-dash" ,emacs-dash)
4255 ("emacs-helm" ,emacs-helm)
4256 ("emacs-projectile" ,emacs-projectile)))
4257 (home-page "https://github.com/bbatsov/helm-projectile")
4258 (synopsis "Helm integration for Projectile")
4260 "This Emacs library provides a Helm interface for Projectile.")
4261 (license license:gpl3+)))
4263 (define-public emacs-helm-make
4264 (let ((commit "feae8df22bc4b20705ea08ac9adfc2b43bb348d0")
4267 (name "emacs-helm-make")
4268 (version (string-append "0.1.0-" revision "." (string-take commit 7)))
4273 (url "https://github.com/abo-abo/helm-make.git")
4275 (file-name (string-append name "-" version "-checkout"))
4278 "1y2v77mmd1bfkkz51cnk1l0dg3lvvxc39wlamnm7wjns66dbvlam"))))
4279 (build-system emacs-build-system)
4281 `(("emacs-helm" ,emacs-helm)
4282 ("emacs-projectile" ,emacs-projectile)))
4283 (home-page "https://github.com/abo-abo/helm-make")
4284 (synopsis "Select a Makefile target with helm")
4285 (description "@code{helm-make} or @code{helm-make-projectile} will give
4286 you a @code{helm} selection of directory Makefile's targets. Selecting a
4287 target will call @code{compile} on it.")
4288 (license license:gpl3+))))
4290 (define-public emacs-cider
4292 (name "emacs-cider")
4297 "https://github.com/clojure-emacs/cider/archive/v"
4299 (file-name (string-append name "-" version ".tar.gz"))
4302 "1j5hlmi14ypszv1f9nvq0jjlz7i742flg0ny3055l7i4x089xx6g"))))
4303 (build-system emacs-build-system)
4305 '(#:exclude ; Don't exclude 'cider-test.el'.
4306 '("^\\.dir-locals\\.el$" "^test/")))
4308 `(("emacs-clojure-mode" ,emacs-clojure-mode)
4309 ("emacs-spinner" ,emacs-spinner)
4310 ("emacs-pkg-info" ,emacs-pkg-info)
4311 ("emacs-queue" ,emacs-queue)))
4312 (home-page "https://cider.readthedocs.org/")
4313 (synopsis "Clojure development environment for Emacs")
4315 "CIDER (Clojure Interactive Development Environment that Rocks) aims to
4316 provide an interactive development experience similar to the one you'd get
4317 when programming in Emacs Lisp, Common Lisp (with SLIME or Sly), Scheme (with
4318 Geiser) and Smalltalk.
4320 CIDER is the successor to the now deprecated combination of using SLIME +
4321 swank-clojure for Clojure development.
4323 There are plenty of differences between CIDER and SLIME, but the core ideas
4324 are pretty much the same (and SLIME served as the principle inspiration for
4326 (license license:gpl3+)))
4328 ;; There hasn't been a tag or release since 2015, so we take the latest
4330 (define-public emacs-sly
4331 (let ((commit "486bfbe95612bcdc0960c490207970a188e0fbb9")
4335 (version (string-append "1.0.0-" revision "." (string-take commit 9)))
4340 (url "https://github.com/joaotavora/sly.git")
4342 (file-name (git-file-name name version))
4345 "0ib4q4k3h3qn88pymyjjmlmnpizdn1mfg5gpk5a715nqsgxlg09l"))))
4346 (build-system emacs-build-system)
4348 `(#:include (cons "^lib\\/" %default-include)
4350 ;; The package provides autoloads.
4351 (modify-phases %standard-phases
4352 (delete 'make-autoloads))))
4353 (home-page "https://github.com/joaotavora/sly")
4354 (synopsis "Sylvester the Cat's Common Lisp IDE")
4356 "SLY is Sylvester the Cat's Common Lisp IDE. SLY is a fork of SLIME, and
4357 contains the following improvements over it:
4360 @item Completely redesigned REPL based on Emacs's own full-featured
4362 @item Live code annotations via a new @code{sly-stickers} contrib
4363 @item Consistent interactive button interface. Everything can be copied to
4365 @item Multiple inspectors with independent history
4366 @item Regexp-capable @code{M-x sly-apropos}
4367 @item Contribs are first class SLY citizens and enabled by default
4368 @item Use ASDF to loads contribs on demand.
4371 SLY tracks SLIME's bugfixes and all its familar features (debugger, inspector,
4372 xref, etc...) are still available, but with better integration.")
4373 (license license:gpl3+))))
4375 (define-public emacs-lua-mode
4376 (let ((commit "652e299cb967fccca827dda381d61a9c144d97de")
4379 (name "emacs-lua-mode")
4380 (version (string-append "20151025." revision "-" (string-take commit 9)))
4381 (home-page "https://github.com/immerrr/lua-mode/")
4387 (file-name (string-append name "-" version ".checkout"))
4390 "053025k930wh0lak6rc1973ynfrmm8zsyzfqhhd39x7abkl41hc9"))))
4391 (build-system emacs-build-system)
4392 (synopsis "Major mode for lua")
4394 "This Emacs package provides a mode for @uref{https://www.lua.org/,
4395 Lua programing language}.")
4396 (license license:gpl2+))))
4398 (define-public emacs-ebuild-mode
4400 (name "emacs-ebuild-mode")
4405 "https://dev.gentoo.org/~ulm/emacs/ebuild-mode"
4406 "-" version ".tar.xz"))
4407 (file-name (string-append name "-" version ".tar.xz"))
4410 "07dzrdjjczkxdfdgi60h4jjkvzi4p0k9rij2wpfp8s03ay3qldpp"))))
4411 (build-system emacs-build-system)
4412 (home-page "https://devmanual.gentoo.org")
4413 (synopsis "Major modes for Gentoo package files")
4415 "This Emacs package provides modes for ebuild, eclass, eblit, GLEP42
4416 news items, openrc and runscripts.")
4417 (license license:gpl2+)))
4419 (define-public emacs-evil
4426 (uri (string-append "https://github.com/emacs-evil/evil/archive/"
4428 (file-name (string-append name "-" version ".tar.gz"))
4431 "1z63zsxmsc6mh74wv6065carwqmgs7b7lz5044s12xvgsjfbwi8h"))))
4432 (build-system emacs-build-system)
4434 `(("emacs-undo-tree" ,emacs-undo-tree)
4435 ("emacs-goto-chg" ,emacs-goto-chg)))
4436 (home-page "https://github.com/emacs-evil/evil")
4437 (synopsis "Extensible Vi layer for Emacs")
4439 "Evil is an extensible vi layer for Emacs. It emulates the
4440 main features of Vim, and provides facilities for writing custom
4442 (license license:gpl3+)))
4444 (define-public emacs-goto-chg
4446 (name "emacs-goto-chg")
4451 ;; There is no versioned source.
4452 (uri "https://www.emacswiki.org/emacs/download/goto-chg.el")
4453 (file-name (string-append "goto-chg-" version ".el"))
4456 "078d6p4br5vips7b9x4v6cy0wxf6m5ij9gpqd4g33bryn22gnpij"))))
4457 (build-system emacs-build-system)
4458 ;; There is no other home page.
4459 (home-page "https://www.emacswiki.org/emacs/goto-chg.el")
4460 (synopsis "Go to the last change in the Emacs buffer")
4462 "This package provides @code{M-x goto-last-change} command that goes to
4463 the point of the most recent edit in the current Emacs buffer. When repeated,
4464 go to the second most recent edit, etc. Negative argument, @kbd{C-u -}, is
4465 used for reverse direction.")
4466 (license license:gpl2+)))
4468 (define-public emacs-monroe
4470 (name "emacs-monroe")
4475 (uri (string-append "https://github.com/sanel/monroe/archive/"
4477 (file-name (string-append name "-" version ".tar.gz"))
4480 "0icdx8shkd951phlnmcq1vqaxp1l667q5rjscskc5r22aylakh4w"))))
4481 (build-system emacs-build-system)
4482 (home-page "https://github.com/sanel/monroe")
4483 (synopsis "Clojure nREPL client for Emacs")
4485 "Monroe is a nREPL client for Emacs, focused on simplicity and easy
4486 distribution, primarily targeting Clojure users")
4487 (license license:gpl3+)))
4489 (define-public emacs-writegood-mode
4491 (name "emacs-writegood-mode")
4493 (home-page "https://github.com/bnbeckwith/writegood-mode")
4498 (commit (string-append "v" version))))
4501 "1nnjn1r669hvvzfycllwap4w04m8rfsk4nzcg8057m1f263kj31b"))
4502 (file-name (string-append name "-checkout"))))
4503 (build-system emacs-build-system)
4504 (synopsis "Polish up poor writing on the fly")
4506 "This minor mode tries to find and highlight problems with your writing
4507 in English as you type. It primarily detects \"weasel words\" and abuse of
4509 (license license:gpl3+)))
4511 (define-public emacs-neotree
4513 (name "emacs-neotree")
4515 (home-page "https://github.com/jaypei/emacs-neotree")
4519 "https://github.com/jaypei/" name
4520 "/archive/" version ".tar.gz"))
4523 "1zd6dchwyijnf7kgchfcp51gs938l204dk9z6mljrfqf2zy0gp12"))
4524 (file-name (string-append name "-" version ".tar.gz"))))
4525 (build-system emacs-build-system)
4526 (synopsis "Folder tree view for Emacs")
4527 (description "This Emacs package provides a folder tree view.")
4528 (license license:gpl3+)))
4530 (define-public emacs-org
4533 ;; emacs-org-contrib inherits from this package. Please update its sha256
4534 ;; checksum as well.
4538 (uri (string-append "http://elpa.gnu.org/packages/org-"
4542 "16yr0srfzsrzv2b1f2wjk8gb2pyhsgj2hxbscixirkxqz674c5cl"))))
4543 (build-system emacs-build-system)
4544 (home-page "https://orgmode.org/")
4545 (synopsis "Outline-based notes management and organizer")
4546 (description "Org is an Emacs mode for keeping notes, maintaining TODO
4547 lists, and project planning with a fast and effective plain-text system. It
4548 also is an authoring system with unique support for literate programming and
4549 reproducible research.")
4550 (license license:gpl3+)))
4552 (define-public emacs-org-contrib
4555 (name "emacs-org-contrib")
4556 (version "20180327")
4559 (uri (string-append "https://orgmode.org/elpa/org-plus-contrib-"
4563 "1y1nn0bxnh9y4a3zrqng8n639j5da5387q2314sr3a8ggy1nb93s"))))
4565 `(#:modules ((guix build emacs-build-system)
4567 (guix build emacs-utils)
4571 (modify-phases %standard-phases
4572 (add-after 'install 'delete-org-files
4573 (lambda* (#:key inputs outputs #:allow-other-keys)
4574 (let* ((out (assoc-ref outputs "out"))
4575 (org (assoc-ref inputs "emacs-org"))
4577 (map basename (find-files out)))
4579 (map basename (find-files org)))
4580 (duplicates (lset-intersection
4581 string=? contrib-files org+contrib-files)))
4582 (with-directory-excursion
4584 out "/share/emacs/site-lisp/guix.d/org-contrib-" ,version)
4585 (for-each delete-file duplicates))
4588 `(("emacs-org" ,emacs-org)))
4589 (synopsis "Contributed packages to Org mode")
4590 (description "Org is an Emacs mode for keeping notes, maintaining TODO
4591 lists, and project planning with a fast and effective plain-text system.
4593 This package is equivalent to org-plus-contrib, but only includes additional
4594 files that you would find in @file{contrib/} from the git repository.")))
4596 (define-public emacs-flx
4603 (uri (string-append "https://github.com/lewang/"
4604 "flx/archive/v" version ".tar.gz"))
4607 "0bkcpnf1j4i2fcc2rllwbz62l00sw2mcia6rm5amgwvlkqavmkv6"))
4608 (file-name (string-append name "-" version ".tar.gz"))))
4609 (build-system emacs-build-system)
4610 (home-page "https://github.com/lewang/flx")
4611 (synopsis "Fuzzy matching for Emacs")
4613 "Flx provides fuzzy matching for emacs a la sublime text.
4614 The sorting algorithm is a balance between word beginnings (abbreviation)
4615 and contiguous matches (substring). The longer the substring match,
4616 the higher it scores. This maps well to how we think about matching.
4617 Flx has support for ido (interactively do things) through flx-ido.")
4618 (license license:gpl3+)))
4620 (define-public emacs-cyberpunk-theme
4622 (name "emacs-cyberpunk-theme")
4627 (uri (string-append "https://github.com/n3mo/cyberpunk-theme.el/"
4628 "archive/" version ".tar.gz"))
4631 "05l5fxw1mn5py6mfhxrzyqjq0d8m5m1akfi46vrgh13r414jffvv"))
4632 (file-name (string-append name "-" version ".tar.gz"))))
4633 (build-system emacs-build-system)
4634 (home-page "https://github.com/n3mo/cyberpunk-theme.el")
4635 (synopsis "Cyberpunk theme for emacs built-in color theme support")
4637 "Cyberpunk color theme for the emacs 24+ built-in color theme support
4638 known loosely as deftheme. Many mode-specific customizations are included.")
4639 (license license:gpl3+)))
4641 (define-public emacs-danneskjold-theme
4642 (let* ((commit "8733d2fe8743e8a01826ea6d4430ef376c727e57")
4645 (name "emacs-danneskjold-theme")
4646 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
4647 (home-page "https://github.com/rails-to-cosmos/danneskjold-theme")
4654 (file-name (string-append name "-" version "-checkout"))
4657 "0s6rbsb0y8i8m5b9xm4gw1p1cxsxdqnqxqqb638pygz9f76mbir1"))))
4658 (build-system emacs-build-system)
4661 (modify-phases %standard-phases
4662 (add-after 'unpack 'delete-screenshots
4664 (delete-file-recursively "screenshots") #t)))))
4665 (synopsis "High-contrast Emacs theme")
4667 "@code{danneskjold-theme} is a high-contrast theme for Emacs.")
4668 (license license:gpl3+))))
4670 (define-public emacs-dream-theme
4671 (let* ((commit "107a11d74365046f28a1802a2bdb5e69e4a7488b")
4674 (name "emacs-dream-theme")
4675 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
4680 (url "https://github.com/djcb/dream-theme")
4682 (file-name (string-append name "-" version "-checkout"))
4685 "0za18nfkq4xqm35k6006vsixcbmvmxqgma4iw5sw37h8vmcsdylk"))))
4686 (build-system emacs-build-system)
4687 (home-page "https://github.com/djcb/dream-theme")
4688 (synopsis "High-contrast Emacs theme")
4690 "@code{dream-theme} is a dark, clean theme for Emacs. It is inspired
4691 by zenburn, sinburn and similar themes, but slowly diverging from them.")
4692 (license license:gpl3+))))
4694 (define-public emacs-auto-complete
4696 (name "emacs-auto-complete")
4701 (uri (string-append "https://github.com/auto-complete/"
4702 "auto-complete/archive/v" version ".tar.gz"))
4705 "1jvq4lj00hwml75lpmlciazy8f3bbg13gffsfnl835p4qd8l7yqv"))
4706 (file-name (string-append name "-" version ".tar.gz"))))
4707 (build-system emacs-build-system)
4709 `(("emacs-popup" ,emacs-popup)))
4710 (home-page "https://github.com/auto-complete/auto-complete")
4711 (synopsis "Intelligent auto-completion extension for Emacs")
4713 "Auto-Complete is an intelligent auto-completion extension for Emacs.
4714 It extends the standard Emacs completion interface and provides an environment
4715 that allows users to concentrate more on their own work. Its features are:
4716 a visual interface, reduce overhead of completion by using statistic method,
4718 (license license:gpl3+)))
4720 (define-public m17n-db
4727 (uri (string-append "mirror://savannah/m17n/m17n-db-"
4730 (base32 "1w08hnsbknrcjlzp42c99bgwc9hzsnf5m4apdv0dacql2s09zfm2"))))
4731 (build-system gnu-build-system)
4733 `(("gettext" ,gettext-minimal)))
4736 (list (string-append "--with-charmaps="
4737 (assoc-ref %build-inputs "libc")
4738 "/share/i18n/charmaps"))))
4739 ;; With `guix lint' the home-page URI returns a small page saying
4740 ;; that your browser does not handle frames. This triggers the "URI
4741 ;; returns suspiciously small file" warning.
4742 (home-page "https://www.nongnu.org/m17n/")
4743 (synopsis "Multilingual text processing library (database)")
4744 (description "The m17n library realizes multilingualization of
4745 many aspects of applications. The m17n library represents
4746 multilingual text as an object named M-text. M-text is a string with
4747 attributes called text properties, and designed to substitute for
4748 string in C. Text properties carry any information required to input,
4749 display and edit the text.
4751 This package contains the library database.")
4752 (license license:lgpl2.1+)))
4754 (define-public m17n-lib
4761 (uri (string-append "mirror://savannah/m17n/m17n-lib-"
4764 (base32 "10yv730i25g1rpzv6q49m6xn4p8fjm7jdwvik2h70sn8w3hm7f4f"))))
4765 (build-system gnu-build-system)
4767 `(("fribidi" ,fribidi)
4771 ("libxml2" ,libxml2)
4772 ("m17n-db" ,m17n-db)))
4774 `(#:parallel-build? #f))
4775 ;; With `guix lint' the home-page URI returns a small page saying
4776 ;; that your browser does not handle frames. This triggers the "URI
4777 ;; returns suspiciously small file" warning.
4778 (home-page "https://www.nongnu.org/m17n/")
4779 (synopsis "Multilingual text processing library (runtime)")
4780 (description "The m17n library realizes multilingualization of
4781 many aspects of applications. The m17n library represents
4782 multilingual text as an object named M-text. M-text is a string with
4783 attributes called text properties, and designed to substitute for
4784 string in C. Text properties carry any information required to input,
4785 display and edit the text.
4787 This package contains the library runtime.")
4788 (license license:lgpl2.1+)))
4790 (define-public emacs-nginx-mode
4792 (name "emacs-nginx-mode")
4798 "https://github.com/ajc/nginx-mode/archive/v"
4800 (file-name (string-append name "-" version ".tar.gz"))
4803 "1lvkj07kq0jkskr2f61vqb5rlrbnaz9a76ikq40w6925i2r970rr"))))
4804 (build-system emacs-build-system)
4805 (home-page "https://github.com/ajc/nginx-mode")
4806 (synopsis "Emacs major mode for editing nginx config files")
4807 (description "This package provides an Emacs major mode for
4808 editing nginx config files.")
4809 (license license:gpl2+)))
4811 (define-public emacs-stream
4813 (name "emacs-stream")
4815 (home-page "https://github.com/NicolasPetton/stream")
4819 (file-name (string-append name "-" version ".tar.gz"))
4820 (uri (string-append home-page "/archive/"version ".tar.gz"))
4822 (base32 "03ql4nqfz5pn55mjly6clhvc3g7x2d28kj7mrlqmigvjbql39xxc"))))
4823 (build-system emacs-build-system)
4824 (synopsis "Implementation of streams for Emacs")
4825 (description "This library provides an implementation of streams for Emacs.
4826 Streams are implemented as delayed evaluation of cons cells.")
4827 (license license:gpl3+)))
4829 (define-public emacs-el-search
4830 (let ((commit "f26277bfbb3fc3fc74beea6592f294c439796bd4")
4833 (name "emacs-el-search")
4834 ;; No ufficial release.
4835 (version (string-append "0.0-" revision "." (string-take commit 7)))
4836 (home-page "https://github.com/emacsmirror/el-search")
4840 (file-name (string-append name "-" version ".tar.gz"))
4843 (url (string-append home-page ".git"))))
4845 (base32 "12xf40h9sb7xxg2r97gsia94q02543mgiiiw46fzh1ac7b7993g6"))))
4846 (build-system emacs-build-system)
4847 (inputs `(("emacs-stream" ,emacs-stream)))
4848 (synopsis "Expression based interactive search for emacs-lisp-mode")
4849 (description "This package provides expression based interactive search
4850 procedures for emacs-lisp-mode.")
4851 (license license:gpl3+))))
4853 (define-public emacs-ht
4861 "https://github.com/Wilfred/ht.el/archive/"
4863 (file-name (string-append name "-" version ".tar.gz"))
4866 "1lpba36kzxcc966fvsbrfpy8ah9gnvay0yk26gbyjil0rggrbqzj"))))
4867 (build-system emacs-build-system)
4868 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
4869 (home-page "https://github.com/Wilfred/ht.el")
4870 (synopsis "Hash table library for Emacs")
4872 "This package simplifies the use of hash tables in elisp. It also
4873 provides functions to convert hash tables from and to alists and plists.")
4874 (license license:gpl3+)))
4876 (define-public emacs-log4e
4878 (name "emacs-log4e")
4884 "https://github.com/aki2o/log4e/archive/v"
4886 (file-name (string-append name "-" version ".tar.gz"))
4889 "0nbdpbw353snda3v19l9hsm6gimppwnpxj18amm350bm81lyim2g"))))
4890 (build-system emacs-build-system)
4893 (modify-phases %standard-phases
4894 (add-after 'unpack 'remove-tests
4895 ;; Guile builder complains about null characters in some
4896 ;; strings of test files. Remove "test" directory (it is not
4899 (delete-file-recursively "test"))))))
4900 (home-page "https://github.com/aki2o/log4e")
4901 (synopsis "Logging framework for elisp")
4903 "This package provides a logging framework for elisp. It allows
4904 you to deal with multiple log levels.")
4905 (license license:gpl3+)))
4907 (define-public emacs-gntp
4915 "https://github.com/tekai/gntp.el/archive/v"
4917 (file-name (string-append name "-" version ".tar.gz"))
4920 "16c1dfkia9yhl206bdhjr3b8kfvqcqr38jl5lq8qsyrrzsnmghny"))))
4921 (build-system emacs-build-system)
4922 (home-page "https://github.com/tekai/gntp.el")
4923 (synopsis "Growl Notification Protocol for Emacs")
4925 "This package implements the Growl Notification Protocol GNTP
4926 described at @uref{http://www.growlforwindows.com/gfw/help/gntp.aspx}.
4927 It is incomplete as it only lets you send but not receive
4929 (license license:bsd-3)))
4931 (define-public emacs-alert
4933 (name "emacs-alert")
4939 "https://github.com/jwiegley/alert/archive/v"
4941 (file-name (string-append name "-" version ".tar.gz"))
4944 "1693kck3k2iz5zhpmxwqyafxm68hr6gzs60lkxd3j1wlp2c9fwyr"))))
4945 (build-system emacs-build-system)
4947 `(("emacs-gntp" ,emacs-gntp)
4948 ("emacs-log4e" ,emacs-log4e)))
4949 (home-page "https://github.com/jwiegley/alert")
4950 (synopsis "Growl-style notification system for Emacs")
4952 "Alert is a Growl-workalike for Emacs which uses a common notification
4953 interface and multiple, selectable \"styles\", whose use is fully
4954 customizable by the user.")
4955 (license license:gpl2+)))
4957 (define-public emacs-mu4e-alert
4959 (name "emacs-mu4e-alert")
4965 "https://github.com/iqbalansari/mu4e-alert/archive/v"
4967 (file-name (string-append name "-" version ".tar.gz"))
4970 "07qc834qnxn8xi4bw5nawj8g91bmkzw0r0vahkgysp7r9xrf57gj"))))
4971 (build-system emacs-build-system)
4973 `(("emacs-alert" ,emacs-alert)
4974 ("emacs-s" ,emacs-s)
4975 ("emacs-ht" ,emacs-ht)))
4976 (home-page "https://github.com/iqbalansari/mu4e-alert")
4977 (synopsis "Desktop notification for mu4e")
4979 "This package provides desktop notifications for mu4e.
4980 Additionally it can display the number of unread emails in the
4982 (license license:gpl3+)))
4984 (define-public emacs-pretty-mode
4986 (name "emacs-pretty-mode")
4991 (uri (string-append "https://github.com/akatov/pretty-mode/"
4992 "archive/" version ".tar.gz"))
4993 (file-name (string-append name "-" version ".tar.gz"))
4996 "1fan7m4vnqs8kpg7r54kx3g7faadkpkf9kzarfv8n57kq8w157pl"))))
4997 (build-system emacs-build-system)
4998 (home-page "https://github.com/akatov/pretty-mode")
4999 (synopsis "Redisplay parts of the buffer as Unicode symbols")
5001 "Emacs minor mode for redisplaying parts of the buffer as pretty symbols.")
5002 (license license:gpl3+)))
5004 (define-public emacs-yasnippet
5006 (name "emacs-yasnippet")
5010 (uri (string-append "https://github.com/joaotavora/yasnippet/"
5011 "archive/" version ".tar.gz"))
5012 (file-name (string-append name "-" version ".tar.gz"))
5015 "01jabaz0g67bsziayrxgv74px55fx4nlrcl0csl8f1by2102pwc5"))
5016 (modules '((guix build utils)))
5019 ;; YASnippet expects a "snippets" subdirectory in the same
5020 ;; directory as yasnippet.el, but we don't install it
5021 ;; because it's a git submodule pointing to an external
5022 ;; repository. Adjust `yas-snippet-dirs' to prevent
5023 ;; warnings about a missing directory.
5024 (substitute* "yasnippet.el"
5025 (("^ +'yas-installed-snippets-dir\\)\\)\n")
5027 (build-system emacs-build-system)
5028 (home-page "https://github.com/joaotavora/yasnippet")
5029 (synopsis "Yet another snippet extension for Emacs")
5031 "YASnippet is a template system for Emacs. It allows you to type an
5032 abbreviation and automatically expand it into function templates.")
5033 (license license:gpl3+)))
5035 (define-public emacs-yasnippet-snippets
5036 (let ((commit "885050d34737e2fb36a3e7759d60c09347bd4ce0")
5039 (name "emacs-yasnippet-snippets")
5040 (version (string-append "1-" revision "." (string-take commit 8)))
5045 (url "https://github.com/AndreaCrotti/yasnippet-snippets")
5047 (file-name (string-append name "-" version "-checkout"))
5050 "1m935zgglw0iakzrixld5rcjz3wnj84f8wy2mvc3pggjri9l0qr9"))))
5051 (build-system trivial-build-system)
5053 `(#:modules ((ice-9 ftw)
5058 (use-modules (ice-9 ftw)
5061 (with-directory-excursion (assoc-ref %build-inputs "source")
5062 (for-each (lambda (dir)
5065 (string-append %output
5066 "/share/emacs/yasnippet-snippets/"
5068 (scandir "." (lambda (fname)
5069 (and (string-match "-mode$" fname)
5070 (directory-exists? fname)))))))))
5071 (home-page "https://github.com/AndreaCrotti/yasnippet-snippets")
5072 (synopsis "Collection of YASnippet snippets for many languages")
5074 "Provides Andrea Crotti's collection of YASnippet snippets. After installation,
5075 the snippets will be in \"~/.guix-profile/share/emacs/yasnippet-snippets/\".
5076 To make YASnippet aware of these snippets, add the above directory to
5077 @code{yas-snippet-dirs}.")
5078 (license license:expat))))
5080 (define-public emacs-helm-c-yasnippet
5081 (let ((commit "65ca732b510bfc31636708aebcfe4d2d845b59b0")
5084 (name "emacs-helm-c-yasnippet")
5085 (version (string-append "0.6.7" "-" revision "."
5086 (string-take commit 7)))
5090 (url "https://github.com/emacs-jp/helm-c-yasnippet")
5092 (file-name (string-append name "-" version "-checkout"))
5095 "1cbafjqlzxbg19xfdqsinsh7afq58gkf44rsg1qxfgm8g6zhr7f8"))))
5096 (build-system emacs-build-system)
5098 `(("emacs-helm" ,emacs-helm)
5099 ("emacs-yasnippet" ,emacs-yasnippet)))
5100 (home-page "https://github.com/emacs-jp/helm-c-yasnippet")
5101 (synopsis "Helm integration for Yasnippet")
5102 (description "This Emacs library provides Helm interface for
5104 (license license:gpl2+))))
5106 (define-public emacs-memoize
5108 (name "emacs-memoize")
5109 (version "20130421.b55eab0")
5114 (url "https://github.com/skeeto/emacs-memoize")
5115 (commit "b55eab0cb6ab05d941e07b8c01f1655c0cf1dd75")))
5116 (file-name (string-append name "-" version ".tar.gz"))
5119 "0fjwlrdm270qcrqffvarw5yhijk656q4lam79ybhaznzj0dq3xpw"))))
5120 (build-system emacs-build-system)
5123 (modify-phases %standard-phases
5124 (add-before 'install 'check
5126 (zero? (system* "emacs" "-batch" "-l" "memoize.el"
5127 "-l" "memoize-test.el"
5128 "-f" "ert-run-tests-batch-and-exit")))))))
5129 (home-page "https://github.com/skeeto/emacs-memoize")
5130 (synopsis "Emacs lisp memoization library")
5131 (description "@code{emacs-memoize} is an Emacs library for
5132 memoizing functions.")
5133 (license license:unlicense)))
5135 (define-public emacs-linum-relative
5137 (name "emacs-linum-relative")
5143 "https://github.com/coldnew/linum-relative/archive/"
5145 (file-name (string-append name "-" version ".tar.gz"))
5148 "0s4frvr27866lw1rn3jal9wj5rkz9fx4yiszqv7w06azsdgsqksv"))))
5149 (build-system emacs-build-system)
5150 (home-page "https://github.com/coldnew/linum-relative")
5151 (synopsis "Relative line numbering for Emacs")
5152 (description "@code{emacs-linum-relative} displays the relative line
5153 number on the left margin in Emacs.")
5154 (license license:gpl2+)))
5156 (define-public emacs-idle-highlight
5158 (name "emacs-idle-highlight")
5164 "https://github.com/nonsequitur/idle-highlight-mode/archive/"
5166 (file-name (string-append name "-" version ".tar.gz"))
5169 "0kdv10hrgqpskjh0zvpnzwlkn5bccnqxas62gkws6njln57bf8nl"))))
5170 (build-system emacs-build-system)
5171 (home-page "https://www.emacswiki.org/emacs/IdleHighlight")
5172 (synopsis "Highlights all occurrences of the word the point is on")
5174 "This Emacs package provides @code{idle-highlight-mode} that sets
5175 an idle timer to highlight all occurrences in the buffer of the word under
5177 (license license:gpl3+)))
5179 (define-public emacs-ox-twbs
5181 (name "emacs-ox-twbs")
5187 "https://github.com/marsmining/ox-twbs/archive/v"
5189 (file-name (string-append name "-" version ".tar.gz"))
5192 "1zaq8dczq5wijjk36114k2x3hfrqig3lyx6djril6wyk67vczyqs"))))
5193 (build-system emacs-build-system)
5194 (home-page "https://github.com/marsmining/ox-twbs")
5195 (synopsis "Export org-mode docs as HTML compatible with Twitter Bootstrap")
5197 "This Emacs package outputs your org-mode docs with a simple, clean and
5198 modern look. It implements a new HTML back-end for exporting org-mode docs as
5199 HTML compatible with Twitter Bootstrap. By default, HTML is exported with
5200 jQuery and Bootstrap resources included via osscdn.")
5201 (license license:gpl3+)))
5203 (define-public emacs-highlight-sexp
5205 (name "emacs-highlight-sexp")
5211 "https://github.com/daimrod/highlight-sexp/archive/v"
5213 (file-name (string-append name "-" version ".tar.gz"))
5216 "0jwx87qkln1rg9wmv4qkgkml935fh2pkgrg5x4ca6n5dgb4q6rj1"))))
5217 (build-system emacs-build-system)
5218 (home-page "https://github.com/daimrod/highlight-sexp")
5219 (synopsis "Minor mode that highlights the s-exp at the current position")
5221 "This Emacs package highlights the s-exp at the current position.")
5222 (license license:gpl3+)))
5224 (define-public emacs-highlight-stages
5225 (let ((commit "29cbc5b78261916da042ddb107420083da49b271")
5228 (name "emacs-highlight-stages")
5229 (version (string-append "1.1.0" "-" revision "." (string-take commit 7)))
5234 (url "https://github.com/zk-phi/highlight-stages.git")
5236 (file-name (string-append name "-" version "-checkout"))
5239 "0r6nbcrr0dqpgm8dir8ahzjy7rw4nrac48byamzrq96r7ajlxlv0"))
5241 (search-patches "emacs-highlight-stages-add-gexp.patch"))))
5242 (build-system emacs-build-system)
5243 (home-page "https://github.com/wigust/highlight-stages")
5244 (synopsis "Minor mode that highlights (quasi-quoted) expressions")
5245 (description "@code{highlight-stages} provides an Emacs minor mode that
5246 highlights quasi-quoted expressions.")
5247 (license license:gpl3+))))
5249 (define-public emacspeak
5257 "https://github.com/tvraman/emacspeak/releases/download/"
5258 version "/emacspeak-" version ".tar.bz2"))
5261 "0xbcc266x752y68s3g096m161irzvsqym3axzqn8rb276a8x55n7"))))
5262 (build-system gnu-build-system)
5264 '(#:make-flags (list (string-append "prefix="
5265 (assoc-ref %outputs "out")))
5267 (modify-phases %standard-phases
5270 ;; Configure Emacspeak according to etc/install.org.
5271 (setenv "SHELL" (which "sh"))
5272 (zero? (system* "make" "config"))))
5273 (add-after 'build 'build-espeak
5275 (zero? (system* "make" "espeak"))))
5277 (lambda* (#:key outputs #:allow-other-keys)
5278 (let* ((out (assoc-ref outputs "out"))
5279 (bin (string-append out "/bin"))
5280 (lisp (string-append out "/share/emacs/site-lisp/emacspeak"))
5281 (info (string-append out "/share/info")))
5282 ;; According to etc/install.org, the Emacspeak directory should
5283 ;; be copied to its installation destination.
5286 (copy-recursively file (string-append lisp "/" file)))
5287 '("etc" "info" "lisp" "media" "servers" "sounds" "stumpwm"
5289 ;; Make sure emacspeak is loaded from the correct directory.
5290 (substitute* "etc/emacspeak.sh"
5292 (string-append "exec emacs -l " lisp
5293 "/lisp/emacspeak-setup.el $CL_ALL")))
5294 ;; Install the convenient startup script.
5296 (copy-file "etc/emacspeak.sh" (string-append bin "/emacspeak")))
5298 (add-after 'install 'wrap-program
5299 (lambda* (#:key inputs outputs #:allow-other-keys)
5300 (let* ((out (assoc-ref outputs "out"))
5301 (emacspeak (string-append out "/bin/emacspeak"))
5302 (espeak (string-append (assoc-ref inputs "espeak")
5304 ;; The environment variable DTK_PROGRAM tells emacspeak what
5305 ;; program to use for speech.
5306 (wrap-program emacspeak
5307 `("DTK_PROGRAM" ":" prefix (,espeak)))
5309 #:tests? #f)) ; no check target
5311 `(("espeak" ,espeak)
5314 (native-inputs `(("emacs" ,emacs-minimal)))
5315 (home-page "http://emacspeak.sourceforge.net")
5316 (synopsis "Audio desktop interface for Emacs")
5318 "Emacspeak is a speech interface that allows visually impaired users to
5319 interact independently and efficiently with the computer. Audio formatting
5320 --a technique pioneered by AsTeR-- and full support for W3C's Aural CSS (ACSS)
5321 allows Emacspeak to produce rich aural presentations of electronic information.
5322 By seamlessly blending all aspects of the Internet such as Web-surfing and
5323 messaging, Emacspeak speech-enables local and remote information via a
5324 consistent and well-integrated user interface.")
5325 (license license:gpl2+)))
5327 (define-public emacs-adaptive-wrap
5329 (name "emacs-adaptive-wrap")
5334 "http://elpa.gnu.org/packages/adaptive-wrap-"
5338 "0qi7gjprcpywk2daivnlavwsx53hl5wcqvpxbwinvigg42vxh3ll"))))
5339 (build-system emacs-build-system)
5340 (home-page "http://elpa.gnu.org/packages/adaptive-wrap.html")
5341 (synopsis "Smart line-wrapping with wrap-prefix")
5343 "This Emacs package provides the @code{adaptive-wrap-prefix-mode}
5344 minor mode which sets the wrap-prefix property on the fly so that
5345 single-long-line paragraphs get word-wrapped in a way similar to what
5346 you'd get with @kbd{M-q} using @code{adaptive-fill-mode}, but without
5347 actually changing the buffer's text.")
5348 (license license:gpl3+)))
5350 (define-public emacs-diff-hl
5352 (name "emacs-diff-hl")
5357 (uri (string-append "http://elpa.gnu.org/packages/diff-hl-"
5361 "0axhidc3cym7a2x4rpxf4745qss9s9ajyg4s9h5b4zn7v7fyp71n"))))
5362 (build-system emacs-build-system)
5363 (home-page "https://github.com/dgutov/diff-hl")
5365 "Highlight uncommitted changes using VC")
5367 "@code{diff-hl-mode} highlights uncommitted changes on the side of the
5368 window (using the fringe, by default), allows you to jump between
5369 the hunks and revert them selectively.")
5370 (license license:gpl3+)))
5372 (define-public emacs-diminish
5374 (name "emacs-diminish")
5380 "https://github.com/myrjola/diminish.el/archive/v"
5382 (file-name (string-append name "-" version ".tar.gz"))
5385 "0i3629sv5cfrrb00hcnmaqzgs8mk36yasc1ax3ry1ga09nr6rkj9"))))
5386 (build-system emacs-build-system)
5387 (home-page "https://github.com/myrjola/diminish.el")
5388 (synopsis "Diminish minor modes with no modeline display")
5389 (description "@code{emacs-diminish} implements hiding or
5390 abbreviation of the mode line displays (lighters) of minor modes.")
5391 (license license:gpl2+)))
5393 (define-public emacs-use-package
5395 (name "emacs-use-package")
5401 "https://github.com/jwiegley/use-package/archive/"
5403 (file-name (string-append name "-" version ".tar.gz"))
5406 "0x4h136jb3imyli6zsh7dyzjrra6pv0v6b0yk94jdng3rdfcmsf5"))))
5407 (build-system emacs-build-system)
5409 `(("emacs-diminish" ,emacs-diminish)))
5412 (modify-phases %standard-phases
5413 (add-before 'install 'check
5415 (zero? (system* "emacs" "--batch" "-L" "."
5416 "-l" "use-package-tests.el"
5417 "-f" "ert-run-tests-batch-and-exit"))
5418 ;; Tests fail in this release, but have been fixed in
5419 ;; upstream commit 7956d40eed57d6c06bef36ebc174cf57d934e30d
5421 (home-page "https://github.com/jwiegley/use-package")
5422 (synopsis "Declaration for simplifying your .emacs")
5423 (description "The use-package macro allows you to isolate package
5424 configuration in your @file{.emacs} file in a way that is both
5425 performance-oriented and tidy.")
5426 (license license:gpl2+)))
5428 (define-public emacs-strace-mode
5429 (let* ((commit "6a69b4b06db6797af56f33eda5cb28af94e59f11")
5432 (name "emacs-strace-mode")
5433 (version (string-append "0.0.2-" revision "." (string-take commit 7)))
5437 (url "https://github.com/pkmoore/strace-mode")
5439 (file-name (string-append name "-" version "-checkout"))
5442 "1lbk2kzdznf2bkfazizfbimaxxzfzv00lrz1ran9dc2zqbc0bj9f"))))
5443 (build-system emacs-build-system)
5444 (home-page "https://github.com/pkmoore/strace-mode")
5445 (synopsis "Emacs major mode to highlight strace outputs")
5446 (description "@code{emacs-strace-mode} provides an Emacs major mode
5447 highlighting strace outputs.")
5448 (license license:gpl3+))))
5450 (define-public emacs-default-encrypt
5452 (name "emacs-default-encrypt")
5458 "https://www.informationelle-selbstbestimmung-im-internet.de"
5459 "/emacs/jl-encrypt" version "/jl-encrypt.el"))
5460 (file-name (string-append "jl-encrypt-" version ".el"))
5463 "16i3rlfp3jxlqvndn8idylhmczync3gwmy8a019v29vyr48rnnr0"))))
5464 (build-system emacs-build-system)
5465 (home-page "https://www.informationelle-selbstbestimmung-im-internet.de/Emacs.html")
5466 (synopsis "Automatically encrypt or sign Gnus messages in Emacs")
5468 "DefaultEncrypt is designed to be used with Gnus in Emacs. It
5469 automatically encrypts messages that you send (e.g., email) when public keys
5470 for all recipients are available, and it protects you from accidentally
5471 sending un-encrypted messages. It can also be configured to automatically
5472 sign messages that you send. For details and instructions on how to use
5473 DefaultEncrypt, please refer to the home page or read the comments in the
5474 source file, @file{jl-encrypt.el}.")
5475 (license license:gpl3+)))
5477 (define-public emacs-htmlize
5479 (name "emacs-htmlize")
5485 "https://github.com/hniksic/emacs-htmlize/archive/release/"
5487 (file-name (string-append name "-" version ".tar.gz"))
5490 "1fy1lybzrxl8a8r88f6p19nz8ygmvcxhxbnymkxh7jqaz25viwld"))))
5491 (build-system emacs-build-system)
5492 (home-page "https://github.com/hniksic/emacs-htmlize")
5493 (synopsis "Convert buffer text and decorations to HTML")
5494 (description "@code{emacs-htmlize} converts the buffer text and
5495 the associated decorations to HTML. Output to CSS, inline CSS and
5496 fonts is supported.")
5497 (license license:gpl2+)))
5499 (define-public emacs-xmlgen
5501 (name "emacs-xmlgen")
5507 "https://github.com/philjackson/xmlgen/archive/"
5509 (file-name (string-append name "-" version ".tar.gz"))
5512 "0zay490vjby3f7455r0vydmjg7q1gwc78hilpfb0rg4gwz224z8r"))))
5513 (build-system emacs-build-system)
5516 (modify-phases %standard-phases
5517 (add-before 'install 'check
5519 (zero? (system* "emacs" "--batch" "-L" "."
5520 "-l" "xmlgen-test.el"
5521 "-f" "ert-run-tests-batch-and-exit")))))))
5522 (home-page "https://github.com/philjackson/xmlgen")
5523 (synopsis "S-expression to XML domain specific language (DSL) in
5525 (description "@code{emacs-xmlgen} provides S-expression to XML
5526 conversion for Emacs Lisp.")
5527 (license license:gpl2+)))
5529 (define-public emacs-cdlatex
5531 (name "emacs-cdlatex")
5537 "https://github.com/cdominik/cdlatex/archive/"
5539 (file-name (string-append name "-" version ".tar.gz"))
5542 "0pivapphmykc6vhvpx7hdyl55ls37vc4jcrxpvs4yk7jzcmwa9xp"))))
5543 (build-system emacs-build-system)
5545 `(("emacs-auctex" ,emacs-auctex)))
5546 (home-page "https://github.com/cdominik/cdlatex")
5547 (synopsis "Fast Emacs input methods for LaTeX environments and
5549 (description "CDLaTeX is an Emacs minor mode supporting fast
5550 insertion of environment templates and math in LaTeX. Similar
5551 commands are also offered as part of the AUCTeX package, but it is not
5552 the same - CDLaTeX focuses on speediness for inserting LaTeX
5554 (license license:gpl3+)))
5556 (define-public emacs-cnfonts
5558 (name "emacs-cnfonts")
5563 "https://github.com/tumashu/cnfonts/archive/v"
5565 (file-name (string-append name "-" version ".tar.gz"))
5568 "1l6cgcvc6md1zq97ccczankpyi0k4vjx6apflny6kjq3p33lyhf4"))))
5569 (build-system emacs-build-system)
5570 (home-page "https://github.com/tumashu/cnfonts")
5571 (synopsis "Emacs Chinese fonts setup tool")
5572 (description "cnfonts is a Chinese fonts setup tool, allowing for easy
5573 configuration of Chinese fonts.")
5574 (license license:gpl2+)))
5576 (define-public emacs-php-mode
5578 (name "emacs-php-mode")
5579 (version "20171225.342")
5583 "https://melpa.org/packages/php-mode-"
5587 "1zz682f34v4wsm2dyj1gnrnvsrqdq1cy7j8p6cvc398w2fziyg3q"))))
5588 (build-system emacs-build-system)
5589 (home-page "https://github.com/ejmr/php-mode")
5590 (synopsis "Major mode for editing PHP code")
5591 (description "@code{php-mode} is a major mode for editing PHP source
5592 code. It's an extension of C mode; thus it inherits all C mode's navigation
5593 functionality. But it colors according to the PHP grammar and indents
5594 according to the PEAR coding guidelines. It also includes a couple handy
5595 IDE-type features such as documentation search and a source and class
5597 (license license:gpl3+)))
5599 (define-public emacs-pos-tip
5601 (name "emacs-pos-tip")
5606 "https://github.com/pitkali/pos-tip/archive/"
5608 (file-name (string-append name "-" version ".tar.gz"))
5611 "12jqfy26vjk7lq0aa8yn8zqj8c85fkvx7y9prj0pcn4wqiz2ad2r"))))
5612 (build-system emacs-build-system)
5613 ;; The following functions and variables needed by emacs-pos-tip are
5614 ;; not included in emacs-minimal:
5615 ;; x-display-pixel-width, x-display-pixel-height, x-show-tip
5616 (arguments `(#:emacs ,emacs))
5617 (home-page "https://github.com/pitkali/pos-tip")
5618 (synopsis "Show tooltip at point")
5619 (description "The standard library tooltip.el provides a function for
5620 displaying a tooltip at the mouse position. However, locating a tooltip at an
5621 arbitrary buffer position in a window is not easy. Pos-tip provides such a
5622 function to be used by other frontend programs.")
5623 (license license:gpl2+)))
5625 (define-public emacs-pyim-basedict
5627 (name "emacs-pyim-basedict")
5632 "https://github.com/tumashu/pyim-basedict/archive/v"
5634 (file-name (string-append name "-" version ".tar.gz"))
5637 "0nfgxviavkgrpyfsw60xsws4fk51fcmgl8fp6zf4ibqjjbp53n3n"))))
5638 (build-system emacs-build-system)
5639 (home-page "https://github.com/tumashu/pyim-basedict")
5640 (synopsis "Input method dictionary of pyim")
5641 (description "Pyim-basedict is the default pinyin input method dictionary,
5642 containing words from the rime project.")
5643 (license license:gpl2+)))
5645 (define-public emacs-pyim
5652 "https://github.com/tumashu/pyim/archive/v"
5654 (file-name (string-append name "-" version ".tar.gz"))
5657 "0hfg8q9hcjifvnlghw2g94dfxfirms2psq2ghqb28fhkf0lks13r"))))
5658 (build-system emacs-build-system)
5660 `(("emacs-async" ,emacs-async)
5661 ("emacs-pyim-basedict" ,emacs-pyim-basedict)
5662 ("emacs-popup" ,emacs-popup)
5663 ("emacs-pos-tip" ,emacs-pos-tip)))
5664 (home-page "https://github.com/tumashu/pyim")
5665 (synopsis "Chinese input method")
5666 (description "Chinese input method which supports quanpin, shuangpin, wubi
5668 (license license:gpl2+)))
5670 (define-public emacs-el2org
5672 (name "emacs-el2org")
5677 "https://github.com/tumashu/el2org/archive/v"
5679 (file-name (string-append name "-" version ".tar.gz"))
5682 "0gd3km1swwvg2w0kdi7370f54wgrflxn63gjgssfjc1iyc9sbqwq"))))
5683 (build-system emacs-build-system)
5684 (home-page "https://github.com/tumashu/el2org")
5685 (synopsis "Convert Emacs-lisp file to org file")
5686 (description "El2org is a simple tool, which can convert Emacs-lisp file
5687 to org file, you can use this tool to write orgify commentary.")
5688 (license license:gpl2+)))
5690 (define-public emacs-mustache
5692 (name "emacs-mustache")
5697 "https://github.com/Wilfred/mustache.el/archive/"
5699 (file-name (string-append name "-" version ".tar.gz"))
5702 "0k9lcgil7kykkv1ylrgwy1g13ldjjmgi2cwmysgyb2vlj3jbwpdj"))))
5703 (build-system emacs-build-system)
5705 `(("emacs-dash" ,emacs-dash)
5706 ("emacs-ht" ,emacs-ht)
5707 ("emacs-s" ,emacs-s)))
5708 (home-page "https://github.com/Wilfred/mustache.el")
5709 (synopsis "Mustache templating library for Emacs")
5710 (description "Mustache templating library for Emacs, mustache is
5711 a simple web template system, which is described as a logic-less system
5712 because it lacks any explicit control flow statements, both looping and
5713 conditional evaluation can be achieved using section tags processing lists
5715 (license license:gpl3+)))
5717 (define-public emacs-org2web
5719 (name "emacs-org2web")
5724 "https://github.com/tumashu/org2web/archive/v"
5726 (file-name (string-append name "-" version ".tar.gz"))
5729 "1c0ixcphlhp4c4qdiwq40bc3yp1gp1llp8pxrk4s7ny9n68s52zp"))))
5730 (build-system emacs-build-system)
5732 `(("emacs-dash" ,emacs-dash)
5733 ("emacs-el2org" ,emacs-el2org)
5734 ("emacs-ht" ,emacs-ht)
5735 ("emacs-mustache" ,emacs-mustache)
5736 ("emacs-simple-httpd" ,emacs-simple-httpd)))
5737 (home-page "https://github.com/tumashu/org2web")
5738 (synopsis "Static site generator based on org-mode ")
5739 (description "Org2web is a static site generator based on org-mode,
5740 which code derived from Kelvin H's org-page.")
5741 (license license:gpl2+)))
5743 (define-public emacs-xelb
5749 (uri (string-append "https://elpa.gnu.org/packages/xelb-"
5753 "09flnbjy9ck784kprz036rwg9qk45hpv0w5hz3pz3zhwyk57fv74"))))
5754 (build-system emacs-build-system)
5755 ;; The following functions and variables needed by emacs-xelb are
5756 ;; not included in emacs-minimal:
5757 ;; x-display-screens, x-keysym-table, x-alt-keysym, x-meta-keysym
5758 ;; x-hyper-keysym, x-super-keysym, libxml-parse-xml-region
5759 ;; x-display-pixel-width, x-display-pixel-height
5763 (modify-phases %standard-phases
5764 (add-after 'unpack 'regenerate-el-files
5765 (lambda* (#:key inputs #:allow-other-keys)
5766 (zero? (system* "make"
5767 (string-append "PROTO_PATH="
5768 (assoc-ref inputs "xcb-proto")
5770 (string-append "EMACS_BIN="
5771 (assoc-ref inputs "emacs")
5772 "/bin/emacs -Q"))))))))
5773 (native-inputs `(("xcb-proto" ,xcb-proto)))
5774 (home-page "https://github.com/ch11ng/xelb")
5775 (synopsis "X protocol Emacs Lisp binding")
5776 (description "@code{emacs-xelb} is a pure Emacs Lisp implementation of the
5777 X11 protocol based on the XML description files from the XCB project. It
5778 features an object-oriented API and permits a certain degree of concurrency.
5779 It should enable you to implement low-level X11 applications.")
5780 (license license:gpl3+)))
5782 (define-public emacs-exwm
5786 (synopsis "Emacs X window manager")
5789 (uri (string-append "https://elpa.gnu.org/packages/exwm-"
5793 "1shz5bf4v4gg3arjaaldics5qkg3aiiaf3ngys8lb6qyxhcpvh6q"))))
5794 (build-system emacs-build-system)
5796 `(("emacs-xelb" ,emacs-xelb)))
5800 ;; The following functions and variables needed by emacs-exwm are
5801 ;; not included in emacs-minimal:
5802 ;; scroll-bar-mode, fringe-mode
5803 ;; x-display-pixel-width, x-display-pixel-height
5807 (modify-phases %standard-phases
5808 (add-after 'build 'install-xsession
5809 (lambda* (#:key inputs outputs #:allow-other-keys)
5810 (let* ((out (assoc-ref outputs "out"))
5811 (xsessions (string-append out "/share/xsessions"))
5812 (bin (string-append out "/bin"))
5813 (exwm-executable (string-append bin "/exwm")))
5814 ;; Add a .desktop file to xsessions
5817 (with-output-to-file
5818 (string-append xsessions "/exwm.desktop")
5820 (format #t "[Desktop Entry]~@
5825 Type=Application~%" ,name ,synopsis exwm-executable)))
5826 ;; Add a shell wrapper to bin
5827 (with-output-to-file exwm-executable
5830 ~a +SI:localuser:$USER ~@
5831 exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
5832 (string-append (assoc-ref inputs "bash") "/bin/sh")
5833 (string-append (assoc-ref inputs "xhost") "/bin/xhost")
5834 (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")
5835 (string-append (assoc-ref inputs "emacs") "/bin/emacs")
5837 ((file-exists-p "~/.exwm")
5838 (load-file "~/.exwm"))
5839 ((not (featurep 'exwm))
5841 (require 'exwm-config)
5842 (exwm-config-default)
5843 (message (concat "exwm configuration not found. "
5844 "Falling back to default configuration...")))))))
5845 (chmod exwm-executable #o555)
5847 (home-page "https://github.com/ch11ng/exwm")
5848 (description "EXWM is a full-featured tiling X window manager for Emacs
5849 built on top of XELB.")
5850 (license license:gpl3+)))
5852 (define-public emacs-switch-window
5854 (name "emacs-switch-window")
5859 "https://github.com/dimitri/switch-window/archive/v"
5861 (file-name (string-append name "-" version ".tar.gz"))
5864 "07f99apxscwvsp2bjxsbi462c433kcglrjh6xl0gyafs1nvvvnd8"))))
5865 (build-system emacs-build-system)
5866 (home-page "https://github.com/dimitri/switch-window")
5867 (synopsis "Emacs window switch tool")
5868 (description "Switch-window is an emacs window switch tool, which
5869 offer a visual way to choose a window to switch to, delete, split or
5871 (license license:wtfpl2)))
5873 (define-public emacs-exwm-x
5875 (name "emacs-exwm-x")
5877 (synopsis "Derivative window manager based on EXWM")
5881 "https://github.com/tumashu/exwm-x/archive/v"
5883 (file-name (string-append name "-" version ".tar.gz"))
5886 "0ali1100aacq4zbvcck80h51pvw204jlxhn4aikkqq4ngbx03kkr"))))
5887 (build-system emacs-build-system)
5889 `(("emacs-exwm" ,emacs-exwm)
5890 ("emacs-switch-window" ,emacs-switch-window)
5891 ("emacs-ivy" ,emacs-ivy)
5892 ("emacs-use-package" ,emacs-use-package)))
5896 ;; Need emacs instead of emacs-minimal,
5897 ;; for emacs's bin path will be inserted into bin/exwm-x file.
5901 (modify-phases %standard-phases
5902 (add-after 'build 'install-xsession
5903 (lambda* (#:key inputs outputs #:allow-other-keys)
5904 (let* ((out (assoc-ref outputs "out"))
5905 (xsessions (string-append out "/share/xsessions"))
5906 (bin (string-append out "/bin"))
5907 (exwm-executable (string-append bin "/exwm-x")))
5908 ;; Add a .desktop file to xsessions
5911 (with-output-to-file
5912 (string-append xsessions "/exwm-x.desktop")
5914 (format #t "[Desktop Entry]~@
5919 Type=Application~%" ,name ,synopsis exwm-executable)))
5920 ;; Add a shell wrapper to bin
5921 (with-output-to-file exwm-executable
5924 ~a +SI:localuser:$USER ~@
5925 exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
5926 (string-append (assoc-ref inputs "bash") "/bin/sh")
5927 (string-append (assoc-ref inputs "xhost") "/bin/xhost")
5928 (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")
5929 (string-append (assoc-ref inputs "emacs") "/bin/emacs")
5930 '(require 'exwmx-loader))))
5931 (chmod exwm-executable #o555)
5933 (home-page "https://github.com/tumashu/exwm-x")
5934 (description "EXWM-X is a derivative window manager based on EXWM, with focus
5936 (license license:gpl3+)))
5938 (define-public emacs-gnuplot
5940 (name "emacs-gnuplot")
5946 "https://github.com/bruceravel/gnuplot-mode/archive/"
5948 (file-name (string-append name "-" version ".tar.gz"))
5951 "0glzymrn138lwig7p4cj17x4if5jisr6l4g6wcbxisqkqgc1h01i"))))
5952 (build-system gnu-build-system)
5953 (native-inputs `(("emacs" ,emacs-minimal)))
5955 (let ((elisp-dir (string-append "/share/emacs/site-lisp/guix.d"
5956 "/gnuplot-" version)))
5957 `(#:modules ((guix build gnu-build-system)
5959 (guix build emacs-utils))
5960 #:imported-modules (,@%gnu-build-system-modules
5961 (guix build emacs-utils))
5963 (list (string-append "EMACS=" (assoc-ref %build-inputs "emacs")
5965 (string-append "--with-lispdir=" %output ,elisp-dir))
5967 (modify-phases %standard-phases
5968 (add-after 'install 'generate-autoloads
5969 (lambda* (#:key outputs #:allow-other-keys)
5970 (emacs-generate-autoloads
5972 (string-append (assoc-ref outputs "out") ,elisp-dir))
5974 (home-page "https://github.com/bruceravel/gnuplot-mode")
5975 (synopsis "Emacs major mode for interacting with gnuplot")
5976 (description "@code{emacs-gnuplot} is an emacs major mode for interacting
5978 (license license:gpl2+)))
5980 (define-public emacs-transpose-frame
5982 (name "emacs-transpose-frame")
5987 (uri "http://www.emacswiki.org/emacs/download/transpose-frame.el")
5988 (file-name (string-append "transpose-frame-" version ".el"))
5991 "1f67yksgw9s6j0033hmqzaxx2a93jm11sd5ys7cc3li5gfh680m4"))))
5992 (build-system emacs-build-system)
5993 (home-page "https://www.emacswiki.org/emacs/TransposeFrame")
5994 (synopsis "Transpose window arrangement in current frame")
5995 (description "@code{emacs-transpose-frame} provides some interactive
5996 functions which allows users to transpose windows arrangement in currently
5998 (license license:bsd-2)))
6000 (define-public emacs-key-chord
6002 (name "emacs-key-chord")
6007 (uri "https://www.emacswiki.org/emacs/download/key-chord.el")
6008 (file-name (string-append "key-chord-" version ".el"))
6011 "03m44pqggfrd53nh9dvpdjgm0rvca34qxmd30hr33hzprzjambxg"))))
6012 (build-system emacs-build-system)
6013 (home-page "https://www.emacswiki.org/emacs/key-chord.el")
6014 (synopsis "Map pairs of simultaneously pressed keys to Emacs commands")
6015 (description "@code{emacs-key-chord} provides @code{key-chord-mode}, a
6016 mode for binding key chords to commands. A key chord is defined as two keys
6017 pressed simultaneously or a single key quickly pressed twice.")
6018 (license license:gpl2+)))
6020 (define-public emacs-evil-surround
6022 (name "emacs-evil-surround")
6028 "https://github.com/timcharper/evil-surround/archive/v"
6030 (file-name (string-append name "-" version ".tar.gz"))
6033 "0p572jgic3q1ia1nz37kclir729ay6i2f4sa7wnaapyxly2lwb3r"))))
6034 (build-system emacs-build-system)
6036 `(("emacs-evil" ,emacs-evil)))
6037 (home-page "https://github.com/timcharper/evil-surround")
6038 (synopsis "Easily modify surrounding parantheses and quotes")
6039 (description "@code{emacs-evil-surround} allows easy deletion, change and
6040 addition of surrounding pairs, such as parantheses and quotes, in evil mode.")
6041 (license license:gpl3+)))
6043 (define-public emacs-evil-commentary
6045 (name "emacs-evil-commentary")
6051 "https://github.com/linktohack/evil-commentary/archive/v"
6053 (file-name (string-append name "-" version ".tar.gz"))
6056 "1jdya0i921nwskwrzdsj0vrr3m7gm49dy6f6pk9p5nxaarfxk230"))))
6057 (build-system emacs-build-system)
6059 `(("emacs-evil" ,emacs-evil)))
6060 (home-page "https://github.com/linktohack/evil-commentary")
6061 (synopsis "Comment out code in evil mode")
6062 (description "@code{emacs-evil-commentary} adds keybindings to easily
6063 comment out lines of code in evil mode. It provides @code{gcc} to comment out
6064 lines, and @code{gc} to comment out the target of a motion.")
6065 (license license:gpl3+)))
6067 ;; Tests for emacs-ansi have a circular dependency with ert-runner, and
6068 ;; therefore cannot be run
6069 (define-public emacs-ansi
6076 (uri (string-append "https://github.com/rejeep/ansi.el/archive/v"
6078 (file-name (string-append name "-" version ".tar.gz"))
6081 "13jj4vbi98j3p17hs99bmy7g21jd5h4v3wpxk4pkvhylm3bfwjw8"))))
6082 (build-system emacs-build-system)
6084 `(("emacs-dash" ,emacs-dash)
6085 ("emacs-s" ,emacs-s)))
6086 (home-page "https://github.com/rejeep/ansi.el")
6087 (synopsis "Convert strings to ANSI")
6088 (description "@code{emacs-ansi} defines functions that turns simple
6089 strings to ANSI strings. Turning a string into an ANSI string can be to add
6090 color to a text, add color in the background of a text or adding a style, such
6091 as bold, underscore or italic.")
6092 (license license:gpl3+)))
6094 ;; Tests for emacs-commander have a circular dependency with ert-runner, and
6095 ;; therefore cannot be run
6096 (define-public emacs-commander
6098 (name "emacs-commander")
6103 (uri (string-append "https://github.com/rejeep/commander.el/archive/v"
6105 (file-name (string-append name "-" version ".tar.gz"))
6108 "196s2i15z7gwxa97l1wkxvjnfmj5n38wwm6d3g4zz15l2vqggc2y"))))
6109 (build-system emacs-build-system)
6111 `(("emacs-dash" ,emacs-dash)
6112 ("emacs-f" ,emacs-f)
6113 ("emacs-s" ,emacs-s)))
6114 (home-page "https://github.com/rejeep/commander.el")
6115 (synopsis "Emacs command line parser")
6116 (description "@code{emacs-commander} provides command line parsing for
6118 (license license:gpl3+)))
6120 ;; Tests for ert-runner have a circular dependency with ecukes, and therefore
6122 (define-public ert-runner
6124 `(("emacs-ansi" ,emacs-ansi)
6125 ("emacs-commander" ,emacs-commander)
6126 ("emacs-dash" ,emacs-dash)
6127 ("emacs-f" ,emacs-f)
6128 ("emacs-s" ,emacs-s)
6129 ("emacs-shut-up" ,emacs-shut-up))))
6136 (uri (string-append "https://github.com/rejeep/ert-runner.el/archive/v"
6138 (file-name (string-append name "-" version ".tar.gz"))
6141 "1657nck9i96a4xgl8crfqq0s8gflzp21pkkzwg6m3z5npjxklgwp"))))
6142 (build-system emacs-build-system)
6143 (inputs dependencies)
6146 (modify-phases %standard-phases
6147 (add-after 'install 'install-executable
6148 (lambda* (#:key inputs outputs #:allow-other-keys)
6149 (let ((out (assoc-ref outputs "out")))
6150 (substitute* "bin/ert-runner"
6151 (("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)")
6152 (string-append "ERT_RUNNER=\"" out
6153 "/share/emacs/site-lisp/guix.d/"
6154 ,name "-" ,version)))
6155 (install-file "bin/ert-runner" (string-append out "/bin"))
6156 (wrap-program (string-append out "/bin/ert-runner")
6157 (list "EMACSLOADPATH" ":" '=
6159 ,(match dependencies
6160 (((labels packages) ...)
6161 `(map (lambda (label package version)
6162 (string-append (assoc-ref inputs label)
6163 "/share/emacs/site-lisp/guix.d/"
6164 (string-drop package 6)
6167 ',(map package-name packages)
6168 ',(map package-version packages))))
6169 ;; empty element to include the default load path as
6170 ;; determined by emacs' standard initialization
6174 #:include (cons* "^reporters/.*\\.el$" %default-include)))
6175 (home-page "https://github.com/rejeep/ert-runner.el")
6176 (synopsis "Opinionated Ert testing workflow")
6177 (description "@code{ert-runner} is a tool for Emacs projects tested
6178 using ERT. It assumes a certain test structure setup and can therefore make
6179 running tests easier.")
6180 (license license:gpl3+))))
6182 (define-public emacs-disable-mouse
6184 (name "emacs-disable-mouse")
6190 "https://github.com/purcell/disable-mouse/archive/"
6192 (file-name (string-append name "-" version ".tar.gz"))
6195 "0haqpq23r1wx04lsqrrg3p5visg9hx5i36dg55ab003wfsrlrzbc"))))
6196 (build-system emacs-build-system)
6197 (home-page "https://github.com/purcell/disable-mouse")
6198 (synopsis "Disable mouse commands globally")
6200 "Provides @code{disable-mouse-mode} and @code{global-disable-mouse-mode},
6201 pair of minor modes which suppress all mouse events by intercepting them and
6202 running a customisable handler command (@code{ignore} by default). ")
6203 (license license:gpl3+)))
6205 (define-public emacs-json-reformat
6207 (name "emacs-json-reformat")
6212 (uri (string-append "https://github.com/gongo/json-reformat/archive/"
6214 (file-name (string-append name "-" version ".tar.gz"))
6217 "11fbq4scrgr7m0iwnzcrn2g7xvqwm2gf82sa7zy1l0nil7265p28"))
6218 (patches (search-patches "emacs-json-reformat-fix-tests.patch"))))
6219 (build-system emacs-build-system)
6220 (propagated-inputs `(("emacs-undercover" ,emacs-undercover)))
6222 `(("emacs-dash" ,emacs-dash) ; for tests
6223 ("emacs-shut-up" ,emacs-shut-up))) ; for tests
6226 (modify-phases %standard-phases
6227 (add-before 'install 'check
6228 (lambda* (#:key inputs #:allow-other-keys)
6229 (zero? (system* "emacs" "--batch" "-L" "."
6231 (assoc-ref inputs "emacs-undercover")
6232 "/share/emacs/site-lisp/guix.d/undercover-"
6233 ,(package-version emacs-undercover))
6235 (assoc-ref inputs "emacs-dash")
6236 "/share/emacs/site-lisp/guix.d/dash-"
6237 ,(package-version emacs-dash))
6239 (assoc-ref inputs "emacs-shut-up")
6240 "/share/emacs/site-lisp/guix.d/shut-up-"
6241 ,(package-version emacs-shut-up))
6242 "-l" "test/test-helper.el"
6243 "-l" "test/json-reformat-test.el"
6244 "-f" "ert-run-tests-batch-and-exit"))
6246 (home-page "https://github.com/gongo/json-reformat")
6247 (synopsis "Reformatting tool for JSON")
6248 (description "@code{json-reformat} provides a reformatting tool for
6249 @url{http://json.org/, JSON}.")
6250 (license license:gpl3+)))
6252 (define-public emacs-json-snatcher
6254 (name "emacs-json-snatcher")
6259 (uri (string-append "https://github.com/Sterlingg/json-snatcher/archive/"
6261 (file-name (string-append name "-" version ".tar.gz"))
6264 "1nfiwsifpdiz0lbrqa77nl0crnfrv5h85ans9b0g5rggnmyshcfb"))))
6265 (build-system emacs-build-system)
6266 (home-page "https://github.com/sterlingg/json-snatcher")
6267 (synopsis "Grabs the path to JSON values in a JSON file")
6268 (description "@code{emacs-json-snatcher} grabs the path to JSON values in
6269 a @url{http://json.org/, JSON} file.")
6270 (license license:gpl3+)))
6272 (define-public emacs-json-mode
6274 (name "emacs-json-mode")
6279 (uri (string-append "https://github.com/joshwnj/json-mode/archive/"
6280 "v" version ".tar.gz"))
6281 (file-name (string-append name "-" version ".tar.gz"))
6284 "06h45p4cn767pk9sqi2zb1c65wy5gyyijqxzpglp80zwxhvajdz5"))))
6285 (build-system emacs-build-system)
6287 `(("emacs-json-reformat" ,emacs-json-reformat)
6288 ("emacs-json-snatcher" ,emacs-json-snatcher)))
6289 (home-page "https://github.com/joshwnj/json-mode")
6290 (synopsis "Major mode for editing JSON files")
6291 (description "@code{json-mode} extends the builtin js-mode syntax
6293 (license license:gpl3+)))
6295 (define-public emacs-restclient
6296 (let ((commit "07a3888bb36d0e29608142ebe743b4362b800f40")
6297 (revision "1")) ;Guix package revision,
6298 ;upstream doesn't have official releases
6300 (name "emacs-restclient")
6301 (version (string-append revision "."
6302 (string-take commit 7)))
6306 (url "https://github.com/pashky/restclient.el.git")
6310 "00lmjhb5im1kgrp54yipf1h9pshxzgjlg71yf2rq5n973gvb0w0q"))
6311 (file-name (git-file-name name version))))
6312 (build-system emacs-build-system)
6314 `(("emacs-helm" ,emacs-helm)))
6315 (home-page "https://github.com/pashky/restclient.el")
6316 (synopsis "Explore and test HTTP REST webservices")
6318 "This tool allows for testing and exploration of HTTP REST Web services
6319 from within Emacs. Restclient runs queries from a plan-text query sheet,
6320 displays results pretty-printed in XML or JSON with @code{restclient-mode}")
6321 (license license:public-domain))))
6323 (define-public emacs-dired-hacks
6324 (let ((commit "eda68006ce73bbf6b9b995bfd70d08bec8cade36")
6327 (name "emacs-dired-hacks")
6328 (version (string-append "0.0.1-" revision "."
6329 (string-take commit 7)))
6333 (url "https://github.com/Fuco1/dired-hacks.git")
6335 (file-name (string-append name "-" version "-checkout"))
6338 "1w7ssl9zssn5rcha6apf4h8drkd02k4xgvs203bdbqyqp9wz9brx"))))
6339 (build-system emacs-build-system)
6341 `(("emacs-dash" ,emacs-dash)
6342 ("emacs-f" ,emacs-f)
6343 ("emacs-s" ,emacs-s)))
6344 (home-page "https://github.com/Fuco1/dired-hacks")
6346 "Collection of useful dired additions")
6348 "Collection of Emacs dired mode additions:
6353 @item dired-hacks-utils
6361 @item dired-tagsistant
6363 (license license:gpl3+))))
6365 (define-public emacs-which-key
6367 (name "emacs-which-key")
6373 "https://github.com/justbur/emacs-which-key/archive/v"
6377 "1xvd70cwq9n31f28viyjxmr3nn8l153gsy6scpszvgvjxkiikv24"))
6378 (file-name (string-append name "-" version ".tar.gz"))))
6379 (build-system emacs-build-system)
6382 (modify-phases %standard-phases
6383 (add-before 'install 'check
6385 (zero? (system* "emacs" "--batch" "-L" "."
6386 "-l" "which-key-tests.el"
6387 "-f" "ert-run-tests-batch-and-exit")))))))
6388 (home-page "https://github.com/justbur/emacs-which-key")
6389 (synopsis "Display available key bindings in popup")
6391 "@code{emacs-which-key} is a minor mode for Emacs that displays the key
6392 bindings following your currently entered incomplete command (a prefix) in a
6393 popup. For example, after enabling the minor mode if you enter C-x and wait
6394 for the default of 1 second, the minibuffer will expand with all of the
6395 available key bindings that follow C-x (or as many as space allows given your
6397 (license license:gpl3+)))
6399 (define-public emacs-ws-butler
6401 (name "emacs-ws-butler")
6406 (url "https://github.com/lewang/ws-butler.git")
6407 (commit "323b651dd70ee40a25accc940b8f80c3a3185205")))
6408 (file-name (string-append name "-" version "-checkout"))
6411 "1a4b0lsmwq84qfx51c5xy4fryhb1ysld4fhgw2vr37izf53379sb"))))
6412 (build-system emacs-build-system)
6414 `(("ert-runner" ,ert-runner)))
6417 (modify-phases %standard-phases
6418 (add-before 'install 'check
6420 (zero? (system* "ert-runner" "tests")))))))
6421 (home-page "https://github.com/lewang/ws-butler")
6422 (synopsis "Trim spaces from end of lines")
6424 "This Emacs package automatically and unobtrusively trims whitespace
6425 characters from end of lines.")
6426 (license license:gpl3+)))
6428 (define-public emacs-org-edit-latex
6430 (name "emacs-org-edit-latex")
6436 "https://github.com/et2010/org-edit-latex/archive/v"
6438 (file-name (string-append name "-" version ".tar.gz"))
6441 "1y4h6wrs8286h9pbsv4d8fr67a885vz8b2k80qgv5qddipi2i78p"))))
6442 (build-system emacs-build-system)
6444 `(("emacs-auctex" ,emacs-auctex)
6445 ;; The version of org in Emacs 25.2 is not sufficient, because the
6446 ;; `org-latex-make-preamble' function is required.
6447 ("emacs-org" ,emacs-org)))
6448 (home-page "https://github.com/et2010/org-edit-latex")
6449 (synopsis "Edit a latex fragment just like editing a src block")
6450 (description "@code{emacs-org-edit-latex} is an extension for org-mode.
6451 It lets you edit a latex fragment in a dedicated buffer just like editing a
6453 (license license:gpl3+)))
6455 (define-public emacs-emamux
6457 (name "emacs-emamux")
6462 "https://github.com/syohex/emacs-emamux/archive/"
6464 (file-name (string-append name "-" version ".tar.gz"))
6467 "0wlqg4icy037bj70b0qmhvwvmiwhagpnx6pnxhq6gzy1hvwlilkx"))))
6468 (build-system emacs-build-system)
6469 (home-page "https://github.com/syohex/emacs-emamux")
6470 (synopsis "Manipulate Tmux from Emacs")
6472 "@code{emacs-emamux} lets Emacs interact with the @code{tmux} terminal
6474 (license license:gpl3+)))
6476 (define-public emacs-rpm-spec-mode
6478 (name "emacs-rpm-spec-mode")
6483 ;; URI has the Fedora release number instead of the version
6484 ;; number. This will have to updated manually every new release.
6486 "https://src.fedoraproject.org/cgit/rpms"
6487 "/emacs-rpm-spec-mode.git/snapshot"
6488 "/emacs-rpm-spec-mode-f26.tar.gz"))
6491 "17dz80lhjrc89fj17pysl8slahzrqdkxgcjdk55zls6jizkr6kz3"))))
6492 (build-system emacs-build-system)
6493 (home-page "http://pkgs.fedoraproject.org/cgit/rpms/emacs-rpm-spec-mode.git")
6494 (synopsis "Emacs major mode for editing RPM spec files")
6495 (description "@code{emacs-rpm-spec-mode} provides an Emacs major mode for
6496 editing RPM spec files.")
6497 (license license:gpl2+)))
6499 (define-public emacs-git-messenger
6501 (name "emacs-git-messenger")
6507 "https://github.com/syohex/emacs-git-messenger/archive/"
6509 (file-name (string-append name "-" version ".tar.gz"))
6512 "17mqki6g0wx46fn7dcbcc2pjxik7vvrcb1j9jzxim8b9psbsbnp9"))))
6513 (build-system emacs-build-system)
6515 `(("emacs-popup" ,emacs-popup)))
6518 (modify-phases %standard-phases
6519 (add-before 'install 'check
6520 (lambda* (#:key inputs #:allow-other-keys)
6521 (zero? (system* "emacs" "--batch" "-L" "."
6523 (assoc-ref inputs "emacs-popup")
6524 "/share/emacs/site-lisp/guix.d/popup-"
6525 ,(package-version emacs-popup))
6527 "-f" "ert-run-tests-batch-and-exit")))))))
6528 (home-page "https://github.com/syohex/emacs-git-messenger")
6529 (synopsis "Popup commit message at current line")
6530 (description "@code{emacs-git-messenger} provides
6531 @code{git-messenger:popup-message}, a function that when called, will popup
6532 the last git commit message for the current line. This uses git-blame
6534 (license license:gpl3+)))
6536 (define-public emacs-gitpatch
6538 (name "emacs-gitpatch")
6543 (uri (string-append "https://github.com/tumashu/gitpatch/archive/"
6544 "v" version ".tar.gz"))
6545 (file-name (string-append name "-" version ".tar.gz"))
6548 "1yj6pmic541lcnscjin300k380qp9xdfprs55xg1q57jrkq6f6k7"))))
6549 (build-system emacs-build-system)
6550 (home-page "https://github.com/tumashu/gitpatch")
6551 (synopsis "Mail git patch from Emacs")
6552 (description "@code{emacs-gitpatch} lets users easily send git patches,
6553 created by @code{git format-patch}, from @code{magit}, @code{dired} and
6554 @code{ibuffer} buffers.")
6555 (license license:gpl3+)))
6557 (define-public emacs-erc-hl-nicks
6559 (name "emacs-erc-hl-nicks")
6564 (uri (string-append "https://github.com/leathekd/erc-hl-nicks"
6565 "/archive/" version ".tar.gz"))
6566 (file-name (string-append name "-" version ".tar.gz"))
6569 "01svpl9bps5kx4y1wnymakxya2cznqmlynvqv2r500wpnbxczrbs"))))
6570 (build-system emacs-build-system)
6571 (synopsis "Nickname highlighting for Emacs ERC")
6572 (description "@code{erc-hl-nicks} highlights nicknames in ERC, an IRC
6573 client for Emacs. The main features are:
6575 @item Auto-colorizes nicknames without having to specify colors
6576 @item Ignores certain characters that IRC clients add to nicknames to avoid
6577 duplicates (nickname, nickname’, nickname\", etc.)
6578 @item Attempts to produce colors with a sufficient amount of contrast between
6579 the nick color and the background color
6581 (home-page "https://github.com/leathekd/erc-hl-nicks")
6582 (license license:gpl3+)))
6584 (define-public emacs-engine-mode
6586 (name "emacs-engine-mode")
6591 (uri (string-append "https://github.com/hrs/engine-mode/archive/"
6592 "v" version ".tar.gz"))
6593 (file-name (string-append name "-" version ".tar.gz"))
6596 "1vm4p7pcp1vnwwxvps1bhm7i7hkabqqxl898knxf2hqvxys76684"))))
6597 (build-system emacs-build-system)
6598 (synopsis "Minor mode for defining and querying search engines")
6599 (description "@code{engine-mode} is a global minor mode for Emacs. It
6600 enables you to easily define search engines, bind them to keybindings, and
6601 query them from the comfort of your editor.")
6602 (home-page "https://github.com/hrs/engine-mode")
6603 (license license:gpl3+)))
6605 (define-public emacs-prop-menu
6607 (name "emacs-prop-menu")
6613 "http://stable.melpa.org/packages/prop-menu-"
6617 "01bk4sjafzz7gqrkv9jg0pa85qr34vbk3q8ga2b0m61bndywzgpr"))))
6618 (build-system emacs-build-system)
6620 "https://github.com/david-christiansen/prop-menu-el")
6622 "Create and display a context menu based on text and overlay properties")
6624 "This is a library for computing context menus based on text
6625 properties and overlays. The intended use is to have tools that
6626 annotate source code and others that use these annotations, without
6627 requiring a direct coupling between them, but maintaining
6630 Major modes that wish to use this library should first define an
6631 appropriate value for @code{prop-menu-item-functions}. Then, they should
6632 bind @code{prop-menu-by-completing-read} to an appropriate
6633 key. Optionally, a mouse pop-up can be added by binding
6634 @code{prop-menu-show-menu} to a mouse event.")
6635 (license license:gpl3+)))
6637 (define-public emacs-idris-mode
6639 (name "emacs-idris-mode")
6645 "http://stable.melpa.org/packages/idris-mode-"
6649 "0ld4kfwnyyhlsnj5f6cbn4is4mpxdqalk2aifkw02r00mbr9n294"))))
6650 (build-system emacs-build-system)
6652 `(("emacs-prop-menu" ,emacs-prop-menu)))
6654 "https://github.com/idris-hackers/idris-mode")
6655 (synopsis "Major mode for editing Idris code")
6657 "This is an Emacs mode for editing Idris code. It requires the latest
6658 version of Idris, and some features may rely on the latest Git version of
6660 (license license:gpl3+)))
6662 (define-public emacs-browse-at-remote
6663 (let ((commit "31dcf77d7c89a12f230e2b2332585db2c44530ef")
6666 (name "emacs-browse-at-remote")
6667 (version (string-append "0.9.0-" revision "."
6668 (string-take commit 7)))
6672 (url "https://github.com/rmuslimov/browse-at-remote.git")
6674 (file-name (string-append name "-" version "-checkout"))
6676 (search-patches "emacs-browse-at-remote-cgit-gnu.patch"))
6679 "017cb8lf7zbg0jmr7zxzd7d5kz2jy35cvw5vcpdmq1fdr3wqwkgj"))))
6680 (build-system emacs-build-system)
6682 `(("emacs-f" ,emacs-f)
6683 ("emacs-s" ,emacs-s)))
6685 `(("ert-runner" ,ert-runner)))
6688 (modify-phases %standard-phases
6689 (add-before 'install 'check
6691 (zero? (system* "ert-runner")))))))
6692 (home-page "https://github.com/rmuslimov/browse-at-remote")
6693 (synopsis "Open github/gitlab/bitbucket/stash page from Emacs")
6695 "This Emacs package allows you to open a target page on
6696 github/gitlab (or bitbucket) by calling @code{browse-at-remote} command.
6697 It supports dired buffers and opens them in tree mode at destination.")
6698 (license license:gpl3+))))
6700 (define-public emacs-tiny
6707 (uri (string-append "http://elpa.gnu.org/packages/tiny-" version ".tar"))
6710 "1cr73a8gba549ja55x0c2s554f3zywf69zbnd7v82jz5q1k9wd2v"))))
6711 (build-system emacs-build-system)
6712 (home-page "https://github.com/abo-abo/tiny")
6713 (synopsis "Quickly generate linear ranges in Emacs")
6715 "The main command of the @code{tiny} extension for Emacs is @code{tiny-expand}.
6716 It is meant to quickly generate linear ranges, e.g. 5, 6, 7, 8. Some elisp
6717 proficiency is an advantage, since you can transform your numeric range with
6718 an elisp expression.")
6719 (license license:gpl3+)))
6721 (define-public emacs-emojify
6723 (name "emacs-emojify")
6728 (uri (string-append "https://github.com/iqbalansari/emacs-emojify/"
6729 "releases/download/v" version "/emojify-"
6733 "0k84v2d2bkiwcky9fi1yyprgkj46g7wh6pyl9gzmcd7sqv051d5n"))))
6734 (build-system emacs-build-system)
6737 (modify-phases %standard-phases
6738 (add-after 'install 'install-data
6739 (lambda* (#:key outputs #:allow-other-keys)
6740 (copy-recursively "data"
6741 (string-append (assoc-ref outputs "out")
6742 "/share/emacs/site-lisp/guix.d/"
6743 "emojify-" ,version "/data"))
6746 `(("emacs-ht" ,emacs-ht)))
6747 (home-page "https://github.com/iqbalansari/emacs-emojify")
6748 (synopsis "Display emojis in Emacs")
6749 (description "This package displays emojis in Emacs similar to how Github,
6750 Slack, and other websites do. It can display plain ASCII like @code{:)} as
6751 well as Github-style emojis like @code{:smile:}. It provides a minor mode
6752 @code{emojify-mode} to enable the display of emojis in a buffer.")
6753 (license license:gpl3+)))
6755 (define-public emacs-websocket
6757 (name "emacs-websocket")
6762 (uri (string-append "https://elpa.gnu.org/packages/websocket-"
6766 "0dcxmnnm8z7cvsc7nkb822a1g6w03klp7cijjnfq0pz84p3w9cd9"))))
6767 (build-system emacs-build-system)
6768 (home-page "http://elpa.gnu.org/packages/websocket.html")
6769 (synopsis "Emacs WebSocket client and server")
6770 (description "This is an Elisp library for WebSocket clients to talk to
6771 WebSocket servers, and for WebSocket servers to accept connections from
6772 WebSocket clients. This library is designed to be used by other library
6773 writers, to write applications that use WebSockets, and is not useful by
6775 (license license:gpl3+)))
6777 (define-public emacs-oauth2
6779 (name "emacs-oauth2")
6784 (uri (string-append "https://elpa.gnu.org/packages/oauth2-"
6788 "0ydkc9jazsnbbvfhd47mql52y7k06n3z7r0naqxkwb99j9blqsmp"))))
6789 (build-system emacs-build-system)
6790 (home-page "http://elpa.gnu.org/packages/oauth2.html")
6791 (synopsis "OAuth 2.0 authorization protocol implementation")
6793 "This package provides an Elisp implementation of the OAuth 2.0 draft.
6794 The main entry point is @code{oauth2-auth-and-store} which will return a token
6795 structure. This token structure can be then used with
6796 @code{oauth2-url-retrieve-synchronously} or @code{oauth2-url-retrieve} to
6797 retrieve any data that need OAuth authentication to be accessed. If the token
6798 needs to be refreshed, the code handles it automatically and stores the new
6799 value of the access token.")
6800 (license license:gpl3+)))
6802 (define-public emacs-circe
6804 (name "emacs-circe")
6810 (url "https://github.com/jorgenschaefer/circe.git")
6811 (commit (string-append "v" version))))
6812 (file-name (string-append name "-" version "-checkout"))
6815 "19h3983zy3f15cgs86irvbdzz55qyjm48qd7gjlzcxplr7vnnh0j"))))
6816 (build-system emacs-build-system)
6817 ;; In order to securely connect to an IRC server using TLS, Circe requires
6818 ;; the GnuTLS binary.
6820 `(("gnutls" ,gnutls)))
6821 (home-page "https://github.com/jorgenschaefer/circe")
6822 (synopsis "Client for IRC in Emacs")
6823 (description "Circe is a Client for IRC in Emacs. It integrates well with
6824 the rest of the editor, using standard Emacs key bindings and indicating
6825 activity in channels in the status bar so it stays out of your way unless you
6827 (license license:gpl3+)))
6829 (define-public emacs-slack
6830 (let ((commit "92724604879149cf331fa8778d089813a9d4ce1a")
6833 (name "emacs-slack")
6834 (version (string-append "0-" revision "." (string-take commit 7)))
6838 (url "https://github.com/yuya373/emacs-slack.git")
6840 (file-name (string-append name "-" version "-checkout"))
6843 "1fdf8s3ca356k7m7f5kqzfamfl2nrqjj2pynjv3kkrr0ad15nxmw"))))
6844 (build-system emacs-build-system)
6846 `(("emacs-alert" ,emacs-alert)
6847 ("emacs-emojify" ,emacs-emojify)
6848 ("emacs-request" ,emacs-request)
6849 ("emacs-websocket" ,emacs-websocket)
6850 ("emacs-oauth2" ,emacs-oauth2)
6851 ("emacs-circe" ,emacs-circe)))
6852 (home-page "https://github.com/yuya373/emacs-slack")
6853 (synopsis "Slack client for Emacs")
6854 (description "This package provides an Emacs client for the Slack
6855 messaging service.")
6856 (license license:gpl3+))))
6858 (define-public emacs-bash-completion
6860 (name "emacs-bash-completion")
6866 "https://github.com/szermatt/emacs-bash-completion/archive/v"
6868 (file-name (string-append name "-" version ".tar.gz"))
6871 "0mkci4a1fy8z4cmry8mx5vsx4f16a8r454slnh7lqzidnhfi63hj"))))
6872 (inputs `(("bash" ,bash)))
6873 (build-system emacs-build-system)
6876 (modify-phases %standard-phases
6877 (add-before 'install 'configure
6878 (lambda* (#:key inputs #:allow-other-keys)
6879 (let ((bash (assoc-ref inputs "bash")))
6880 (emacs-substitute-variables "bash-completion.el"
6881 ("bash-completion-prog" (string-append bash "/bin/bash"))))
6883 (home-page "https://github.com/szermatt/emacs-bash-completion")
6884 (synopsis "BASH completion for the shell buffer")
6886 "@code{bash-completion} defines dynamic completion hooks for shell-mode
6887 and shell-command prompts that are based on bash completion.")
6888 (license license:gpl2+)))
6890 (define-public emacs-easy-kill
6892 (name "emacs-easy-kill")
6896 (uri (string-append "https://elpa.gnu.org/packages/easy-kill-"
6900 "17nw0mglmg877axwg1d0gs03yc0p04lzmd3pl0nsnqbh3303fnqb"))))
6901 (build-system emacs-build-system)
6902 (home-page "https://github.com/leoliu/easy-kill")
6903 (synopsis "Kill and mark things easily in Emacs")
6905 "This package provides commands @code{easy-kill} and @code{easy-mark} to
6906 let users kill or mark things easily.")
6907 (license license:gpl3+)))
6909 (define-public emacs-csv-mode
6911 (name "emacs-csv-mode")
6916 (uri (string-append "http://elpa.gnu.org/packages/csv-mode-"
6920 "0r4bip0w3h55i8h6sxh06czf294mrhavybz0zypzrjw91m1bi7z6"))))
6921 (build-system emacs-build-system)
6923 "http://elpa.gnu.org/packages/csv-mode.html")
6925 "Major mode for editing comma/char separated values")
6927 "This Emacs package implements CSV mode, a major mode for editing records
6928 in a generalized CSV (character-separated values) format.")
6929 (license license:gpl3+)))
6931 (define-public emacs-transmission
6933 (name "emacs-transmission")
6938 "https://github.com/holomorph/transmission/archive/"
6940 (file-name (string-append name "-" version ".tar.gz"))
6943 "1rrlgn96gi1ljfwbwvlyyxbq75xzamlbdhq1bpyadxxmxcvlmk3n"))))
6944 (build-system emacs-build-system)
6945 (home-page "https://github.com/holomorph/transmission")
6946 (synopsis "Emacs interface to a Transmission session")
6947 (description "This package provides an Emacs interface to interact with a
6948 running session of the Transmission Bittorrent client.
6953 @item List, add, start/stop, verify, remove torrents.
6954 @item Set speed limits, ratio limits, bandwidth priorities, trackers.
6955 @item Navigate to the corresponding file list, torrent info, peer info
6957 @item Toggle downloading and set priorities for individual files.
6959 (license license:gpl3+)))
6961 (define-public emacs-polymode
6962 ;; There hasn't been a proper release.
6963 (let ((commit "0340f5e7e55235832e59673f027cc79a23cbdcd6")
6966 (name "emacs-polymode")
6967 (version (string-append "1.0-" revision "." (string-take commit 7)))
6971 (url "https://github.com/vspinu/polymode.git")
6973 (file-name (string-append name "-" version "-checkout"))
6976 "057cybkq3cy07n5s332k071sjiky3mziy003lza4rh75mgqkwhmh"))))
6977 (build-system emacs-build-system)
6978 (home-page "https://github.com/vspinu/polymode")
6979 (synopsis "Framework for multiple Emacs modes based on indirect buffers")
6980 (description "Polymode is an Emacs package that offers generic support
6981 for multiple major modes inside a single Emacs buffer. It is lightweight,
6982 object oriented and highly extensible. Creating a new polymode typically
6983 takes only a few lines of code. Polymode also provides extensible facilities
6984 for external literate programming tools for exporting, weaving and tangling.")
6985 (license license:gpl3+))))
6987 (define-public eless
6994 "https://github.com/kaushalmodi/eless/archive/"
6995 "v" version ".tar.gz"))
6996 (file-name (string-append name "-" version ".tar.gz"))
6999 "0gjnnhgw5xs1w3qfnkvwa2nv44gnxr8pkhx3c7qig45p8nh1461h"))))
7000 (build-system trivial-build-system)
7007 `(#:modules ((guix build utils))
7010 (use-modules (guix build utils))
7011 (setenv "PATH" (string-append
7012 (assoc-ref %build-inputs "tar") "/bin" ":"
7013 (assoc-ref %build-inputs "gzip") "/bin"))
7014 (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
7015 (chdir (string-append "eless" "-" ,version))
7016 (substitute* "eless" (("/usr/bin/env bash")
7017 (string-append (assoc-ref %build-inputs "bash")
7019 (install-file "eless" (string-append %output "/bin"))
7020 (install-file "doc/eless.info" (string-append %output "/share/info"))
7022 (home-page "https://github.com/kaushalmodi/eless")
7023 (synopsis "Use Emacs as a paginator")
7024 (description "@code{eless} provides a combination of Bash script
7025 and a minimal Emacs view-mode.
7030 @item Independent of a user’s Emacs config.
7031 @item Customizable via the @code{(locate-user-emacs-file \"elesscfg\")} config.
7032 @item Not require an Emacs server to be already running.
7033 @item Syntax highlighting.
7034 @item Org-mode file rendering.
7035 @item @code{man} page viewer.
7037 @item Dired, wdired, (batch edit symbolic links).
7038 @item Colored diffs, git diff, git log, ls with auto ANSI detection.
7039 @item Filter log files lines matching a regexp.
7040 @item Auto-revert log files similar to @code{tail -f}.
7041 @item Quickly change frame and font sizes.
7043 (license license:expat)))
7045 (define-public emacs-evil-matchit
7047 (name "emacs-evil-matchit")
7053 "https://github.com/redguardtoo/evil-matchit/archive/"
7055 (file-name (string-append name "-" version ".tar.gz"))
7058 "1hm0k53m7d8zv2pk4p93k5mmilsv1mz7y2z6dqf7r6f0zmncs31a"))))
7059 (build-system emacs-build-system)
7060 (home-page "https://github.com/redguardtoo/evil-matchit")
7061 (synopsis "Vim matchit ported into Emacs")
7063 "@code{evil-matchit} is a minor mode for jumping between matching tags in
7064 evil mode using @kbd{%}. It is a port of @code{matchit} for Vim.")
7065 (license license:gpl3+)))
7067 (define-public emacs-evil-smartparens
7069 (name "emacs-evil-smartparens")
7075 "https://github.com/expez/evil-smartparens/archive/"
7077 (file-name (string-append name "-" version ".tar.gz"))
7080 "1bwzdd3054d407d5j4m3njsbvmc9r8zzp33m32pj3b3irxrl68q0"))))
7081 (build-system emacs-build-system)
7083 `(("emacs-evil" ,emacs-evil)
7084 ("emacs-smartparens" ,emacs-smartparens)))
7085 (home-page "https://github.com/expez/evil-smartparens")
7086 (synopsis "Emacs Evil integration for Smartparens")
7087 (description "@code{emacs-evil-smartparens} is an Emacs minor mode which
7088 makes Evil play nice with Smartparens. Evil is an Emacs minor mode that
7089 emulates Vim features and provides Vim-like key bindings.")
7090 (license license:gpl3+)))
7092 (define-public emacs-evil-quickscope
7094 (name "emacs-evil-quickscope")
7099 (uri (string-append "https://github.com/blorbx/evil-quickscope/archive/v"
7101 (file-name (string-append name "-" version ".tar.gz"))
7104 "1r26a412mmar7vbf89zcifswiwpdg30mjzj32xdyqss57aqi83ma"))))
7105 (build-system emacs-build-system)
7107 `(("emacs-evil" ,emacs-evil)))
7110 (modify-phases %standard-phases
7111 (add-before 'install 'check
7112 (lambda* (#:key inputs #:allow-other-keys)
7113 (invoke "emacs" "--batch" "-L"
7114 (string-append (assoc-ref inputs "emacs-evil")
7115 "/share/emacs/site-lisp/guix.d/evil-"
7116 ,(package-version emacs-evil))
7117 "-l" "evil-quickscope-tests.el"
7118 "-f" "ert-run-tests-batch-and-exit"))))))
7119 (home-page "https://github.com/blorbx/evil-quickscope")
7120 (synopsis "Target highlighting for emacs evil-mode f,F,t and T commands")
7121 (description "@code{emacs-evil-quickscope} highlights targets for Evil
7122 mode’s f,F,t,T keys, allowing for quick navigation within a line. It is a
7123 port of quick-scope for Vim. Evil is an Emacs minor mode that emulates Vim
7124 features and provides Vim-like key bindings.")
7125 (license license:gpl3+)))
7127 (define-public emacs-bongo
7129 (name "emacs-bongo")
7135 "https://github.com/dbrock/bongo/archive/"
7137 (file-name (string-append name "-" version ".tar.gz"))
7140 "1pcsyyrvj7djjjwpaswd1i782hvqvlvs39cy9ns0k795si6xd64d"))))
7141 (build-system emacs-build-system)
7142 (home-page "https://github.com/dbrock/bongo")
7143 (synopsis "Media player for Emacs")
7145 "This package provides a flexible media player for Emacs. @code{Bongo}
7146 supports multiple backends such as @code{vlc}, @code{mpg123},
7147 @code{ogg123}, @code{speexdec}, @code{timidity}, @code{mikmod} and
7149 (license license:gpl2+)))
7151 (define-public groovy-emacs-modes
7153 (name "groovy-emacs-modes")
7158 "https://github.com/Groovy-Emacs-Modes/" name
7159 "/archive/" version ".tar.gz"))
7160 (file-name (string-append name "-" version ".tar.gz"))
7163 "15j0hnkx9nppjzda5cqsxxz5f3bq9hc4xfyjcdypzqiypcvmpa39"))))
7164 (build-system emacs-build-system)
7166 `(("emacs-s" ,emacs-s)))
7167 (home-page "https://github.com/Groovy-Emacs-Modes/groovy-emacs-modes")
7168 (synopsis "Groovy related modes for Emacs")
7170 "This package provides @code{groovy-mode} for syntax highlighing in
7171 Groovy source files, REPL integration with run-groovy and Grails project
7172 navigation with the grails mode.")
7173 (license license:gpl3+)))
7175 (define-public org-tree-slide
7176 (let ((commit "dff8f1a4a64c8dd0a1fde0b0131e2fe186747134")
7179 (name "emacs-org-tree-slide")
7180 (version (git-version "0.1" revision commit))
7181 (home-page "https://github.com/takaxp/org-tree-slide")
7184 (uri (git-reference (url home-page) (commit commit)))
7187 "153bg0x7ypla11pq51jmsgzfjklwwnrq56xgpbfhk1j16xwz9hyf"))
7188 (file-name (git-file-name name version))))
7189 (build-system emacs-build-system)
7190 (synopsis "Presentation tool for org-mode")
7192 "Org-tree-slide provides a slideshow mode to view org-mode files. Use
7193 @code{org-tree-slide-mode} to enter the slideshow mode, and then @kbd{C->} and
7194 @kbd{C-<} to jump to the next and previous slide.")
7195 (license license:gpl3+))))
7197 (define-public emacs-scratch-el
7198 (let ((commit "2cdf2b841ce7a0987093f65b0cc431947549f897")
7201 (name "emacs-scratch-el")
7202 (version (git-version "1.2" revision commit))
7206 (url "https://github.com/ieure/scratch-el.git")
7208 (file-name (git-file-name name version))
7211 "0wscsndynjmnliajqaz28r1ww81j8wh84zwaaswx51abhwgl0idf"))))
7212 (build-system emacs-build-system)
7214 `(("texinfo" ,texinfo)))
7217 (modify-phases %standard-phases
7218 (add-after 'install 'install-doc
7219 (lambda* (#:key outputs #:allow-other-keys)
7220 (unless (invoke "makeinfo" "scratch.texi")
7221 (error "makeinfo failed"))
7222 (install-file "scratch.info"
7223 (string-append (assoc-ref outputs "out")
7226 (home-page "https://github.com/ieure/scratch-el/")
7227 (synopsis "Create scratch buffers with the same mode as current buffer")
7228 (description "Scratch is an extension to Emacs that enables one to create
7229 scratch buffers that are in the same mode as the current buffer. This is
7230 notably useful when working on code in some language; you may grab code into a
7231 scratch buffer, and, by virtue of this extension, do so using the Emacs
7232 formatting rules for that language.")
7233 (license license:bsd-2))))
7235 (define-public emacs-esxml
7237 (name "emacs-esxml")
7242 (url "https://github.com/tali713/esxml.git")
7244 (file-name (git-file-name name version))
7247 "00vv8a75wdklygdyr4km9mc2ismxak69c45jmcny41xl44rp9x8m"))))
7248 (build-system emacs-build-system)
7249 (home-page "https://github.com/tali713/esxml/")
7250 (synopsis "SXML for EmacsLisp")
7251 (description "This is XML/XHTML done with S-Expressions in EmacsLisp.
7252 Simply, this is the easiest way to write HTML or XML in Lisp. This library
7253 uses the native form of XML representation as used by many libraries already
7254 included within Emacs. See @code{esxml-to-xml} for a concise description of
7256 (license license:gpl3+)))
7258 (define-public emacs-nov-el
7260 (name "emacs-nov-el")
7265 (url "https://github.com/wasamasa/nov.el.git")
7267 (file-name (git-file-name name version))
7270 "03s0qjvwk1f7y3i4wh2p5y3z4hdv00adgz8za3vphzc0q8i1kjzb"))))
7271 (build-system emacs-build-system)
7274 (modify-phases %standard-phases
7275 (add-after 'unpack 'embed-path-to-unzip
7277 (substitute* "nov.el"
7278 (("\\(executable-find \"unzip\"\\)")
7279 (string-append "\"" (which "unzip") "\"")))
7282 `(("emacs-dash" ,emacs-dash)
7283 ("emacs-esxml" ,emacs-esxml)))
7285 `(("unzip" ,unzip)))
7286 (home-page "https://github.com/wasamasa/nov.el/")
7287 (synopsis "Major mode for reading EPUBs in Emacs")
7288 (description "@code{nov.el} provides a major mode for reading EPUB
7294 @item Basic navigation (jump to TOC, previous/next chapter)
7295 @item Remembering and restoring the last read position
7296 @item Jump to next chapter when scrolling beyond end
7297 @item Renders EPUB2 (@code{.ncx}) and EPUB3 (@code{<nav>}) TOCs
7298 @item Hyperlinks to internal and external targets
7299 @item Supports textual and image documents
7300 @item View source of document files
7301 @item Metadata display
7302 @item Image rescaling
7305 (license license:gpl3+)))
7307 (define-public epipe
7314 (uri (string-append "https://github.com/cute-jumper/epipe/archive/"
7316 (file-name (string-append name "-" version ".tar.gz"))
7319 "05a036852g4j63k1mhvyfrcsgkl9lczayi7x61570ysw3cli5wp5"))))
7320 (build-system trivial-build-system)
7329 ((guix build utils))
7332 (use-modules (guix build utils))
7334 (setenv "PATH" (string-append
7335 (assoc-ref %build-inputs "tar") "/bin" ":"
7336 (assoc-ref %build-inputs "gzip") "/bin"))
7337 (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
7338 (chdir (string-append ,name "-" ,version))
7340 (substitute* "epipe"
7341 (("/usr/bin/env bash")
7342 (string-append (assoc-ref %build-inputs "bash") "/bin/bash")))
7343 (patch-shebang "epipe.pl"
7344 (list (string-append (assoc-ref %build-inputs "perl")
7347 (for-each (lambda (file)
7348 (install-file file (string-append %output "/bin")))
7349 '("epipe" "epipe.pl"))
7351 (home-page "https://github.com/cute-jumper/epipe")
7352 (synopsis "Pipe to the @code{emacsclient}")
7353 (description "@code{epipe} provides an utility to use your editor in
7354 the pipeline, featuring the support for running @code{emacsclient}.")
7355 (license license:gpl3+)))
7357 (define-public emacs-hcl-mode
7359 (name "emacs-hcl-mode")
7365 "https://github.com/syohex/emacs-hcl-mode/archive/"
7367 (file-name (string-append name "-" version ".tar.gz"))
7370 "0pvw74qpwh0znqzp6syp4wxjqs7dp1hbn5h7xfk97mff9l5d8k6x"))))
7371 (build-system emacs-build-system)
7372 (home-page "https://github.com/syohex/emacs-hcl-mode")
7373 (synopsis "Major mode for the Hashicorp Configuration Language")
7375 "@code{emacs-hcl-mode} provides an Emacs major mode for working with
7376 @acronym{HCL, Hashicorp Configuration Language}. It provides syntax
7377 highlighting and indentation support.")
7378 (license license:gpl3+)))
7380 (define-public emacs-terraform-mode
7382 (name "emacs-terraform-mode")
7388 "https://github.com/syohex/emacs-terraform-mode/archive/"
7390 (file-name (string-append name "-" version ".tar.gz"))
7393 "0h9267ifdjmcin4sj8slxydbacx4bqicbvg8pa1qq2l72h9m5381"))))
7394 (build-system emacs-build-system)
7396 `(("emacs-hcl-mode" ,emacs-hcl-mode)))
7397 (home-page "https://github.com/syohex/emacs-terraform-mode")
7398 (synopsis "Major mode for Terraform")
7400 "@code{emacs-terraform-mode} provides a major mode for working with
7401 @uref{https://www.terraform.io/, Terraform} configuration files. Most of the
7402 functionality is inherited from @code{hcl-mode}.")
7403 (license license:gpl3+)))
7405 (define-public emacs-exec-path-from-shell
7407 (name "emacs-exec-path-from-shell")
7413 "https://stable.melpa.org/packages/exec-path-from-shell-"
7417 "03qjgb81cq1l3j54lvlf98r75vmmgd06mj6qh5wa6mz4xzp4w26r"))))
7418 (build-system emacs-build-system)
7419 (home-page "https://github.com/purcell/exec-path-from-shell")
7420 (synopsis "Get environment variables such as @var{PATH} from the shell")
7422 "This library allows the user to set Emacs @var{exec-path} and @var{PATH}
7423 from the shell @var{PATH}, so that @code{shell-command}, @code{compile} and
7424 the like work as expected on systems on which Emacs is not guaranteed to
7425 inherit a login shell's environment variables. It also allows other
7426 environment variables to be retrieved from the shell, so that Emacs will see
7427 the same values you get in a terminal.")
7428 (license license:gpl3+)))
7430 (define-public emacs-deft
7437 (uri (string-append "https://stable.melpa.org/packages/deft-"
7441 "1vb9cjxskc7c0yyf9pvxy1fzypg1vrcgwnjz0m3hslinsgdyig58"))))
7442 (build-system emacs-build-system)
7443 (home-page "https://jblevins.org/projects/deft/")
7444 (synopsis "Quickly browse, filter, and edit plain text notes")
7446 "Deft is an Emacs mode for quickly browsing, filtering, and editing
7447 directories of plain text notes, inspired by Notational Velocity.")
7448 (license license:bsd-3)))
7450 (define-public emacs-anzu
7457 (uri (string-append "https://github.com/syohex/emacs-anzu/archive/"
7459 (file-name (string-append name "-" version ".tar.gz"))
7462 "16cg3897x5znbmgk7sdy0qyd0fbic9dmmz0dchq2vz5z29yhg4cz"))))
7463 (build-system emacs-build-system)
7464 (home-page "https://github.com/syohex/emacs-anzu")
7465 (synopsis "Show number of matches in mode-line while searching")
7467 "Anzu provides a minor mode which displays \"current match/total
7468 matches\" in the mode line in various search modes. This is an Emacs port of
7470 (license license:gpl3+)))
7472 (define-public emacs-emmet-mode
7474 (name "emacs-emmet-mode")
7478 (uri (string-append "https://github.com/smihica/emmet-mode"
7479 "/archive/" version ".tar.gz"))
7480 (file-name (string-append name "-" version ".tar.gz"))
7483 "0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj"))))
7484 (build-system emacs-build-system)
7485 (home-page "https://github.com/smihica/emmet-mode")
7486 (synopsis "Unofficial Emmet's support for Emacs")
7488 "Unfold CSS-selector-like expressions to markup. It is intended to be
7489 used with SGML-like languages: XML, HTML, XHTML, XSL, etc.")
7490 (license license:gpl3+)))
7492 (define-public emacs-password-store
7494 (name "emacs-password-store")
7499 (string-append "https://git.zx2c4.com/password-store/snapshot/"
7500 "password-store-" version ".tar.xz"))
7503 "0scqkpll2q8jhzcgcsh9kqz0gwdpvynivqjmmbzax2irjfaiklpn"))))
7504 (build-system emacs-build-system)
7507 (modify-phases %standard-phases
7508 (add-after 'unpack 'extract-el-file
7510 (copy-file "contrib/emacs/password-store.el" "password-store.el")
7511 (delete-file-recursively "contrib")
7512 (delete-file-recursively "man")
7513 (delete-file-recursively "src")
7514 (delete-file-recursively "tests"))))))
7516 `(("emacs-f" ,emacs-f)
7517 ("emacs-s" ,emacs-s)
7518 ("password-store" ,password-store)))
7519 (home-page "https://git.zx2c4.com/password-store/tree/contrib/emacs")
7520 (synopsis "Password store (pass) support for Emacs")
7522 "This package provides functions for working with pass (\"the
7523 standard Unix password manager\").")
7524 (license license:gpl2+)))
7526 (define-public emacs-pass
7533 "https://github.com/NicolasPetton/pass/archive/"
7537 "0zlx9v6z0q3w9qhq9bq6vb7sli4c9x7qccm2wq55j0nw7bwy2yvj"))
7538 (file-name (string-append name "-" version ".tar.gz"))))
7539 (build-system emacs-build-system)
7541 `(("emacs-password-store" ,emacs-password-store)
7542 ("emacs-f" ,emacs-f)))
7543 (home-page "https://github.com/NicolasPetton/pass")
7544 (synopsis "Major mode for @file{password-store.el}")
7545 (description "This is a major mode for managing password-store (pass)
7546 keychains. The keychain entries are displayed in a directory-like structure
7547 and can be consulted and modified.")
7548 (license license:gpl3+)))
7550 (define-public emacs-evil-anzu
7552 (name "emacs-evil-anzu")
7557 (uri (string-append "https://github.com/syohex/emacs-evil-anzu"
7558 "/archive/" version ".tar.gz"))
7559 (file-name (string-append name "-" version ".tar.gz"))
7561 (base32 "032hh2946z529cizqsg8pm6cpn5qdj8lfk3qskmx6xv3g2ra56ns"))))
7562 (build-system emacs-build-system)
7564 `(("emacs-evil" ,emacs-evil)
7565 ("emacs-anzu" ,emacs-anzu)))
7566 (home-page "https://github.com/syohex/emacs-evil-anzu")
7567 (synopsis "Anzu for evil-mode")
7568 (description "@code{anzu} provides a minor mode that displays the current
7569 match and total match information in the mode-line in various search modes.")
7570 (license license:gpl3+)))