gnu: emacs-evil-mu4e: Deprecate in favor of emacs-evil-collection.
[guix.git] / gnu / packages / emacs.scm
blob8baa28d1bbf29fdb04bbbbbdcc6d8a4f0be55dc2
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, 2018 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, 2018 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, 2018 Mathieu Othacehe <m.othacehe@gmail.com>
22 ;;; Copyright © 2017, 2018 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>
37 ;;; Copyright © 2018 Pierre Neidhardt <ambrevar@gmail.com>
38 ;;;
39 ;;; This file is part of GNU Guix.
40 ;;;
41 ;;; GNU Guix is free software; you can redistribute it and/or modify it
42 ;;; under the terms of the GNU General Public License as published by
43 ;;; the Free Software Foundation; either version 3 of the License, or (at
44 ;;; your option) any later version.
45 ;;;
46 ;;; GNU Guix is distributed in the hope that it will be useful, but
47 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
48 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
49 ;;; GNU General Public License for more details.
50 ;;;
51 ;;; You should have received a copy of the GNU General Public License
52 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
54 (define-module (gnu packages emacs)
55   #:use-module ((guix licenses) #:prefix license:)
56   #:use-module (guix packages)
57   #:use-module (guix download)
58   #:use-module (guix git-download)
59   #:use-module (guix gexp)
60   #:use-module (guix monads)
61   #:use-module (guix store)
62   #:use-module (guix build-system gnu)
63   #:use-module (guix build-system emacs)
64   #:use-module (guix build-system glib-or-gtk)
65   #:use-module (guix build-system trivial)
66   #:use-module (gnu packages)
67   #:use-module (gnu packages audio)
68   #:use-module (gnu packages bash)
69   #:use-module (gnu packages cmake)
70   #:use-module (gnu packages code)
71   #:use-module (gnu packages databases)
72   #:use-module (gnu packages guile)
73   #:use-module (gnu packages gtk)
74   #:use-module (gnu packages gnome)
75   #:use-module (gnu packages ncurses)
76   #:use-module (gnu packages python)
77   #:use-module (gnu packages tex)
78   #:use-module (gnu packages texinfo)
79   #:use-module (gnu packages tcl)
80   #:use-module (gnu packages tls)
81   #:use-module (gnu packages pkg-config)
82   #:use-module (gnu packages xorg)
83   #:use-module (gnu packages lesstif)
84   #:use-module (gnu packages image)
85   #:use-module (gnu packages linux)
86   #:use-module (gnu packages version-control)
87   #:use-module (gnu packages imagemagick)
88   #:use-module (gnu packages w3m)
89   #:use-module (gnu packages wget)
90   #:use-module (gnu packages autotools)
91   #:use-module (gnu packages base)
92   #:use-module (gnu packages compression)
93   #:use-module (gnu packages xml)
94   #:use-module (gnu packages glib)
95   #:use-module (gnu packages acl)
96   #:use-module (gnu packages mail)
97   #:use-module (gnu packages package-management)
98   #:use-module (gnu packages perl)
99   #:use-module (gnu packages pdf)
100   #:use-module (gnu packages scheme)
101   #:use-module (gnu packages statistics)
102   #:use-module (gnu packages xiph)
103   #:use-module (gnu packages mp3)
104   #:use-module (gnu packages gettext)
105   #:use-module (gnu packages fribidi)
106   #:use-module (gnu packages gd)
107   #:use-module (gnu packages fontutils)
108   #:use-module (gnu packages password-utils)
109   #:use-module (gnu packages xdisorg)
110   #:use-module (gnu packages shells)
111   #:use-module (guix utils)
112   #:use-module (srfi srfi-1)
113   #:use-module (ice-9 match))
115 (define-public emacs
116   (package
117     (name "emacs")
118     (version "26.1")
119     (source (origin
120              (method url-fetch)
121              (uri (string-append "mirror://gnu/emacs/emacs-"
122                                  version ".tar.xz"))
123              (sha256
124               (base32
125                "0b6k1wq44rc8gkvxhi1bbjxbz3cwg29qbq8mklq2az6p1hjgrx0w"))
126              (patches (search-patches "emacs-exec-path.patch"
127                                       "emacs-fix-scheme-indent-function.patch"
128                                       "emacs-source-date-epoch.patch"))
129              (modules '((guix build utils)))
130              (snippet
131               ;; Delete the bundled byte-compiled elisp files and
132               ;; generated autoloads.
133               '(with-directory-excursion "lisp"
134                  (for-each delete-file
135                            (append (find-files "." "\\.elc$")
136                                    (find-files "." "loaddefs\\.el$")
137                                    ;; This is the only "autoloads" file that
138                                    ;; does not have "*loaddefs.el" name.
139                                    '("eshell/esh-groups.el")))
141                  ;; Make sure Tramp looks for binaries in the right places on
142                  ;; remote GuixSD machines, where 'getconf PATH' returns
143                  ;; something bogus.
144                  (substitute* "net/tramp-sh.el"
145                    ;; Patch the line after "(defcustom tramp-remote-path".
146                    (("\\(tramp-default-remote-path")
147                     (format #f "(tramp-default-remote-path ~s ~s ~s ~s "
148                             "~/.guix-profile/bin" "~/.guix-profile/sbin"
149                             "/run/current-system/profile/bin"
150                             "/run/current-system/profile/sbin")))
152                  ;; Make sure Man looks for C header files in the right
153                  ;; places.
154                  (substitute* "man.el"
155                    (("\"/usr/local/include\"" line)
156                     (string-join
157                      (list line
158                            "\"~/.guix-profile/include\""
159                            "\"/var/guix/profiles/system/profile/include\"")
160                      " ")))
161                  #t))))
162     (build-system glib-or-gtk-build-system)
163     (arguments
164      `(#:tests? #f  ; no check target
165        #:phases
166        (modify-phases %standard-phases
167          (add-before 'configure 'fix-/bin/pwd
168            (lambda _
169              ;; Use `pwd', not `/bin/pwd'.
170              (substitute* (find-files "." "^Makefile\\.in$")
171                (("/bin/pwd")
172                 "pwd"))
173              #t))
174          (add-after 'install 'install-site-start
175            ;; Use 'guix-emacs' in "site-start.el".  This way, Emacs packages
176            ;; provided by Guix and installed in
177            ;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are
178            ;; automatically found.
179            (lambda* (#:key inputs outputs #:allow-other-keys)
180              (let* ((out      (assoc-ref outputs "out"))
181                     (lisp-dir (string-append out "/share/emacs/site-lisp")))
182                (copy-file (assoc-ref inputs "guix-emacs.el")
183                           (string-append lisp-dir "/guix-emacs.el"))
184                (with-output-to-file (string-append lisp-dir "/site-start.el")
185                  (lambda ()
186                    (display
187                     (string-append "(when (require 'guix-emacs nil t)\n"
188                                    "  (guix-emacs-autoload-packages))\n"))))
189                #t))))))
190     (inputs
191      `(("gnutls" ,gnutls)
192        ("ncurses" ,ncurses)
194        ;; TODO: Add the optional dependencies.
195        ("libx11" ,libx11)
196        ("gtk+" ,gtk+)
197        ("libxft" ,libxft)
198        ("libtiff" ,libtiff)
199        ("giflib" ,giflib)
200        ("libjpeg" ,libjpeg-8)
201        ("imagemagick" ,imagemagick)
202        ("acl" ,acl)
204        ;; When looking for libpng `configure' links with `-lpng -lz', so we
205        ;; must also provide zlib as an input.
206        ("libpng" ,libpng)
207        ("zlib" ,zlib)
209        ("librsvg" ,librsvg)
210        ("libxpm" ,libxpm)
211        ("libxml2" ,libxml2)
212        ("libice" ,libice)
213        ("libsm" ,libsm)
214        ("alsa-lib" ,alsa-lib)
215        ("dbus" ,dbus)
217        ;; multilingualization support
218        ("libotf" ,libotf)
219        ("m17n-lib" ,m17n-lib)))
220     (native-inputs
221      `(("guix-emacs.el" ,(search-auxiliary-file "emacs/guix-emacs.el"))
222        ("pkg-config" ,pkg-config)
223        ("texinfo" ,texinfo)))
225     (native-search-paths
226      (list (search-path-specification
227             (variable "INFOPATH")
228             (files '("share/info")))))
230     (home-page "https://www.gnu.org/software/emacs/")
231     (synopsis "The extensible, customizable, self-documenting text editor")
232     (description
233      "GNU Emacs is an extensible and highly customizable text editor.  It is
234 based on an Emacs Lisp interpreter with extensions for text editing.  Emacs
235 has been extended in essentially all areas of computing, giving rise to a
236 vast array of packages supporting, e.g., email, IRC and XMPP messaging,
237 spreadsheets, remote server editing, and much more.  Emacs includes extensive
238 documentation on all aspects of the system, from basic editing to writing
239 large Lisp programs.  It has full Unicode support for nearly all human
240 languages.")
241     (license license:gpl3+)))
243 (define-public emacs-minimal
244   ;; This is the version that you should use as an input to packages that just
245   ;; need to byte-compile .el files.
246   (package (inherit emacs)
247     (name "emacs-minimal")
248     (synopsis "The extensible text editor (used only for byte-compilation)")
249     (build-system gnu-build-system)
250     (arguments
251      `(#:configure-flags (list "--with-gnutls=no")
252        ,@(substitute-keyword-arguments (package-arguments emacs)
253            ((#:phases phases)
254             `(modify-phases ,phases
255                (delete 'install-site-start))))))
256     (inputs
257      `(("ncurses" ,ncurses)))
258     (native-inputs
259      `(("pkg-config" ,pkg-config)))))
261 (define-public emacs-no-x
262   (package (inherit emacs)
263     (name "emacs-no-x")
264     (synopsis "The extensible, customizable, self-documenting text
265 editor (console only)")
266     (build-system gnu-build-system)
267     (inputs (fold alist-delete
268                   (package-inputs emacs)
269                   '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
270                     "imagemagick" "libpng" "librsvg" "libxpm" "libice"
271                     "libsm"
273                     ;; These depend on libx11, so remove them as well.
274                     "libotf" "m17n-lib" "dbus")))))
276 (define-public emacs-no-x-toolkit
277   (package (inherit emacs)
278     (name "emacs-no-x-toolkit")
279     (synopsis "The extensible, customizable, self-documenting text
280 editor (without an X toolkit)" )
281     (build-system gnu-build-system)
282     (inputs (append `(("inotify-tools" ,inotify-tools))
283                     (alist-delete "gtk+" (package-inputs emacs))))
284     (arguments (append '(#:configure-flags '("--with-x-toolkit=no"))
285                        (package-arguments emacs)))))
287 (define-public guile-emacs
288   (package (inherit emacs)
289     (name "guile-emacs")
290     (version "20150512.41120e0")
291     (source (origin
292               (method git-fetch)
293               (uri (git-reference
294                     (url "git://git.hcoop.net/git/bpt/emacs.git")
295                     (commit "41120e0f595b16387eebfbf731fff70481de1b4b")))
296               (file-name (string-append name "-" version "-checkout"))
297               (patches (search-patches "guile-emacs-fix-configure.patch"))
298               (sha256
299                (base32
300                 "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6"))))
301     (native-inputs
302      `(("autoconf" ,autoconf)
303        ("automake" ,automake)
304        ("guile" ,guile-for-guile-emacs)
305        ,@(package-native-inputs emacs)))
306     (arguments
307      (substitute-keyword-arguments `(;; Build fails if we allow parallel build.
308                                      #:parallel-build? #f
309                                      ;; Tests aren't passing for now.
310                                      #:tests? #f
311                                      ,@(package-arguments emacs))
312        ((#:phases phases)
313         `(modify-phases ,phases
314            (add-after 'unpack 'autogen
315              (lambda _
316                (invoke "sh" "autogen.sh")))
317            ;; Build sometimes fails: deps/dispnew.d: No such file or directory
318            (add-before 'build 'make-deps-dir
319              (lambda _
320                (invoke "mkdir" "-p" "src/deps")))))))))
324 ;;; Emacs hacking.
327 (define-public geiser
328   (package
329     (name "geiser")
330     (version "0.10")
331     (source (origin
332              (method url-fetch)
333              (uri (string-append "mirror://savannah/geiser/" version
334                                  "/geiser-" version ".tar.gz"))
335              (sha256
336               (base32
337                "0pj3l7p8d60c9b4vfprnv6g5l61d74pls4b5dvd84cn4ky9mzwjv"))))
338     (build-system gnu-build-system)
339     (arguments
340      '(#:phases
341        (modify-phases %standard-phases
342          (add-after 'install 'post-install
343            (lambda* (#:key outputs #:allow-other-keys)
344              (symlink "geiser-install.el"
345                       (string-append (assoc-ref outputs "out")
346                                      "/share/emacs/site-lisp/"
347                                      "geiser-autoloads.el"))
348              #t)))))
349     (inputs `(("guile" ,guile-2.2)))
350     (native-inputs `(("emacs" ,emacs-minimal)))
351     (home-page "https://nongnu.org/geiser/")
352     (synopsis "Collection of Emacs modes for Guile and Racket hacking")
353     (description
354      "Geiser is a collection of Emacs major and minor modes that conspire with
355 one or more Scheme implementations to keep the Lisp Machine Spirit alive.  The
356 continuously running Scheme interpreter takes the center of the stage in
357 Geiser.  A bundle of Elisp shims orchestrates the dialog between the Scheme
358 implementation, Emacs and, ultimately, the schemer, giving them access to live
359 metadata.")
360     (license license:bsd-3)))
362 (define-public paredit
363   (package
364     (name "emacs-paredit")
365     (version "24")
366     (source (origin
367               (method url-fetch)
368               (uri (string-append "http://mumble.net/~campbell/emacs/paredit-"
369                                   version ".el"))
370               (sha256
371                (base32
372                 "0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
373     (build-system emacs-build-system)
374     (home-page "http://mumble.net/~campbell/emacs/paredit/")
375     (synopsis "Emacs minor mode for editing parentheses")
376     (description
377      "ParEdit (paredit.el) is a minor mode for performing structured editing
378 of S-expression data.  The typical example of this would be Lisp or Scheme
379 source code.
381 ParEdit helps **keep parentheses balanced** and adds many keys for moving
382 S-expressions and moving around in S-expressions.  Its behavior can be jarring
383 for those who may want transient periods of unbalanced parentheses, such as
384 when typing parentheses directly or commenting out code line by line.")
385     (license license:gpl3+)))
387 (define-public git-modes
388   (package
389     (name "emacs-git-modes")
390     (version "1.2.7")
391     (source (origin
392               (method url-fetch)
393               (uri (string-append
394                     "https://github.com/magit/git-modes/archive/"
395                     version ".tar.gz"))
396               (file-name (string-append name "-" version ".tar.gz"))
397               (sha256
398                (base32
399                 "1mzl70s0xyysnjq1j10mc5vn9i022n5vd82kxsgp4xxqq7gc4qnx"))))
400     (build-system emacs-build-system)
401     (home-page "https://github.com/magit/git-modes")
402     (synopsis "Emacs major modes for Git configuration files")
403     (description
404      "This package provides Emacs major modes for editing various Git
405 configuration files, such as .gitattributes, .gitignore, and .git/config.")
406     (license license:gpl3+)))
408 (define-public git-modes/old-name
409   (deprecated-package "git-modes" git-modes))
411 (define-public emacs-with-editor
412   (package
413     (name "emacs-with-editor")
414     (version "2.7.3")
415     (source (origin
416               (method url-fetch)
417               (uri (string-append
418                     "https://github.com/magit/with-editor/archive/v"
419                     version ".tar.gz"))
420               (file-name (string-append name "-" version ".tar.gz"))
421               (sha256
422                (base32
423                 "1ln2s0kckzkv50qmr6x1kb2j30cfjii0vs6lpghg7ff4lav8jqgh"))))
424     (build-system emacs-build-system)
425     (propagated-inputs
426      `(("emacs-dash" ,emacs-dash)))
427     (home-page "https://github.com/magit/with-editor")
428     (synopsis "Emacs library for using Emacsclient as EDITOR")
429     (description
430      "This package provides an Emacs library to use the Emacsclient as
431 @code{$EDITOR} of child processes, making sure they know how to call home.
432 For remote processes a substitute is provided, which communicates with Emacs
433 on stdout instead of using a socket as the Emacsclient does.")
434     (license license:gpl3+)))
436 (define-public magit
437   (package
438     (name "magit")
439     (version "2.13.0")
440     (source (origin
441              (method url-fetch)
442              (uri (string-append
443                    "https://github.com/magit/magit/releases/download/"
444                    version "/" name "-" version ".tar.gz"))
445              (sha256
446               (base32
447                "1ygaah3dd3nxpyd17297xgvdcgr7pgzzwlmpnmchki0kiwgg3sbc"))))
448     (build-system gnu-build-system)
449     (native-inputs `(("texinfo" ,texinfo)
450                      ("emacs" ,emacs-minimal)))
451     (inputs
452      `(("git" ,git)
453        ("perl" ,perl)))
454     (propagated-inputs
455      `(("dash" ,emacs-dash)
456        ("ghub" ,emacs-ghub)
457        ("magit-popup" ,emacs-magit-popup)
458        ("with-editor" ,emacs-with-editor)))
459     (arguments
460      `(#:test-target "test"
461        #:tests? #f               ; tests are not included in the release
463        #:make-flags
464        (list (string-append "PREFIX=" %output)
465              ;; Don't put .el files in a sub-directory.
466              (string-append "lispdir=" %output "/share/emacs/site-lisp")
467              (string-append "DASH_DIR="
468                             (assoc-ref %build-inputs "dash")
469                             "/share/emacs/site-lisp/guix.d/dash-"
470                             ,(package-version emacs-dash))
471              (string-append "GHUB_DIR="
472                             (assoc-ref %build-inputs "ghub")
473                             "/share/emacs/site-lisp/guix.d/ghub-"
474                             ,(package-version emacs-ghub))
475              (string-append "MAGIT_POPUP_DIR="
476                             (assoc-ref %build-inputs "magit-popup")
477                             "/share/emacs/site-lisp/guix.d/magit-popup-"
478                             ,(package-version emacs-magit-popup))
479              (string-append "WITH_EDITOR_DIR="
480                             (assoc-ref %build-inputs "with-editor")
481                             "/share/emacs/site-lisp/guix.d/with-editor-"
482                             ,(package-version emacs-with-editor)))
484        #:phases
485        (modify-phases %standard-phases
486          (delete 'configure)
487          (add-before
488           'build 'patch-exec-paths
489           (lambda* (#:key inputs #:allow-other-keys)
490             (let ((perl (assoc-ref inputs "perl")))
491               (substitute* "lisp/magit-sequence.el"
492                 (("perl") (string-append perl "/bin/perl")))
493               #t))))))
494     (home-page "https://magit.vc/")
495     (synopsis "Emacs interface for the Git version control system")
496     (description
497      "With Magit, you can inspect and modify your Git repositories with Emacs.
498 You can review and commit the changes you have made to the tracked files, for
499 example, and you can browse the history of past changes.  There is support for
500 cherry picking, reverting, merging, rebasing, and other common Git
501 operations.")
502     (license license:gpl3+)))
504 (define-public magit-svn
505   (package
506     (name "magit-svn")
507     (version "2.2.0")
508     (source (origin
509               (method url-fetch)
510               (uri (string-append
511                     "https://github.com/magit/magit-svn/archive/"
512                     version ".tar.gz"))
513               (file-name (string-append name "-" version ".tar.gz"))
514               (sha256
515                (base32
516                 "1c3n377v436zaxamlsz04y1ahdhp96x1vd43zaryv4y10m02ba47"))))
517     (build-system trivial-build-system)
518     (native-inputs `(("emacs" ,emacs-minimal)
519                      ("tar" ,tar)
520                      ("gzip" ,gzip)))
521     (propagated-inputs `(("dash" ,emacs-dash)
522                          ("with-editor" ,emacs-with-editor)
523                          ("magit" ,magit)))
524     (arguments
525      `(#:modules ((guix build utils)
526                   (guix build emacs-utils))
528        #:builder
529        (begin
530          (use-modules (guix build utils)
531                       (guix build emacs-utils))
533          (let* ((tar      (string-append (assoc-ref %build-inputs "tar")
534                                          "/bin/tar"))
535                 (PATH     (string-append (assoc-ref %build-inputs "gzip")
536                                          "/bin"))
537                 (emacs    (string-append (assoc-ref %build-inputs "emacs")
538                                          "/bin/emacs"))
539                 (magit    (string-append (assoc-ref %build-inputs "magit")
540                                          "/share/emacs/site-lisp"))
541                 (dash     (string-append (assoc-ref %build-inputs "dash")
542                                          "/share/emacs/site-lisp/guix.d/dash-"
543                                          ,(package-version emacs-dash)))
544                 (with-editor (string-append (assoc-ref %build-inputs "with-editor")
545                                             "/share/emacs/site-lisp/guix.d/with-editor-"
546                                             ,(package-version emacs-with-editor)))
547                 (source   (assoc-ref %build-inputs "source"))
548                 (lisp-dir (string-append %output "/share/emacs/site-lisp")))
549            (setenv "PATH" PATH)
550            (invoke tar "xvf" source)
552            (install-file (string-append ,name "-" ,version "/magit-svn.el")
553                          lisp-dir)
555            (with-directory-excursion lisp-dir
556              (parameterize ((%emacs emacs))
557                (emacs-generate-autoloads ,name lisp-dir)
558                (setenv "EMACSLOADPATH"
559                        (string-append ":" magit ":" dash ":" with-editor))
560                (emacs-batch-eval '(byte-compile-file "magit-svn.el"))))
561            #t))))
562     (home-page "https://github.com/magit/magit-svn")
563     (synopsis "Git-SVN extension to Magit")
564     (description
565      "This package is an extension to Magit, the Git Emacs mode, providing
566 support for Git-SVN.")
567     (license license:gpl3+)))
569 (define-public emacs-magit-popup
570   (package
571     (name "emacs-magit-popup")
572     (version "2.12.3")
573     (source (origin
574               (method url-fetch)
575               (uri (string-append
576                     "https://github.com/magit/magit-popup/archive/v"
577                     version ".tar.gz"))
578               (file-name (string-append name "-" version ".tar.gz"))
579               (sha256
580                (base32
581                 "1kz6vj67awkwf9y2wj6m3l2him3znm08z6bkdvnmfr6rwd96dr39"))))
582     (build-system emacs-build-system)
583     (arguments
584      `(#:phases
585        (modify-phases %standard-phases
586          (add-before 'install 'make-info
587            (lambda _
588              (invoke "make" "info"))))))
589     (native-inputs
590      `(("texinfo" ,texinfo)))
591     (propagated-inputs
592      `(("emacs-dash" ,emacs-dash)))
593     (home-page "https://github.com/magit/magit-popup")
594     (synopsis "Define prefix-infix-suffix command combos")
595     (description
596      "This library implements a generic interface for toggling switches and
597 setting options and then invoking an Emacs command which does something with
598 these arguments.  The prototypical use is for the command to call an external
599 process, passing on the arguments as command line arguments.")
600     (license license:gpl3+)))
602 (define-public emacs-ghub
603   (package
604     (name "emacs-ghub")
605     (version "2.0.1")
606     (source (origin
607               (method url-fetch)
608               (uri (string-append
609                     "https://github.com/magit/ghub/archive/v"
610                     version ".tar.gz"))
611               (file-name (string-append name "-" version ".tar.gz"))
612               (sha256
613                (base32
614                 "0d0qj5r1bm2aidi61rigrdaycxnyb7y1ivb3h8rpvvapsf8sk7z0"))))
615     (build-system emacs-build-system)
616     (arguments
617      `(#:phases
618        (modify-phases %standard-phases
619          (add-before 'install 'make-info
620            (lambda _
621              (invoke "make" "info"))))))
622     (native-inputs
623      `(("texinfo" ,texinfo)))
624     (home-page "https://github.com/magit/ghub")
625     (synopsis "Emacs client library for Github API and Gitlab API")
626     (description
627      "This package provides 2 files: @file{ghub.el} and @file{glab.el},
628 which are the libraries that provide basic support for using the Github and
629 Gitlab APIs from Emacs packages.  It abstracts access to API resources using
630 only a handful of functions that are not resource-specific.")
631     (license license:gpl3+)))
633 (define-public haskell-mode
634   (package
635     (name "haskell-mode")
636     (version "16.1")
637     (source (origin
638               (method url-fetch)
639               (file-name (string-append name "-" version ".tar.gz"))
640               (uri (string-append
641                     "https://github.com/haskell/haskell-mode/archive/v"
642                     version ".tar.gz"))
643               (sha256
644                (base32 "0g6lcjw7lcgavv3yrd8xjcyqgfyjl787y32r1z14amw2f009m78h"))))
645     (inputs
646      `(("emacs-el-search" ,emacs-el-search) ; for tests
647        ("emacs-stream" ,emacs-stream)))     ; for tests
648     (propagated-inputs
649      `(("emacs-dash" ,emacs-dash)))
650     (native-inputs
651      `(("emacs" ,emacs-minimal)
652        ("texinfo" ,texinfo)))
653     (build-system gnu-build-system)
654     (arguments
655      `(#:make-flags (list (string-append "EMACS="
656                                          (assoc-ref %build-inputs "emacs")
657                                          "/bin/emacs"))
658        #:modules ((ice-9 match)
659                   (srfi srfi-26)
660                   ,@%gnu-build-system-modules)
661        #:phases
662        (modify-phases %standard-phases
663          (delete 'configure)
664          (add-before
665           'build 'pre-build
666           (lambda* (#:key inputs #:allow-other-keys)
667             (define (el-dir store-dir)
668               (match (find-files store-dir "\\.el$")
669                 ((f1 f2 ...) (dirname f1))
670                 (_ "")))
672             (let ((sh (string-append (assoc-ref inputs "bash") "/bin/sh")))
673               (define emacs-prefix? (cut string-prefix? "emacs-" <>))
675               (setenv "SHELL" "sh")
676               (setenv "EMACSLOADPATH"
677                       (string-concatenate
678                        (map (match-lambda
679                               (((? emacs-prefix? name) . dir)
680                                (string-append (el-dir dir) ":"))
681                               (_ ""))
682                             inputs)))
683               (substitute* (find-files "." "\\.el") (("/bin/sh") sh))
684               (substitute* "tests/haskell-code-conventions.el"
685                 ;; Function name recently changed in "emacs-el-search".
686                 (("el-search--search-pattern") "el-search-forward")
687                 ;; Don't contact home.
688                 (("\\(when \\(>= emacs-major-version 25\\)")
689                  "(require 'el-search) (when nil"))
690               #t)))
691          (replace
692           'install
693           (lambda* (#:key outputs #:allow-other-keys)
694             (let* ((out (assoc-ref outputs "out"))
695                    (el-dir (string-append out "/share/emacs/site-lisp"))
696                    (doc (string-append
697                          out "/share/doc/haskell-mode-" ,version))
698                    (info (string-append out "/share/info")))
699               (define (copy-to-dir dir files)
700                 (for-each (lambda (f)
701                             (install-file f dir))
702                           files))
704               (with-directory-excursion "doc"
705                 (invoke "makeinfo" "haskell-mode.texi")
706                 (install-file "haskell-mode.info" info))
707                (copy-to-dir doc '("CONTRIBUTING.md" "NEWS" "README.md"))
708                (copy-to-dir el-dir (find-files "." "\\.elc?"))
709                ;; These are part of other packages.
710                (with-directory-excursion el-dir
711                  (for-each delete-file '("dash.el" "ert.el")))
712                #t))))))
713     (home-page "https://github.com/haskell/haskell-mode")
714     (synopsis "Haskell mode for Emacs")
715     (description
716      "This is an Emacs mode for editing, debugging and developing Haskell
717 programs.")
718     (license license:gpl3+)))
720 (define-public flycheck
721   (package
722     (name "emacs-flycheck")
723     (version "31")
724     (source (origin
725               (method url-fetch)
726               (uri (string-append
727                     "https://github.com/flycheck/flycheck/releases/download/"
728                     version "/flycheck-" version ".tar"))
729               (sha256
730                (base32
731                 "01rnwan16m7cyyrfca3c5c60mbj2r3knkpzbhji2fczsf0wns240"))))
732     (build-system emacs-build-system)
733     (propagated-inputs
734      `(("emacs-dash" ,emacs-dash)))
735     (home-page "https://www.flycheck.org")
736     (synopsis "On-the-fly syntax checking")
737     (description
738      "This package provides on-the-fly syntax checking for GNU Emacs.  It is a
739 replacement for the older Flymake extension which is part of GNU Emacs, with
740 many improvements and additional features.
742 Flycheck provides fully-automatic, fail-safe, on-the-fly background syntax
743 checking for over 30 programming and markup languages with more than 70
744 different tools.  It highlights errors and warnings inline in the buffer, and
745 provides an optional IDE-like error list.")
746     (license license:gpl3+)))                     ;+GFDLv1.3+ for the manual
750 ;;; Web browsing.
753 (define-public emacs-w3m
754   ;; Emacs-w3m follows a "rolling release" model from its CVS repo.  We could
755   ;; use CVS, sure, but instead we choose to use this Git mirror described on
756   ;; the home page as an "unofficial" mirror.
757   (let ((commit "0dd5691f46d314a84da63f3a7277d721815811a2"))
758     (package
759       (name "emacs-w3m")
760       (version (git-version "1.5" "0" commit))
761       (source (origin
762                 (method git-fetch)
763                 (uri (git-reference
764                       (url "https://github.com/ecbrown/emacs-w3m")
765                       (commit commit)))
766                 (sha256
767                  (base32
768                   "02xalyxbrkgl4n8nj7xxkmsbm6lshhwdc8bzs2l4wz3hkpgkj7x4"))))
769       (build-system gnu-build-system)
770       (native-inputs `(("autoconf" ,autoconf)
771                        ("texinfo" ,texinfo)
772                        ("emacs" ,emacs-minimal)))
773       (inputs `(("w3m" ,w3m)
774                 ("imagemagick" ,imagemagick)))
775       (arguments
776        `(#:modules ((guix build gnu-build-system)
777                     (guix build utils)
778                     (guix build emacs-utils))
779          #:imported-modules (,@%gnu-build-system-modules
780                              (guix build emacs-utils))
781          #:configure-flags
782          (let ((out (assoc-ref %outputs "out")))
783            (list (string-append "--with-lispdir="
784                                 out "/share/emacs/site-lisp")
785                  (string-append "--with-icondir="
786                                 out "/share/images/emacs-w3m")
787                  ;; Leave .el files uncompressed, otherwise GC can't
788                  ;; identify run-time dependencies.  See
789                  ;; <http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00208.html>
790                  "--without-compress-install"))
791          #:tests? #f                              ; no check target
792          #:phases
793          (modify-phases %standard-phases
794            (add-after 'unpack 'autoconf
795              (lambda _
796                (invoke "autoconf")))
797            (add-before 'configure 'support-emacs!
798              (lambda _
799                ;; For some reason 'AC_PATH_EMACS' thinks that 'Emacs 26' is
800                ;; unsupported.
801                (substitute* "configure"
802                  (("EMACS_FLAVOR=unsupported")
803                   "EMACS_FLAVOR=emacs"))
804                #t))
805            (add-before 'build 'patch-exec-paths
806              (lambda* (#:key inputs outputs #:allow-other-keys)
807                (let ((out (assoc-ref outputs "out"))
808                      (w3m (assoc-ref inputs "w3m"))
809                      (imagemagick (assoc-ref inputs "imagemagick"))
810                      (coreutils (assoc-ref inputs "coreutils")))
811                  (make-file-writable "w3m.el")
812                  (emacs-substitute-variables "w3m.el"
813                    ("w3m-command" (string-append w3m "/bin/w3m"))
814                    ("w3m-touch-command"
815                     (string-append coreutils "/bin/touch"))
816                    ("w3m-icon-directory"
817                     (string-append out "/share/images/emacs-w3m")))
818                  (make-file-writable "w3m-image.el")
819                  (emacs-substitute-variables "w3m-image.el"
820                    ("w3m-imagick-convert-program"
821                     (string-append imagemagick "/bin/convert"))
822                    ("w3m-imagick-identify-program"
823                     (string-append imagemagick "/bin/identify")))
824                  #t)))
825            (replace 'install
826              (lambda* (#:key outputs #:allow-other-keys)
827                (invoke "make" "install" "install-icons")
828                (with-directory-excursion
829                    (string-append (assoc-ref outputs "out")
830                                   "/share/emacs/site-lisp")
831                  (for-each delete-file '("ChangeLog" "ChangeLog.1"))
832                  (symlink "w3m-load.el" "w3m-autoloads.el")
833                  #t))))))
834       (home-page "http://emacs-w3m.namazu.org/")
835       (synopsis "Simple Web browser for Emacs based on w3m")
836       (description
837        "Emacs-w3m is an emacs interface for the w3m web browser.")
838       (license license:gpl2+))))
840 (define-public emacs-wget
841   (package
842     (name "emacs-wget")
843     (version "0.5.0")
844     (source (origin
845              (method url-fetch)
846              (uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_"
847                                  version ".orig.tar.gz"))
848              (sha256
849               (base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff"))))
850     (build-system gnu-build-system)
851     (inputs `(("wget" ,wget)))
852     (native-inputs `(("emacs" ,emacs-minimal)))
853     (arguments
854      `(#:modules ((guix build gnu-build-system)
855                   (guix build utils)
856                   (guix build emacs-utils))
857        #:imported-modules (,@%gnu-build-system-modules
858                            (guix build emacs-utils))
859        #:tests? #f  ; no check target
860        #:phases
861        (modify-phases %standard-phases
862          (replace 'configure
863            (lambda* (#:key outputs #:allow-other-keys)
864              (substitute* "Makefile"
865                (("/usr/local") (assoc-ref outputs "out"))
866                (("/site-lisp/emacs-wget") "/site-lisp"))
867              #t))
868          (add-before 'build 'patch-exec-paths
869            (lambda* (#:key inputs outputs #:allow-other-keys)
870              (let ((wget (assoc-ref inputs "wget")))
871                (emacs-substitute-variables "wget.el"
872                  ("wget-command" (string-append wget "/bin/wget"))))
873              #t))
874          (add-after 'install 'post-install
875            (lambda* (#:key outputs #:allow-other-keys)
876              (emacs-generate-autoloads
877               "wget" (string-append (assoc-ref outputs "out")
878                                     "/share/emacs/site-lisp/"))
879              #t)))))
880     (home-page "http://www.emacswiki.org/emacs/EmacsWget")
881     (synopsis "Simple file downloader for Emacs based on wget")
882     (description
883      "Emacs-wget is an emacs interface for the wget file downloader.")
884     (license license:gpl2+)))
888 ;;; Multimedia.
891 (define-public emms
892   (package
893     (name "emacs-emms")
894     (version "5.0")
895     (source (origin
896               (method url-fetch)
897               (uri (string-append "mirror://gnu/emms/emms-"
898                                   version ".tar.gz"))
899               (sha256
900                (base32
901                 "08f9lj77jlk96grqgjsv63s2i8ywvp4wvnmgmhnslwyx2lsdxza3"))
902               (modules '((guix build utils)))
903               (snippet
904                '(begin
905                   (substitute* "Makefile"
906                     (("/usr/bin/install-info")
907                      ;; No need to use 'install-info' since it would create a
908                      ;; useless 'dir' file.
909                      "true")
910                     (("^INFODIR=.*")
911                      ;; Install Info files to $out/share/info, not $out/info.
912                      "INFODIR := $(PREFIX)/share/info\n")
913                     (("/site-lisp/emms")
914                      ;; Install directly in share/emacs/site-lisp, not in a
915                      ;; sub-directory.
916                      "/site-lisp")
917                     (("^all: (.*)\n" _ rest)
918                      ;; Build 'emms-print-metadata'.
919                      (string-append "all: " rest " emms-print-metadata\n")))
920                   #t))))
921     (build-system gnu-build-system)
922     (arguments
923      `(#:modules ((guix build gnu-build-system)
924                   (guix build utils)
925                   (guix build emacs-utils)
926                   (ice-9 ftw))
927        #:imported-modules (,@%gnu-build-system-modules
928                            (guix build emacs-utils))
930        #:phases
931        (modify-phases %standard-phases
932          (replace 'configure
933            (lambda* (#:key inputs outputs #:allow-other-keys)
934              (let ((out     (assoc-ref outputs "out"))
935                    (flac    (assoc-ref inputs "flac"))
936                    (vorbis  (assoc-ref inputs "vorbis-tools"))
937                    (alsa    (assoc-ref inputs "alsa-utils"))
938                    (mpg321  (assoc-ref inputs "mpg321"))
939                    (mp3info (assoc-ref inputs "mp3info")))
940                ;; Specify the installation directory.
941                (substitute* "Makefile"
942                  (("PREFIX=.*$")
943                   (string-append "PREFIX := " out "\n")))
945                (setenv "SHELL" (which "sh"))
946                (setenv "CC" "gcc")
948                ;; Specify the absolute file names of the various
949                ;; programs so that everything works out-of-the-box.
950                (with-directory-excursion "lisp"
951                  (emacs-substitute-variables
952                      "emms-player-mpg321-remote.el"
953                    ("emms-player-mpg321-remote-command"
954                     (string-append mpg321 "/bin/mpg321")))
955                  (substitute* "emms-player-simple.el"
956                    (("\"ogg123\"")
957                     (string-append "\"" vorbis "/bin/ogg123\"")))
958                  (substitute* "emms-player-simple.el"
959                    (("\"mpg321\"")
960                     (string-append "\"" mpg321 "/bin/mpg321\"")))
961                  (emacs-substitute-variables "emms-info-ogginfo.el"
962                    ("emms-info-ogginfo-program-name"
963                     (string-append vorbis "/bin/ogginfo")))
964                  (emacs-substitute-variables "emms-info-libtag.el"
965                    ("emms-info-libtag-program-name"
966                     (string-append out "/bin/emms-print-metadata")))
967                  (emacs-substitute-variables "emms-info-mp3info.el"
968                    ("emms-info-mp3info-program-name"
969                     (string-append mp3info "/bin/mp3info")))
970                  (emacs-substitute-variables "emms-info-metaflac.el"
971                    ("emms-info-metaflac-program-name"
972                     (string-append flac "/bin/metaflac")))
973                  (emacs-substitute-variables "emms-source-file.el"
974                    ("emms-source-file-gnu-find" (which "find")))
975                  (substitute* "emms-volume-amixer.el"
976                    (("\"amixer\"")
977                     (string-append "\"" alsa "/bin/amixer\"")))
978                  (substitute* "emms-tag-editor.el"
979                    (("\"mp3info\"")
980                     (string-append "\"" mp3info "/bin/mp3info\"")))))))
981          (add-before 'install 'pre-install
982            (lambda* (#:key outputs #:allow-other-keys)
983              ;; The 'install' rule expects the target directories to exist.
984              (let* ((out  (assoc-ref outputs "out"))
985                     (bin  (string-append out "/bin"))
986                     (man1 (string-append out "/share/man/man1")))
987                (mkdir-p bin)
988                (mkdir-p man1)
990                ;; Ensure that files are not rejected by gzip
991                (let ((early-1980 315619200)) ; 1980-01-02 UTC
992                  (ftw "." (lambda (file stat flag)
993                             (unless (<= early-1980 (stat:mtime stat))
994                               (utime file early-1980 early-1980))
995                             #t)))
996                #t)))
997          (add-after 'install 'post-install
998            (lambda* (#:key outputs #:allow-other-keys)
999              (let ((out (assoc-ref outputs "out")))
1000                (symlink "emms-auto.el"
1001                         (string-append out "/share/emacs/site-lisp/"
1002                                        "emms-autoloads.el")))
1003              #t)))
1004        #:tests? #f))
1005     (native-inputs `(("emacs" ,emacs-minimal)    ;for (guix build emacs-utils)
1006                      ("texinfo" ,texinfo)))
1007     (inputs `(("alsa-utils" ,alsa-utils)
1008               ("flac" ,flac)            ;for metaflac
1009               ("vorbis-tools" ,vorbis-tools)
1010               ("mpg321" ,mpg321)
1011               ("taglib" ,taglib)
1012               ("mp3info" ,mp3info)))
1013     (properties '((upstream-name . "emms")))
1014     (synopsis "Emacs Multimedia System")
1015     (description
1016      "EMMS is the Emacs Multimedia System.  It is a small front-end which
1017 can control one of the supported external players.  Thus, it supports
1018 whatever formats are supported by your music player.  It also
1019 supports tagging and playlist management, all behind a clean and
1020 light user interface.")
1021     (home-page "https://www.gnu.org/software/emms/")
1022     (license license:gpl3+)))
1024 (define-public emacs-emms-player-mpv
1025   (package
1026     (name "emacs-emms-player-mpv")
1027     (version "0.1.0")
1028     (source
1029      (origin
1030        (method url-fetch)
1031        (uri (string-append "https://github.com/dochang/emms-player-mpv/archive/"
1032                            version ".tar.gz"))
1033        (file-name (string-append name "-" version ".tar.gz"))
1034        (sha256
1035         (base32
1036          "05qwbagc4i7yn7i94r1hdgj6wc5xijy1pxqv08pwsmli9rqj51n9"))))
1037     (build-system emacs-build-system)
1038     (propagated-inputs
1039      `(("emms" ,emms)))
1040     (home-page "https://github.com/dochang/emms-player-mpv/")
1041     (synopsis "Mpv support for EMMS")
1042     (description
1043      "This package provides an EMMS player that uses mpv.  It supports pause
1044 and seeking.")
1045     (license license:gpl3+)))
1047 (define-public emacs-emms-mode-line-cycle
1048   (package
1049     (name "emacs-emms-mode-line-cycle")
1050     (version "0.2.5")
1051     (source
1052      (origin
1053        (method url-fetch)
1054        (uri (string-append "https://github.com/momomo5717/emms-mode-line-cycle"
1055                            "/archive/" version ".tar.gz"))
1056        (file-name (string-append name "-" version ".tar.gz"))
1057        (sha256
1058         (base32
1059          "0ifszi930pnaxk1x8pcydmvnp06868gc7nfx14q17zbajbx735k6"))))
1060     (build-system emacs-build-system)
1061     (propagated-inputs
1062      `(("emms" ,emms)))
1063     (home-page "https://github.com/momomo5717/emms-mode-line-cycle")
1064     (synopsis "Display the EMMS mode line as a ticker")
1065     (description
1066      "This is a minor mode for updating the EMMS mode-line string cyclically
1067 within a specified width.  It is useful for displaying long track titles.")
1068     (license license:gpl3+)))
1072 ;;; Miscellaneous.
1075 (define-public bbdb
1076   (package
1077     (name "bbdb")
1078     (version "3.1.2")
1079     (source (origin
1080               (method url-fetch)
1081               (uri (string-append "mirror://savannah/bbdb/bbdb-"
1082                                   version ".tar.gz"))
1083               (sha256
1084                (base32
1085                 "1gs16bbpiiy01w9pyg12868r57kx1v3hnw04gmqsmpc40l1hyy05"))
1086               (modules '((guix build utils)))
1087               (snippet
1088                ;; We don't want to build and install the PDF.
1089                '(begin
1090                   (substitute* "doc/Makefile.in"
1091                     (("^doc_DATA = .*$")
1092                      "doc_DATA =\n"))
1093                   #t))))
1094     (build-system gnu-build-system)
1095     (arguments
1096      '(#:phases
1097        (modify-phases %standard-phases
1098          (add-after 'install 'post-install
1099            (lambda* (#:key outputs #:allow-other-keys)
1100              ;; Add an autoloads file with the right name for guix.el.
1101              (let* ((out  (assoc-ref outputs "out"))
1102                     (site (string-append out "/share/emacs/site-lisp")))
1103                (with-directory-excursion site
1104                  (symlink "bbdb-loaddefs.el" "bbdb-autoloads.el")))
1105              #t)))))
1106     (native-inputs `(("emacs" ,emacs-minimal)))
1107     (home-page "https://savannah.nongnu.org/projects/bbdb/")
1108     (synopsis "Contact management utility for Emacs")
1109     (description
1110      "BBDB is the Insidious Big Brother Database for GNU Emacs.  It provides
1111 an address book for email and snail mail addresses, phone numbers and the
1112 like.  It can be linked with various Emacs mail clients (Message and Mail
1113 mode, Rmail, Gnus, MH-E, and VM).  BBDB is fully customizable.")
1114     (license license:gpl3+)))
1116 (define-public emacs-aggressive-indent
1117   (package
1118     (name "emacs-aggressive-indent")
1119     (version "1.8.3")
1120     (source (origin
1121               (method url-fetch)
1122               (uri (string-append "https://elpa.gnu.org/packages/"
1123                                   "aggressive-indent-" version ".el"))
1124               (sha256
1125                (base32
1126                 "0jnzccl50x0wapprgwxinp99pwwa6j43q6msn4gv437j7swy8wnj"))))
1127     (build-system emacs-build-system)
1128     (home-page "https://elpa.gnu.org/packages/aggressive-indent.html")
1129     (synopsis "Minor mode to aggressively keep your code always indented")
1130     (description
1131      "@code{aggressive-indent-mode} is a minor mode that keeps your code
1132 always indented.  It reindents after every change, making it more reliable
1133 than @code{electric-indent-mode}.")
1134     (license license:gpl2+)))
1136 (define-public emacs-ag
1137   (package
1138     (name "emacs-ag")
1139     (version "0.47")
1140     (source (origin
1141               (method url-fetch)
1142               (uri (string-append
1143                     "https://github.com/Wilfred/ag.el/archive/"
1144                     version ".tar.gz"))
1145               (file-name (string-append name "-" version ".tar.gz"))
1146               (sha256
1147                (base32
1148                 "1rlmp6wnyhqfg86dbz17r914msp58favn4kd4yrdwyia265a4lar"))))
1149     (build-system emacs-build-system)
1150     (arguments
1151      `(#:phases
1152        (modify-phases %standard-phases
1153          (add-before 'install 'make-info
1154            (lambda _
1155              (with-directory-excursion "docs"
1156                (invoke "make" "info"))))
1157          (add-after 'install 'install-info
1158            (lambda* (#:key outputs #:allow-other-keys)
1159              (let* ((out  (assoc-ref outputs "out"))
1160                     (info (string-append out "/share/info")))
1161                (install-file "docs/_build/texinfo/agel.info" info)
1162                #t))))))
1163     (native-inputs
1164      `(("python-sphinx" ,python-sphinx)
1165        ("texinfo" ,texinfo)))
1166     (propagated-inputs
1167      `(("dash" ,emacs-dash)
1168        ("s" ,emacs-s)
1169        ;; We need to use 'ag' as the executable on remote systems.
1170        ("the-silver-searcher" ,the-silver-searcher)))
1171     (home-page "https://github.com/Wilfred/ag.el")
1172     (synopsis "Front-end for ag (the-silver-searcher) for Emacs")
1173     (description "This package provides the ability to use the silver
1174 searcher, a code searching tool, sometimes abbreviated to @code{ag}.  Features
1175 include version control system awareness, use of Perl compatible regular
1176 expressions, editing the search results directly and searching file names
1177 rather than the contents of files.")
1178     (license license:gpl3+)))
1180 (define-public emacs-async
1181   (package
1182     (name "emacs-async")
1183     (version "1.9.2")
1184     (source (origin
1185               (method url-fetch)
1186               (uri (string-append "https://elpa.gnu.org/packages/async-"
1187                                   version ".tar"))
1188               (sha256
1189                (base32
1190                 "17fnvrj7jww29sav6a6jpizclg4w2962m6h37akpii71gf0vrffw"))))
1191     (build-system emacs-build-system)
1192     (home-page "https://elpa.gnu.org/packages/async.html")
1193     (synopsis "Asynchronous processing in Emacs")
1194     (description
1195      "This package provides the ability to call asynchronous functions and
1196 processes.  For example, it can be used to run dired commands (for copying,
1197 moving, etc.) asynchronously using @code{dired-async-mode}.  Also it is used
1198 as a library for other Emacs packages.")
1199     (license license:gpl3+)))
1201 (define-public emacs-auctex
1202   (package
1203     (name "emacs-auctex")
1204     (version "12.1.0")
1205     (source
1206      (origin
1207        (method url-fetch)
1208        (uri (string-append
1209              "https://elpa.gnu.org/packages/auctex-"
1210              version
1211              ".tar"))
1212        (sha256
1213         (base32
1214          "0iy5x61xqkxaph2hq64sg50l1c6yp6qhzppwadayxkdz00b46sas"))))
1215     (build-system emacs-build-system)
1216     ;; We use 'emacs' because AUCTeX requires dbus at compile time
1217     ;; ('emacs-minimal' does not provide dbus).
1218     (arguments
1219      `(#:emacs ,emacs
1220        #:include '("\\.el$" "^images/" "^latex/" "\\.info$")
1221        #:exclude '("^tests/" "^latex/README")))
1222     (native-inputs
1223      `(("perl" ,perl)))
1224     (home-page "https://www.gnu.org/software/auctex/")
1225     (synopsis "Integrated environment for TeX")
1226     (description
1227      "AUCTeX is a comprehensive customizable integrated environment for
1228 writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs
1229 or XEmacs.")
1230     (license license:gpl3+)))
1232 (define-public emacs-autothemer
1233   (package
1234     (name "emacs-autothemer")
1235     (version "0.2.2")
1236     (source
1237      (origin
1238        (method url-fetch)
1239        (uri (string-append "https://github.com/sebastiansturm/autothemer/archive/"
1240                            version ".tar.gz"))
1241        (file-name (string-append name "-" version ".tar.gz"))
1242        (sha256
1243         (base32
1244          "0rd28r9wfrbll212am4ih9hrvypx785aff76va2cbfxdwm9kixsa"))))
1245     (build-system emacs-build-system)
1246     (propagated-inputs
1247      `(("emacs-dash" ,emacs-dash)))
1248     (home-page "https://github.com/sebastiansturm/autothemer")
1249     (synopsis "Conveniently create Emacs themes")
1250     (description
1251      "Autothemer provides a thin layer on top of @code{deftheme} and
1252 @code{custom-theme-set-faces} that creates a new custom color theme, based on
1253 a set of simplified face specifications and a user-supplied color palette")
1254     (license license:gpl3+)))
1256 (define-public emacs-howm
1257   (package
1258     (name "emacs-howm")
1259     (version "1.4.4")
1260     (source
1261      (origin
1262        (method url-fetch)
1263        (uri (string-append "http://howm.sourceforge.jp/a/howm-"
1264                            version ".tar.gz"))
1265        (sha256
1266         (base32
1267          "0ddm91l6z58j7x59fa966j6q1rg4cinyza4r8ibg80hprn5h31qk"))))
1268     (build-system gnu-build-system)
1269     (native-inputs
1270      `(("emacs" ,emacs-minimal)))
1271     (arguments
1272      `(#:configure-flags
1273        (list (string-append "--with-howmdir=" %output
1274                             "/share/emacs/site-lisp/guix.d/howm-" ,version))
1275        #:modules ((guix build gnu-build-system)
1276                   ((guix build emacs-build-system) #:prefix emacs:)
1277                   (guix build utils))
1278        #:imported-modules (,@%gnu-build-system-modules
1279                            (guix build emacs-build-system)
1280                            (guix build emacs-utils))
1281        #:phases
1282        (modify-phases %standard-phases
1283          (add-after 'rename-lispdir 'make-autoloads
1284            (assoc-ref emacs:%standard-phases 'make-autoloads)))))
1285     (home-page "http://howm.osdn.jp/")
1286     (synopsis "Note-taking tool for Emacs")
1287     (description "Howm is a note-taking tool for Emacs.  Like
1288 code@{emacs-wiki.el}, it facilitates using hyperlinks and doing full-text
1289 searches.  Unlike code@{emacs-wiki.el}, it can be combined with any format.")
1290     (license license:gpl1+)))
1292 (define-public emacs-calfw
1293   (package
1294     (name "emacs-calfw")
1295     (version "1.5")
1296     (source
1297      (origin
1298        (method url-fetch)
1299        (uri (string-append
1300              "https://github.com/kiwanami/emacs-calfw/archive/v"
1301              version ".tar.gz"))
1302        (file-name (string-append name "-" version ".tar.gz"))
1303        (sha256
1304         (base32
1305          "17ssg8gx66yp63nhygjq2r6kgl4h45cacmrxsxs9f0lrfcx37k0l"))))
1306     (build-system emacs-build-system)
1307     (propagated-inputs
1308      `(("emacs-howm" ,emacs-howm)))
1309     (home-page "https://github.com/kiwanami/emacs-calfw/")
1310     (synopsis "Calendar framework for Emacs")
1311     (description
1312      "This package displays a calendar view with various schedule data in the
1313 Emacs buffer.")
1314     (license license:gpl3+)))
1316 (define-public emacs-direnv
1317   (package
1318     (name "emacs-direnv")
1319     (version "1.2.0")
1320     (source
1321      (origin
1322        (method url-fetch)
1323        (uri (string-append
1324              "https://github.com/wbolster/emacs-direnv/archive/"
1325              version ".tar.gz"))
1326        (file-name (string-append name "-" version ".tar.gz"))
1327        (sha256
1328         (base32
1329          "0m9nxawklhiiysyibzzhh2zkxgq1fskqvaqb06f7r8dnhabfy9fr"))))
1330     (build-system emacs-build-system)
1331     (propagated-inputs
1332      `(("dash" ,emacs-dash)
1333        ("with-editor" ,emacs-with-editor)))
1334     (home-page "https://github.com/wbolster/emacs-direnv")
1335     (synopsis "Direnv integration for Emacs")
1336     (description
1337      "This package provides support for invoking direnv to get the environment
1338 for the current file and updating the environment within Emacs to match.
1340 Direnv can be invoked manually, and a global minor mode is included that will
1341 update the environment when the active buffer changes.
1343 Using emacs-direnv means that programs started from Emacs will use the
1344 environment set through Direnv.")
1345     (license license:gpl3+)))
1347 (define-public emacs-ggtags
1348   (package
1349     (name "emacs-ggtags")
1350     (version "0.8.12")
1351     (source
1352      (origin
1353        (method url-fetch)
1354        (uri (string-append "http://elpa.gnu.org/packages/ggtags-"
1355                            version ".el"))
1356        (sha256
1357         (base32
1358          "0ny3llk021g6r0s75xdm4hzpbxv393ddm2r6f2xdk8kqnq4gnirp"))))
1359     (build-system emacs-build-system)
1360     (home-page "https://github.com/leoliu/ggtags")
1361     (synopsis "Frontend to the GNU Global source code tagging system")
1362     (description "@code{ggtags} provides a frontend to the GNU Global source
1363 code tagging system.
1365 Features:
1367 @itemize
1368 @item Build on @code{compile.el} for asynchronicity and its large feature-set.
1369 @item Automatically update Global's tag files when needed with tuning for
1370 large source trees.
1371 @item Intuitive navigation among multiple matches with mode-line display of
1372 current match, total matches and exit status.
1373 @item Read tag with completion.
1374 @item Show definition at point.
1375 @item Jump to #include files.
1376 @item Support search history and saving a search to register/bookmark.
1377 @item Query replace.
1378 @item Manage Global's environment variables on a per-project basis.
1379 @item Highlight (definition) tag at point.
1380 @item Abbreviated display of file names.
1381 @item Support all Global search backends: @code{grep}, @code{idutils}, etc.
1382 @item Support exuberant ctags @url{http://ctags.sourceforge.net/} and
1383 @code{pygments} backend.
1384 @item Support all Global's output formats: @code{grep}, @code{ctags-x},
1385 @code{cscope} etc.
1386 @item Support projects on remote hosts (e.g. via @code{tramp}).
1387 @item Support eldoc.
1388 @item Search @code{GTAGSLIBPATH} for references and symbols.
1389 @end itemize\n")
1390     (license license:gpl3+)))
1392 (define-public emacs-go-mode
1393   (package
1394     (name "emacs-go-mode")
1395     (version "1.5.0")
1396     (source (origin
1397               (method url-fetch)
1398               (uri (string-append "https://github.com/dominikh/go-mode.el/"
1399                                   "archive/v" version ".tar.gz"))
1400               (file-name (string-append name "-" version ".tar.gz"))
1401               (sha256
1402                (base32
1403                 "1adngbjyb8qnwg7n6r2y31djw9j6qf3b9fi63zd85035q7x4ljnm"))))
1404     (build-system emacs-build-system)
1405     (home-page "https://github.com/dominikh/go-mode.el")
1406     (synopsis "Go mode for Emacs")
1407     (description
1408      "This package provides go-mode, an Emacs mode for working with software
1409 written in the Go programming language.")
1410     (license license:bsd-3)))
1412 (define-public emacs-google-maps
1413   (package
1414     (name "emacs-google-maps")
1415     (version "1.0.0")
1416     (source (origin
1417               (method url-fetch)
1418               (uri (string-append "https://github.com/jd/google-maps.el/"
1419                                   "archive/" version ".tar.gz"))
1420               (file-name (string-append name "-" version ".tar.gz"))
1421               (sha256
1422                (base32
1423                 "014bxapm4d8vjxbzrfjdpsavxyfx981mlcb10aq5rmigr6il8ybs"))))
1424     (build-system emacs-build-system)
1425     (home-page "https://github.com/jd/google-maps.el")
1426     (synopsis "Access Google Maps from Emacs")
1427     (description "The @code{google-maps} package allows to display Google
1428 Maps directly inside Emacs.")
1429     (license license:gpl3+)))
1431 (define-public emacs-graphviz-dot-mode
1432   (let ((commit "c456a2b65c734089e6c44e87209a5a432a741b1a")
1433         (revision "1"))
1434     (package
1435       (name "emacs-graphviz-dot-mode")
1436       (version (string-append "0.3.11-" revision "."
1437                               (string-take commit 7)))
1438       (source (origin
1439                 (method git-fetch)
1440                 (uri (git-reference
1441                       (url "https://github.com/ppareit/graphviz-dot-mode.git")
1442                       (commit commit)))
1443                 (file-name (string-append name "-" version "-checkout"))
1444                 (sha256
1445                  (base32
1446                   "0j1r2rspaakw37b0mx7pwpvdsvixq9sw3xjbww5piihzpdxz58z1"))))
1447       (build-system emacs-build-system)
1448       (arguments
1449        `(#:phases
1450          (modify-phases %standard-phases
1451            (add-before 'install 'make-info
1452              (lambda* (#:key inputs #:allow-other-keys)
1453                (with-directory-excursion "texinfo"
1454                  (substitute* "Makefile"
1455                    (("\\/usr\\/bin\\/gzip")
1456                     (string-append (assoc-ref inputs "gzip") "/bin/gzip")))
1457                  (invoke "make"
1458                          "clean"
1459                          "info"
1460                          (string-append "TEXINFODIR="
1461                                         (assoc-ref inputs "texinfo")
1462                                         "/bin")))))
1463            (add-after 'install 'install-info
1464              (lambda* (#:key outputs #:allow-other-keys)
1465                (let* ((out  (assoc-ref outputs "out"))
1466                       (info (string-append out "/share/info")))
1467                  (install-file "texinfo/graphviz-dot-mode.info.gz" info)
1468                  #t))))))
1469       (native-inputs
1470        `(("texinfo" ,texinfo)
1471          ("gzip" ,gzip)))
1472       (home-page "http://ppareit.github.com/graphviz-dot-mode")
1473       (synopsis "Major mode for editing Graphviz Dot files")
1474       (description
1475        "This Emacs packages helps you to create @file{.dot} or @file{.gv}
1476 files using the dot syntax, and use Graphviz to convert these files to
1477 diagrams.")
1478       (license license:gpl2+))))
1480 (define-public emacs-mmm-mode
1481   (package
1482     (name "emacs-mmm-mode")
1483     (version "0.5.5")
1484     (source
1485      (origin
1486        (method url-fetch)
1487        (uri (string-append
1488              "https://github.com/purcell/mmm-mode/archive/"
1489              version ".tar.gz"))
1490        (file-name (string-append name "-" version ".tar.gz"))
1491        (sha256
1492         (base32
1493          "0c5ing3hcr74k78hqhrfwiv6m3n8hqfrw89j2x34vf60f4iyqzqc"))))
1494     (build-system gnu-build-system)
1495     (arguments
1496      '(#:phases
1497        (modify-phases %standard-phases
1498          (add-after 'unpack 'autogen
1499            (lambda _
1500              (invoke "sh" "autogen.sh"))))))
1501     (native-inputs
1502      `(("autoconf" ,autoconf)
1503        ("automake" ,automake)
1504        ("emacs" ,emacs-minimal)
1505        ("texinfo" ,texinfo)))
1506     (home-page "https://github.com/purcell/mmm-mode")
1507     (synopsis "Allow multiple major modes in an Emacs buffer")
1508     (description
1509      "MMM Mode is a minor mode that allows multiple major modes to coexist in a
1510 single buffer.")
1511     (license license:gpl3+)))
1513 (define-public emacs-tablist
1514   (package
1515     (name "emacs-tablist")
1516     (version "0.70")
1517     (source (origin
1518               (method url-fetch)
1519               (uri (string-append
1520                     "https://github.com/politza/tablist/archive/v"
1521                     version ".tar.gz"))
1522               (file-name (string-append name "-" version ".tar.gz"))
1523               (sha256
1524                (base32
1525                 "177d6s7ym1mwz1nhnl09r14z3n093g9a2szm97xsaig0c204xz9c"))))
1526     (build-system emacs-build-system)
1527     (home-page "https://github.com/politza/tablist")
1528     (synopsis "Extension for @code{tabulated-list-mode}")
1529     (description "Tablist is the Emacs package that provides several
1530 additional features to @code{tabulated-list-mode}: it adds marks,
1531 filters, new key bindings and faces.  It can be enabled by
1532 @code{tablist-mode} or @code{tablist-minor-mode} commands.")
1533     (license license:gpl3+)))
1535 (define-public emacs-pdf-tools
1536   (package
1537     (name "emacs-pdf-tools")
1538     (version "0.80")
1539     (source (origin
1540               (method url-fetch)
1541               (uri (string-append
1542                     "https://github.com/politza/pdf-tools/archive/v"
1543                     version ".tar.gz"))
1544               (file-name (string-append name "-" version ".tar.gz"))
1545               (sha256
1546                (base32
1547                 "06imydn3a92vr57azpn1zhqc14kxyyslmyi9ldsyphan9b724gb6"))))
1548     (build-system gnu-build-system)
1549     (arguments
1550      `(#:tests? #f ; there are no tests
1551        #:modules ((guix build gnu-build-system)
1552                   ((guix build emacs-build-system) #:prefix emacs:)
1553                   (guix build utils)
1554                   (guix build emacs-utils))
1555        #:imported-modules (,@%gnu-build-system-modules
1556                            (guix build emacs-build-system)
1557                            (guix build emacs-utils))
1558        #:phases
1559        (modify-phases %standard-phases
1560          ;; Build server side using 'gnu-build-system'.
1561          (add-after 'unpack 'enter-server-dir
1562            (lambda _ (chdir "server") #t))
1563          (add-after 'enter-server-dir 'autogen
1564            (lambda _
1565              (invoke "bash" "autogen.sh")))
1567          ;; Build emacs side using 'emacs-build-system'.
1568          (add-after 'compress-documentation 'enter-lisp-dir
1569            (lambda _ (chdir "../lisp") #t))
1570          (add-after 'enter-lisp-dir 'emacs-patch-variables
1571            (lambda* (#:key outputs #:allow-other-keys)
1572              ;; Set path to epdfinfo program.
1573              (emacs-substitute-variables "pdf-info.el"
1574                ("pdf-info-epdfinfo-program"
1575                 (string-append (assoc-ref outputs "out")
1576                                "/bin/epdfinfo")))
1577              ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto
1578              ;; upgrading" that pdf-tools tries to perform.
1579              (emacs-substitute-variables "pdf-tools.el"
1580                ("pdf-tools-handle-upgrades" '()))))
1581          (add-after 'emacs-patch-variables 'emacs-set-emacs-load-path
1582            (assoc-ref emacs:%standard-phases 'set-emacs-load-path))
1583          (add-after 'emacs-set-emacs-load-path 'emacs-install
1584            (assoc-ref emacs:%standard-phases 'install))
1585          (add-after 'emacs-install 'emacs-build
1586            (assoc-ref emacs:%standard-phases 'build))
1587          (add-after 'emacs-install 'emacs-make-autoloads
1588            (assoc-ref emacs:%standard-phases 'make-autoloads)))))
1589     (native-inputs `(("autoconf" ,autoconf)
1590                      ("automake" ,automake)
1591                      ("pkg-config" ,pkg-config)
1592                      ("emacs" ,emacs-minimal)))
1593     (inputs `(("poppler" ,poppler)
1594               ("cairo" ,cairo)
1595               ("glib" ,glib)
1596               ("libpng" ,libpng)
1597               ("zlib" ,zlib)))
1598     (propagated-inputs `(("tablist" ,emacs-tablist)))
1599     (synopsis "Emacs support library for PDF files")
1600     (description
1601      "PDF Tools is, among other things, a replacement of DocView for PDF
1602 files.  The key difference is that pages are not pre-rendered by
1603 e.g. ghostscript and stored in the file-system, but rather created on-demand
1604 and stored in memory.")
1605     (home-page "https://github.com/politza/pdf-tools")
1606     (license license:gpl3+)))
1608 (define-public emacs-dash
1609   (package
1610     (name "emacs-dash")
1611     (version "2.14.1")
1612     (source (origin
1613               (method git-fetch)
1614               (uri (git-reference
1615                     (url "https://github.com/magnars/dash.el.git")
1616                     (commit version)))
1617               (file-name (git-file-name name version))
1618               (sha256
1619                (base32
1620                 "1kzijmjxjxgr7p8clphzvmm47vczckbs8mza9an77c25bn627ywl"))))
1621     (build-system emacs-build-system)
1622     (arguments
1623      `(#:tests? #t
1624        #:test-command '("./run-tests.sh")))
1625     (home-page "https://github.com/magnars/dash.el")
1626     (synopsis "Modern list library for Emacs")
1627     (description "This package provides a modern list API library for Emacs.")
1628     (license license:gpl3+)))
1630 (define-public emacs-bui
1631   (package
1632     (name "emacs-bui")
1633     (version "1.1.0")
1634     (source (origin
1635               (method url-fetch)
1636               (uri (string-append
1637                     "https://github.com/alezost/bui.el/archive/v"
1638                     version ".tar.gz"))
1639               (file-name (string-append name "-" version ".tar.gz"))
1640               (sha256
1641                (base32
1642                 "112k0mq6xpy0r47vk66miw7rxbkv3d06pv3pd0vcmrhcnhnnk486"))))
1643     (build-system emacs-build-system)
1644     (propagated-inputs
1645      `(("dash" ,emacs-dash)))
1646     (home-page "https://github.com/alezost/bui.el")
1647     (synopsis "Buffer interface library for Emacs")
1648     (description
1649      "BUI (Buffer User Interface) is a library for making @code{list} and
1650 @code{info} interfaces to display an arbitrary data of the same
1651 type, for example: packages, buffers, files, etc.")
1652     (license license:gpl3+)))
1654 (define-public emacs-guix
1655   (package
1656     (name "emacs-guix")
1657     (version "0.4")
1658     (source (origin
1659               (method url-fetch)
1660               (uri (string-append "https://github.com/alezost/guix.el"
1661                                   "/releases/download/v" version
1662                                   "/emacs-guix-" version ".tar.gz"))
1663               (sha256
1664                (base32
1665                 "1nn4b0gd895g0k4fynzrip7z8yb1r3qmvznq9v8a6q7sm84irmqq"))))
1666     (build-system gnu-build-system)
1667     (arguments
1668      `(#:configure-flags
1669        (let ((guix        (assoc-ref %build-inputs "guix"))
1670              (geiser      (assoc-ref %build-inputs "geiser"))
1671              (dash        (assoc-ref %build-inputs "dash"))
1672              (bui         (assoc-ref %build-inputs "bui"))
1673              (magit-popup (assoc-ref %build-inputs "magit-popup"))
1674              (edit-indirect (assoc-ref %build-inputs "edit-indirect"))
1675              (site-lisp   "/share/emacs/site-lisp"))
1676          (list (string-append "--with-guix-site-dir="
1677                               (car (find-files (string-append guix
1678                                                            "/share/guile/site")
1679                                                (lambda (file stat)
1680                                                  (string-prefix?
1681                                                   "2."
1682                                                   (basename file)))
1683                                                #:directories? #t)))
1684                (string-append "--with-guix-site-ccache-dir="
1685                               (car (find-files (string-append guix "/lib/guile")
1686                                                (lambda (file stat)
1687                                                  (string-prefix?
1688                                                   "2." (basename file)))
1689                                                #:directories? #t))
1690                               "/site-ccache")
1691                (string-append "--with-geiser-lispdir=" geiser site-lisp)
1692                (string-append "--with-dash-lispdir="
1693                               dash site-lisp "/guix.d/dash-"
1694                               ,(package-version emacs-dash))
1695                (string-append "--with-bui-lispdir="
1696                               bui site-lisp "/guix.d/bui-"
1697                               ,(package-version emacs-bui))
1698                (string-append "--with-editindirect-lispdir="
1699                               edit-indirect site-lisp "/guix.d/edit-indirect-"
1700                               ,(package-version emacs-edit-indirect))
1701                (string-append "--with-popup-lispdir="
1702                               magit-popup site-lisp "/guix.d/magit-popup-"
1703                               ,(package-version emacs-magit-popup))))))
1704     (native-inputs
1705      `(("pkg-config" ,pkg-config)
1706        ("emacs" ,emacs-minimal)))
1707     (inputs
1708      `(("guile" ,guile-2.2)
1709        ("guix" ,guix)))
1710     (propagated-inputs
1711      `(("geiser" ,geiser)
1712        ("dash" ,emacs-dash)
1713        ("bui" ,emacs-bui)
1714        ("edit-indirect" ,emacs-edit-indirect)
1715        ("magit-popup" ,emacs-magit-popup)))
1716     (home-page "https://alezost.github.io/guix.el/")
1717     (synopsis "Emacs interface for GNU Guix")
1718     (description
1719      "Emacs-Guix provides a visual interface, tools and features for the GNU
1720 Guix package manager.  Particularly, it allows you to do various package
1721 management tasks from Emacs.  To begin with, run @code{M-x guix-about} or
1722 @code{M-x guix-help} command.")
1723     (license license:gpl3+)))
1725 (define-public emacs-d-mode
1726   (package
1727     (name "emacs-d-mode")
1728     (version "2.0.9")
1729     (source (origin
1730               (method url-fetch)
1731               (uri (string-append
1732                     "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/"
1733                     "archive/" version ".tar.gz"))
1734               (file-name (string-append name "-" version ".tar.gz"))
1735               (sha256
1736                (base32
1737                 "127aa77ix3p7w4g339bx026df9y649dahlr3v359z0hs40zjz3kd"))))
1738     (build-system emacs-build-system)
1739     (propagated-inputs
1740      `(("emacs-undercover" ,emacs-undercover)))
1741     (home-page "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode")
1742     (synopsis "Emacs major mode for editing D code")
1743     (description "This package provides an Emacs major mode for highlighting
1744 code written in the D programming language.  This mode is currently known to
1745 work with Emacs 24 and 25.")
1746     (license license:gpl2+)))
1748 (define-public emacs-keyfreq
1749   (package
1750     (name "emacs-keyfreq")
1751     (version "20160516.716")
1752     (source
1753       (origin
1754         (method url-fetch)
1755         (uri (string-append "http://melpa.org/packages/keyfreq-"
1756                version ".el"))
1757         (sha256
1758           (base32
1759             "008hd7d06qskc3mx0bbdgpgy2pwxr8185fzlyqf9qjg49y74p6g8"))))
1760     (build-system emacs-build-system)
1761     (home-page "https://github.com/dacap/keyfreq")
1762     (synopsis "Track Emacs command frequencies")
1763     (description "@code{emacs-keyfeq} tracks and shows how many times you used
1764 a command.")
1765     (license license:gpl3+)))
1767 (define-public emacs-olivetti
1768   (package
1769     (name "emacs-olivetti")
1770     (version "1.5.7")
1771     (source (origin
1772               (method url-fetch)
1773               (uri (string-append
1774                     "https://stable.melpa.org/packages/olivetti-"
1775                     version ".el"))
1776               (sha256
1777                (base32
1778                 "1yj2ylg46q0pw1xzlv2b0fv9x8p56x25284s9v2smwjr4vf0nwcj"))))
1779     (build-system emacs-build-system)
1780     (home-page "https://github.com/rnkn/olivetti")
1781     (synopsis "Emacs minor mode for a nice writing environment")
1782     (description "This package provides an Emacs minor mode that puts writing
1783 in the center.")
1784     (license license:gpl3+)))
1786 (define-public emacs-undo-tree
1787   (package
1788     (name "emacs-undo-tree")
1789     (version "0.6.6")
1790     (source (origin
1791               (method git-fetch)
1792               (uri (git-reference
1793                     (url "http://dr-qubit.org/git/undo-tree.git")
1794                     (commit (string-append "release/" version))))
1795               (file-name (string-append name "-" version "-checkout"))
1796               (sha256
1797                (base32
1798                 "1hnh2mnmw179gr094r561w6cw1haid0lpvpqvkc24wpj82vphzpa"))))
1799     (build-system emacs-build-system)
1800     (home-page "http://www.dr-qubit.org/emacs.php")
1801     (synopsis "Treat undo history as a tree")
1802     (description "Tree-like interface to Emacs undo system, providing
1803 graphical tree presentation of all previous states of buffer that
1804 allows easily move between them.")
1805     (license license:gpl3+)))
1807 (define-public emacs-s
1808   (package
1809     (name "emacs-s")
1810     (version "1.12.0")
1811     (source (origin
1812               (method url-fetch)
1813               (uri (string-append
1814                     "https://github.com/magnars/s.el/archive/"
1815                     version ".tar.gz"))
1816               (file-name (string-append name "-" version ".tar.gz"))
1817               (sha256
1818                (base32
1819                 "0xbl75863pcm806zg0x1lw7qznzjq2c8320k8js7apyag8q4srvh"))))
1820     (build-system emacs-build-system)
1821     (arguments
1822      `(#:tests? #t
1823        #:emacs ,emacs ; FIXME: tests fail with emacs-minimal
1824        #:test-command '("./run-tests.sh")))
1825     (home-page "https://github.com/magnars/s.el")
1826     (synopsis "Emacs string manipulation library")
1827     (description "This package provides an Emacs library for manipulating
1828 strings.")
1829     (license license:gpl3+)))
1831 (define-public emacs-symon
1832   (package
1833     (name "emacs-symon")
1834     (version "20160630")
1835     (source
1836      (origin
1837        (method url-fetch)
1838        (uri (string-append "https://github.com/zk-phi/symon/archive/"
1839                            version ".tar.gz"))
1840        (file-name (string-append name "-" version ".tar.gz"))
1841        (sha256
1842         (base32
1843          "0h4jcgdnq98wc9rj72nwyazq8498yg55jfljiij5qwbn1xf1g5zz"))))
1844     (build-system emacs-build-system)
1845     (home-page "https://github.com/zk-phi/symon")
1846     (synopsis "Tiny graphical system monitor")
1847     (description
1848      "Tiny graphical system monitor for the Emacs minibuffer when idle.")
1849     (license license:gpl2+)))
1851 (define-public emacs-sx
1852   (let ((version "20180212")
1853         (revision "1")
1854         (commit "833435fbf90d1c9e927d165b155f3b1ef39271de"))
1855     (package
1856       (name "emacs-sx")
1857       (version (git-version version revision commit))
1858       (source
1859        (origin
1860          (method git-fetch)
1861          (uri (git-reference
1862                (url "https://github.com/vermiculus/sx.el")
1863                (commit commit)))
1864          (file-name (git-file-name name version))
1865          (sha256
1866           (base32
1867            "1369xaxq1vy3d9yh862ddnhddikdpg2d0wv1ly00pnvdp9v4cqgd"))))
1868       (build-system emacs-build-system)
1869       (propagated-inputs
1870        `(("emacs-markdown-mode" ,emacs-markdown-mode)))
1871       (home-page "https://github.com/vermiculus/sx.el")
1872       (synopsis "Emacs StackExchange client")
1873       (description
1874        "Emacs StackExchange client.  Ask and answer questions on
1875 Stack Overflow, Super User, and other StackExchange sites.")
1876       (license license:gpl3+))))
1878 (define-public emacs-f
1879   (package
1880     (name "emacs-f")
1881     (version "0.19.0")
1882     (source (origin
1883               (method url-fetch)
1884               (uri (string-append
1885                     "https://github.com/rejeep/f.el/archive/v"
1886                     version ".tar.gz"))
1887               (file-name (string-append name "-" version ".tar.gz"))
1888               (sha256
1889                (base32
1890                 "05195n80ywa68qykxn7dza6qd59rhakvlzhaa9l6mcpmjf9l9grs"))))
1891     (build-system emacs-build-system)
1892     (propagated-inputs
1893      `(("emacs-s" ,emacs-s)
1894        ("emacs-dash" ,emacs-dash)))
1895     (home-page "https://github.com/rejeep/f.el")
1896     (synopsis "Emacs API for working with files and directories")
1897     (description "This package provides an Emacs library for working with
1898 files and directories.")
1899     (license license:gpl3+)))
1901 (define-public emacs-git-gutter
1902   (package
1903     (name "emacs-git-gutter")
1904     (version "0.90")
1905     (source (origin
1906              (method url-fetch)
1907              (uri (string-append
1908                    "https://github.com/syohex/" name "/archive/"
1909                    version ".tar.gz"))
1910              (file-name (string-append name "-" version ".tar.gz"))
1911              (sha256
1912               (base32
1913                "1nmhvhpq1l56mj2yq3ag23rw3x4xgnsy8szp30s26l0yjnkhc4qg"))))
1914     (build-system emacs-build-system)
1915     (home-page "https://github.com/syohex/emacs-git-gutter")
1916     (synopsis "See and manage hunks of text in a version control system")
1917     (description
1918      "This package is an Emacs minor mode for displaying and interacting with
1919 hunks of text managed in a version control system.  Added modified and deleted
1920 areas can be indicated with symbols on the edge of the buffer, and commands
1921 can be used to move between and perform actions on these hunks.
1923 Git, Mercurial, Subversion and Bazaar are supported, and many parts of the
1924 display and behaviour is easily customisable.")
1925     (license license:gpl3+)))
1927 (define-public emacs-git-timemachine
1928   (package
1929     (name "emacs-git-timemachine")
1930     (version "3.0")
1931     (source
1932      (origin
1933        (method url-fetch)
1934        (uri (string-append "https://github.com/pidu/git-timemachine/"
1935                            "archive/" version ".tar.gz"))
1936        (file-name (string-append name "-" version ".tar.gz"))
1937        (sha256
1938         (base32
1939          "1l4g0r69wfrnjsywv03v4bpdd53byg6zdx6mzabfxyymss3kvisa"))))
1940     (build-system emacs-build-system)
1941     (home-page "https://github.com/pidu/git-timemachine")
1942     (synopsis "Step through historic versions of Git-controlled files")
1943     (description "This package enables you to step through historic versions
1944 of files under Git version control from within Emacs.")
1945     (license license:gpl3+)))
1947 (define-public emacs-minitest
1948   (let ((commit "1aadb7865c1dc69c201cecee275751ecec33a182")
1949         (revision "1"))
1950     (package
1951       (name "emacs-minitest")
1952       (version (git-version "0.8.0" revision commit))
1953       (source (origin
1954                 (method git-fetch)
1955                 (uri (git-reference
1956                       (url "https://github.com/arthurnn/minitest-emacs")
1957                       (commit commit)))
1958                 (file-name (git-file-name name commit))
1959                 (sha256
1960                  (base32
1961                   "1l18zqpdzbnqj2qawq8hj7z7pl8hr8z9d8ihy8jaiqma915hmhj1"))))
1962       (build-system emacs-build-system)
1963       (arguments
1964        '(#:include (cons "^snippets\\/minitest-mode\\/" %default-include)
1965          #:exclude (delete "^[^/]*tests?\\.el$" %default-exclude)))
1966       (propagated-inputs
1967        `(("emacs-dash" ,emacs-dash)
1968          ("emacs-f" ,emacs-f)))
1969       (home-page "https://github.com/arthurnn/minitest-emacs")
1970       (synopsis "Emacs minitest mode")
1971       (description
1972        "The minitest mode provides commands to run the tests for the current
1973 file or line, as well as rerunning the previous tests, or all the tests for a
1974 project.
1976 This package also includes relevant snippets for yasnippet.")
1977       (license license:expat))))
1979 (define-public emacs-el-mock
1980   (package
1981     (name "emacs-el-mock")
1982     (version "1.25.1")
1983     (source
1984      (origin
1985        (method url-fetch)
1986        (uri (string-append "https://github.com/rejeep/el-mock.el/"
1987                            "archive/v" version ".tar.gz"))
1988        (file-name (string-append name "-" version ".tar.gz"))
1989        (sha256
1990         (base32
1991          "16xw94n58xxn3zvgyj72bmzs0k5lkvswjmzs79ws9n7rzdivb38b"))))
1992     (build-system emacs-build-system)
1993     (home-page "https://github.com/rejeep/el-mock.el")
1994     (synopsis "Tiny mock and stub framework in Emacs Lisp")
1995     (description
1996      "Emacs Lisp Mock is a library for mocking and stubbing using readable
1997 syntax.  Most commonly Emacs Lisp Mock is used in conjunction with Emacs Lisp
1998 Expectations, but it can be used in other contexts.")
1999     (license license:gpl3+)))
2001 (define-public emacs-espuds
2002   (package
2003     (name "emacs-espuds")
2004     (version "0.3.3")
2005     (source
2006      (origin
2007        (method url-fetch)
2008        (uri (string-append "https://github.com/ecukes/espuds/"
2009                            "archive/v" version ".tar.gz"))
2010        (file-name (string-append name "-" version ".tar.gz"))
2011        (sha256
2012         (base32
2013          "0xv551376pbmh735a3zjwc9z4qdx6ngj1vpq3xqjpn0a1rwjyn4k"))))
2014     (build-system emacs-build-system)
2015     (propagated-inputs
2016      `(("emacs-s" ,emacs-s)
2017        ("emacs-dash" ,emacs-dash)
2018        ("emacs-f" ,emacs-f)))
2019     (home-page "https://github.com/ecukes/espuds")
2020     (synopsis "Common step definitions for Ecukes")
2021     (description "Espuds is a collection of the most commonly used step
2022 definitions for testing with the Ecukes framework.")
2023     (license license:gpl3+)))
2025 (define-public emacs-spark
2026   (let ((version "20160503")  ; no proper tag, use date of commit
2027         (commit "0bf148c3ede3b31d56fd75f347cdd0b0eae60025")
2028         (revision "1"))
2029     (package
2030       (name "emacs-spark")
2031       (version (git-version version revision commit))
2032       (source
2033        (origin
2034          (method git-fetch)
2035          (uri (git-reference
2036                (url "https://github.com/alvinfrancis/spark.git")
2037                (commit commit)))
2038          (file-name (git-file-name name version))
2039          (sha256
2040           (base32
2041            "1ykqr86j17mi95s08d9fp02d7ych1331b04dcqxzxnmpkhwngyj1"))))
2042       (build-system emacs-build-system)
2043       (home-page "https://github.com/alvinfrancis/spark")
2044       (synopsis "Sparkline generation library for Emacs Lisp")
2045       (description "@code{emacs-spark} is a sparkline generation library for
2046 Emacs Lisp.  It generates a sparkline string given a list of numbers.  It is a
2047 port of @code{cl-spark} to Emacs Lisp.")
2048       (license license:expat))))
2050 (define-public emacs-es-mode
2051   (package
2052     (name "emacs-es-mode")
2053     (version "4.3.0")
2054     (source (origin
2055               (method url-fetch)
2056               (uri (string-append
2057                     "https://github.com/dakrone/es-mode/archive/"
2058                     version ".tar.gz"))
2059               (file-name (string-append name "-" version ".tar.gz"))
2060               (sha256
2061                (base32
2062                 "0y86qdcb3g7fkcb4pzsjh3syzql6w3314hg1wqxq4a8bbk3y0cgr"))))
2063     (build-system emacs-build-system)
2064     (propagated-inputs
2065      ;; The version of org in Emacs 24.5 is not sufficient, and causes tables
2066      ;; to be rendered incorrectly
2067      `(("emacs-dash" ,emacs-dash)
2068        ("emacs-org" ,emacs-org)
2069        ("emacs-spark" ,emacs-spark)))
2070     (home-page "https://github.com/dakrone/es-mode")
2071     (synopsis "Major mode for editing Elasticsearch queries")
2072     (description "@code{es-mode} includes highlighting, completion and
2073 indentation support for Elasticsearch queries.  Also supported are
2074 @code{es-mode} blocks in @code{org-mode}, for which the results of queries can
2075 be processed through @code{jq}, or in the case of aggregations, can be
2076 rendered in to a table.  In addition, there is an @code{es-command-center}
2077 mode, which displays information about Elasticsearch clusters.")
2078     (license license:gpl3+)))
2080 (define-public emacs-expand-region
2081   (package
2082     (name "emacs-expand-region")
2083     (version "0.11.0")
2084     (source
2085      (origin
2086        (method url-fetch)
2087        (uri (string-append "https://github.com/magnars/expand-region.el"
2088                            "/archive/" version ".tar.gz"))
2089        (file-name (string-append name "-" version ".tar.gz"))
2090        (sha256
2091         (base32
2092          "08dy1f411sh9wwww53rjw80idcf3vpki6ba2arl4hl5jcw9651g0"))))
2093     (build-system emacs-build-system)
2094     (home-page "https://github.com/magnars/expand-region.el")
2095     (synopsis "Increase selected region by semantic units")
2096     (description
2097      "Expand region increases the selected region by semantic units.  Just
2098 keep pressing the key until it selects what you want.  There's also
2099 @code{er/contract-region} if you expand too far.")
2100     (license license:gpl3+)))
2102 (define-public emacs-fill-column-indicator
2103   (package
2104     (name "emacs-fill-column-indicator")
2105     (version "1.81")
2106     (source
2107      (origin
2108        (method url-fetch)
2109        (uri (string-append "https://github.com/alpaker/Fill-Column-Indicator"
2110                            "/archive/v" version ".tar.gz"))
2111        (file-name (string-append name "-" version ".tar.gz"))
2112        (sha256
2113         (base32
2114          "1xwyqbjbbicmvhlb85vg4j5snwy1vd7rfk89ws4viws5ljkhhyg8"))))
2115     (build-system emacs-build-system)
2116     (home-page "https://www.emacswiki.org/emacs/FillColumnIndicator")
2117     (synopsis "Graphically indicate the fill column")
2118     (description
2119      "Fill-column-indicator graphically indicates the location of the fill
2120 column by drawing a thin line down the length of the editing window.")
2121     (license license:gpl3+)))
2123 (define-public emacs-grep-a-lot
2124   (package
2125     (name "emacs-grep-a-lot")
2126     (version "1.0.7")
2127     (source (origin
2128               (method git-fetch)
2129               (uri (git-reference
2130                     (url "https://github.com/ZungBang/emacs-grep-a-lot.git")
2131                     (commit "9f9f645b9e308a0d887b66864ff97d0fca1ba4ad")))
2132               (file-name (string-append name "-" version "-checkout"))
2133               (sha256
2134                (base32
2135                 "1f8262mrlinzgnn4m49hbj1hm3c1mvzza24py4b37sasn49546lw"))))
2136     (build-system emacs-build-system)
2137     (home-page "https://github.com/ZungBang/emacs-grep-a-lot")
2138     (synopsis "Enables multiple grep buffers in Emacs")
2139     (description
2140      "This Emacs package allows managing multiple grep buffers.")
2141     (license license:gpl3+)))
2143 (define-public emacs-inf-ruby
2144   (package
2145     (name "emacs-inf-ruby")
2146     (version "2.5.1")
2147     (source
2148      (origin
2149        (method url-fetch)
2150        (uri (string-append "https://github.com/nonsequitur/inf-ruby/"
2151                            "archive/" version ".tar.gz"))
2152        (file-name (string-append name "-" version ".tar.gz"))
2153        (sha256
2154         (base32
2155          "0m7323k649ckxql1grsdnf71bjhys7l4qb8wbpphb1mr1q8i4066"))))
2156     (build-system emacs-build-system)
2157     (home-page "https://github.com/nonsequitur/inf-ruby")
2158     (synopsis "Provides a REPL buffer connected to a Ruby subprocess in Emacs")
2159     (description
2160      "@code{inf-ruby} provides a Read Eval Print Loop (REPL) buffer, allowing
2161 for easy interaction with a ruby subprocess.  Features include support for
2162 detecting specific uses of Ruby, e.g. when using rails, and using a
2163 appropriate console.")
2164     (license license:gpl3+)))
2166 (define-public emacs-znc
2167   (package
2168     (name "emacs-znc")
2169     (version "0.0.2")
2170     (source
2171      (origin
2172        (method url-fetch)
2173        (uri (string-append "https://marmalade-repo.org/packages/znc-"
2174                            version ".el"))
2175        (sha256
2176         (base32
2177          "1d8lqvybgyazin5z0g1c4l3rg1vzrrvf0saqs53jr1zcdg0lianh"))))
2178     (build-system emacs-build-system)
2179     (home-page "https://github.com/sshirokov/ZNC.el")
2180     (synopsis "Make ERC and ZNC get along better")
2181     (description
2182      "This is a thin wrapper around @code{erc} that enables one to use the ZNC
2183 IRC bouncer with ERC.")
2184     (license license:expat)))
2186 (define-public emacs-shut-up
2187   (package
2188     (name "emacs-shut-up")
2189     (version "0.3.2")
2190     (source
2191      (origin
2192        (method url-fetch)
2193        (uri (string-append "https://github.com/cask/shut-up/"
2194                            "archive/v" version ".tar.gz"))
2195        (file-name (string-append name "-" version ".tar.gz"))
2196        (sha256
2197         (base32
2198          "09kzrjdkb569iviyg7ydwq44yh84m3f9hkl7jizfrlk0w4gz67d1"))))
2199     (build-system emacs-build-system)
2200     (home-page "https://github.com/cask/shut-up")
2201     (synopsis "Silence Emacs")
2202     (description "This package silences most output of Emacs when running an
2203 Emacs shell script.")
2204     (license license:expat)))
2206 (define-public emacs-undercover
2207   (package
2208     (name "emacs-undercover")
2209     (version "0.6.0")
2210     (source
2211      (origin
2212        (method url-fetch)
2213        (uri (string-append "https://github.com/sviridov/undercover.el/"
2214                            "archive/v" version ".tar.gz"))
2215        (file-name (string-append name "-" version ".tar.gz"))
2216        (sha256
2217         (base32
2218          "0f48fi0xnbsqs382rgh85m9mq1wdnr0yib7as9xhwzvq0hsr5m0a"))))
2219     (build-system emacs-build-system)
2220     (propagated-inputs
2221      `(("emacs-dash" ,emacs-dash)
2222        ("emacs-shut-up" ,emacs-shut-up)))
2223     (home-page "https://github.com/sviridov/undercover.el")
2224     (synopsis "Test coverage library for Emacs Lisp")
2225     (description
2226      "Undercover is a test coverage library for software written in Emacs
2227 Lisp.")
2228     (license license:expat)))
2230 (define-public emacs-paren-face
2231   (package
2232     (name "emacs-paren-face")
2233     (version "1.0.0")
2234     (source
2235      (origin
2236        (method url-fetch)
2237        (uri (string-append "https://github.com/tarsius/paren-face/archive/"
2238                            version ".tar.gz"))
2239        (file-name (string-append name "-" version ".tar.gz"))
2240        (sha256
2241         (base32
2242          "0y4qrhxa9332vsvr999jg7qj1ymnfgwpf591yi4a4jgg90pm7qnn"))))
2243     (build-system emacs-build-system)
2244     (home-page "https://github.com/tarsius/paren-face")
2245     (synopsis "Face for parentheses in lisp modes")
2246     (description
2247      "This library defines a face named @code{parenthesis} used just for
2248 parentheses.  The intended purpose of this face is to make parentheses less
2249 visible in Lisp code by dimming them.  Lispers probably don't need to be
2250 constantly made aware of the existence of the parentheses.  Dimming them might
2251 be even more useful for people new to lisp who have not yet learned to
2252 subconsciously blend out the parentheses.")
2253     (license license:gpl3+)))
2255 (define-public emacs-page-break-lines
2256   (package
2257     (name "emacs-page-break-lines")
2258     (version "0.11")
2259     (source
2260      (origin
2261        (method url-fetch)
2262        (uri (string-append "https://github.com/purcell/page-break-lines/"
2263                            "archive/" version ".tar.gz"))
2264        (file-name (string-append name "-" version ".tar.gz"))
2265        (sha256
2266         (base32
2267          "1zzhziq5kbrm9rxk30kx2glz455fp1blqxg8cpcf6l8xl3w8z4pg"))))
2268     (build-system emacs-build-system)
2269     (home-page "https://github.com/purcell/page-break-lines")
2270     (synopsis "Display page breaks as tidy horizontal lines")
2271     (description
2272      "This library provides a global mode which displays form feed characters
2273 as horizontal rules.")
2274     (license license:gpl3+)))
2276 (define-public emacs-simple-httpd
2277   (package
2278     (name "emacs-simple-httpd")
2279     (version "1.4.6")
2280     (source
2281      (origin
2282        (method url-fetch)
2283        (uri (string-append "https://github.com/skeeto/emacs-web-server/"
2284                            "archive/" version ".tar.gz"))
2285        (file-name (string-append name "-" version ".tar.gz"))
2286        (sha256
2287         (base32
2288          "01r7h3imnj4qx1m53a2wjafvbylcyz5f9r2rg2cs7ky3chlg220r"))))
2289     (build-system emacs-build-system)
2290     (home-page "https://github.com/skeeto/emacs-http-server")
2291     (synopsis "HTTP server in pure Emacs Lisp")
2292     (description
2293      "This package provides a simple HTTP server written in Emacs Lisp to
2294 serve files and directory listings.")
2295     (license license:unlicense)))
2297 (define-public emacs-skewer-mode
2298   (package
2299     (name "emacs-skewer-mode")
2300     (version "1.6.2")
2301     (source
2302      (origin
2303        (method url-fetch)
2304        (uri (string-append "https://github.com/skeeto/skewer-mode/archive/"
2305                            version ".tar.gz"))
2306        (file-name (string-append name "-" version ".tar.gz"))
2307        (sha256
2308         (base32
2309          "07jpz374j0j964szy3zznrkyja2kpdl3xa87wh7349mzxivqxdx0"))))
2310     (build-system emacs-build-system)
2311     (propagated-inputs
2312      `(("emacs-simple-httpd" ,emacs-simple-httpd)
2313        ("emacs-js2-mode" ,emacs-js2-mode)))
2314     (arguments '(#:include '("\\.el$" "\\.js$" "\\.html$")))
2315     (home-page "https://github.com/skeeto/skewer-mode")
2316     (synopsis "Live web development in Emacs")
2317     (description
2318      "Skewer-mode provides live interaction with JavaScript, CSS, and HTML in
2319 a web browser.  Expressions are sent on-the-fly from an editing buffer to be
2320 evaluated in the browser, just like Emacs does with an inferior Lisp process
2321 in Lisp modes.")
2322     (license license:unlicense)))
2324 (define-public emacs-string-inflection
2325   (package
2326     (name "emacs-string-inflection")
2327     (version "1.0.6")
2328     (source (origin
2329               (method git-fetch)
2330               (uri (git-reference
2331                     (url "https://github.com/akicho8/string-inflection")
2332                     (commit "a150e7bdda60b7824d3a936750ce23f73b0e4edd")))
2333               (file-name (string-append name "-" version "-checkout"))
2334               (sha256
2335                (base32
2336                 "1k0sm552iawi49v4zis6dbb81d1rzgky9v0dpv7nj31gnb7bmy7k"))))
2337     (build-system emacs-build-system)
2338     (native-inputs
2339      `(("ert-runner" ,ert-runner)))
2340     (arguments
2341      `(#:tests? #t
2342        #:test-command '("ert-runner")))
2343     (home-page "https://github.com/akicho8/string-inflection")
2344     (synopsis "Convert symbol names between different naming conventions")
2345     (description
2346      "This Emacs package provides convenient methods for manipulating the
2347 naming style of a symbol.  It supports different naming conventions such as:
2349 @enumerate
2350 @item camel case
2351 @item Pascal case
2352 @item all upper case
2353 @item lower case separated by underscore
2354 @item etc...
2355 @end enumerate\n")
2356     (license license:gpl2+)))
2358 (define-public emacs-stripe-buffer
2359   (package
2360     (name "emacs-stripe-buffer")
2361     (version "0.2.5")
2362     (source
2363      (origin
2364        (method url-fetch)
2365        (uri (string-append "https://github.com/sabof/stripe-buffer/"
2366                            "archive/" version ".tar.gz"))
2367        (file-name (string-append name "-" version ".tar.gz"))
2368        (sha256
2369         (base32
2370          "1p515dq7raly5hw94kiwm3vzsfih0d8af622q4ipvvljsm98aiik"))))
2371     (build-system emacs-build-system)
2372     (home-page "https://github.com/sabof/stripe-buffer/")
2373     (synopsis "Add stripes to list buffers")
2374     (description
2375      "This Emacs package adds faces to add stripes to list buffers and org
2376 tables.")
2377     (license license:gpl2+)))
2379 (define-public emacs-rich-minority
2380   (package
2381     (name "emacs-rich-minority")
2382     (version "1.0.1")
2383     (source
2384      (origin
2385        (method url-fetch)
2386        (uri (string-append "https://github.com/Malabarba/rich-minority/"
2387                            "archive/" version ".tar.gz"))
2388        (file-name (string-append name "-" version ".tar.gz"))
2389        (sha256
2390         (base32
2391          "1l0cb0q7kyi88nwfqd542psnkgwnjklpzc5rx32gzd3lkwkrbr8v"))))
2392     (build-system emacs-build-system)
2393     (home-page "https://github.com/Malabarba/rich-minority")
2394     (synopsis "Clean-up and beautify the list of minor modes")
2395     (description
2396      "This Emacs package hides and/or highlights minor modes in the
2397 mode-line.")
2398     (license license:gpl2+)))
2400 (define-public emacs-robe
2401   (package
2402     (name "emacs-robe")
2403     (version "0.8.1")
2404     (source
2405      (origin
2406        (method url-fetch)
2407        (uri (string-append "https://github.com/dgutov/robe/"
2408                            "archive/" version ".tar.gz"))
2409        (file-name (string-append name "-" version ".tar.gz"))
2410        (sha256
2411         (base32
2412          "1vp45y99fwj88z04ah4yppz4z568qcib646az6m9az5ar0f203br"))))
2413     (build-system emacs-build-system)
2414     (arguments
2415      '(#:include (cons "^lib\\/" %default-include)))
2416     (propagated-inputs
2417      `(("emacs-inf-ruby" ,emacs-inf-ruby)))
2418     (home-page "https://github.com/dgutov/robe")
2419     (synopsis "Ruby code assistance tool for Emacs")
2420     (description
2421      "Robe can provide information on loaded classes and modules in Ruby code,
2422 as well as where methods are defined.  This allows the user to jump to method
2423 definitions, modules and classes, display method documentation and provide
2424 method and constant name completion.")
2425     (license license:gpl3+)))
2427 (define-public emacs-rspec
2428   (package
2429     (name "emacs-rspec")
2430     (version "1.11")
2431     (source
2432      (origin
2433        (method url-fetch)
2434        (uri (string-append "https://github.com/pezra/rspec-mode/"
2435                            "archive/v" version ".tar.gz"))
2436        (file-name (string-append name "-" version ".tar.gz"))
2437        (sha256
2438         (base32
2439          "1j0a7ms5516nlg60qfyn730pfxys6acm0rgyxh5xfkpi6jafgpvw"))))
2440     (build-system emacs-build-system)
2441     (home-page "https://github.com/pezra/rspec-mode")
2442     (synopsis "Provides a rspec mode for working with RSpec")
2443     (description
2444      "The Emacs RSpec mode provides keybindings for Ruby source files, e.g. to
2445 verify the spec associated with the current buffer, or entire project, as well
2446 as moving between the spec files, and coresponding code files.
2448 Also included are keybindings for spec files and Dired buffers, as well as
2449 snippets for yasnippet.")
2450     (license license:gpl3+)))
2452 (define-public emacs-smart-mode-line
2453   (package
2454     (name "emacs-smart-mode-line")
2455     (version "2.10.1")
2456     (source
2457      (origin
2458        (method url-fetch)
2459        (uri (string-append "https://github.com/Malabarba/smart-mode-line/"
2460                            "archive/" version ".tar.gz"))
2461        (file-name (string-append name "-" version ".tar.gz"))
2462        (sha256
2463         (base32
2464          "0i9wajabrrsjzwd842q0m2611kf0q31p9hg1pdj81177gynkw8l8"))))
2465     (build-system emacs-build-system)
2466     (propagated-inputs
2467      `(("emacs-rich-minority" ,emacs-rich-minority)))
2468     (home-page "https://github.com/Malabarba/smart-mode-line")
2469     (synopsis "Color-coded smart mode-line")
2470     (description
2471      "Smart Mode Line is a mode-line theme for Emacs.  It aims to be easy to
2472 read from small to large monitors by using colors, a prefix feature, and smart
2473 truncation.")
2474     (license license:gpl2+)))
2476 (define-public emacs-sr-speedbar
2477   (let ((commit "77a83fb50f763a465c021eca7343243f465b4a47")
2478         (revision "0"))
2479     (package
2480       (name "emacs-sr-speedbar")
2481       (version (git-version "20161025" revision commit))
2482       (source
2483        (origin
2484          (method git-fetch)
2485          (uri (git-reference
2486                (url "https://github.com/emacsorphanage/sr-speedbar.git")
2487                (commit commit)))
2488          (file-name (git-file-name name version))
2489          (sha256
2490           (base32
2491            "0sd12555hk7z721y00kv3crdybvcn1i08wmd148z5imayzibj153"))))
2492       (build-system emacs-build-system)
2493       (home-page "https://www.emacswiki.org/emacs/SrSpeedbar")
2494       (synopsis "Same frame Emacs @code{speedbar}")
2495       (description
2496        "This Emacs package allows you to show @code{M-x speedbar} in the
2497 same frame (in an extra window).  You can customize the initial width of
2498 the speedbar window.")
2499       (license license:gpl3+))))
2501 (define-public emacs-shell-switcher
2502   (package
2503     (name "emacs-shell-switcher")
2504     (version "1.0.1")
2505     (source
2506      (origin
2507        (method url-fetch)
2508        (uri (string-append "https://github.com/DamienCassou/shell-switcher"
2509                            "/archive/v" version ".tar.gz"))
2510        (file-name (string-append name "-" version ".tar.gz"))
2511        (sha256
2512         (base32
2513          "1c23mfkdqz2g9rixd9smm323vzlvhzz3ng34ambcqjfq309qb2nz"))))
2514     (build-system emacs-build-system)
2515     (home-page "https://github.com/DamienCassou/shell-switcher")
2516     (synopsis "Provide fast switching between shell buffers")
2517     (description
2518      "This package provides commands to quickly switch between shell buffers.")
2519     (license license:gpl3+)))
2521 (define-public emacs-ob-ipython
2522   (package
2523     (name "emacs-ob-ipython")
2524     (version "20150704.8807064693")
2525     (source (origin
2526               (method git-fetch)
2527               (uri (git-reference
2528                     (commit "880706469338ab59b5bb7dbe8460016f89755364")
2529                     (url "https://github.com/gregsexton/ob-ipython.git")))
2530               (file-name (string-append name "-" version "-checkout"))
2531               (sha256
2532                (base32
2533                 "1scf25snbds9ymagpny30ijbsg479r3nm0ih01dy4m9d0g7qryb7"))))
2534     (build-system emacs-build-system)
2535     (propagated-inputs
2536      `(("emacs-f" ,emacs-f)))
2537     (home-page "http://www.gregsexton.org")
2538     (synopsis "Org-Babel functions for IPython evaluation")
2539     (description "This package adds support to Org-Babel for evaluating Python
2540 source code using IPython.")
2541     (license license:gpl3+)))
2543 (define-public emacs-debbugs
2544   (package
2545     (name "emacs-debbugs")
2546     (version "0.15")
2547     (source (origin
2548               (method url-fetch)
2549               (uri (string-append "https://elpa.gnu.org/packages/debbugs-"
2550                                   version ".tar"))
2551               (sha256
2552                (base32
2553                 "1x7jw2ldgkknyxg7x9fhnqkary691icnysmi3xw0g2fjrvllzhqw"))))
2554     (build-system emacs-build-system)
2555     (arguments '(#:include '("\\.el$" "\\.wsdl$" "\\.info$")))
2556     (propagated-inputs
2557      `(("emacs-async" ,emacs-async)))
2558     (home-page "https://elpa.gnu.org/packages/debbugs.html")
2559     (synopsis "Access the Debbugs bug tracker in Emacs")
2560     (description
2561      "This package lets you access the @uref{http://bugs.gnu.org,GNU Bug
2562 Tracker} from within Emacs.
2564 For instance, it defines the command @code{M-x debbugs-gnu} for listing bugs,
2565 and the command @code{M-x debbugs-gnu-search} for bug searching.  If you
2566 prefer the listing of bugs as TODO items of @code{org-mode}, you could use
2567 @code{M-x debbugs-org} and related commands.
2569 A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug
2570 Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.")
2571     (license license:gpl3+)))
2573 (define-public emacs-ert-expectations
2574   (package
2575     (name "emacs-ert-expectations")
2576     (version "0.2")
2577     (source
2578      (origin
2579        (method url-fetch)
2580        (uri "https://www.emacswiki.org/emacs/download/ert-expectations.el")
2581        (sha256
2582         (base32
2583          "0cwy3ilsid90abzzjb7ha2blq9kmv3gfp3icwwfcz6qczgirq6g7"))))
2584     (build-system emacs-build-system)
2585     (home-page "https://www.emacswiki.org/emacs/ert-expectations.el")
2586     (synopsis "Simple unit test framework for Emacs Lisp")
2587     (description "@code{emacs-ert-expectations} is a simple unit test
2588 framework for Emacs Lisp to be used with @code{ert}.")
2589     (license license:gpl3+)))
2591 (define-public emacs-deferred
2592   (package
2593     (name "emacs-deferred")
2594     (version "0.5.1")
2595     (home-page "https://github.com/kiwanami/emacs-deferred")
2596     (source (origin
2597               (method git-fetch)
2598               (uri (git-reference
2599                     (url home-page)
2600                     (commit (string-append "v" version))))
2601               (sha256
2602                (base32
2603                 "0xy9zb6wwkgwhcxdnslqk52bq3z24chgk6prqi4ks0qcf2bwyh5h"))
2604               (file-name (string-append name "-" version))))
2605     (build-system emacs-build-system)
2606     (arguments
2607      `(#:phases
2608        (modify-phases %standard-phases
2609          (add-after 'unpack 'set-shell
2610            ;; Setting the SHELL environment variable is required for the tests
2611            ;; to find sh.
2612            (lambda _
2613              (setenv "SHELL" (which "sh"))
2614              #t))
2615          (add-before 'check 'fix-makefile
2616            (lambda _
2617              (substitute* "Makefile"
2618                (("\\$\\(CASK\\) exec ") ""))
2619              #t)))
2620        #:tests? #t
2621        #:test-command '("make" "test")))
2622     (native-inputs
2623      `(("emacs-ert-expectations" ,emacs-ert-expectations)
2624        ("emacs-undercover" ,emacs-undercover)
2625        ("ert-runner" ,ert-runner)))
2626     (synopsis "Simple asynchronous functions for Emacs Lisp")
2627     (description
2628      "The @code{deferred.el} library provides support for asynchronous tasks.
2629 The API is almost the same as that of
2630 @uref{https://github.com/cho45/jsdeferred, JSDeferred}, a JavaScript library
2631 for asynchronous tasks.")
2632     (license license:gpl3+)))
2634 (define-public butler
2635   (package
2636     (name "emacs-butler")
2637     (version "0.2.4")
2638     (home-page "https://github.com/AshtonKem/Butler")
2639     (source (origin
2640               (method git-fetch)
2641               (uri (git-reference
2642                     (url home-page)
2643                     (commit version)))
2644               (sha256
2645                (base32
2646                 "1pii9dw4skq7nr4na6qxqasl36av8cwjp71bf1fgppqpcd9z8skj"))
2647               (file-name (string-append name "-" version))))
2648     (build-system emacs-build-system)
2649     (propagated-inputs
2650      `(("emacs-deferred" ,emacs-deferred)))
2651     (synopsis "Emacs client for Jenkins")
2652     (description
2653      "Butler provides an interface to connect to Jenkins continuous
2654 integration servers.  Users can specify a list of server in the
2655 @code{butler-server-list} variable and then use @code{M-x butler-status} to
2656 view the build status of those servers' build jobs, and possibly to trigger
2657 build jobs.")
2658     (license license:gpl3+)))
2660 (define-public emacs-company
2661   (package
2662     (name "emacs-company")
2663     (version "0.9.6")
2664     (source
2665      (origin
2666        (method url-fetch)
2667        (uri (string-append "https://github.com/company-mode/company-mode/archive/"
2668                            version ".tar.gz"))
2669        (file-name (string-append name "-" version ".tar.gz"))
2670        (sha256
2671         (base32
2672          "0a7zvmfvxh9w67myvcj2511ayk0fvkm06cdg38y8khnsx63jrr4k"))))
2673     (build-system emacs-build-system)
2674     (arguments
2675      `(#:phases
2676        (modify-phases %standard-phases
2677          (add-before 'check 'fix-bin-dir
2678            (lambda _
2679              ;; The company-files-candidates-normal-root test looks
2680              ;; for the /bin directory, but the build environment has
2681              ;; no /bin directory. Modify the test to look for the
2682              ;; /tmp directory.
2683              (substitute* "test/files-tests.el"
2684                (("/bin/") "/tmp/"))
2685              #t)))
2686        #:tests? #t
2687        #:test-command '("make" "test-batch")))
2688     (home-page "http://company-mode.github.io/")
2689     (synopsis "Modular text completion framework")
2690     (description
2691      "Company is a modular completion mechanism.  Modules for retrieving
2692 completion candidates are called back-ends, modules for displaying them are
2693 front-ends.  Company comes with many back-ends, e.g. @code{company-elisp}.
2694 These are distributed in separate files and can be used individually.")
2695     (license license:gpl3+)))
2697 (define-public emacs-company-quickhelp
2698   (package
2699     (name "emacs-company-quickhelp")
2700     (version "2.3.0")
2701     (source
2702      (origin
2703        (method url-fetch)
2704        (uri (string-append
2705              "https://github.com/expez/company-quickhelp/archive/"
2706              version ".tar.gz"))
2707        (file-name (string-append name "-" version ".tar.gz"))
2708        (sha256
2709         (base32
2710          "0xrn2z1dgk5gmkmp2jkn9g83ckk39lqp5pyyv8rl7f6gqvib3qh0"))))
2711     (build-system emacs-build-system)
2712     (propagated-inputs
2713      `(("emacs-pos-tip" ,emacs-pos-tip)
2714        ("emacs-company" ,emacs-company)))
2715     (home-page "https://github.com/expez/company-quickhelp")
2716     (synopsis "Popup documentation for completion candidates")
2717     (description "@code{company-quickhelp} shows documentation for the
2718 completion candidate when using the Company text completion framework.")
2719     (license license:gpl3+)))
2721 (define-public emacs-multiple-cursors
2722   (package
2723     (name "emacs-multiple-cursors")
2724     (version "1.4.0")
2725     (source
2726      (origin
2727        (method url-fetch)
2728        (uri (string-append "https://github.com/magnars/multiple-cursors.el/"
2729                            "archive/" version ".tar.gz"))
2730        (file-name (string-append name "-" version ".tar.gz"))
2731        (sha256
2732         (base32
2733          "0hihihlvcvzayg5fnqzcg45fhvlmq6xlq58syy00rjwbry9w389k"))))
2734     (build-system emacs-build-system)
2735     (home-page "https://github.com/magnars/multiple-cursors.el")
2736     (synopsis "Multiple cursors for Emacs")
2737     (description
2738      "This package adds support to Emacs for editing text with multiple
2739 simultaneous cursors.")
2740     (license license:gpl3+)))
2742 (define-public typo
2743   (package
2744     (name "emacs-typo")
2745     (version "1.1")
2746     (home-page "https://github.com/jorgenschaefer/typoel")
2747     (source (origin
2748               (method git-fetch)
2749               (uri (git-reference
2750                     (url home-page)
2751                     (commit (string-append "v" version))))
2752               (sha256
2753                (base32
2754                 "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2"))
2755               (file-name (string-append name "-" version))))
2756     (build-system emacs-build-system)
2757     (synopsis "Minor mode for typographic editing")
2758     (description
2759      "This package provides two Emacs modes, @code{typo-mode} and
2760 @code{typo-global-mode}.  These modes automatically insert Unicode characters
2761 for quotation marks, dashes, and ellipses.  For example, typing @kbd{\"}
2762 automatically inserts a Unicode opening or closing quotation mark, depending
2763 on context.")
2764     (license license:gpl3+)))
2766 (define-public emacs-scheme-complete
2767   (let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5"))
2768     (package
2769       (name "emacs-scheme-complete")
2770       (version (string-append "20151223." (string-take commit 8)))
2771       (source
2772        (origin
2773          (file-name (string-append name "-" version))
2774          (method git-fetch)
2775          (uri (git-reference
2776                (url "https://github.com/ashinn/scheme-complete.git")
2777                (commit commit)))
2778          (sha256
2779           (base32
2780            "141wn9l0m33w0g3dqmx8nxbfdny1r5xbr6ak61rsz21bk0qafs7x"))
2781          (patches
2782           (search-patches "emacs-scheme-complete-scheme-r5rs-info.patch"))))
2783       (build-system emacs-build-system)
2784       (home-page "https://github.com/ashinn/scheme-complete")
2785       (synopsis "Smart tab completion for Scheme in Emacs")
2786       (description
2787        "This file provides a single function, @code{scheme-smart-complete},
2788 which you can use for intelligent, context-sensitive completion for any Scheme
2789 implementation in Emacs.  To use it just load this file and bind that function
2790 to a key in your preferred mode.")
2791       (license license:public-domain))))
2793 (define-public emacs-scel
2794   (let ((version "20170629")
2795         (revision "1")
2796         (commit "aeea3ad4be9306d14c3a734a4ff54fee10ac135b"))
2797     (package
2798       (name "emacs-scel")
2799       (version (git-version version revision commit))
2800       (source
2801        (origin
2802          (method git-fetch)
2803          (uri (git-reference
2804                (url "https://github.com/supercollider/scel.git")
2805                (commit commit)))
2806          (file-name (string-append name "-" version "-checkout"))
2807          (sha256
2808           (base32
2809            "0jvmzs1lsjyndqshhii2y4mnr3wghai26i3p75453zrpxpg0zvvw"))))
2810       (build-system emacs-build-system)
2811       (arguments
2812        `(#:modules ((guix build emacs-build-system)
2813                     ((guix build cmake-build-system) #:prefix cmake:)
2814                     (guix build utils))
2815          #:imported-modules (,@%emacs-build-system-modules
2816                              (guix build cmake-build-system))
2817          #:phases
2818          (modify-phases %standard-phases
2819            (add-after 'unpack 'configure
2820              (lambda* (#:key outputs #:allow-other-keys)
2821                (substitute* "el/CMakeLists.txt"
2822                  (("share/emacs/site-lisp/SuperCollider")
2823                   (string-append
2824                    "share/emacs/site-lisp/guix.d/scel-" ,version)))
2825                ((assoc-ref cmake:%standard-phases 'configure)
2826                 #:outputs outputs
2827                 #:configure-flags '("-DSC_EL_BYTECOMPILE=OFF"))))
2828            (add-after 'set-emacs-load-path 'add-el-dir-to-emacs-load-path
2829              (lambda _
2830                (setenv "EMACSLOADPATH"
2831                        (string-append (getcwd) "/el:" (getenv "EMACSLOADPATH")))
2832                #t))
2833            (replace 'install (assoc-ref cmake:%standard-phases 'install)))))
2834       (inputs
2835        `(("supercollider" ,supercollider)))
2836       (native-inputs
2837        `(("cmake" ,cmake)))
2838       (home-page "https://github.com/supercollider/scel")
2839       (synopsis "SuperCollider Emacs interface")
2840       (description "@code{emacs-scel} is an Emacs interface to SuperCollider.
2841 SuperCollider is a platform for audio synthesis and algorithmic composition.")
2842       (license license:gpl2+))))
2844 (define-public emacs-mit-scheme-doc
2845   (package
2846     (name "emacs-mit-scheme-doc")
2847     (version "20140203")
2848     (source
2849      (origin
2850        (modules '((guix build utils)))
2851        (snippet
2852         ;; keep only file of interest
2853         '(begin
2854            (for-each delete-file '("dot-emacs.el" "Makefile"))
2855            (install-file "6.945-config/mit-scheme-doc.el" ".")
2856            (delete-file-recursively "6.945-config")
2857            #t))
2858        (file-name (string-append name "-" version ".tar.bz2"))
2859        (method url-fetch)
2860        (uri (string-append "http://groups.csail.mit.edu/mac/users/gjs/"
2861                            "6.945/dont-panic/emacs-basic-config.tar.bz2"))
2862        (sha256
2863         (base32
2864          "0dqidg2bd66pawqfarvwca93w5gqf9mikn1k2a2rmd9ymfjpziq1"))))
2865     (build-system emacs-build-system)
2866     (inputs `(("mit-scheme" ,mit-scheme)))
2867     (arguments
2868      `(#:phases
2869        (modify-phases %standard-phases
2870          (add-after 'unpack 'configure-doc
2871            (lambda* (#:key inputs #:allow-other-keys)
2872              (let* ((mit-scheme-dir (assoc-ref inputs "mit-scheme"))
2873                     (doc-dir (string-append mit-scheme-dir "/share/doc/"
2874                                             "mit-scheme-"
2875                                             ,(package-version mit-scheme))))
2876                (substitute* "mit-scheme-doc.el"
2877                  (("http://www\\.gnu\\.org/software/mit-scheme/documentation/mit-scheme-ref/")
2878                   (string-append "file:" doc-dir "/mit-scheme-ref/")))))))))
2879     (home-page "http://groups.csail.mit.edu/mac/users/gjs/6.945/dont-panic/")
2880     (synopsis "MIT-Scheme documentation lookup for Emacs")
2881     (description
2882      "This package provides a set of Emacs functions to search definitions of
2883 identifiers in the MIT-Scheme documentation.")
2884     (license license:gpl2+)))
2886 (define-public emacs-constants
2887   (package
2888     (name "emacs-constants")
2889     (version "2.6")
2890     (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
2891     (source
2892      (origin
2893        (file-name (string-append name "-" version ".tar.gz"))
2894        (method url-fetch)
2895        (uri (string-append "https://github.com/fedeinthemix/emacs-constants"
2896                            "/archive/v" version ".tar.gz"))
2897        (sha256
2898         (base32
2899          "0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n"))))
2900     (build-system emacs-build-system)
2901     (synopsis "Enter definition of constants into an Emacs buffer")
2902     (description
2903      "This package provides functions for inserting the definition of natural
2904 constants and units into an Emacs buffer.")
2905     (license license:gpl2+)))
2907 (define-public emacs-tagedit
2908   (package
2909     (name "emacs-tagedit")
2910     (version "1.4.0")
2911     (source
2912      (origin
2913        (method url-fetch)
2914        (uri (string-append "https://github.com/magnars/tagedit/"
2915                            "archive/" version ".tar.gz"))
2916        (file-name (string-append name "-" version ".tar.gz"))
2917        (sha256
2918         (base32
2919          "1apfnann4qklfdsmdi7icjsj18x7gwx8d83iqr4z25clszz95xfq"))))
2920     (build-system emacs-build-system)
2921     (propagated-inputs
2922      `(("emacs-s" ,emacs-s)
2923        ("emacs-dash" ,emacs-dash)))
2924     (home-page "https://github.com/magnars/tagedit")
2925     (synopsis "Some paredit-like features for html-mode")
2926     (description
2927      "This package provides a collection of paredit-like functions for editing
2928 in @code{html-mode}.")
2929     (license license:gpl3+)))
2931 (define-public emacs-slime
2932   (package
2933     (name "emacs-slime")
2934     (version "2.20")
2935     (source
2936      (origin
2937        (file-name (string-append name "-" version ".tar.gz"))
2938        (method url-fetch)
2939        (uri (string-append
2940              "https://github.com/slime/slime/archive/v"
2941              version ".tar.gz"))
2942        (sha256
2943         (base32
2944          "086lq5y4pvj9wihy0si02xxvyzpzz8mcg3hz1cvy9zxlyjwzr1gk"))))
2945     (build-system emacs-build-system)
2946     (native-inputs
2947      `(("texinfo" ,texinfo)))
2948     (arguments
2949      `(#:include '("\\.el$" "\\.lisp$" "\\.asd$" "contrib")
2950        #:exclude '("^slime-tests.el" "^contrib/test/"
2951                    "^contrib/Makefile$" "^contrib/README.md$")
2952        #:phases
2953        (modify-phases %standard-phases
2954          (add-before 'install 'configure
2955            (lambda* _
2956              (emacs-substitute-variables "slime.el"
2957                ("inferior-lisp-program" "sbcl"))
2958              #t))
2959          (add-before 'install 'install-doc
2960            (lambda* (#:key outputs #:allow-other-keys)
2961              (let* ((out (assoc-ref outputs "out"))
2962                     (info-dir (string-append out "/share/info"))
2963                     (doc-dir (string-append out "/share/doc/"
2964                                             ,name "-" ,version))
2965                     (doc-files '("doc/slime-refcard.pdf"
2966                                  "README.md" "NEWS" "PROBLEMS"
2967                                  "CONTRIBUTING.md")))
2968                (with-directory-excursion "doc"
2969                  (substitute* "Makefile"
2970                    (("infodir=/usr/local/info")
2971                     (string-append "infodir=" info-dir)))
2972                  (invoke "make" "html/index.html")
2973                  (invoke "make" "slime.info")
2974                  (install-file "slime.info" info-dir)
2975                  (copy-recursively "html" (string-append doc-dir "/html")))
2976                (for-each (lambda (f)
2977                            (install-file f doc-dir)
2978                            (delete-file f))
2979                          doc-files)
2980                (delete-file-recursively "doc")
2981                #t))))))
2982     (home-page "https://github.com/slime/slime")
2983     (synopsis "Superior Lisp Interaction Mode for Emacs")
2984     (description
2985      "SLIME extends Emacs with support for interactive programming in
2986 Common Lisp.  The features are centered around @command{slime-mode},
2987 an Emacs minor mode that complements the standard @command{lisp-mode}.
2988 While lisp-mode supports editing Lisp source files, @command{slime-mode}
2989 adds support for interacting with a running Common Lisp process
2990 for compilation, debugging, documentation lookup, and so on.")
2991     (license license:gpl2+)))
2993 (define-public emacs-popup
2994   (package
2995     (name "emacs-popup")
2996     (version "0.5.3")
2997     (source (origin
2998               (method url-fetch)
2999               (uri (string-append
3000                     "https://github.com/auto-complete/popup-el/archive/v"
3001                     version ".tar.gz"))
3002               (file-name (string-append name "-" version ".tar.gz"))
3003               (sha256
3004                (base32
3005                 "1yrgfj8y69xmcb6kwgplhq68ndm9410qwh7sd2knnd1gchpphdc0"))))
3006     (build-system emacs-build-system)
3007     (home-page "https://github.com/auto-complete/popup-el")
3008     (synopsis "Visual Popup User Interface for Emacs")
3009     (description
3010      "Popup.el is a visual popup user interface library for Emacs.
3011 This provides a basic API and common UI widgets such as popup tooltips
3012 and popup menus.")
3013     (license license:gpl3+)))
3015 (define-public emacs-puppet-mode
3016   (let ((commit "b3ed5057166a4f49dfa9be638523a348b55a2fd2")
3017         (revision "1"))
3018     (package
3019       (name "emacs-puppet-mode")
3020       ;; The last release, 0.3 was several years ago, and there have been many
3021       ;; commits since
3022       (version (git-version "0.3" revision commit))
3023       (source
3024        (origin
3025          (method url-fetch)
3026          (uri (string-append
3027                "https://raw.githubusercontent.com/voxpupuli/puppet-mode/"
3028                commit "/puppet-mode.el"))
3029          (sha256
3030           (base32
3031            "1indycxawsl0p2aqqg754f6735q3cmah9vd886rpn0ncc3ipi1xm"))))
3032       (build-system emacs-build-system)
3033       (home-page "https://github.com/voxpupuli/puppet-mode")
3034       (synopsis "Emacs major mode for the Puppet configuration language")
3035       (description
3036        "This package provides support for the Puppet configuration language,
3037 including syntax highlighting, indentation of expressions and statements,
3038 linting of manifests and integration with Puppet Debugger.")
3039       ;; Also incorporates work covered by the Apache License, Version 2.0
3040       (license license:gpl3+))))
3042 (define-public emacs-god-mode
3043   (let ((commit "6cf0807b6555eb6fcf8387a4e3b667071ef38964")
3044         (revision "1"))
3045     (package
3046       (name "emacs-god-mode")
3047       (version (string-append "20151005.925."
3048                               revision "-" (string-take commit 9)))
3049       (source
3050        (origin
3051          (method git-fetch)
3052          (uri (git-reference
3053                (url "https://github.com/chrisdone/god-mode.git")
3054                (commit commit)))
3055          (file-name (string-append name "-" version "-checkout"))
3056          (sha256
3057           (base32
3058            "1am415k4xxcva6y3vbvyvknzc6bma49pq3p85zmpjsdmsp18qdix"))))
3059       (build-system emacs-build-system)
3060       (home-page "https://github.com/chrisdone/god-mode")
3061       (synopsis "Minor mode for entering commands without modifier keys")
3062       (description
3063        "This package provides a global minor mode for entering Emacs commands
3064 without modifier keys.  It's similar to Vim's separation of commands and
3065 insertion mode.  When enabled all keys are implicitly prefixed with
3066 @samp{C-} (among other helpful shortcuts).")
3067       (license license:gpl3+))))
3069 (define-public emacs-jinja2-mode
3070   (package
3071     (name "emacs-jinja2-mode")
3072     (version "0.2")
3073     (source
3074      (origin
3075        (method url-fetch)
3076        (uri (string-append "https://github.com/paradoxxxzero/jinja2-mode/"
3077                            "archive/v" version ".tar.gz"))
3078        (file-name (string-append name "-" version ".tar.gz"))
3079        (sha256
3080         (base32
3081          "0cgxjab1kla2zc2fj7bzib6i7snp08zshandmp9kqcm85l262xpn"))))
3082     (build-system emacs-build-system)
3083     (home-page "https://github.com/paradoxxxzero/jinja2-mode")
3084     (synopsis "Major mode for jinja2")
3085     (description
3086      "Emacs major mode for jinja2 with: syntax highlighting,
3087 sgml/html integration, and indentation (working with sgml).")
3088     (license license:gpl3+)))
3090 (define-public emacs-rfcview
3091   (package
3092     (name "emacs-rfcview")
3093     (version "0.13")
3094     (home-page "http://www.loveshack.ukfsn.org/emacs")
3095     (source (origin
3096               (method url-fetch)
3097               (uri "http://www.loveshack.ukfsn.org/emacs/rfcview.el")
3098               (sha256
3099                (base32
3100                 "0ympj5rxig383zl2jf0pzdsa80nnq0dpvjiriq0ivfi98fj7kxbz"))))
3101     (build-system emacs-build-system)
3102     (synopsis "Prettify Request for Comments (RFC) documents")
3103     (description "The Internet Engineering Task Force (IETF) and the Internet
3104 Society (ISOC) publish various Internet-related protocols and specifications
3105 as \"Request for Comments\" (RFC) documents and Internet Standard (STD)
3106 documents.  RFCs and STDs are published in a simple text form.  This package
3107 provides an Emacs major mode, rfcview-mode, which makes it more pleasant to
3108 read these documents in Emacs.  It prettifies the text and adds
3109 hyperlinks/menus for easier navigation.  It also provides functions for
3110 browsing the index of RFC documents and fetching them from remote servers or
3111 local directories.")
3112     (license license:gpl3+)))
3114 (define-public emacs-ffap-rfc-space
3115   (package
3116     (name "emacs-ffap-rfc-space")
3117     (version "12")
3118     (home-page "http://user42.tuxfamily.org/ffap-rfc-space/index.html")
3119     (source (origin
3120               (method url-fetch)
3121               (uri "http://download.tuxfamily.org/user42/ffap-rfc-space.el")
3122               (sha256
3123                (base32
3124                 "1iv61dv57a73mdps7rn6zmgz7nqh14v0ninidyrasy45b1nv6gck"))))
3125     (build-system emacs-build-system)
3126     (synopsis "Make ffap recognize an RFC with a space before its number")
3127     (description "The Internet Engineering Task Force (IETF) and the
3128 Internet Society (ISOC) publish various Internet-related protocols and
3129 specifications as \"Request for Comments\" (RFC) documents.  The
3130 built-in Emacs module \"ffap\" (Find File at Point) has the ability to
3131 recognize names at point which look like \"RFC1234\" and \"RFC-1234\"
3132 and load the appropriate RFC from a remote server.  However, it fails
3133 to recognize a name like \"RFC 1234\".  This package enhances ffap so
3134 that it correctly finds RFCs even when a space appears before the
3135 number.")
3136     (license license:gpl3+)))
3138 (define-public emacs-org-bullets
3139   (package
3140     (name "emacs-org-bullets")
3141     (version "0.2.4")
3142     (source
3143      (origin
3144        (method url-fetch)
3145        (uri (string-append "https://github.com/sabof/org-bullets/archive/"
3146                            version ".tar.gz"))
3147        (file-name (string-append name "-" version ".tar.gz"))
3148        (sha256
3149         (base32
3150          "1dyxvpb73vj80v8br2q9rf255hfphrgaw91fbvwdcd735np9pcnh"))))
3151     (build-system emacs-build-system)
3152     (home-page "https://github.com/sabof/org-bullets")
3153     (synopsis "Show bullets in org-mode as UTF-8 characters")
3154     (description
3155      "This package provides an Emacs minor mode causing bullets in
3156 @code{org-mode} to be rendered as UTF-8 characters.")
3157     (license license:gpl3+)))
3159 (define-public emacs-org-pomodoro
3160   (package
3161     (name "emacs-org-pomodoro")
3162     (version "2.1.0")
3163     (source
3164      (origin
3165        (method url-fetch)
3166        (uri (string-append
3167              "https://github.com/lolownia/org-pomodoro/archive/"
3168              version ".tar.gz"))
3169        (file-name (string-append name "-" version ".tar.gz"))
3170        (sha256
3171         (base32
3172          "1jalsggw3q5kvj353f84x4nl04a5vmq07h75ggppy1627lb31zm4"))))
3173     (build-system emacs-build-system)
3174     (propagated-inputs
3175      `(("emacs-alert" ,emacs-alert)))
3176     (home-page "https://github.com/lolownia/org-pomodoro")
3177     (synopsis "Pomodoro technique for org-mode")
3178     (description "@code{emacs-org-pomodoro} adds very basic support for
3179 Pomodoro technique in Emacs org-mode.
3181 Run @code{M-x org-pomodoro} for the task at point or select one of the
3182 last tasks that you clocked time for.  Each clocked-in pomodoro starts
3183 a timer of 25 minutes and after each pomodoro a break timer of 5
3184 minutes is started automatically.  Every 4 breaks a long break is
3185 started with 20 minutes.  All values are customizable.")
3186     (license license:gpl3+)))
3188 (define-public emacs-org-trello
3189   (package
3190     (name "emacs-org-trello")
3191     (version "0.8.0")
3192     (source (origin
3193               (method url-fetch)
3194               (uri (string-append
3195                     "https://github.com/org-trello/org-trello/archive/"
3196                     version ".tar.gz"))
3197               (file-name (string-append name "-" version ".tar.gz"))
3198               (sha256
3199                (base32
3200                 "0549mnf5cgwn8b8jbl38fljbaxmh1605sv9j8f3lsa95jhs1zpa0"))))
3201     (build-system emacs-build-system)
3202     (propagated-inputs
3203      `(("emacs-dash" ,emacs-dash)
3204        ("emacs-deferred" ,emacs-deferred)
3205        ("emacs-f" ,emacs-f)
3206        ("emacs-helm" ,emacs-helm)
3207        ("emacs-request" ,emacs-request)
3208        ("emacs-s" ,emacs-s)))
3209     (home-page "https://org-trello.github.io")
3210     (synopsis "Emacs minor mode for interacting with Trello")
3211     (description "This package provides an Emacs minor mode to extend
3212 @code{org-mode} with Trello abilities.  Trello is an online project
3213 organizer.")
3214     (license license:gpl3+)))
3216 (define-public emacs-zenburn-theme
3217   (package
3218     (name "emacs-zenburn-theme")
3219     (version "2.5")
3220     (source (origin
3221               (method url-fetch)
3222               (uri (string-append
3223                     "https://github.com/bbatsov/zenburn-emacs/archive/v"
3224                     version ".tar.gz"))
3225               (file-name (string-append name "-" version ".tar.gz"))
3226               (sha256
3227                (base32
3228                 "03kfhzgbbbl8ivpzzky6qxw4j9mmp452m1sk7wikxmcalfnix0gn"))))
3229     (build-system emacs-build-system)
3230     (home-page "https://github.com/bbatsov/zenburn-emacs")
3231     (synopsis "Low contrast color theme for Emacs")
3232     (description
3233      "Zenburn theme is a port of the popular Vim Zenburn theme for Emacs.
3234 It is built on top of the custom theme support in Emacs 24 or later.")
3235     (license license:gpl3+)))
3237 (define-public emacs-solarized-theme
3238   (package
3239     (name "emacs-solarized-theme")
3240     (version "1.2.2")
3241     (source (origin
3242               (method url-fetch)
3243               (uri (string-append "https://github.com/bbatsov/solarized-emacs/"
3244                                   "archive/v"  version ".tar.gz"))
3245               (file-name (string-append name "-" version ".tar.gz"))
3246               (sha256
3247                (base32
3248                 "1ha3slc6d9wi9ilkhmwrzkvf308n6ph7b0k69pk369s9304awxzx"))))
3249     (build-system emacs-build-system)
3250     (propagated-inputs
3251      `(("emacs-dash" ,emacs-dash)))
3252     (home-page "https://github.com/bbatsov/solarized-emacs")
3253     (synopsis "Port of the Solarized theme for Emacs")
3254     (description
3255      "Solarized for Emacs is a port of the Solarized theme for Vim.  This
3256 package provides a light and a dark variant.")
3257     (license license:gpl3+)))
3259 (define-public emacs-ahungry-theme
3260   (package
3261     (name "emacs-ahungry-theme")
3262     (version "1.10.0")
3263     (source
3264      (origin (method url-fetch)
3265              (uri (string-append "https://elpa.gnu.org/packages/ahungry-theme-"
3266                                  version ".tar"))
3267              (sha256
3268               (base32
3269                "14q5yw56n82qph09bk7wmj5b1snhh9w0nk5s1l7yn9ldg71xq6pm"))))
3270     (build-system emacs-build-system)
3271     (home-page "https://github.com/ahungry/color-theme-ahungry")
3272     (synopsis "Ahungry color theme for Emacs")
3273     (description "Ahungry theme for Emacs provides bright and bold colors.
3274 If you load it from a terminal, you will be able to make use of the
3275 transparent background.  If you load it from a GUI, it will default to a
3276 dark background.")
3277     (license license:gpl3+)))
3279 (define-public emacs-2048-game
3280   (package
3281     (name "emacs-2048-game")
3282     (version "20151026.1233")
3283     (source
3284      (origin
3285        (method url-fetch)
3286        (uri (string-append "https://melpa.org/packages/2048-game-"
3287                            version ".el"))
3288        (sha256
3289         (base32
3290          "0gy2pvz79whpavp4jmz8h9krzn7brmvv3diixi1d4w51pcdvaldd"))))
3291     (build-system emacs-build-system)
3292     (home-page "https://bitbucket.org/zck/2048.el")
3293     (synopsis "Implementation of the game 2048 in Emacs Lisp")
3294     (description
3295      "This program is an implementation of 2048 for Emacs.
3296 The goal of this game is to create a tile with value 2048.  The size of the
3297 board and goal value can be customized.")
3298   (license license:gpl3+)))
3300 (define-public emacs-base16-theme
3301   (package
3302     (name "emacs-base16-theme")
3303     (version "2.1")
3304     (source
3305      (origin
3306        (method url-fetch)
3307        (uri (string-append "https://stable.melpa.org/packages/base16-theme-"
3308                            version ".tar"))
3309        (sha256
3310         (base32
3311          "0z6hrwz2jlz6jbr381rcqcqvx6hss5cad352klx07rark7zccacj"))))
3312     (build-system emacs-build-system)
3313     (home-page "https://github.com/belak/base16-emacs")
3314     (synopsis "Base16 color themes for Emacs")
3315     (description
3316      "Base16 provides carefully chosen syntax highlighting and a default set
3317 of sixteen colors suitable for a wide range of applications.  Base16 is not a
3318 single theme but a set of guidelines with numerous implementations.")
3319     (license license:expat)))
3321 (define-public emacs-smartparens
3322   (package
3323     (name "emacs-smartparens")
3324     (version "1.11.0")
3325     (source (origin
3326               (method url-fetch)
3327               (uri (string-append
3328                     "https://github.com/Fuco1/smartparens/archive/"
3329                     version ".tar.gz"))
3330               (file-name (string-append name "-" version ".tar.gz"))
3331               (sha256
3332                (base32
3333                 "0q5as813xs8y29i3v2rm97phd6m7xsmmw6hwbvx57gwmi8i1c409"))))
3334     (build-system emacs-build-system)
3335     (propagated-inputs
3336      `(("emacs-dash" ,emacs-dash)
3337        ("emacs-markdown-mode" ,emacs-markdown-mode)))
3338     (home-page "https://github.com/Fuco1/smartparens")
3339     (synopsis "Paredit-like insertion, wrapping and navigation with user
3340 defined pairs")
3341     (description
3342      "Smartparens is a minor mode for Emacs that deals with parens pairs
3343 and tries to be smart about it.  It started as a unification effort to
3344 combine functionality of several existing packages in a single,
3345 compatible and extensible way to deal with parentheses, delimiters, tags
3346 and the like.  Some of these packages include autopair, textmate,
3347 wrap-region, electric-pair-mode, paredit and others.  With the basic
3348 features found in other packages it also brings many improvements as
3349 well as completely new features.")
3350     (license license:gpl3+)))
3352 (define-public emacs-highlight-symbol
3353   (package
3354     (name "emacs-highlight-symbol")
3355     (version "1.3")
3356     (source (origin
3357               (method url-fetch)
3358               (uri (string-append
3359                     "https://github.com/nschum/highlight-symbol.el/archive/"
3360                     version ".tar.gz"))
3361               (file-name (string-append name "-" version ".tar.gz"))
3362               (sha256
3363                (base32
3364                 "1n7k1qns0fn0jsyc0hrjac5nzk21xw48yc30vyrhwvc51h0b9g90"))))
3365     (build-system emacs-build-system)
3366     (home-page "https://nschum.de/src/emacs/highlight-symbol")
3367     (synopsis "Automatic and manual symbol highlighting for Emacs")
3368     (description
3369      "Use @code{highlight-symbol} to toggle highlighting of the symbol at
3370 point throughout the current buffer.  Use @code{highlight-symbol-mode} to keep
3371 the symbol at point highlighted.
3373 The functions @code{highlight-symbol-next}, @code{highlight-symbol-prev},
3374 @code{highlight-symbol-next-in-defun} and
3375 @code{highlight-symbol-prev-in-defun} allow for cycling through the locations
3376 of any symbol at point.  Use @code{highlight-symbol-nav-mode} to enable key
3377 bindings @code{M-p} and @code{M-p} for navigation.  When
3378 @code{highlight-symbol-on-navigation-p} is set, highlighting is triggered
3379 regardless of @code{highlight-symbol-idle-delay}.
3381 @code{highlight-symbol-query-replace} can be used to replace the symbol. ")
3382     (license license:gpl2+)))
3384 (define-public emacs-hl-todo
3385   (package
3386     (name "emacs-hl-todo")
3387     (version "1.8.0")
3388     (source (origin
3389               (method url-fetch)
3390               (uri (string-append
3391                     "https://raw.githubusercontent.com/tarsius/hl-todo/"
3392                     version "/hl-todo.el"))
3393               (file-name (string-append "hl-todo-" version ".el"))
3394               (sha256
3395                (base32
3396                 "0g0h9v4572p7mcird8wsj1c41haf60krslm6mlpi4mdbh248kv6z"))))
3397     (build-system emacs-build-system)
3398     (home-page "https://github.com/tarsius/hl-todo")
3399     (synopsis "Emacs mode to highlight TODO and similar keywords")
3400     (description
3401      "This package provides an Emacs mode to highlight TODO and similar
3402 keywords in comments and strings.  This package also provides commands for
3403 moving to the next or previous keyword and to invoke @code{occur} with a
3404 regexp that matches all known keywords.")
3405     (license license:gpl3+)))
3407 (define-public emacs-perspective
3408   (package
3409     (name "emacs-perspective")
3410     (version "1.12")
3411     (source
3412      (origin
3413        (method url-fetch)
3414        (uri (string-append "https://github.com/nex3/perspective-el/"
3415                            "archive/" version ".tar.gz"))
3416        (file-name (string-append name "-" version ".tar.gz"))
3417        (sha256
3418         (base32
3419          "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic"))))
3420     (build-system emacs-build-system)
3421     (home-page "https://github.com/nex3/perspective-el")
3422     (synopsis "Switch between named \"perspectives\"")
3423     (description
3424      "This package provides tagged workspaces in Emacs, similar to workspaces in
3425 windows managers such as Awesome and XMonad.  @code{perspective.el} provides
3426 multiple workspaces (or \"perspectives\") for each Emacs frame.  Each
3427 perspective is composed of a window configuration and a set of buffers.
3428 Switching to a perspective activates its window configuration, and when in a
3429 perspective only its buffers are available by default.")
3430     ;; This package is released under the same license as Emacs (GPLv3+) or
3431     ;; the Expat license.
3432     (license license:gpl3+)))
3434 (define-public emacs-test-simple
3435   (package
3436     (name "emacs-test-simple")
3437     (version "1.3.0")
3438     (source
3439      (origin
3440        (method url-fetch)
3441        (uri (string-append "https://elpa.gnu.org/packages/test-simple-"
3442                            version ".el"))
3443        (sha256
3444         (base32
3445          "1yd61jc9ds95a5n09052kwc5gasy57g4lxr0jsff040brlyi9czz"))))
3446     (build-system emacs-build-system)
3447     (home-page "https://github.com/rocky/emacs-test-simple")
3448     (synopsis "Simple unit test framework for Emacs Lisp")
3449     (description
3450      "Test Simple is a simple unit test framework for Emacs Lisp.  It
3451 alleviates the need for context macros, enclosing specifications or required
3452 test tags.  It supports both interactive and non-interactive use.")
3453     (license license:gpl3+)))
3455 (define-public emacs-load-relative
3456   (package
3457     (name "emacs-load-relative")
3458     (version "1.3")
3459     (source
3460      (origin
3461        (method url-fetch)
3462        (uri (string-append "https://elpa.gnu.org/packages/load-relative-"
3463                            version ".el"))
3464        (sha256
3465         (base32
3466          "1hfxb2436jdsi9wfmsv47lkkpa5galjf5q81bqabbsv79rv59dps"))))
3467     (build-system emacs-build-system)
3468     (home-page "http://github.com/rocky/emacs-load-relative")
3469     (synopsis "Emacs Lisp relative file loading related functions")
3470     (description
3471      "Provides functions which facilitate writing multi-file Emacs packages
3472 and running from the source tree without having to \"install\" code or fiddle
3473 with @{load-path}.
3475 The main function, @code{load-relative}, loads an Emacs Lisp file relative to
3476 another (presumably currently running) Emacs Lisp file.")
3477     (license license:gpl3+)))
3479 (define-public emacs-loc-changes
3480   (package
3481     (name "emacs-loc-changes")
3482     (version "1.2")
3483     (source
3484      (origin
3485        (method url-fetch)
3486        (uri (string-append "https://elpa.gnu.org/packages/loc-changes-"
3487                            version ".el"))
3488        (sha256
3489         (base32
3490          "1x8fn8vqasayf1rb8a6nma9n6nbvkx60krmiahyb05vl5rrsw6r3"))))
3491     (build-system emacs-build-system)
3492     (home-page "https://github.com/rocky/emacs-loc-changes")
3493     (synopsis "Keeps track of positions even after buffer changes")
3494     (description
3495      "This Emacs package provides a mean to track important buffer positions
3496 after buffer changes.")
3497     (license license:gpl3+)))
3499 (define-public emacs-realgud
3500   (package
3501     (name "emacs-realgud")
3502     (version "1.4.5")
3503     (source
3504      (origin
3505        (method url-fetch)
3506        (uri (string-append "https://elpa.gnu.org/packages/realgud-"
3507                            version ".tar"))
3508        (sha256
3509         (base32
3510          "108wgxg7fb4byaiasgvbxv2hq7b00biq9f0mh9hy6vw4160y5w24"))))
3511     (build-system emacs-build-system)
3512     (arguments
3513      `(#:tests? #t
3514        #:phases
3515        (modify-phases %standard-phases
3516          (add-after 'set-emacs-load-path 'fix-autogen-script
3517            (lambda _
3518              (substitute* "autogen.sh"
3519                (("./configure") "sh configure"))))
3520          (add-after 'fix-autogen-script 'autogen
3521            (lambda _
3522              (setenv "CONFIG_SHELL" "sh")
3523              (invoke "sh" "autogen.sh")))
3524          (add-after 'fix-autogen-script 'set-home
3525            (lambda _
3526              (setenv "HOME" (getenv "TMPDIR"))))
3527          (add-before 'patch-el-files 'remove-realgud-pkg.el
3528            (lambda _
3529              ;; XXX: This file is auto-generated at some point and causes
3530              ;; substitute* to crash during the `patch-el-files' phase with:
3531              ;; ERROR: In procedure stat: No such file or directory:
3532              ;; "./realgud-pkg.el"
3533              (delete-file "./realgud-pkg.el")
3534              ;; FIXME: `patch-el-files' crashes on this file with error:
3535              ;; unable to locate "bashdb".
3536              (delete-file "./test/test-regexp-bashdb.el"))))
3537        #:include (cons* ".*\\.el$" %default-include)))
3538     (native-inputs
3539      `(("autoconf" ,autoconf)
3540        ("automake" ,automake)
3541        ("emacs-test-simple" ,emacs-test-simple)))
3542     (propagated-inputs
3543      `(("emacs-load-relative" ,emacs-load-relative)
3544        ("emacs-loc-changes" ,emacs-loc-changes)))
3545     (home-page "https://github.com/realgud/realgud/")
3546     (synopsis
3547      "Modular front-end for interacting with external debuggers")
3548     (description
3549      "RealGUD is a modular, extensible GNU Emacs front-end for interacting
3550 with external debuggers.  It integrates various debuggers such as gdb, pdb,
3551 ipdb, jdb, lldb, bashdb, zshdb, etc. and allows to visually step code in the
3552 sources.  Unlike GUD, it also supports running multiple debug sessions in
3553 parallel.")
3554     (license license:gpl3+)))
3556 (define-public emacs-request
3557   (package
3558     (name "emacs-request")
3559     (version "0.3.0")
3560     (source (origin
3561               (method git-fetch)
3562               (uri (git-reference
3563                     (url "https://github.com/tkf/emacs-request.git")
3564                     (commit (string-append "v" version))))
3565               (file-name (string-append name "-" version "-checkout"))
3566               (sha256
3567                (base32
3568                 "0wyxqbb35yqf6ci47531lk32d6fppamx9d8826kdz983vm87him7"))))
3569     (build-system emacs-build-system)
3570     (propagated-inputs
3571      `(("emacs-deferred" ,emacs-deferred)))
3572     (home-page "https://github.com/tkf/emacs-request")
3573     (synopsis "Package for speaking HTTP in Emacs Lisp")
3574     (description "This package provides a HTTP request library with multiple
3575 backends.  It supports url.el which is shipped with Emacs and the curl command
3576 line program.")
3577     (license license:gpl3+)))
3579 (define-public emacs-rudel
3580   (package
3581     (name "emacs-rudel")
3582     (version "0.3.1")
3583     (source
3584      (origin
3585        (method url-fetch)
3586        (uri (string-append "http://elpa.gnu.org/packages/rudel-"
3587                            version ".tar"))
3588        (sha256
3589         (base32
3590          "0glqa68g509p0s2vcc0i8kzlddnc9brd9jqhnm5rzxz4i050cvnz"))))
3591     (build-system emacs-build-system)
3592     (home-page "http://rudel.sourceforge.net/")
3593     (synopsis "Collaborative editing framework")
3594     (description
3595      "Rudel is a collaborative editing environment for GNU Emacs.  Its purpose
3596 is to share buffers with other users in order to edit the contents of those
3597 buffers collaboratively.  Rudel supports multiple backends to enable
3598 communication with other collaborative editors using different protocols,
3599 though currently Obby (for use with the Gobby editor) is the only
3600 fully-functional one.")
3601     (license license:gpl3+)))
3603 (define-public emacs-hydra
3604   (package
3605     (name "emacs-hydra")
3606     (version "0.14.0")
3607     (source
3608      (origin
3609        (method url-fetch)
3610        (uri (string-append "https://github.com/abo-abo/hydra/archive/"
3611                            version ".tar.gz"))
3612        (file-name (string-append name "-" version ".tar.gz"))
3613        (sha256
3614         (base32
3615          "0884k3ffwzhh6krbd8l7vvm184dkagb2jf4q8xzg72plln34qrm8"))))
3616     (build-system emacs-build-system)
3617     (home-page "https://github.com/abo-abo/hydra")
3618     (synopsis "Make Emacs bindings that stick around")
3619     (description
3620      "This package can be used to tie related commands into a family of short
3621 bindings with a common prefix---a Hydra.  Once you summon the Hydra (through
3622 the prefixed binding), all the heads can be called in succession with only a
3623 short extension.  Any binding that isn't the Hydra's head vanquishes the
3624 Hydra.  Note that the final binding, besides vanquishing the Hydra, will still
3625 serve its original purpose, calling the command assigned to it.  This makes
3626 the Hydra very seamless; it's like a minor mode that disables itself
3627 automatically.")
3628     (license license:gpl3+)))
3630 (define-public emacs-ivy
3631   (package
3632     (name "emacs-ivy")
3633     (version "0.10.0")
3634     (source
3635      (origin
3636        (method git-fetch)
3637        (uri (git-reference
3638              (url "https://github.com/abo-abo/swiper.git")
3639              (commit version)))
3640        (file-name (string-append name "-" version "-checkout"))
3641        (sha256
3642         (base32
3643          "14vnigqb5c3yi4q9ysw1fiwdqyqwyklqpb9wnjf81chm7s2mshnr"))))
3644     (build-system emacs-build-system)
3645     (arguments
3646      `(#:phases
3647        (modify-phases %standard-phases
3648          (add-after 'install 'install-doc
3649            (lambda* (#:key outputs #:allow-other-keys)
3650              (let* ((out (assoc-ref outputs "out"))
3651                     (info (string-append out "/share/info")))
3652                (with-directory-excursion "doc"
3653                  (invoke "makeinfo" "ivy.texi")
3654                  (install-file "ivy.info" info)
3655                  #t)))))))
3656     (propagated-inputs
3657      `(("emacs-hydra" ,emacs-hydra)))
3658     (native-inputs
3659      `(("texinfo" ,texinfo)))
3660     (home-page "http://oremacs.com/swiper/")
3661     (synopsis "Incremental vertical completion for Emacs")
3662     (description
3663      "This package provides @code{ivy-read} as an alternative to
3664 @code{completing-read} and similar functions.  No attempt is made to determine
3665 the best candidate.  Instead, the user can navigate candidates with
3666 @code{ivy-next-line} and @code{ivy-previous-line}.  The matching is done by
3667 splitting the input text by spaces and re-building it into a regular
3668 expression.")
3669     (license license:gpl3+)))
3671 (define-public emacs-ivy-yasnippet
3672   (let ((commit "59b32cf8cfb63df906822a17f6f5e8545dac38d4"))
3673     (package
3674       (name "emacs-ivy-yasnippet")
3675       (version (git-version "0.1" "1" commit))
3676       (source
3677        (origin
3678          (method git-fetch)
3679          (uri (git-reference
3680                (url "https://github.com/mkcms/ivy-yasnippet.git")
3681                (commit commit)))
3682          (file-name (git-file-name name version))
3683          (sha256
3684           (base32
3685            "0hghdlxkfwrglvc1nql2ikgp6jj0qdbfwc3yvpb19mrf26hwgp13"))))
3686       (build-system emacs-build-system)
3687       (propagated-inputs
3688        `(("emacs-ivy" ,emacs-ivy)
3689          ("emacs-yasnippet" ,emacs-yasnippet)
3690          ("emacs-dash" ,emacs-dash)))
3691       (home-page "https://github.com/mkcms/ivy-yasnippet")
3692       (synopsis "Preview @code{yasnippets} with @code{ivy}")
3693       (description "This package allows you to select @code{yasnippet}
3694 snippets using @code{ivy} completion.  When current selection changes in the
3695 minibuffer, the snippet contents are temporarily expanded in the buffer.  To
3696 use it, call @code{M-x ivy-yasnippet} (but make sure you have enabled
3697 @code{yas-minor-mode} first).")
3698       (license license:gpl3+))))
3700 (define-public emacs-avy
3701   (package
3702     (name "emacs-avy")
3703     (version "0.4.0")
3704     (source
3705      (origin
3706        (method url-fetch)
3707        (uri (string-append "https://github.com/abo-abo/avy/archive/"
3708                            version ".tar.gz"))
3709        (file-name (string-append name "-" version ".tar.gz"))
3710        (sha256
3711         (base32
3712          "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
3713     (build-system emacs-build-system)
3714     (home-page "https://github.com/abo-abo/avy")
3715     (synopsis "Tree-based completion for Emacs")
3716     (description
3717      "This package provides a generic completion method based on building a
3718 balanced decision tree with each candidate being a leaf.  To traverse the tree
3719 from the root to a desired leaf, typically a sequence of @code{read-key} can
3720 be used.
3722 In order for @code{read-key} to make sense, the tree needs to be visualized
3723 appropriately, with a character at each branch node.  So this completion
3724 method works only for things that you can see on your screen, all at once,
3725 such as the positions of characters, words, line beginnings, links, or
3726 windows.")
3727     (license license:gpl3+)))
3729 (define-public emacs-ace-window
3730   (package
3731     (name "emacs-ace-window")
3732     (version "0.9.0")
3733     (source
3734      (origin
3735        (method url-fetch)
3736        (uri (string-append "https://github.com/abo-abo/ace-window/archive/"
3737                            version ".tar.gz"))
3738        (file-name (string-append name "-" version ".tar.gz"))
3739        (sha256
3740         (base32
3741          "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn"))))
3742     (build-system emacs-build-system)
3743     (propagated-inputs
3744      `(("emacs-avy" ,emacs-avy)))
3745     (home-page "https://github.com/abo-abo/ace-window")
3746     (synopsis "Quickly switch windows in Emacs")
3747     (description
3748      "@code{ace-window} is meant to replace @code{other-window}.
3749 In fact, when there are only two windows present, @code{other-window} is
3750 called.  If there are more, each window will have its first character
3751 highlighted.  Pressing that character will switch to that window.")
3752     (license license:gpl3+)))
3754 (define-public emacs-iedit
3755   (package
3756     (name "emacs-iedit")
3757     (version "0.9.9.9")
3758     (source
3759      (origin
3760        (method url-fetch)
3761        (uri (string-append "https://github.com/victorhge/iedit/archive/v"
3762                            version ".tar.gz"))
3763        (file-name (string-append name "-" version ".tar.gz"))
3764        (sha256
3765         (base32
3766          "1hv8q6pr85ss9g3158l1fqv3m62vsq8rslsi86jicr2dcxyascr0"))))
3767     (build-system emacs-build-system)
3768     (home-page "http://www.emacswiki.org/emacs/Iedit")
3769     (synopsis "Edit multiple regions in the same way simultaneously")
3770     (description
3771      "This package is an Emacs minor mode and allows you to edit one
3772 occurrence of some text in a buffer (possibly narrowed) or region, and
3773 simultaneously have other occurrences edited in the same way.
3775 You can also use Iedit mode as a quick way to temporarily show only the buffer
3776 lines that match the current text being edited.  This gives you the effect of
3777 a temporary @code{keep-lines} or @code{occur}.")
3778     (license license:gpl3+)))
3780 (define-public emacs-zoutline
3781   (let ((commit "b3ee0f0e0b916838c2d2c249beba74ffdb8d5699")
3782         (revision "0"))
3783     (package
3784       (name "emacs-zoutline")
3785       (version (git-version "0.1" revision commit))
3786       (home-page "https://github.com/abo-abo/zoutline")
3787       (source (origin
3788                 (method git-fetch)
3789                 (uri (git-reference (url home-page) (commit commit)))
3790                 (sha256
3791                  (base32
3792                   "0sd0017piw0dis6dhpq5dkqd3acisxqgipl7dj8gmc1vnswhdwr8"))
3793                 (file-name (git-file-name name version))))
3794       (build-system emacs-build-system)
3795       (synopsis "Simple outline library")
3796       (description
3797        "This library provides helpers for outlines.  Outlines allow users to
3798 navigate code in a tree-like fashion.")
3799       (license license:gpl3+))))
3801 (define-public emacs-lispy
3802   ;; Release 0.26.0 was almost 3 years ago, and there have been ~772 commits
3803   ;; since.
3804   (let ((commit "c2a358a7a15fcf056a5b7461a8e690b481b03b80")
3805         (revision "0"))
3806     (package
3807       (name "emacs-lispy")
3808       (version (git-version "0.26.0" revision commit))
3809       (home-page "https://github.com/abo-abo/lispy")
3810       (source (origin
3811                 (method git-fetch)
3812                 (uri (git-reference (url home-page) (commit commit)))
3813                 (sha256
3814                  (base32
3815                   "1g6756qqx2n4cx8jac6mlwayilsiyc5rz8nrqjnywvzc75xdinjd"))
3816                 (file-name (git-file-name name version))))
3817       (build-system emacs-build-system)
3818       (propagated-inputs
3819        `(("emacs-ace-window" ,emacs-ace-window)
3820          ("emacs-iedit" ,emacs-iedit)
3821          ("emacs-ivy" ,emacs-ivy)
3822          ("emacs-hydra" ,emacs-hydra)
3823          ("emacs-zoutline" ,emacs-zoutline)))
3824       (synopsis "Modal S-expression editing")
3825       (description
3826        "Due to the structure of Lisp syntax it's very rare for the programmer
3827 to want to insert characters right before \"(\" or right after \")\".  Thus
3828 unprefixed printable characters can be used to call commands when the point is
3829 at one of these special locations.  Lispy provides unprefixed keybindings for
3830 S-expression editing when point is at the beginning or end of an
3831 S-expression.")
3832       (license license:gpl3+))))
3834 (define-public emacs-lispyville
3835   ;; Later versions need a more recent Evil, with an evil-define-key*
3836   ;; supporting nil for the state.
3837   (let ((commit "b4291857ed6a49a67c4ea77522889ce51fb171ab")
3838         (revision "0"))
3839     (package
3840       (name "emacs-lispyville")
3841       (version (git-version "0.1" revision commit))
3842       (home-page "https://github.com/noctuid/lispyville")
3843       (source (origin
3844                 (method git-fetch)
3845                 (uri (git-reference (url home-page) (commit commit)))
3846                 (sha256
3847                  (base32
3848                   "095zibzc3naknahdrnb59g9rbljy8wz9rkc7rf8avb3wxlwvxhm3"))
3849                 (file-name (git-file-name name version))))
3850       (propagated-inputs
3851        `(("emacs-evil" ,emacs-evil)
3852          ("emacs-lispy" ,emacs-lispy)))
3853       (build-system emacs-build-system)
3854       (synopsis "Minor mode for integrating Evil with lispy")
3855       (description
3856        "LispyVille's main purpose is to provide a Lisp editing environment
3857 suited towards Evil users.  It can serve as a minimal layer on top of lispy
3858 for better integration with Evil, but it does not require the use of lispy’s
3859 keybinding style.  The provided commands allow for editing Lisp in normal
3860 state and will work even without lispy being enabled.")
3861       (license license:gpl3+))))
3863 (define-public emacs-clojure-mode
3864   (package
3865     (name "emacs-clojure-mode")
3866     (version "5.6.1")
3867     (source (origin
3868               (method url-fetch)
3869               (uri (string-append
3870                     "https://github.com/clojure-emacs/clojure-mode/archive/"
3871                     version ".tar.gz"))
3872               (file-name (string-append name "-" version ".tar.gz"))
3873               (sha256
3874                (base32
3875                 "1f4k1hncy5ygh4izn7mqfp744nnisrp9ywn2njknbjxx34ai1q88"))))
3876     (build-system emacs-build-system)
3877     (native-inputs
3878      `(("emacs-dash" ,emacs-dash)
3879        ("emacs-s" ,emacs-s)
3880        ("ert-runner" ,ert-runner)))
3881     (arguments
3882      `(#:tests? #t
3883        #:test-command '("ert-runner")))
3884     (home-page "https://github.com/clojure-emacs/clojure-mode")
3885     (synopsis "Major mode for Clojure code")
3886     (description
3887      "This Emacs package provides font-lock, indentation, navigation and basic
3888 refactoring for the @uref{http://clojure.org, Clojure programming language}.
3889 It is recommended to use @code{clojure-mode} with paredit or smartparens.")
3890     (license license:gpl3+)))
3892 (define-public emacs-epl
3893   (package
3894     (name "emacs-epl")
3895     (version "0.8")
3896     (source (origin
3897               (method url-fetch)
3898               (uri (string-append
3899                     "https://github.com/cask/epl/archive/"
3900                     version ".tar.gz"))
3901               (file-name (string-append name "-" version ".tar.gz"))
3902               (sha256
3903                (base32
3904                 "1511n3a3f5gvaf2b4nh018by61ciyzi3y3603fzqma7p9hrckarc"))))
3905     (build-system emacs-build-system)
3906     (home-page "https://github.com/cask/epl")
3907     (synopsis "Emacs Package Library")
3908     (description
3909      "A package management library for Emacs, based on @code{package.el}.
3911 The purpose of this library is to wrap all the quirks and hassle of
3912 @code{package.el} into a sane API.")
3913     (license license:gpl3+)))
3915 (define-public emacs-queue
3916   (package
3917     (name "emacs-queue")
3918     (version "0.2")
3919     (source (origin
3920               (method url-fetch)
3921               (uri (string-append "https://elpa.gnu.org/packages/queue-"
3922                                   version ".el"))
3923               (sha256
3924                (base32
3925                 "0cx2848sqnnkkr4zisvqadzxngjyhmb36mh0q3if7q19yjjhmrkb"))))
3926     (build-system emacs-build-system)
3927     (home-page "http://www.dr-qubit.org/tags/computing-code-emacs.html")
3928     (synopsis "Queue data structure for Emacs")
3929     (description
3930      "This Emacs library provides queue data structure.  These queues can be
3931 used both as a first-in last-out (FILO) and as a first-in first-out (FIFO)
3932 stack, i.e. elements can be added to the front or back of the queue, and can
3933 be removed from the front.  This type of data structure is sometimes called an
3934 \"output-restricted deque\".")
3935     (license license:gpl3+)))
3937 (define-public emacs-pkg-info
3938   (package
3939     (name "emacs-pkg-info")
3940     (version "0.6")
3941     (source (origin
3942               (method url-fetch)
3943               (uri (string-append
3944                     "https://github.com/lunaryorn/pkg-info.el/archive/"
3945                     version ".tar.gz"))
3946               (file-name (string-append name "-" version ".tar.gz"))
3947               (sha256
3948                (base32
3949                 "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5"))))
3950     (build-system emacs-build-system)
3951     (propagated-inputs `(("emacs-epl" ,emacs-epl)))
3952     (home-page "https://github.com/lunaryorn/pkg-info.el")
3953     (synopsis "Information about Emacs packages")
3954     (description
3955      "This library extracts information from the installed Emacs packages.")
3956     (license license:gpl3+)))
3958 (define-public emacs-spinner
3959   (package
3960     (name "emacs-spinner")
3961     (version "1.7.3")
3962     (source (origin
3963               (method url-fetch)
3964               (uri (string-append "https://elpa.gnu.org/packages/spinner-"
3965                                   version ".el"))
3966               (sha256
3967                (base32
3968                 "19kp1mmndbmw11sgvv2ggfjl4pyf5zrsbh3871f0965pw9z8vahd"))))
3969     (build-system emacs-build-system)
3970     (home-page "https://github.com/Malabarba/spinner.el")
3971     (synopsis "Emacs mode-line spinner for operations in progress")
3972     (description
3973      "This Emacs package adds spinners and progress-bars to the mode-line for
3974 ongoing operations.")
3975     (license license:gpl3+)))
3977 (define-public emacs-sparql-mode
3978   (package
3979     (name "emacs-sparql-mode")
3980     (version "2.0.1")
3981     (source (origin
3982               (method url-fetch)
3983               (uri (string-append "https://github.com/ljos/sparql-mode/archive/"
3984                                   "v" version ".tar.gz"))
3985               (file-name (string-append name "-" version ".tar.gz"))
3986               (sha256
3987                (base32
3988                 "1s93mkllxnhy7fw616cnnc2danacdlarys0g3cn89drh0llh53cv"))))
3989     (build-system emacs-build-system)
3990     (home-page "https://github.com/ljos/sparql-mode")
3991     (synopsis "SPARQL mode for Emacs")
3992     (description "This package provides a major mode for Emacs that provides
3993 syntax highlighting for SPARQL.  It also provides a way to execute queries
3994 against a SPARQL HTTP endpoint, such as is provided by Fuseki.  It is also
3995 possible to query other endpoints like DBPedia.")
3996     (license license:gpl3+)))
3998 (define-public emacs-better-defaults
3999   (package
4000     (name "emacs-better-defaults")
4001     (version "0.1.3")
4002     (source
4003      (origin
4004        (method url-fetch)
4005        (uri (string-append "https://github.com/technomancy/better-defaults"
4006                            "/archive/" version ".tar.gz"))
4007        (file-name (string-append name "-" version ".tar.gz"))
4008        (sha256
4009         (base32
4010          "08fg4zslzlxbvyil5g4gwvwd22fh4zsgqprs5wh9hv1rgc6757m2"))))
4011     (build-system emacs-build-system)
4012     (home-page "https://github.com/technomancy/better-defaults")
4013     (synopsis "Better defaults for Emacs")
4014     (description
4015      "Better defaults attempts to address the most obvious deficiencies of the
4016 Emacs default configuration in uncontroversial ways that nearly everyone can
4017 agree upon.")
4018     (license license:gpl3+)))
4020 (define-public emacs-eprime
4021   (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
4022     (package
4023       (name "emacs-eprime")
4024       (version (string-append "20140513-" (string-take commit 7)))
4025       (source (origin
4026                 (method url-fetch)
4027                 (uri (string-append "https://raw.githubusercontent.com"
4028                                     "/AndrewHynes/eprime-mode/"
4029                                     commit "/eprime-mode.el"))
4030                 (file-name (string-append "eprime-" version ".el"))
4031                 (sha256
4032                  (base32
4033                   "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d"))))
4034       (build-system emacs-build-system)
4035       (home-page "https://github.com/AndrewHynes/eprime-mode")
4036       (synopsis "E-prime checking mode for Emacs")
4037       (description "This package provides an E-prime checking mode for Emacs
4038 that highlights non-conforming text.  The subset of the English language called
4039 E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
4040       (license license:gpl3+))))
4042 (define-public emacs-julia-mode
4043   ;; XXX: Upstream version remained stuck at 0.3.  See
4044   ;; <https://github.com/JuliaEditorSupport/julia-emacs/issues/46>.
4045   (let ((commit "115d4dc8a07445301772da8376b232fa8c7168f4")
4046         (revision "1"))
4047     (package
4048       (name "emacs-julia-mode")
4049       (version (string-append "0.3-" revision "." (string-take commit 8)))
4050       (source
4051        (origin
4052          (method git-fetch)
4053          (uri (git-reference
4054                (url "https://github.com/JuliaEditorSupport/julia-emacs.git")
4055                (commit commit)))
4056          (file-name (string-append name "-" version "-checkout"))
4057          (sha256
4058           (base32
4059            "1is4dcv6blslpzbjcg8l2jpxi8xj96q4cm0nxjxsyswpm8bw8ki0"))))
4060       (build-system emacs-build-system)
4061       (arguments
4062        `(#:tests? #t
4063          #:test-command '("emacs" "--batch"
4064                           "-l" "julia-mode-tests.el"
4065                           "-f" "ert-run-tests-batch-and-exit")))
4066       (home-page "https://github.com/JuliaEditorSupport/julia-emacs")
4067       (synopsis "Major mode for Julia")
4068       (description "This Emacs package provides a mode for the Julia
4069 programming language.")
4070       (license license:expat))))
4072 (define-public emacs-ess
4073   (package
4074     (name "emacs-ess")
4075     (version "16.10")
4076     (source (origin
4077               (method url-fetch)
4078               (uri (string-append "http://ess.r-project.org/downloads/ess/ess-"
4079                                   version ".tgz"))
4080               (sha256
4081                (base32
4082                 "04m8lwp3ylh2vl7k2bjjs7mxbm64j4sdckqpvnm9k0qhaqf02pjk"))
4083               (modules '((guix build utils)))
4084               (snippet
4085                '(begin
4086                   ;; Stop ESS from trying to bundle an external julia-mode.el.
4087                   (substitute* "lisp/Makefile"
4088                     (("^\tjulia-mode.elc\\\\\n") "")
4089                     (("^all: \\$\\(ELC\\) ess-custom.el julia-mode.el")
4090                      "all: $(ELC) ess-custom.el"))
4091                   #t))))
4092     (build-system gnu-build-system)
4093     (arguments
4094      (let ((base-directory "/share/emacs/site-lisp/guix.d/ess"))
4095        `(#:make-flags (list (string-append "PREFIX=" %output)
4096                             (string-append "ETCDIR=" %output "/"
4097                                            ,base-directory "/etc")
4098                             (string-append "LISPDIR=" %output "/"
4099                                            ,base-directory))
4100          #:phases
4101          (modify-phases %standard-phases
4102            (delete 'configure)
4103            (add-before 'build 'more-shebang-patching
4104              (lambda* (#:key inputs #:allow-other-keys)
4105                (substitute* "Makeconf"
4106                  (("SHELL = /bin/sh")
4107                   (string-append "SHELL = " (which "sh"))))
4108                #t))
4109            ;; FIXME: the texlive-union insists on regenerating fonts.  It stores
4110            ;; them in HOME, so it needs to be writeable.
4111            (add-before 'build 'set-HOME
4112              (lambda _ (setenv "HOME" "/tmp") #t))
4113            (replace 'check
4114              (lambda _
4115                (invoke "make" "test")))))))
4116     (inputs
4117      `(("emacs" ,emacs-minimal)
4118        ("r-minimal" ,r-minimal)))
4119     (native-inputs
4120      `(("perl" ,perl)
4121        ("texinfo" ,texinfo)
4122        ("texlive" ,(texlive-union (list texlive-latex-natbib
4123                                         texlive-latex-seminar
4124                                         texlive-latex-hyperref
4125                                         texlive-tex-texinfo)))))
4126     (home-page "https://ess.r-project.org/")
4127     (synopsis "Emacs mode for statistical analysis programs")
4128     (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
4129 Emacs.  It is designed to support editing of scripts and interaction with
4130 various statistical analysis programs such as R and OpenBUGS.")
4131     (license license:gpl2+)))
4133 (define-public emacs-smex
4134   (package
4135     (name "emacs-smex")
4136     (version "3.0")
4137     (source (origin
4138               (method url-fetch)
4139               (uri (string-append "https://raw.githubusercontent.com"
4140                                   "/nonsequitur/smex/" version "/smex.el"))
4141               (file-name (string-append "smex-" version ".el"))
4142               (sha256
4143                (base32
4144                 "0ar310zx9k5y4i1vl2rawvi712xj9gx77160860jbs691p77cxqp"))))
4145     (build-system emacs-build-system)
4146     (home-page "https://github.com/nonsequitur/smex/")
4147     (synopsis "M-x interface with Ido-style fuzzy matching")
4148     (description
4149      "Smex is a M-x enhancement for Emacs.  Built on top of Ido, it provides a
4150 convenient interface to your recently and most frequently used commands.  And
4151 to all the other commands, too.")
4152     (license license:gpl3+)))
4154 (define-public emacs-js2-mode
4155   (package
4156     (name "emacs-js2-mode")
4157     (version "20150909")
4158     (source (origin
4159               (method url-fetch)
4160               (uri (string-append "https://github.com/mooz/js2-mode/archive/"
4161                                   version ".tar.gz"))
4162               (file-name (string-append name "-" version ".tar.gz"))
4163               (sha256
4164                (base32
4165                 "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0"))))
4166     (build-system emacs-build-system)
4167     (home-page "https://github.com/mooz/js2-mode/")
4168     (synopsis "Improved JavaScript editing mode for Emacs")
4169     (description
4170      "Js2-mode provides a JavaScript major mode for Emacs that is more
4171 advanced than the built-in javascript-mode.  Features include accurate syntax
4172 highlighting using a recursive-descent parser, on-the-fly reporting of syntax
4173 errors and strict-mode warnings, smart line-wrapping within comments and
4174 strings, and code folding.")
4175     (license license:gpl3+)))
4177 (define-public emacs-markdown-mode
4178   (package
4179     (name "emacs-markdown-mode")
4180     (version "2.3")
4181     (source (origin
4182               (method url-fetch)
4183               (uri (string-append "https://raw.githubusercontent.com/jrblevin"
4184                                   "/markdown-mode/v" version
4185                                   "/markdown-mode.el"))
4186               (file-name (string-append "markdown-mode-" version ".el"))
4187               (sha256
4188                (base32
4189                 "152whyrq3dqlqy5wv4mdd94kmal19hs5kwaxjcp2gp2r97lsmdmi"))))
4190     (build-system emacs-build-system)
4191     (home-page "http://jblevins.org/projects/markdown-mode/")
4192     (synopsis "Emacs Major mode for Markdown files")
4193     (description
4194      "Markdown-mode is a major mode for editing Markdown-formatted text files
4195 in Emacs.")
4196     (license license:gpl3+)))
4198 (define-public emacs-edit-indirect
4199   (package
4200     (name "emacs-edit-indirect")
4201     (version "0.1.4")
4202     (source
4203      (origin
4204        (method url-fetch)
4205        (uri (string-append "https://github.com/Fanael/edit-indirect/archive/"
4206                            version ".tar.gz"))
4207        (file-name (string-append name "-" version ".tar.gz"))
4208        (sha256
4209         (base32
4210          "07kr58rd1p5j764wminsssazr73hy51yw8iqcsv5z2dwgj7msv71"))))
4211     (build-system emacs-build-system)
4212     (home-page "https://github.com/Fanael/edit-indirect")
4213     (synopsis "Edit regions in separate buffers")
4214     (description "This package allows you to edit regions in separate buffers,
4215 like @code{org-edit-src-code} but for arbitrary regions.")
4216     (license license:gpl3+)))
4218 (define-public emacs-projectile
4219   (package
4220     (name "emacs-projectile")
4221     (version "0.14.0")
4222     (source (origin
4223               (method url-fetch)
4224               (uri (string-append "https://raw.githubusercontent.com/bbatsov"
4225                                   "/projectile/v" version "/projectile.el"))
4226               (file-name (string-append "projectile-" version ".el"))
4227               (sha256
4228                (base32
4229                 "1ql1wnzhblbwnv66hf2y0wq45g71hh6s9inc090lmhm1vgylbd1f"))))
4230     (build-system emacs-build-system)
4231     (propagated-inputs
4232      `(("emacs-dash" ,emacs-dash)
4233        ("emacs-pkg-info" ,emacs-pkg-info)))
4234     (home-page "https://github.com/bbatsov/projectile")
4235     (synopsis "Manage and navigate projects in Emacs easily")
4236     (description
4237      "This library provides easy project management and navigation.  The
4238 concept of a project is pretty basic - just a folder containing special file.
4239 Currently git, mercurial and bazaar repos are considered projects by default.
4240 If you want to mark a folder manually as a project just create an empty
4241 .projectile file in it.")
4242     (license license:gpl3+)))
4244 (define-public emacs-elfeed
4245   (package
4246     (name "emacs-elfeed")
4247     (version "3.0.0")
4248     (source (origin
4249               (method url-fetch)
4250               (uri (string-append "https://github.com/skeeto/elfeed/archive/"
4251                                   version ".tar.gz"))
4252               (file-name (string-append name "-" version ".tar.gz"))
4253               (sha256
4254                (base32
4255                 "1wkdrxr6zzqb48czqqv34l87bx8aqjk1739ddqg933aqh241kfvn"))))
4256     (build-system emacs-build-system)
4257     (arguments
4258      `(#:tests? #t
4259        #:test-command '("make" "test")))
4260     (home-page "https://github.com/skeeto/elfeed")
4261     (synopsis "Atom/RSS feed reader for Emacs")
4262     (description
4263      "Elfeed is an extensible web feed reader for Emacs, supporting both Atom
4264 and RSS, with a user interface inspired by notmuch.")
4265     (license license:gpl3+)))
4267 (define-public emacs-rainbow-delimiters
4268   (package
4269     (name "emacs-rainbow-delimiters")
4270     (version "2.1.3")
4271     (source (origin
4272               (method url-fetch)
4273               (uri (string-append "https://raw.githubusercontent.com/Fanael"
4274                                   "/rainbow-delimiters/" version
4275                                   "/rainbow-delimiters.el"))
4276               (file-name (string-append "rainbow-delimiters-" version ".el"))
4277               (sha256
4278                (base32
4279                 "1b3kampwsjabhcqdp0khgff13wc5jqhy3rbvaa12vnv7qy22l9ck"))))
4280     (build-system emacs-build-system)
4281     (home-page "https://github.com/Fanael/rainbow-delimiters")
4282     (synopsis "Highlight brackets according to their depth")
4283     (description
4284      "Rainbow-delimiters is a \"rainbow parentheses\"-like mode for Emacs which
4285 highlights parentheses, brackets, and braces according to their depth.  Each
4286 successive level is highlighted in a different color, making it easy to spot
4287 matching delimiters, orient yourself in the code, and tell which statements
4288 are at a given level.")
4289     (license license:gpl3+)))
4291 (define-public emacs-rainbow-identifiers
4292   (package
4293     (name "emacs-rainbow-identifiers")
4294     (version "0.2.2")
4295     (source (origin
4296               (method url-fetch)
4297               (uri (string-append "https://raw.githubusercontent.com/Fanael"
4298                                   "/rainbow-identifiers/" version
4299                                   "/rainbow-identifiers.el"))
4300               (file-name (string-append "rainbow-identifiers-" version ".el"))
4301               (sha256
4302                (base32
4303                 "0325abxj47k0g1i8nqrq70w2wr6060ckhhf92krv1s072b3jzm31"))))
4304     (build-system emacs-build-system)
4305     (home-page "https://github.com/Fanael/rainbow-identifiers")
4306     (synopsis "Highlight identifiers in source code")
4307     (description
4308      "Rainbow identifiers mode is an Emacs minor mode providing highlighting of
4309 identifiers based on their names.  Each identifier gets a color based on a hash
4310 of its name.")
4311     (license license:bsd-2)))
4313 (define-public emacs-rainbow-mode
4314   (package
4315     (name "emacs-rainbow-mode")
4316     (version "0.13")
4317     (source (origin
4318               (method url-fetch)
4319               (uri (string-append
4320                     "http://elpa.gnu.org/packages/rainbow-mode-" version ".el"))
4321               (sha256
4322                (base32
4323                 "1d3aamx6qgqqpqijwsr02ggwrh67gfink1bir0692alfkm3zdddl"))))
4324     (build-system emacs-build-system)
4325     (home-page "http://elpa.gnu.org/packages/rainbow-mode.html")
4326     (synopsis "Colorize color names in buffers")
4327     (description
4328      "This minor mode sets background color to strings that match color
4329 names, e.g. #0000ff is displayed in white with a blue background.")
4330     (license license:gpl3+)))
4332 (define-public emacs-visual-fill-column
4333   (package
4334     (name "emacs-visual-fill-column")
4335     (version "1.11")
4336     (source (origin
4337               (method url-fetch)
4338               (uri (string-append "https://codeload.github.com/joostkremers/"
4339                                   "visual-fill-column/tar.gz/" version))
4340               (file-name (string-append name "-" version ".tar.gz"))
4341               (sha256
4342                (base32
4343                 "13jnviakp607zcms7f8ams56mr8wffnq1pghlc6fvqs39663pgwh"))))
4344     (build-system emacs-build-system)
4345     (home-page "https://github.com/joostkremers/visual-fill-column")
4346     (synopsis "Fill-column for visual-line-mode")
4347     (description
4348      "@code{visual-fill-column-mode} is a small Emacs minor mode that mimics
4349 the effect of @code{fill-column} in @code{visual-line-mode}.  Instead of
4350 wrapping lines at the window edge, which is the standard behaviour of
4351 @code{visual-line-mode}, it wraps lines at @code{fill-column}.  If
4352 @code{fill-column} is too large for the window, the text is wrapped at the
4353 window edge.")
4354     (license license:gpl3+)))
4356 (define-public emacs-writeroom
4357   (package
4358     (name "emacs-writeroom")
4359     (version "3.7")
4360     (source (origin
4361               (method url-fetch)
4362               (uri (string-append
4363                     "https://github.com/joostkremers/writeroom-mode/archive/"
4364                     version ".tar.gz"))
4365               (file-name (string-append name "-" version ".tar.gz"))
4366               (sha256
4367                (base32
4368                 "0yqgp5h3kvvpgva4azakb2wnjl7gsyh45glf75crspv3xyq57f2r"))))
4369     (build-system emacs-build-system)
4370     (propagated-inputs
4371      `(("emacs-visual-fill-column" ,emacs-visual-fill-column)))
4372     (home-page "https://github.com/joostkremers/writeroom-mode")
4373     (synopsis "Distraction-free writing for Emacs")
4374     (description
4375      "This package defines a minor mode for distraction-free writing.  Some of
4376 the default effects include entering fullscreen, deleting other windows of the
4377 current frame, disabling the mode line, and adding margins to the buffer that
4378 restrict the text width to 80 characters.")
4379     (license license:bsd-3)))
4381 (define-public emacs-ido-completing-read+
4382   (package
4383     (name "emacs-ido-completing-read+")
4384     (version "3.12")
4385     (source (origin
4386               (method url-fetch)
4387               (uri (string-append "https://raw.githubusercontent.com"
4388                                   "/DarwinAwardWinner/ido-ubiquitous/v"
4389                                   version "/ido-completing-read+.el"))
4390               (file-name (string-append "ido-completing-read+-" version ".el"))
4391               (sha256
4392                (base32
4393                 "1cyalb0p7nfsm4n6n9q6rjmvn6adqc0fq8ybnlj3n41n289dkfjf"))))
4394     (build-system emacs-build-system)
4395     (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
4396     (synopsis "Replacement for completing-read using ido")
4397     (description
4398      "The ido-completing-read+ function is a wrapper for ido-completing-read.
4399 Importantly, it detects edge cases that ordinary ido cannot handle and either
4400 adjusts them so ido can handle them, or else simply falls back to the standard
4401 Emacs completion function instead.")
4402     (license license:gpl3+)))
4404 (define-public emacs-ido-ubiquitous
4405   (package
4406     (name "emacs-ido-ubiquitous")
4407     (version "3.12")
4408     (source (origin
4409               (method url-fetch)
4410               (uri (string-append "https://raw.githubusercontent.com"
4411                                   "/DarwinAwardWinner/ido-ubiquitous/v"
4412                                   version "/ido-ubiquitous.el"))
4413               (file-name (string-append "ido-ubiquitous-" version ".el"))
4414               (sha256
4415                (base32
4416                 "197ypji0fb6jsdcq40rpnknwlh3imas6s6jbsvkfm0pz9988c3q2"))))
4417     (build-system emacs-build-system)
4418     (propagated-inputs
4419      `(("emacs-ido-completing-read+" ,emacs-ido-completing-read+)))
4420     (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
4421     (synopsis "Use ido (nearly) everywhere")
4422     (description
4423      "Ido-ubiquitous enables ido-style completion for almost every function
4424 that uses the standard completion function completing-read.")
4425   (license license:gpl3+)))
4427 (define-public emacs-yaml-mode
4428   (package
4429     (name "emacs-yaml-mode")
4430     (version "0.0.13")
4431     (source (origin
4432               (method url-fetch)
4433               (uri (string-append "https://raw.githubusercontent.com/yoshiki"
4434                                   "/yaml-mode/v" version "/yaml-mode.el"))
4435               (file-name (string-append "yaml-mode-" version ".el"))
4436               (sha256
4437                (base32
4438                 "0im88sk9dqw03x6d6zaspgvg9i0pfpgb8f2zygrmbifh2w4pwmvj"))))
4439     (build-system emacs-build-system)
4440     (home-page "https://github.com/yoshiki/yaml-mode")
4441     (synopsis "Major mode for editing YAML files")
4442     (description
4443      "Yaml-mode is an Emacs major mode for editing files in the YAML data
4444 serialization format.  It was initially developed by Yoshiki Kurihara and many
4445 features were added by Marshall Vandegrift.  As YAML and Python share the fact
4446 that indentation determines structure, this mode provides indentation and
4447 indentation command behavior very similar to that of python-mode.")
4448     (license license:gpl3+)))
4450 (define-public emacs-web-mode
4451   (package
4452     (name "emacs-web-mode")
4453     (version "14")
4454     (source (origin
4455               (method url-fetch)
4456               (uri (string-append "https://raw.githubusercontent.com/fxbois"
4457                                   "/web-mode/v" version "/web-mode.el"))
4458               (file-name (string-append "web-mode-" version ".el"))
4459               (sha256
4460                (base32
4461                 "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5"))))
4462     (build-system emacs-build-system)
4463     (synopsis "Major mode for editing web templates")
4464     (description "Web-mode is an Emacs major mode for editing web templates
4465 aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by
4466 client/server side engines).  Web-mode is compatible with many template
4467 engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker,
4468 Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template,
4469 Dust.js, React/JSX, Angularjs, ejs, etc.")
4470     (home-page "http://web-mode.org/")
4471     (license license:gpl3+)))
4473 (define-public emacs-wgrep
4474   (package
4475     (name "emacs-wgrep")
4476     (version "2.1.10")
4477     (source (origin
4478               (method url-fetch)
4479               (uri (string-append
4480                     "https://github.com/mhayashi1120/Emacs-wgrep/archive/"
4481                     version ".tar.gz"))
4482               (file-name (string-append name "-" version ".tar.gz"))
4483               (sha256
4484                (base32
4485                 "1r2bpypar70xg6dsx12x1k74f39ww930rday7rgqpyknzsx1k4l1"))))
4486     (build-system emacs-build-system)
4487     (home-page "https://github.com/mhayashi1120/Emacs-wgrep")
4488     (synopsis "Edit a grep buffer and apply those changes to the files")
4489     (description
4490      "Emacs wgrep allows you to edit a grep buffer and apply those changes to
4491 the file buffer.")
4492     (license license:gpl3+)))
4494 (define-public emacs-helm
4495   (package
4496     (name "emacs-helm")
4497     (version "2.9.0")
4498     (source (origin
4499               (method url-fetch)
4500               (uri (string-append
4501                     "https://github.com/" name "/helm/archive/v"
4502                     version ".tar.gz"))
4503               (file-name (string-append name "-" version ".tar.gz"))
4504               (sha256
4505                (base32
4506                 "1798gn0za11cxdbi436javfczv4abniccxcl0jppl463r8lzb8is"))))
4507     (build-system emacs-build-system)
4508     (propagated-inputs
4509      `(("emacs-async" ,emacs-async)
4510        ("emacs-popup" ,emacs-popup)))
4511     (home-page "https://emacs-helm.github.io/helm/")
4512     (synopsis "Incremental completion and selection narrowing
4513 framework for Emacs")
4514     (description "Helm is incremental completion and selection narrowing
4515 framework for Emacs.  It will help steer you in the right direction when
4516 you're looking for stuff in Emacs (like buffers, files, etc).  Helm is a fork
4517 of @code{anything.el} originally written by Tamas Patrovic and can be
4518 considered to be its successor.  Helm sets out to clean up the legacy code in
4519 @code{anything.el} and provide a cleaner, leaner and more modular tool, that's
4520 not tied in the trap of backward compatibility.")
4521     (license license:gpl3+)))
4523 (define-public emacs-helm-swoop
4524   (package
4525     (name "emacs-helm-swoop")
4526     (version "1.7.4")
4527     (source (origin
4528               (method url-fetch)
4529               (uri (string-append
4530                     "https://github.com/ShingoFukuyama/helm-swoop/archive/"
4531                     version
4532                     ".tar.gz"))
4533               (file-name (string-append name "-" version ".tar.gz"))
4534               (sha256
4535                (base32
4536                 "1ssivsjzlnkg049cg993l8fp09l5nhpz6asj7w5c91zp5kpc6fh7"))))
4537     (build-system emacs-build-system)
4538     (propagated-inputs
4539      `(("emacs-helm" ,emacs-helm)))
4540     (home-page "https://github.com/ShingoFukuyama/helm-swoop")
4541     (synopsis "Filter and jump to lines in an Emacs buffer using Helm")
4542     (description
4543      "This package builds on the Helm interface to provide several commands
4544 for search-based navigation of buffers.")
4545     (license license:gpl2+)))
4547 (define-public emacs-helm-projectile
4548   (package
4549     (name "emacs-helm-projectile")
4550     (version "0.14.0")
4551     (source (origin
4552               (method url-fetch)
4553               (uri (string-append
4554                     "https://github.com/bbatsov/helm-projectile/archive/v"
4555                     version
4556                     ".tar.gz"))
4557               (file-name (string-append name "-" version ".tar.gz"))
4558               (sha256
4559                (base32
4560                 "19cfmilqh8kbab3b2hmx6lyrj73q6vfmn3p730x95g23iz16mnd5"))))
4561     (build-system emacs-build-system)
4562     (propagated-inputs
4563      `(("emacs-dash" ,emacs-dash)
4564        ("emacs-helm" ,emacs-helm)
4565        ("emacs-projectile" ,emacs-projectile)))
4566     (home-page "https://github.com/bbatsov/helm-projectile")
4567     (synopsis "Helm integration for Projectile")
4568     (description
4569      "This Emacs library provides a Helm interface for Projectile.")
4570     (license license:gpl3+)))
4572 (define-public emacs-helm-make
4573   (let ((commit "feae8df22bc4b20705ea08ac9adfc2b43bb348d0")
4574         (revision "1"))
4575     (package
4576       (name "emacs-helm-make")
4577       (version (string-append "0.1.0-" revision "." (string-take commit 7)))
4578       (source
4579        (origin
4580          (method git-fetch)
4581          (uri (git-reference
4582                (url "https://github.com/abo-abo/helm-make.git")
4583                (commit commit)))
4584          (file-name (string-append name "-" version "-checkout"))
4585          (sha256
4586           (base32
4587            "1y2v77mmd1bfkkz51cnk1l0dg3lvvxc39wlamnm7wjns66dbvlam"))))
4588       (build-system emacs-build-system)
4589       (propagated-inputs
4590        `(("emacs-helm" ,emacs-helm)
4591          ("emacs-projectile" ,emacs-projectile)))
4592       (home-page "https://github.com/abo-abo/helm-make")
4593       (synopsis "Select a Makefile target with helm")
4594       (description "@code{helm-make} or @code{helm-make-projectile} will give
4595 you a @code{helm} selection of directory Makefile's targets.  Selecting a
4596 target will call @code{compile} on it.")
4597       (license license:gpl3+))))
4599 (define-public emacs-cider
4600   (package
4601     (name "emacs-cider")
4602     (version "0.15.1")
4603     (source (origin
4604               (method url-fetch)
4605               (uri (string-append
4606                     "https://github.com/clojure-emacs/cider/archive/v"
4607                     version ".tar.gz"))
4608               (file-name (string-append name "-" version ".tar.gz"))
4609               (sha256
4610                (base32
4611                 "1j5hlmi14ypszv1f9nvq0jjlz7i742flg0ny3055l7i4x089xx6g"))))
4612     (build-system emacs-build-system)
4613     (arguments
4614      '(#:exclude                        ; Don't exclude 'cider-test.el'.
4615        '("^\\.dir-locals\\.el$" "^test/")))
4616     (propagated-inputs
4617      `(("emacs-clojure-mode" ,emacs-clojure-mode)
4618        ("emacs-spinner" ,emacs-spinner)
4619        ("emacs-pkg-info" ,emacs-pkg-info)
4620        ("emacs-queue" ,emacs-queue)))
4621     (home-page "https://cider.readthedocs.org/")
4622     (synopsis "Clojure development environment for Emacs")
4623     (description
4624      "CIDER (Clojure Interactive Development Environment that Rocks) aims to
4625 provide an interactive development experience similar to the one you'd get
4626 when programming in Emacs Lisp, Common Lisp (with SLIME or Sly), Scheme (with
4627 Geiser) and Smalltalk.
4629 CIDER is the successor to the now deprecated combination of using SLIME +
4630 swank-clojure for Clojure development.
4632 There are plenty of differences between CIDER and SLIME, but the core ideas
4633 are pretty much the same (and SLIME served as the principle inspiration for
4634 CIDER).")
4635     (license license:gpl3+)))
4637 ;; There hasn't been a tag or release since 2015, so we take the latest
4638 ;; commit.
4639 (define-public emacs-sly
4640   (let ((commit "486bfbe95612bcdc0960c490207970a188e0fbb9")
4641         (revision "1"))
4642     (package
4643       (name "emacs-sly")
4644       (version (string-append "1.0.0-" revision "." (string-take commit 9)))
4645       (source
4646        (origin
4647          (method git-fetch)
4648          (uri (git-reference
4649                (url "https://github.com/joaotavora/sly.git")
4650                (commit commit)))
4651          (file-name (git-file-name name version))
4652          (sha256
4653           (base32
4654            "0ib4q4k3h3qn88pymyjjmlmnpizdn1mfg5gpk5a715nqsgxlg09l"))))
4655       (build-system emacs-build-system)
4656       (arguments
4657        `(#:include (cons "^lib\\/" %default-include)
4658          #:phases
4659          ;; The package provides autoloads.
4660          (modify-phases %standard-phases
4661            (delete 'make-autoloads))))
4662       (home-page "https://github.com/joaotavora/sly")
4663       (synopsis "Sylvester the Cat's Common Lisp IDE")
4664       (description
4665        "SLY is Sylvester the Cat's Common Lisp IDE.  SLY is a fork of SLIME, and
4666 contains the following improvements over it:
4668 @enumerate
4669 @item Completely redesigned REPL based on Emacs's own full-featured
4670   @code{comint.el}
4671 @item Live code annotations via a new @code{sly-stickers} contrib
4672 @item Consistent interactive button interface.  Everything can be copied to
4673   the REPL.
4674 @item Multiple inspectors with independent history
4675 @item Regexp-capable @code{M-x sly-apropos}
4676 @item Contribs are first class SLY citizens and enabled by default
4677 @item Use ASDF to loads contribs on demand.
4678 @end enumerate
4680 SLY tracks SLIME's bugfixes and all its familar features (debugger, inspector,
4681 xref, etc...) are still available, but with better integration.")
4682       (license license:gpl3+))))
4684 (define-public emacs-lua-mode
4685   (let ((commit "652e299cb967fccca827dda381d61a9c144d97de")
4686         (revision "1"))
4687     (package
4688       (name "emacs-lua-mode")
4689       (version (string-append "20151025." revision "-" (string-take commit 9)))
4690       (home-page "https://github.com/immerrr/lua-mode/")
4691       (source (origin
4692                 (method git-fetch)
4693                 (uri (git-reference
4694                       (url home-page)
4695                       (commit commit)))
4696                 (file-name (string-append name "-" version ".checkout"))
4697                 (sha256
4698                  (base32
4699                   "053025k930wh0lak6rc1973ynfrmm8zsyzfqhhd39x7abkl41hc9"))))
4700       (build-system emacs-build-system)
4701       (synopsis "Major mode for lua")
4702       (description
4703        "This Emacs package provides a mode for @uref{https://www.lua.org/,
4704 Lua programing language}.")
4705       (license license:gpl2+))))
4707 (define-public emacs-ebuild-mode
4708   (package
4709     (name "emacs-ebuild-mode")
4710     (version "1.37")
4711     (source (origin
4712               (method url-fetch)
4713               (uri (string-append
4714                     "https://dev.gentoo.org/~ulm/emacs/ebuild-mode"
4715                     "-" version ".tar.xz"))
4716               (file-name (string-append name "-" version ".tar.xz"))
4717               (sha256
4718                (base32
4719                 "07dzrdjjczkxdfdgi60h4jjkvzi4p0k9rij2wpfp8s03ay3qldpp"))))
4720     (build-system emacs-build-system)
4721     (home-page "https://devmanual.gentoo.org")
4722     (synopsis "Major modes for Gentoo package files")
4723     (description
4724      "This Emacs package provides modes for ebuild, eclass, eblit, GLEP42
4725 news items, openrc and runscripts.")
4726     (license license:gpl2+)))
4728 (define-public emacs-evil
4729   (package
4730     (name "emacs-evil")
4731     (version "1.2.13")
4732     (source
4733      (origin
4734        (method url-fetch)
4735        (uri (string-append "https://github.com/emacs-evil/evil/archive/"
4736                            version ".tar.gz"))
4737        (file-name (string-append name "-" version ".tar.gz"))
4738        (sha256
4739         (base32
4740          "1z63zsxmsc6mh74wv6065carwqmgs7b7lz5044s12xvgsjfbwi8h"))))
4741     (build-system emacs-build-system)
4742     (propagated-inputs
4743      `(("emacs-undo-tree" ,emacs-undo-tree)
4744        ("emacs-goto-chg" ,emacs-goto-chg)))
4745     (home-page "https://github.com/emacs-evil/evil")
4746     (synopsis "Extensible Vi layer for Emacs")
4747     (description
4748      "Evil is an extensible vi layer for Emacs.  It emulates the
4749 main features of Vim, and provides facilities for writing custom
4750 extensions.")
4751     (license license:gpl3+)))
4753 (define-public emacs-evil-collection
4754   (let ((commit "ac21b8957cfc22485cdaa316384edf9cb220d837")
4755         (revision "1"))
4756     (package
4757       (name "emacs-evil-collection")
4758       (version (git-version "20180617" revision commit))
4759       (source (origin
4760                 (method git-fetch)
4761                 (uri (git-reference
4762                       (url "https://github.com/emacs-evil/evil-collection")
4763                       (commit commit)))
4764                 (file-name (string-append name "-" version "-checkout"))
4765                 (sha256
4766                  (base32
4767                   "082a3c5c2ls9ryqrl5kzb4z6bcprhqx8pypnlj1razbld3lny934"))))
4768       (build-system emacs-build-system)
4769       (propagated-inputs
4770        `(("emacs-evil" ,emacs-evil)))
4771       (home-page "https://github.com/emacs-evil/evil-collection")
4772       (synopsis "Collection of Evil bindings for many major and minor modes")
4773       (description "This is a collection of Evil bindings for the parts of
4774 Emacs that Evil does not cover properly by default, such as @code{help-mode},
4775 @code{M-x calendar}, Eshell and more.")
4776       (license license:gpl3+))))
4778 (define-public emacs-goto-chg
4779   (package
4780     (name "emacs-goto-chg")
4781     (version "1.6")
4782     (source
4783      (origin
4784        (method url-fetch)
4785        ;; There is no versioned source.
4786        (uri "https://www.emacswiki.org/emacs/download/goto-chg.el")
4787        (file-name (string-append "goto-chg-" version ".el"))
4788        (sha256
4789         (base32
4790          "078d6p4br5vips7b9x4v6cy0wxf6m5ij9gpqd4g33bryn22gnpij"))))
4791     (build-system emacs-build-system)
4792     ;; There is no other home page.
4793     (home-page "https://www.emacswiki.org/emacs/goto-chg.el")
4794     (synopsis "Go to the last change in the Emacs buffer")
4795     (description
4796      "This package provides @code{M-x goto-last-change} command that goes to
4797 the point of the most recent edit in the current Emacs buffer.  When repeated,
4798 go to the second most recent edit, etc.  Negative argument, @kbd{C-u -}, is
4799 used for reverse direction.")
4800     (license license:gpl2+)))
4802 (define-public emacs-monroe
4803   (package
4804     (name "emacs-monroe")
4805     (version "0.3.1")
4806     (source
4807       (origin
4808         (method url-fetch)
4809         (uri (string-append "https://github.com/sanel/monroe/archive/"
4810                             version ".tar.gz"))
4811         (file-name (string-append name "-" version ".tar.gz"))
4812         (sha256
4813           (base32
4814             "0icdx8shkd951phlnmcq1vqaxp1l667q5rjscskc5r22aylakh4w"))))
4815     (build-system emacs-build-system)
4816     (home-page "https://github.com/sanel/monroe")
4817     (synopsis "Clojure nREPL client for Emacs")
4818     (description
4819       "Monroe is a nREPL client for Emacs, focused on simplicity and easy
4820 distribution, primarily targeting Clojure users")
4821     (license license:gpl3+)))
4823 (define-public emacs-orgalist
4824   (package
4825     (name "emacs-orgalist")
4826     (version "1.8")
4827     (source
4828      (origin
4829        (method url-fetch)
4830        (uri (string-append "https://elpa.gnu.org/packages/"
4831                            "orgalist-" version ".el"))
4832        (sha256
4833         (base32
4834          "1wqwnmn08i0qkxm8b2iclvf6cydcn68h1p3h7r1kig2bdn5b8948"))))
4835     (build-system emacs-build-system)
4836     (home-page "http://elpa.gnu.org/packages/orgalist.html")
4837     (synopsis "Manage Org-like lists in non-Org buffers")
4838     (description "Write Org mode's plain lists in non-Org buffers.  More
4839 specifically, Orgalist supports the syntax of Org mode for numbered,
4840 unnumbered, description items, checkboxes, and counter cookies.
4842 The library also implements radio lists, i.e., lists written in Org
4843 syntax later translated into the host format, e.g., LaTeX or HTML.")
4844     (license license:gpl3+)))
4846 (define-public emacs-writegood-mode
4847   (package
4848     (name "emacs-writegood-mode")
4849     (version "2.0.2")
4850     (home-page "https://github.com/bnbeckwith/writegood-mode")
4851     (source (origin
4852               (method git-fetch)
4853               (uri (git-reference
4854                     (url home-page)
4855                     (commit (string-append "v" version))))
4856               (sha256
4857                (base32
4858                 "1nnjn1r669hvvzfycllwap4w04m8rfsk4nzcg8057m1f263kj31b"))
4859               (file-name (string-append name "-checkout"))))
4860     (build-system emacs-build-system)
4861     (synopsis "Polish up poor writing on the fly")
4862     (description
4863      "This minor mode tries to find and highlight problems with your writing
4864 in English as you type.  It primarily detects \"weasel words\" and abuse of
4865 passive voice.")
4866     (license license:gpl3+)))
4868 (define-public emacs-neotree
4869   (package
4870     (name "emacs-neotree")
4871     (version "0.5.2")
4872     (home-page "https://github.com/jaypei/emacs-neotree")
4873     (source (origin
4874               (method url-fetch)
4875               (uri (string-append
4876                     "https://github.com/jaypei/" name
4877                     "/archive/" version ".tar.gz"))
4878               (sha256
4879                (base32
4880                 "1zd6dchwyijnf7kgchfcp51gs938l204dk9z6mljrfqf2zy0gp12"))
4881               (file-name (string-append name "-" version ".tar.gz"))))
4882     (build-system emacs-build-system)
4883     (synopsis "Folder tree view for Emacs")
4884     (description "This Emacs package provides a folder tree view.")
4885     (license license:gpl3+)))
4887 (define-public emacs-org
4888   (package
4889     (name "emacs-org")
4890     ;; emacs-org-contrib inherits from this package.  Please update its sha256
4891     ;; checksum as well.
4892     (version "9.1.13")
4893     (source (origin
4894               (method url-fetch)
4895               (uri (string-append "http://elpa.gnu.org/packages/org-"
4896                                   version ".tar"))
4897               (sha256
4898                (base32
4899                 "1vx0n32gvrgy2bl2b4pvxf00cywxwm57gi46f2b2zlrnmd5n85pr"))))
4900     (build-system emacs-build-system)
4901     (home-page "https://orgmode.org/")
4902     (synopsis "Outline-based notes management and organizer")
4903     (description "Org is an Emacs mode for keeping notes, maintaining TODO
4904 lists, and project planning with a fast and effective lightweight markup
4905 language.  It also is an authoring system with unique support for literate
4906 programming and reproducible research.")
4907     (license license:gpl3+)))
4909 (define-public emacs-org-contrib
4910   (package
4911     (inherit emacs-org)
4912     (name "emacs-org-contrib")
4913     (version "20180507")
4914     (source (origin
4915               (method url-fetch)
4916               (uri (string-append "https://orgmode.org/elpa/org-plus-contrib-"
4917                                   version ".tar"))
4918               (sha256
4919                (base32
4920                 "190iwjpdjrhg7gl2d4bri2y0y679vlrwd841r6dvhza0yy338d2d"))))
4921     (arguments
4922      `(#:modules ((guix build emacs-build-system)
4923                   (guix build utils)
4924                   (guix build emacs-utils)
4925                   (ice-9 ftw)
4926                   (srfi srfi-1))
4927        #:phases
4928        (modify-phases %standard-phases
4929          (add-after 'install 'delete-org-files
4930            (lambda* (#:key inputs outputs #:allow-other-keys)
4931              (let* ((out (assoc-ref outputs "out"))
4932                     (org (assoc-ref inputs "emacs-org"))
4933                     (contrib-files
4934                      (map basename (find-files out)))
4935                     (org+contrib-files
4936                      (map basename (find-files org)))
4937                     (duplicates (lset-intersection
4938                                  string=? contrib-files org+contrib-files)))
4939                (with-directory-excursion
4940                    (string-append
4941                     out "/share/emacs/site-lisp/guix.d/org-contrib-" ,version)
4942                  (for-each delete-file duplicates))
4943                #t))))))
4944     (propagated-inputs
4945      `(("emacs-org" ,emacs-org)
4946        ("emacs-scel" ,emacs-scel)))
4947     (synopsis "Contributed packages to Org mode")
4948     (description "Org is an Emacs mode for keeping notes, maintaining TODO
4949 lists, and project planning with a fast and effective plain-text system.
4951 This package is equivalent to org-plus-contrib, but only includes additional
4952 files that you would find in @file{contrib/} from the git repository.")))
4954 (define-public emacs-flx
4955   (package
4956     (name "emacs-flx")
4957     (version "0.6.1")
4958     (source
4959      (origin
4960        (method url-fetch)
4961        (uri (string-append "https://github.com/lewang/"
4962                            "flx/archive/v" version ".tar.gz"))
4963        (sha256
4964         (base32
4965          "0bkcpnf1j4i2fcc2rllwbz62l00sw2mcia6rm5amgwvlkqavmkv6"))
4966        (file-name (string-append name "-" version ".tar.gz"))))
4967     (build-system emacs-build-system)
4968     (home-page "https://github.com/lewang/flx")
4969     (synopsis "Fuzzy matching for Emacs")
4970     (description
4971      "Flx provides fuzzy matching for emacs a la sublime text.
4972 The sorting algorithm is a balance between word beginnings (abbreviation)
4973 and contiguous matches (substring).  The longer the substring match,
4974 the higher it scores. This maps well to how we think about matching.
4975 Flx has support for ido (interactively do things) through flx-ido.")
4976     (license license:gpl3+)))
4978 (define-public emacs-cyberpunk-theme
4979   (package
4980     (name "emacs-cyberpunk-theme")
4981     (version "1.19")
4982     (source
4983      (origin
4984        (method url-fetch)
4985        (uri (string-append "https://github.com/n3mo/cyberpunk-theme.el/"
4986                            "archive/" version ".tar.gz"))
4987        (sha256
4988         (base32
4989          "05l5fxw1mn5py6mfhxrzyqjq0d8m5m1akfi46vrgh13r414jffvv"))
4990        (file-name (string-append name "-" version ".tar.gz"))))
4991     (build-system emacs-build-system)
4992     (home-page "https://github.com/n3mo/cyberpunk-theme.el")
4993     (synopsis "Cyberpunk theme for emacs built-in color theme support")
4994     (description
4995      "Cyberpunk color theme for the emacs 24+ built-in color theme support
4996 known loosely as deftheme.  Many mode-specific customizations are included.")
4997     (license license:gpl3+)))
4999 (define-public emacs-danneskjold-theme
5000   (let* ((commit "8733d2fe8743e8a01826ea6d4430ef376c727e57")
5001          (revision "1"))
5002     (package
5003       (name "emacs-danneskjold-theme")
5004       (version (string-append "0.0.0-" revision "." (string-take commit 7)))
5005       (home-page "https://github.com/rails-to-cosmos/danneskjold-theme")
5006       (source
5007        (origin
5008          (method git-fetch)
5009          (uri (git-reference
5010                (url home-page)
5011                (commit commit)))
5012          (file-name (string-append name "-" version "-checkout"))
5013          (sha256
5014           (base32
5015            "0s6rbsb0y8i8m5b9xm4gw1p1cxsxdqnqxqqb638pygz9f76mbir1"))))
5016       (build-system emacs-build-system)
5017       (arguments
5018        `(#:phases
5019          (modify-phases %standard-phases
5020            (add-after 'unpack 'delete-screenshots
5021              (lambda _
5022                (delete-file-recursively "screenshots") #t)))))
5023       (synopsis "High-contrast Emacs theme")
5024       (description
5025        "@code{danneskjold-theme} is a high-contrast theme for Emacs.")
5026       (license license:gpl3+))))
5028 (define-public emacs-dream-theme
5029   (let* ((commit "107a11d74365046f28a1802a2bdb5e69e4a7488b")
5030          (revision "1"))
5031     (package
5032       (name "emacs-dream-theme")
5033       (version (string-append "0.0.0-" revision "." (string-take commit 7)))
5034       (source
5035        (origin
5036          (method git-fetch)
5037          (uri (git-reference
5038                (url "https://github.com/djcb/dream-theme")
5039                (commit commit)))
5040          (file-name (string-append name "-" version "-checkout"))
5041          (sha256
5042           (base32
5043            "0za18nfkq4xqm35k6006vsixcbmvmxqgma4iw5sw37h8vmcsdylk"))))
5044       (build-system emacs-build-system)
5045       (home-page "https://github.com/djcb/dream-theme")
5046       (synopsis "High-contrast Emacs theme")
5047       (description
5048        "@code{dream-theme} is a dark, clean theme for Emacs.  It is inspired
5049 by zenburn, sinburn and similar themes, but slowly diverging from them.")
5050       (license license:gpl3+))))
5052 (define-public emacs-auto-complete
5053   (package
5054     (name "emacs-auto-complete")
5055     (version "1.5.1")
5056     (source
5057      (origin
5058        (method url-fetch)
5059        (uri (string-append "https://github.com/auto-complete/"
5060                            "auto-complete/archive/v" version ".tar.gz"))
5061        (sha256
5062         (base32
5063          "1jvq4lj00hwml75lpmlciazy8f3bbg13gffsfnl835p4qd8l7yqv"))
5064        (file-name (string-append name "-" version ".tar.gz"))))
5065     (build-system emacs-build-system)
5066     (propagated-inputs
5067      `(("emacs-popup" ,emacs-popup)))
5068     (home-page "https://github.com/auto-complete/auto-complete")
5069     (synopsis "Intelligent auto-completion extension for Emacs")
5070     (description
5071      "Auto-Complete is an intelligent auto-completion extension for Emacs.
5072 It extends the standard Emacs completion interface and provides an environment
5073 that allows users to concentrate more on their own work.  Its features are:
5074 a visual interface, reduce overhead of completion by using statistic method,
5075 extensibility.")
5076     (license license:gpl3+)))
5078 (define-public m17n-db
5079   (package
5080     (name "m17n-db")
5081     (version "1.7.0")
5082     (source
5083      (origin
5084        (method url-fetch)
5085        (uri (string-append "mirror://savannah/m17n/m17n-db-"
5086                            version ".tar.gz"))
5087        (sha256
5088         (base32 "1w08hnsbknrcjlzp42c99bgwc9hzsnf5m4apdv0dacql2s09zfm2"))))
5089     (build-system gnu-build-system)
5090     (inputs
5091      `(("gettext" ,gettext-minimal)))
5092     (arguments
5093      `(#:configure-flags
5094        (list (string-append "--with-charmaps="
5095                             (assoc-ref %build-inputs "libc")
5096                             "/share/i18n/charmaps"))))
5097     ;; With `guix lint' the home-page URI returns a small page saying
5098     ;; that your browser does not handle frames. This triggers the "URI
5099     ;; returns suspiciously small file" warning.
5100     (home-page "https://www.nongnu.org/m17n/")
5101     (synopsis "Multilingual text processing library (database)")
5102     (description "The m17n library realizes multilingualization of
5103 many aspects of applications.  The m17n library represents
5104 multilingual text as an object named M-text.  M-text is a string with
5105 attributes called text properties, and designed to substitute for
5106 string in C.  Text properties carry any information required to input,
5107 display and edit the text.
5109 This package contains the library database.")
5110     (license license:lgpl2.1+)))
5112 (define-public m17n-lib
5113   (package
5114     (name "m17n-lib")
5115     (version "1.7.0")
5116     (source
5117      (origin
5118        (method url-fetch)
5119        (uri (string-append "mirror://savannah/m17n/m17n-lib-"
5120                            version ".tar.gz"))
5121        (sha256
5122         (base32 "10yv730i25g1rpzv6q49m6xn4p8fjm7jdwvik2h70sn8w3hm7f4f"))))
5123     (build-system gnu-build-system)
5124     (inputs
5125      `(("fribidi" ,fribidi)
5126        ("gd" ,gd)
5127        ("libotf" ,libotf)
5128        ("libxft" ,libxft)
5129        ("libxml2" ,libxml2)
5130        ("m17n-db" ,m17n-db)))
5131     (arguments
5132      `(#:parallel-build? #f))
5133     ;; With `guix lint' the home-page URI returns a small page saying
5134     ;; that your browser does not handle frames. This triggers the "URI
5135     ;; returns suspiciously small file" warning.
5136     (home-page "https://www.nongnu.org/m17n/")
5137     (synopsis "Multilingual text processing library (runtime)")
5138     (description "The m17n library realizes multilingualization of
5139 many aspects of applications.  The m17n library represents
5140 multilingual text as an object named M-text.  M-text is a string with
5141 attributes called text properties, and designed to substitute for
5142 string in C.  Text properties carry any information required to input,
5143 display and edit the text.
5145 This package contains the library runtime.")
5146     (license license:lgpl2.1+)))
5148 (define-public emacs-nginx-mode
5149   (package
5150     (name "emacs-nginx-mode")
5151     (version "1.1.4")
5152     (source
5153      (origin
5154        (method url-fetch)
5155        (uri (string-append
5156              "https://github.com/ajc/nginx-mode/archive/v"
5157              version ".tar.gz"))
5158        (file-name (string-append name "-" version ".tar.gz"))
5159        (sha256
5160         (base32
5161          "1lvkj07kq0jkskr2f61vqb5rlrbnaz9a76ikq40w6925i2r970rr"))))
5162     (build-system emacs-build-system)
5163     (home-page "https://github.com/ajc/nginx-mode")
5164     (synopsis "Emacs major mode for editing nginx config files")
5165     (description "This package provides an Emacs major mode for
5166 editing nginx config files.")
5167     (license license:gpl2+)))
5169 (define-public emacs-stream
5170   (package
5171     (name "emacs-stream")
5172     (version "2.2.0")
5173     (home-page "https://github.com/NicolasPetton/stream")
5174     (source
5175      (origin
5176        (method url-fetch)
5177        (file-name (string-append name "-" version ".tar.gz"))
5178        (uri (string-append home-page "/archive/"version ".tar.gz"))
5179        (sha256
5180         (base32 "03ql4nqfz5pn55mjly6clhvc3g7x2d28kj7mrlqmigvjbql39xxc"))))
5181     (build-system emacs-build-system)
5182     (synopsis "Implementation of streams for Emacs")
5183     (description "This library provides an implementation of streams for Emacs.
5184 Streams are implemented as delayed evaluation of cons cells.")
5185     (license license:gpl3+)))
5187 (define-public emacs-el-search
5188   (let ((commit "f26277bfbb3fc3fc74beea6592f294c439796bd4")
5189         (revision "1"))
5190     (package
5191       (name "emacs-el-search")
5192       ;; No ufficial release.
5193       (version (string-append "0.0-" revision "." (string-take commit 7)))
5194       (home-page "https://github.com/emacsmirror/el-search")
5195       (source
5196        (origin
5197          (method git-fetch)
5198          (file-name (string-append name "-" version ".tar.gz"))
5199          (uri (git-reference
5200                (commit commit)
5201                (url (string-append home-page ".git"))))
5202          (sha256
5203           (base32 "12xf40h9sb7xxg2r97gsia94q02543mgiiiw46fzh1ac7b7993g6"))))
5204       (build-system emacs-build-system)
5205       (inputs `(("emacs-stream" ,emacs-stream)))
5206       (synopsis "Expression based interactive search for emacs-lisp-mode")
5207       (description "This package provides expression based interactive search
5208 procedures for emacs-lisp-mode.")
5209       (license license:gpl3+))))
5211 (define-public emacs-ht
5212   (package
5213     (name "emacs-ht")
5214     (version "2.1")
5215     (source
5216      (origin
5217        (method url-fetch)
5218        (uri (string-append
5219              "https://github.com/Wilfred/ht.el/archive/"
5220              version ".tar.gz"))
5221        (file-name (string-append name "-" version ".tar.gz"))
5222        (sha256
5223         (base32
5224          "1lpba36kzxcc966fvsbrfpy8ah9gnvay0yk26gbyjil0rggrbqzj"))))
5225     (build-system emacs-build-system)
5226     (propagated-inputs `(("emacs-dash" ,emacs-dash)))
5227     (home-page "https://github.com/Wilfred/ht.el")
5228     (synopsis "Hash table library for Emacs")
5229     (description
5230      "This package simplifies the use of hash tables in elisp.  It also
5231 provides functions to convert hash tables from and to alists and plists.")
5232     (license license:gpl3+)))
5234 (define-public emacs-log4e
5235   (package
5236     (name "emacs-log4e")
5237     (version "0.3.0")
5238     (source
5239      (origin
5240        (method url-fetch)
5241        (uri (string-append
5242              "https://github.com/aki2o/log4e/archive/v"
5243              version ".tar.gz"))
5244        (file-name (string-append name "-" version ".tar.gz"))
5245        (sha256
5246         (base32
5247          "0nbdpbw353snda3v19l9hsm6gimppwnpxj18amm350bm81lyim2g"))))
5248     (build-system emacs-build-system)
5249     (arguments
5250      `(#:phases
5251        (modify-phases %standard-phases
5252          (add-after 'unpack 'remove-tests
5253            ;; Guile builder complains about null characters in some
5254            ;; strings of test files.  Remove "test" directory (it is not
5255            ;; needed anyway).
5256            (lambda _
5257              (delete-file-recursively "test"))))))
5258     (home-page "https://github.com/aki2o/log4e")
5259     (synopsis "Logging framework for elisp")
5260     (description
5261      "This package provides a logging framework for elisp.  It allows
5262 you to deal with multiple log levels.")
5263     (license license:gpl3+)))
5265 (define-public emacs-gntp
5266   (package
5267     (name "emacs-gntp")
5268     (version "0.1")
5269     (source
5270      (origin
5271        (method url-fetch)
5272        (uri (string-append
5273              "https://github.com/tekai/gntp.el/archive/v"
5274              version ".tar.gz"))
5275        (file-name (string-append name "-" version ".tar.gz"))
5276        (sha256
5277         (base32
5278          "16c1dfkia9yhl206bdhjr3b8kfvqcqr38jl5lq8qsyrrzsnmghny"))))
5279     (build-system emacs-build-system)
5280     (home-page "https://github.com/tekai/gntp.el")
5281     (synopsis "Growl Notification Protocol for Emacs")
5282     (description
5283      "This package implements the Growl Notification Protocol GNTP
5284 described at @uref{http://www.growlforwindows.com/gfw/help/gntp.aspx}.
5285 It is incomplete as it only lets you send but not receive
5286 notifications.")
5287     (license license:bsd-3)))
5289 (define-public emacs-alert
5290   (package
5291     (name "emacs-alert")
5292     (version "1.2")
5293     (source
5294      (origin
5295        (method url-fetch)
5296        (uri (string-append
5297              "https://github.com/jwiegley/alert/archive/v"
5298              version ".tar.gz"))
5299        (file-name (string-append name "-" version ".tar.gz"))
5300        (sha256
5301         (base32
5302          "1693kck3k2iz5zhpmxwqyafxm68hr6gzs60lkxd3j1wlp2c9fwyr"))))
5303     (build-system emacs-build-system)
5304     (propagated-inputs
5305      `(("emacs-gntp" ,emacs-gntp)
5306        ("emacs-log4e" ,emacs-log4e)))
5307     (home-page "https://github.com/jwiegley/alert")
5308     (synopsis "Growl-style notification system for Emacs")
5309     (description
5310      "Alert is a Growl-workalike for Emacs which uses a common notification
5311 interface and multiple, selectable \"styles\", whose use is fully
5312 customizable by the user.")
5313     (license license:gpl2+)))
5315 (define-public emacs-mu4e-alert
5316   (package
5317     (name "emacs-mu4e-alert")
5318     (version "1.0")
5319     (source
5320      (origin
5321        (method url-fetch)
5322        (uri (string-append
5323              "https://github.com/iqbalansari/mu4e-alert/archive/v"
5324              version ".tar.gz"))
5325        (file-name (string-append name "-" version ".tar.gz"))
5326        (sha256
5327         (base32
5328          "07qc834qnxn8xi4bw5nawj8g91bmkzw0r0vahkgysp7r9xrf57gj"))))
5329     (build-system emacs-build-system)
5330     (propagated-inputs
5331      `(("emacs-alert" ,emacs-alert)
5332        ("emacs-s" ,emacs-s)
5333        ("emacs-ht" ,emacs-ht)
5334        ("mu" ,mu)))
5335     (home-page "https://github.com/iqbalansari/mu4e-alert")
5336     (synopsis "Desktop notification for mu4e")
5337     (description
5338      "This package provides desktop notifications for mu4e.
5339 Additionally it can display the number of unread emails in the
5340 mode-line.")
5341     (license license:gpl3+)))
5343 (define-public emacs-pretty-mode
5344   (package
5345     (name "emacs-pretty-mode")
5346     (version "2.0.3")
5347     (source
5348      (origin
5349        (method url-fetch)
5350        (uri (string-append "https://github.com/akatov/pretty-mode/"
5351                            "archive/" version ".tar.gz"))
5352        (file-name (string-append name "-" version ".tar.gz"))
5353        (sha256
5354         (base32
5355          "1fan7m4vnqs8kpg7r54kx3g7faadkpkf9kzarfv8n57kq8w157pl"))))
5356     (build-system emacs-build-system)
5357     (home-page "https://github.com/akatov/pretty-mode")
5358     (synopsis "Redisplay parts of the buffer as Unicode symbols")
5359     (description
5360      "Emacs minor mode for redisplaying parts of the buffer as pretty symbols.")
5361     (license license:gpl3+)))
5363 (define-public emacs-yasnippet
5364   (package
5365     (name "emacs-yasnippet")
5366     (version "0.12.2")
5367     (source (origin
5368               (method url-fetch)
5369               (uri (string-append "https://github.com/joaotavora/yasnippet/"
5370                                   "archive/" version ".tar.gz"))
5371               (file-name (string-append name "-" version ".tar.gz"))
5372               (sha256
5373                (base32
5374                 "01jabaz0g67bsziayrxgv74px55fx4nlrcl0csl8f1by2102pwc5"))
5375               (modules '((guix build utils)))
5376               (snippet
5377                '(begin
5378                   ;; YASnippet expects a "snippets" subdirectory in the same
5379                   ;; directory as yasnippet.el, but we don't install it
5380                   ;; because it's a git submodule pointing to an external
5381                   ;; repository.  Adjust `yas-snippet-dirs' to prevent
5382                   ;; warnings about a missing directory.
5383                   (substitute* "yasnippet.el"
5384                     (("^ +'yas-installed-snippets-dir\\)\\)\n")
5385                      "))\n"))
5386                   #t))))
5387     (build-system emacs-build-system)
5388     (home-page "https://github.com/joaotavora/yasnippet")
5389     (synopsis "Yet another snippet extension for Emacs")
5390     (description
5391      "YASnippet is a template system for Emacs.  It allows you to type an
5392 abbreviation and automatically expand it into function templates.")
5393     (license license:gpl3+)))
5395 (define-public emacs-yasnippet-snippets
5396   (let ((commit "885050d34737e2fb36a3e7759d60c09347bd4ce0")
5397         (revision "1"))
5398     (package
5399       (name "emacs-yasnippet-snippets")
5400       (version (string-append "1-" revision "." (string-take commit 8)))
5401       (source
5402        (origin
5403          (method git-fetch)
5404          (uri (git-reference
5405                (url "https://github.com/AndreaCrotti/yasnippet-snippets")
5406                (commit commit)))
5407          (file-name (string-append name "-" version "-checkout"))
5408          (sha256
5409           (base32
5410            "1m935zgglw0iakzrixld5rcjz3wnj84f8wy2mvc3pggjri9l0qr9"))))
5411       (build-system trivial-build-system)
5412       (arguments
5413        `(#:modules ((ice-9 ftw)
5414                     (ice-9 regex)
5415                     (guix build utils))
5416          #:builder
5417          (begin
5418            (use-modules (ice-9 ftw)
5419                         (ice-9 regex)
5420                         (guix build utils))
5421            (with-directory-excursion (assoc-ref %build-inputs "source")
5422              (for-each (lambda (dir)
5423                          (copy-recursively
5424                           dir
5425                           (string-append %output
5426                                          "/share/emacs/yasnippet-snippets/"
5427                                          dir)))
5428                        (scandir "." (lambda (fname)
5429                                       (and (string-match "-mode$" fname)
5430                                            (directory-exists? fname))))))
5431            #t)))
5432       (home-page "https://github.com/AndreaCrotti/yasnippet-snippets")
5433       (synopsis "Collection of YASnippet snippets for many languages")
5434       (description
5435        "Provides Andrea Crotti's collection of YASnippet snippets.  After installation,
5436 the snippets will be in \"~/.guix-profile/share/emacs/yasnippet-snippets/\".
5437 To make YASnippet aware of these snippets, add the above directory to
5438 @code{yas-snippet-dirs}.")
5439       (license license:expat))))
5441 (define-public emacs-helm-c-yasnippet
5442   (let ((commit "65ca732b510bfc31636708aebcfe4d2d845b59b0")
5443         (revision "1"))
5444     (package
5445       (name "emacs-helm-c-yasnippet")
5446       (version (string-append "0.6.7" "-" revision "."
5447                               (string-take commit 7)))
5448       (source (origin
5449                 (method git-fetch)
5450                 (uri (git-reference
5451                       (url "https://github.com/emacs-jp/helm-c-yasnippet")
5452                       (commit commit)))
5453                 (file-name (string-append name "-" version "-checkout"))
5454                 (sha256
5455                  (base32
5456                   "1cbafjqlzxbg19xfdqsinsh7afq58gkf44rsg1qxfgm8g6zhr7f8"))))
5457       (build-system emacs-build-system)
5458       (propagated-inputs
5459        `(("emacs-helm" ,emacs-helm)
5460          ("emacs-yasnippet" ,emacs-yasnippet)))
5461       (home-page "https://github.com/emacs-jp/helm-c-yasnippet")
5462       (synopsis "Helm integration for Yasnippet")
5463       (description "This Emacs library provides Helm interface for
5464 Yasnippet.")
5465       (license license:gpl2+))))
5467 (define-public emacs-helm-system-packages
5468   (let ((commit "986b7bd360a705053500c4ce2c9bea03dd7b24a6")
5469         (revision "1"))
5470     (package
5471       (name "emacs-helm-system-packages")
5472       (version (git-version "1.9.0" revision commit))
5473       (source (origin
5474                 (method git-fetch)
5475                 (uri (git-reference
5476                       (url "https://github.com/emacs-helm/helm-system-packages")
5477                       (commit commit)))
5478                 (file-name (string-append name "-" version "-checkout"))
5479                 (sha256
5480                  (base32
5481                   "19iklhpxgh5xx6h4dysf58nd46lmyb46xj601lf7kbwl6yq0y61f"))))
5482       (build-system emacs-build-system)
5483       (propagated-inputs
5484        `(("emacs-helm" ,emacs-helm)))
5485       (home-page "https://github.com/emacs-helm/helm-system-packages")
5486       (synopsis "Helm System Packages is an interface to your package manager")
5487       (description "List all available packages in Helm (with installed
5488 packages displayed in their own respective face).  Fuzzy-search, mark and
5489 execute the desired action over any selections of packages: Install,
5490 uninstall, display packages details (in Org Mode) or insert details at point,
5491 find files owned by packages...  And much more, including performing all the
5492 above over the network.")
5493       (license license:gpl3+))))
5495 (define-public emacs-memoize
5496   (package
5497     (name "emacs-memoize")
5498     (version "1.1")
5499     (source
5500      (origin
5501        (method url-fetch)
5502        (uri (string-append
5503              "https://github.com/skeeto/emacs-memoize/archive/"
5504              version ".tar.gz"))
5505        (file-name (string-append name "-" version ".tar.gz"))
5506        (sha256
5507         (base32
5508          "05ijgwi4ymxx31vpjm2pn356j85cykknajn14lrzz8pn5sh0vrg4"))))
5509     (build-system emacs-build-system)
5510     (arguments
5511      `(#:tests? #t
5512        #:test-command '("emacs" "--batch"
5513                         "-l" "memoize-test.el"
5514                         "-f" "ert-run-tests-batch-and-exit")))
5515     (home-page "https://github.com/skeeto/emacs-memoize")
5516     (synopsis "Emacs lisp memoization library")
5517     (description "@code{emacs-memoize} is an Emacs library for
5518 memoizing functions.")
5519     (license license:unlicense)))
5521 (define-public emacs-linum-relative
5522   (package
5523     (name "emacs-linum-relative")
5524     (version "0.5")
5525     (source
5526      (origin
5527        (method url-fetch)
5528        (uri (string-append
5529              "https://github.com/coldnew/linum-relative/archive/"
5530              version ".tar.gz"))
5531        (file-name (string-append name "-" version ".tar.gz"))
5532        (sha256
5533         (base32
5534          "0s4frvr27866lw1rn3jal9wj5rkz9fx4yiszqv7w06azsdgsqksv"))))
5535     (build-system emacs-build-system)
5536     (home-page "https://github.com/coldnew/linum-relative")
5537     (synopsis "Relative line numbering for Emacs")
5538     (description "@code{emacs-linum-relative} displays the relative line
5539 number on the left margin in Emacs.")
5540     (license license:gpl2+)))
5542 (define-public emacs-idle-highlight
5543   (package
5544     (name "emacs-idle-highlight")
5545     (version "1.1.3")
5546     (source
5547      (origin
5548        (method url-fetch)
5549        (uri (string-append
5550              "https://github.com/nonsequitur/idle-highlight-mode/archive/"
5551              version ".tar.gz"))
5552        (file-name (string-append name "-" version ".tar.gz"))
5553        (sha256
5554         (base32
5555          "0kdv10hrgqpskjh0zvpnzwlkn5bccnqxas62gkws6njln57bf8nl"))))
5556     (build-system emacs-build-system)
5557     (home-page "https://www.emacswiki.org/emacs/IdleHighlight")
5558     (synopsis "Highlights all occurrences of the word the point is on")
5559     (description
5560      "This Emacs package provides @code{idle-highlight-mode} that sets
5561  an idle timer to highlight all occurrences in the buffer of the word under
5562  the point.")
5563     (license license:gpl3+)))
5565 (define-public emacs-ox-twbs
5566   (package
5567     (name "emacs-ox-twbs")
5568     (version "1.1.1")
5569     (source
5570      (origin
5571        (method url-fetch)
5572        (uri (string-append
5573              "https://github.com/marsmining/ox-twbs/archive/v"
5574              version ".tar.gz"))
5575        (file-name (string-append name "-" version ".tar.gz"))
5576        (sha256
5577         (base32
5578          "1zaq8dczq5wijjk36114k2x3hfrqig3lyx6djril6wyk67vczyqs"))))
5579     (build-system emacs-build-system)
5580     (home-page "https://github.com/marsmining/ox-twbs")
5581     (synopsis "Export org-mode docs as HTML compatible with Twitter Bootstrap")
5582     (description
5583      "This Emacs package outputs your org-mode docs with a simple, clean and
5584 modern look.  It implements a new HTML back-end for exporting org-mode docs as
5585 HTML compatible with Twitter Bootstrap.  By default, HTML is exported with
5586 jQuery and Bootstrap resources included via osscdn.")
5587     (license license:gpl3+)))
5589 (define-public emacs-highlight-sexp
5590   (package
5591     (name "emacs-highlight-sexp")
5592     (version "1.0")
5593     (source
5594      (origin
5595        (method url-fetch)
5596        (uri (string-append
5597              "https://github.com/daimrod/highlight-sexp/archive/v"
5598              version ".tar.gz"))
5599        (file-name (string-append name "-" version ".tar.gz"))
5600        (sha256
5601         (base32
5602          "0jwx87qkln1rg9wmv4qkgkml935fh2pkgrg5x4ca6n5dgb4q6rj1"))))
5603     (build-system emacs-build-system)
5604     (home-page "https://github.com/daimrod/highlight-sexp")
5605     (synopsis "Minor mode that highlights the s-exp at the current position")
5606     (description
5607      "This Emacs package highlights the s-exp at the current position.")
5608     (license license:gpl3+)))
5610 (define-public emacs-highlight-stages
5611   (let ((commit "29cbc5b78261916da042ddb107420083da49b271")
5612         (revision "1"))
5613     (package
5614       (name "emacs-highlight-stages")
5615       (version (string-append "1.1.0" "-" revision "." (string-take commit 7)))
5616       (source
5617        (origin
5618          (method git-fetch)
5619          (uri (git-reference
5620                (url "https://github.com/zk-phi/highlight-stages.git")
5621                (commit commit)))
5622          (file-name (string-append name "-" version "-checkout"))
5623          (sha256
5624           (base32
5625            "0r6nbcrr0dqpgm8dir8ahzjy7rw4nrac48byamzrq96r7ajlxlv0"))
5626          (patches
5627           (search-patches "emacs-highlight-stages-add-gexp.patch"))))
5628       (build-system emacs-build-system)
5629       (home-page "https://github.com/wigust/highlight-stages")
5630       (synopsis "Minor mode that highlights (quasi-quoted) expressions")
5631       (description "@code{highlight-stages} provides an Emacs minor mode that
5632 highlights quasi-quoted expressions.")
5633       (license license:gpl3+))))
5635 (define-public emacspeak
5636   (package
5637     (name "emacspeak")
5638     (version "48.0")
5639     (source
5640      (origin
5641        (method url-fetch)
5642        (uri (string-append
5643              "https://github.com/tvraman/emacspeak/releases/download/"
5644              version "/emacspeak-" version ".tar.bz2"))
5645        (sha256
5646         (base32
5647          "07imi3hji06b3r7v7v59978q76s8a7ynmxwfc9j03pgnv965lpjy"))))
5648     (build-system gnu-build-system)
5649     (arguments
5650      '(#:make-flags (list (string-append "prefix="
5651                                          (assoc-ref %outputs "out")))
5652        #:phases
5653        (modify-phases %standard-phases
5654          (replace 'configure
5655            (lambda* (#:key outputs #:allow-other-keys)
5656              (let* ((out (assoc-ref outputs "out"))
5657                     (lisp (string-append out
5658                                          "/share/emacs/site-lisp/emacspeak")))
5659                (setenv "SHELL" (which "sh"))
5660                ;; Configure Emacspeak according to etc/install.org.
5661                (invoke "make" "config"))))
5662          (add-after 'build 'build-espeak
5663            (lambda _
5664              (invoke "make" "espeak")))
5665          (replace 'install
5666            (lambda* (#:key inputs outputs #:allow-other-keys)
5667              (let* ((out (assoc-ref outputs "out"))
5668                     (bin (string-append out "/bin"))
5669                     (lisp (string-append out "/share/emacs/site-lisp/emacspeak"))
5670                     (info (string-append out "/share/info"))
5671                     (emacs (string-append (assoc-ref inputs "emacs")
5672                                           "/bin/emacs")))
5673                ;; According to etc/install.org, the Emacspeak directory should
5674                ;; be copied to its installation destination.
5675                (for-each
5676                 (lambda (file)
5677                   (copy-recursively file (string-append lisp "/" file)))
5678                 '("etc" "info" "js" "lisp" "media" "scapes" "servers" "sounds"
5679                   "stumpwm" "xsl"))
5680                ;; Make sure emacspeak is loaded from the correct directory.
5681                (substitute* "etc/emacspeak.sh"
5682                  (("exec FLAVOR.*")
5683                   (string-append "exec " emacs " -l " lisp
5684                                  "/lisp/emacspeak-setup.el $CL_ALL")))
5685                ;; Install the convenient startup script.
5686                (mkdir-p bin)
5687                (copy-file "etc/emacspeak.sh" (string-append bin "/emacspeak")))
5688              #t))
5689          (add-after 'install 'wrap-program
5690            (lambda* (#:key inputs outputs #:allow-other-keys)
5691              (let* ((out (assoc-ref outputs "out"))
5692                     (emacspeak (string-append out "/bin/emacspeak"))
5693                     (espeak (string-append (assoc-ref inputs "espeak")
5694                                            "/bin/espeak")))
5695                ;; The environment variable DTK_PROGRAM tells emacspeak what
5696                ;; program to use for speech.
5697                (wrap-program emacspeak
5698                  `("DTK_PROGRAM" ":" prefix (,espeak)))
5699                #t))))
5700        #:tests? #f)) ; no check target
5701     (inputs
5702      `(("emacs" ,emacs)
5703        ("espeak" ,espeak)
5704        ("perl" ,perl)
5705        ("tcl" ,tcl)
5706        ("tclx" ,tclx)))
5707     (home-page "http://emacspeak.sourceforge.net")
5708     (synopsis "Audio desktop interface for Emacs")
5709     (description
5710      "Emacspeak is a speech interface that allows visually impaired users to
5711 interact independently and efficiently with the computer.  Audio formatting
5712 --a technique pioneered by AsTeR-- and full support for W3C's Aural CSS (ACSS)
5713 allows Emacspeak to produce rich aural presentations of electronic information.
5714 By seamlessly blending all aspects of the Internet such as Web-surfing and
5715 messaging, Emacspeak speech-enables local and remote information via a
5716 consistent and well-integrated user interface.")
5717     (license license:gpl2+)))
5719 (define-public emacs-adaptive-wrap
5720   (package
5721     (name "emacs-adaptive-wrap")
5722     (version "0.5.1")
5723     (source (origin
5724               (method url-fetch)
5725               (uri (string-append
5726                     "http://elpa.gnu.org/packages/adaptive-wrap-"
5727                     version ".el"))
5728               (sha256
5729                (base32
5730                 "0qi7gjprcpywk2daivnlavwsx53hl5wcqvpxbwinvigg42vxh3ll"))))
5731     (build-system emacs-build-system)
5732     (home-page "http://elpa.gnu.org/packages/adaptive-wrap.html")
5733     (synopsis "Smart line-wrapping with wrap-prefix")
5734     (description
5735      "This Emacs package provides the @code{adaptive-wrap-prefix-mode}
5736 minor mode which sets the wrap-prefix property on the fly so that
5737 single-long-line paragraphs get word-wrapped in a way similar to what
5738 you'd get with @kbd{M-q} using @code{adaptive-fill-mode}, but without
5739 actually changing the buffer's text.")
5740     (license license:gpl3+)))
5742 (define-public emacs-diff-hl
5743  (package
5744   (name "emacs-diff-hl")
5745   (version "1.8.4")
5746   (source
5747     (origin
5748       (method url-fetch)
5749       (uri (string-append "http://elpa.gnu.org/packages/diff-hl-"
5750                           version ".tar"))
5751       (sha256
5752         (base32
5753           "0axhidc3cym7a2x4rpxf4745qss9s9ajyg4s9h5b4zn7v7fyp71n"))))
5754   (build-system emacs-build-system)
5755   (home-page "https://github.com/dgutov/diff-hl")
5756   (synopsis
5757     "Highlight uncommitted changes using VC")
5758   (description
5759     "@code{diff-hl-mode} highlights uncommitted changes on the side of the
5760 window (using the fringe, by default), allows you to jump between
5761 the hunks and revert them selectively.")
5762   (license license:gpl3+)))
5764 (define-public emacs-diminish
5765   (package
5766     (name "emacs-diminish")
5767     (version "0.45")
5768     (source
5769      (origin
5770        (method url-fetch)
5771        (uri (string-append
5772              "https://github.com/myrjola/diminish.el/archive/v"
5773              version ".tar.gz"))
5774        (file-name (string-append name "-" version ".tar.gz"))
5775        (sha256
5776         (base32
5777          "0i3629sv5cfrrb00hcnmaqzgs8mk36yasc1ax3ry1ga09nr6rkj9"))))
5778     (build-system emacs-build-system)
5779     (home-page "https://github.com/myrjola/diminish.el")
5780     (synopsis "Diminish minor modes with no modeline display")
5781     (description "@code{emacs-diminish} implements hiding or
5782 abbreviation of the mode line displays (lighters) of minor modes.")
5783     (license license:gpl2+)))
5785 (define-public emacs-use-package
5786   (package
5787     (name "emacs-use-package")
5788     (version "2.3")
5789     (source
5790      (origin
5791        (method url-fetch)
5792        (uri (string-append
5793              "https://github.com/jwiegley/use-package/archive/"
5794              version ".tar.gz"))
5795        (file-name (string-append name "-" version ".tar.gz"))
5796        (sha256
5797         (base32
5798          "0x4h136jb3imyli6zsh7dyzjrra6pv0v6b0yk94jdng3rdfcmsf5"))))
5799     (build-system emacs-build-system)
5800     (propagated-inputs
5801      `(("emacs-diminish" ,emacs-diminish)))
5802     (arguments
5803      ;; Tests fail in this release, but have been fixed in
5804      ;; upstream commit 7956d40eed57d6c06bef36ebc174cf57d934e30d
5805      `(#:tests? #f
5806        #:test-command '("emacs" "--batch"
5807                         "-l" "use-package-tests.el"
5808                         "-f" "ert-run-tests-batch-and-exit")))
5809     (home-page "https://github.com/jwiegley/use-package")
5810     (synopsis "Declaration for simplifying your .emacs")
5811     (description "The use-package macro allows you to isolate package
5812 configuration in your @file{.emacs} file in a way that is both
5813 performance-oriented and tidy.")
5814     (license license:gpl2+)))
5816 (define-public emacs-strace-mode
5817   (let* ((commit "6a69b4b06db6797af56f33eda5cb28af94e59f11")
5818          (revision "1"))
5819     (package
5820       (name "emacs-strace-mode")
5821       (version (string-append "0.0.2-" revision "." (string-take commit 7)))
5822       (source (origin
5823                 (method git-fetch)
5824                 (uri (git-reference
5825                       (url "https://github.com/pkmoore/strace-mode")
5826                       (commit commit)))
5827                 (file-name (string-append name "-" version "-checkout"))
5828                 (sha256
5829                  (base32
5830                   "1lbk2kzdznf2bkfazizfbimaxxzfzv00lrz1ran9dc2zqbc0bj9f"))))
5831       (build-system emacs-build-system)
5832       (home-page "https://github.com/pkmoore/strace-mode")
5833       (synopsis "Emacs major mode to highlight strace outputs")
5834       (description "@code{emacs-strace-mode} provides an Emacs major mode
5835  highlighting strace outputs.")
5836       (license license:gpl3+))))
5838 (define-public emacs-default-encrypt
5839   (package
5840     (name "emacs-default-encrypt")
5841     (version "4.3")
5842     (source
5843      (origin
5844        (method url-fetch)
5845        (uri (string-append
5846              "https://www.informationelle-selbstbestimmung-im-internet.de"
5847              "/emacs/jl-encrypt" version "/jl-encrypt.el"))
5848        (file-name (string-append "jl-encrypt-" version ".el"))
5849        (sha256
5850         (base32
5851          "16i3rlfp3jxlqvndn8idylhmczync3gwmy8a019v29vyr48rnnr0"))))
5852     (build-system emacs-build-system)
5853     (home-page "https://www.informationelle-selbstbestimmung-im-internet.de/Emacs.html")
5854     (synopsis "Automatically encrypt or sign Gnus messages in Emacs")
5855     (description
5856      "DefaultEncrypt is designed to be used with Gnus in Emacs.  It
5857 automatically encrypts messages that you send (e.g., email) when public keys
5858 for all recipients are available, and it protects you from accidentally
5859 sending un-encrypted messages.  It can also be configured to automatically
5860 sign messages that you send.  For details and instructions on how to use
5861 DefaultEncrypt, please refer to the home page or read the comments in the
5862 source file, @file{jl-encrypt.el}.")
5863     (license license:gpl3+)))
5865 (define-public emacs-htmlize
5866   (package
5867     (name "emacs-htmlize")
5868     (version "1.53")
5869     (source
5870      (origin
5871        (method url-fetch)
5872        (uri (string-append
5873              "https://github.com/hniksic/emacs-htmlize/archive/release/"
5874              version ".tar.gz"))
5875        (file-name (string-append name "-" version ".tar.gz"))
5876        (sha256
5877         (base32
5878          "1lzaf9m1qr9dhw4nn53g6wszk2vqw95gpsbrc3y85bams4cn24ga"))))
5879     (build-system emacs-build-system)
5880     (home-page "https://github.com/hniksic/emacs-htmlize")
5881     (synopsis "Convert buffer text and decorations to HTML")
5882     (description "@code{emacs-htmlize} converts the buffer text and
5883 the associated decorations to HTML.  Output to CSS, inline CSS and
5884 fonts is supported.")
5885     (license license:gpl2+)))
5887 (define-public emacs-xmlgen
5888   (package
5889     (name "emacs-xmlgen")
5890     (version "0.5")
5891     (source
5892      (origin
5893        (method url-fetch)
5894        (uri (string-append
5895              "https://github.com/philjackson/xmlgen/archive/"
5896              version ".tar.gz"))
5897        (file-name (string-append name "-" version ".tar.gz"))
5898        (sha256
5899         (base32
5900          "0zay490vjby3f7455r0vydmjg7q1gwc78hilpfb0rg4gwz224z8r"))))
5901     (build-system emacs-build-system)
5902     (arguments
5903      `(#:tests? #t
5904        #:test-command '("emacs" "--batch"
5905                         "-l" "xmlgen-test.el"
5906                         "-f" "ert-run-tests-batch-and-exit")))
5907     (home-page "https://github.com/philjackson/xmlgen")
5908     (synopsis "S-expression to XML domain specific language (DSL) in
5909 Emacs Lisp")
5910     (description "@code{emacs-xmlgen} provides S-expression to XML
5911 conversion for Emacs Lisp.")
5912     (license license:gpl2+)))
5914 (define-public emacs-cdlatex
5915   (package
5916     (name "emacs-cdlatex")
5917     (version "4.7")
5918     (source
5919      (origin
5920        (method url-fetch)
5921        (uri (string-append
5922              "https://github.com/cdominik/cdlatex/archive/"
5923              version ".tar.gz"))
5924        (file-name (string-append name "-" version ".tar.gz"))
5925        (sha256
5926         (base32
5927          "0pivapphmykc6vhvpx7hdyl55ls37vc4jcrxpvs4yk7jzcmwa9xp"))))
5928     (build-system emacs-build-system)
5929     (propagated-inputs
5930      `(("emacs-auctex" ,emacs-auctex)))
5931     (home-page "https://github.com/cdominik/cdlatex")
5932     (synopsis "Fast Emacs input methods for LaTeX environments and
5933 math")
5934     (description "CDLaTeX is an Emacs minor mode supporting fast
5935 insertion of environment templates and math in LaTeX.  Similar
5936 commands are also offered as part of the AUCTeX package, but it is not
5937 the same - CDLaTeX focuses on speediness for inserting LaTeX
5938 constructs.")
5939     (license license:gpl3+)))
5941 (define-public emacs-cnfonts
5942   (package
5943     (name "emacs-cnfonts")
5944     (version "0.9.1")
5945     (source (origin
5946               (method url-fetch)
5947               (uri (string-append
5948                     "https://github.com/tumashu/cnfonts/archive/v"
5949                     version ".tar.gz"))
5950               (file-name (string-append name "-" version ".tar.gz"))
5951               (sha256
5952                (base32
5953                 "1l6cgcvc6md1zq97ccczankpyi0k4vjx6apflny6kjq3p33lyhf4"))))
5954     (build-system emacs-build-system)
5955     (home-page "https://github.com/tumashu/cnfonts")
5956     (synopsis "Emacs Chinese fonts setup tool")
5957     (description "cnfonts is a Chinese fonts setup tool, allowing for easy
5958 configuration of Chinese fonts.")
5959     (license license:gpl2+)))
5961 (define-public emacs-php-mode
5962   (package
5963     (name "emacs-php-mode")
5964     (version "20171225.342")
5965     (source (origin
5966               (method url-fetch)
5967               (uri (string-append
5968                     "https://melpa.org/packages/php-mode-"
5969                     version ".tar"))
5970               (sha256
5971                (base32
5972                 "1zz682f34v4wsm2dyj1gnrnvsrqdq1cy7j8p6cvc398w2fziyg3q"))))
5973     (build-system emacs-build-system)
5974     (home-page "https://github.com/ejmr/php-mode")
5975     (synopsis "Major mode for editing PHP code")
5976     (description "@code{php-mode} is a major mode for editing PHP source
5977 code.  It's an extension of C mode; thus it inherits all C mode's navigation
5978 functionality.  But it colors according to the PHP grammar and indents
5979 according to the PEAR coding guidelines.  It also includes a couple handy
5980 IDE-type features such as documentation search and a source and class
5981 browser.")
5982     (license license:gpl3+)))
5984 (define-public emacs-pos-tip
5985   (package
5986     (name "emacs-pos-tip")
5987     (version "0.4.6")
5988     (source (origin
5989               (method url-fetch)
5990               (uri (string-append
5991                     "https://github.com/pitkali/pos-tip/archive/"
5992                     version ".tar.gz"))
5993               (file-name (string-append name "-" version ".tar.gz"))
5994               (sha256
5995                (base32
5996                 "12jqfy26vjk7lq0aa8yn8zqj8c85fkvx7y9prj0pcn4wqiz2ad2r"))))
5997     (build-system emacs-build-system)
5998     ;; The following functions and variables needed by emacs-pos-tip are
5999     ;; not included in emacs-minimal:
6000     ;; x-display-pixel-width, x-display-pixel-height, x-show-tip
6001     (arguments `(#:emacs ,emacs))
6002     (home-page "https://github.com/pitkali/pos-tip")
6003     (synopsis "Show tooltip at point")
6004     (description "The standard library tooltip.el provides a function for
6005 displaying a tooltip at the mouse position.  However, locating a tooltip at an
6006 arbitrary buffer position in a window is not easy.  Pos-tip provides such a
6007 function to be used by other frontend programs.")
6008     (license license:gpl2+)))
6010 (define-public emacs-pyim-basedict
6011   (package
6012     (name "emacs-pyim-basedict")
6013     (version "0.3.1")
6014     (source (origin
6015               (method url-fetch)
6016               (uri (string-append
6017                     "https://github.com/tumashu/pyim-basedict/archive/v"
6018                     version ".tar.gz"))
6019               (file-name (string-append name "-" version ".tar.gz"))
6020               (sha256
6021                (base32
6022                 "0nfgxviavkgrpyfsw60xsws4fk51fcmgl8fp6zf4ibqjjbp53n3n"))))
6023     (build-system emacs-build-system)
6024     (home-page "https://github.com/tumashu/pyim-basedict")
6025     (synopsis "Input method dictionary of pyim")
6026     (description "Pyim-basedict is the default pinyin input method dictionary,
6027 containing words from the rime project.")
6028     (license license:gpl2+)))
6030 (define-public emacs-pyim
6031   (package
6032     (name "emacs-pyim")
6033     (version "1.6.4")
6034     (source (origin
6035               (method url-fetch)
6036               (uri (string-append
6037                     "https://github.com/tumashu/pyim/archive/v"
6038                     version ".tar.gz"))
6039               (file-name (string-append name "-" version ".tar.gz"))
6040               (sha256
6041                (base32
6042                 "0hfg8q9hcjifvnlghw2g94dfxfirms2psq2ghqb28fhkf0lks13r"))))
6043     (build-system emacs-build-system)
6044     (propagated-inputs
6045      `(("emacs-async" ,emacs-async)
6046        ("emacs-pyim-basedict" ,emacs-pyim-basedict)
6047        ("emacs-popup" ,emacs-popup)
6048        ("emacs-pos-tip" ,emacs-pos-tip)))
6049     (home-page "https://github.com/tumashu/pyim")
6050     (synopsis "Chinese input method")
6051     (description "Chinese input method which supports quanpin, shuangpin, wubi
6052 and cangjie.")
6053     (license license:gpl2+)))
6055 (define-public emacs-el2org
6056   (package
6057     (name "emacs-el2org")
6058     (version "0.6.0")
6059     (source (origin
6060               (method url-fetch)
6061               (uri (string-append
6062                     "https://github.com/tumashu/el2org/archive/v"
6063                     version ".tar.gz"))
6064               (file-name (string-append name "-" version ".tar.gz"))
6065               (sha256
6066                (base32
6067                 "0gd3km1swwvg2w0kdi7370f54wgrflxn63gjgssfjc1iyc9sbqwq"))))
6068     (build-system emacs-build-system)
6069     (home-page "https://github.com/tumashu/el2org")
6070     (synopsis "Convert Emacs-lisp file to org file")
6071     (description "El2org is a simple tool, which can convert Emacs-lisp file
6072 to org file, you can use this tool to write orgify commentary.")
6073     (license license:gpl2+)))
6075 (define-public emacs-mustache
6076   (package
6077     (name "emacs-mustache")
6078     (version "0.23")
6079     (source (origin
6080               (method url-fetch)
6081               (uri (string-append
6082                     "https://github.com/Wilfred/mustache.el/archive/"
6083                     version ".tar.gz"))
6084               (file-name (string-append name "-" version ".tar.gz"))
6085               (sha256
6086                (base32
6087                 "0k9lcgil7kykkv1ylrgwy1g13ldjjmgi2cwmysgyb2vlj3jbwpdj"))))
6088     (build-system emacs-build-system)
6089     (propagated-inputs
6090      `(("emacs-dash" ,emacs-dash)
6091        ("emacs-ht" ,emacs-ht)
6092        ("emacs-s" ,emacs-s)))
6093     (home-page "https://github.com/Wilfred/mustache.el")
6094     (synopsis "Mustache templating library for Emacs")
6095     (description "Mustache templating library for Emacs, mustache is
6096 a simple web template system, which is described as a logic-less system
6097 because it lacks any explicit control flow statements, both looping and
6098 conditional evaluation can be achieved using section tags processing lists
6099 and lambdas.")
6100     (license license:gpl3+)))
6102 (define-public emacs-org2web
6103   (package
6104     (name "emacs-org2web")
6105     (version "0.9.1")
6106     (source (origin
6107               (method url-fetch)
6108               (uri (string-append
6109                     "https://github.com/tumashu/org2web/archive/v"
6110                     version ".tar.gz"))
6111               (file-name (string-append name "-" version ".tar.gz"))
6112               (sha256
6113                (base32
6114                 "1c0ixcphlhp4c4qdiwq40bc3yp1gp1llp8pxrk4s7ny9n68s52zp"))))
6115     (build-system emacs-build-system)
6116     (propagated-inputs
6117      `(("emacs-dash" ,emacs-dash)
6118        ("emacs-el2org" ,emacs-el2org)
6119        ("emacs-ht" ,emacs-ht)
6120        ("emacs-mustache" ,emacs-mustache)
6121        ("emacs-simple-httpd" ,emacs-simple-httpd)))
6122     (home-page "https://github.com/tumashu/org2web")
6123     (synopsis "Static site generator based on org-mode ")
6124     (description "Org2web is a static site generator based on org-mode,
6125 which code derived from Kelvin H's org-page.")
6126     (license license:gpl2+)))
6128 (define-public emacs-xelb
6129   (package
6130     (name "emacs-xelb")
6131     (version "0.14")
6132     (source (origin
6133               (method url-fetch)
6134               (uri (string-append "https://elpa.gnu.org/packages/xelb-"
6135                                   version ".tar"))
6136               (sha256
6137                (base32
6138                 "09flnbjy9ck784kprz036rwg9qk45hpv0w5hz3pz3zhwyk57fv74"))))
6139     (build-system emacs-build-system)
6140     ;; The following functions and variables needed by emacs-xelb are
6141     ;; not included in emacs-minimal:
6142     ;; x-display-screens, x-keysym-table, x-alt-keysym, x-meta-keysym
6143     ;; x-hyper-keysym, x-super-keysym, libxml-parse-xml-region
6144     ;; x-display-pixel-width, x-display-pixel-height
6145     (arguments
6146      `(#:emacs ,emacs
6147        #:phases
6148        (modify-phases %standard-phases
6149          (add-after 'unpack 'regenerate-el-files
6150            (lambda* (#:key inputs #:allow-other-keys)
6151              (invoke "make"
6152                      (string-append "PROTO_PATH="
6153                                     (assoc-ref inputs "xcb-proto")
6154                                     "/share/xcb")
6155                      (string-append "EMACS_BIN="
6156                                     (assoc-ref inputs "emacs")
6157                                     "/bin/emacs -Q")))))))
6158     (native-inputs `(("xcb-proto" ,xcb-proto)))
6159     (home-page "https://github.com/ch11ng/xelb")
6160     (synopsis "X protocol Emacs Lisp binding")
6161     (description "@code{emacs-xelb} is a pure Emacs Lisp implementation of the
6162 X11 protocol based on the XML description files from the XCB project.  It
6163 features an object-oriented API and permits a certain degree of concurrency.
6164 It should enable you to implement low-level X11 applications.")
6165     (license license:gpl3+)))
6167 (define-public emacs-exwm
6168   (package
6169     (name "emacs-exwm")
6170     (version "0.18")
6171     (synopsis "Emacs X window manager")
6172     (source (origin
6173               (method url-fetch)
6174               (uri (string-append "https://elpa.gnu.org/packages/exwm-"
6175                                   version ".tar"))
6176               (sha256
6177                (base32
6178                 "1shz5bf4v4gg3arjaaldics5qkg3aiiaf3ngys8lb6qyxhcpvh6q"))))
6179     (build-system emacs-build-system)
6180     (propagated-inputs
6181      `(("emacs-xelb" ,emacs-xelb)))
6182     (inputs
6183      `(("xhost" ,xhost)
6184        ("dbus" ,dbus)))
6185     ;; The following functions and variables needed by emacs-exwm are
6186     ;; not included in emacs-minimal:
6187     ;; scroll-bar-mode, fringe-mode
6188     ;; x-display-pixel-width, x-display-pixel-height
6189     (arguments
6190      `(#:emacs ,emacs
6191        #:phases
6192        (modify-phases %standard-phases
6193          (add-after 'build 'install-xsession
6194            (lambda* (#:key inputs outputs #:allow-other-keys)
6195              (let* ((out (assoc-ref outputs "out"))
6196                     (xsessions (string-append out "/share/xsessions"))
6197                     (bin (string-append out "/bin"))
6198                     (exwm-executable (string-append bin "/exwm")))
6199                ;; Add a .desktop file to xsessions
6200                (mkdir-p xsessions)
6201                (mkdir-p bin)
6202                (with-output-to-file
6203                    (string-append xsessions "/exwm.desktop")
6204                  (lambda _
6205                    (format #t "[Desktop Entry]~@
6206                      Name=~a~@
6207                      Comment=~a~@
6208                      Exec=~a~@
6209                      TryExec=~@*~a~@
6210                      Type=Application~%" ,name ,synopsis exwm-executable)))
6211                ;; Add a shell wrapper to bin
6212                (with-output-to-file exwm-executable
6213                  (lambda _
6214                    (format #t "#!~a ~@
6215                      ~a +SI:localuser:$USER ~@
6216                      exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
6217                            (string-append (assoc-ref inputs "bash") "/bin/sh")
6218                            (string-append (assoc-ref inputs "xhost") "/bin/xhost")
6219                            (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")
6220                            (string-append (assoc-ref inputs "emacs") "/bin/emacs")
6221                            '(cond
6222                              ((file-exists-p "~/.exwm")
6223                               (load-file "~/.exwm"))
6224                              ((not (featurep 'exwm))
6225                               (require 'exwm)
6226                               (require 'exwm-config)
6227                               (exwm-config-default)
6228                               (message (concat "exwm configuration not found. "
6229                                                "Falling back to default configuration...")))))))
6230                (chmod exwm-executable #o555)
6231                #t))))))
6232     (home-page "https://github.com/ch11ng/exwm")
6233     (description "EXWM is a full-featured tiling X window manager for Emacs
6234 built on top of XELB.")
6235     (license license:gpl3+)))
6237 (define-public emacs-switch-window
6238   (package
6239     (name "emacs-switch-window")
6240     (version "1.5.1")
6241     (source (origin
6242               (method url-fetch)
6243               (uri (string-append
6244                     "https://github.com/dimitri/switch-window/archive/v"
6245                     version ".tar.gz"))
6246               (file-name (string-append name "-" version ".tar.gz"))
6247               (sha256
6248                (base32
6249                 "07f99apxscwvsp2bjxsbi462c433kcglrjh6xl0gyafs1nvvvnd8"))))
6250     (build-system emacs-build-system)
6251     (home-page "https://github.com/dimitri/switch-window")
6252     (synopsis "Emacs window switch tool")
6253     (description "Switch-window is an emacs window switch tool, which
6254 offer a visual way to choose a window to switch to, delete, split or
6255 other operations.")
6256     (license license:wtfpl2)))
6258 (define-public emacs-exwm-x
6259   (package
6260     (name "emacs-exwm-x")
6261     (version "1.8.1")
6262     (synopsis "Derivative window manager based on EXWM")
6263     (source (origin
6264               (method url-fetch)
6265               (uri (string-append
6266                     "https://github.com/tumashu/exwm-x/archive/v"
6267                     version ".tar.gz"))
6268               (file-name (string-append name "-" version ".tar.gz"))
6269               (sha256
6270                (base32
6271                 "0ali1100aacq4zbvcck80h51pvw204jlxhn4aikkqq4ngbx03kkr"))))
6272     (build-system emacs-build-system)
6273     (propagated-inputs
6274      `(("emacs-exwm" ,emacs-exwm)
6275        ("emacs-switch-window" ,emacs-switch-window)
6276        ("emacs-ivy" ,emacs-ivy)
6277        ("emacs-use-package" ,emacs-use-package)))
6278     (inputs
6279      `(("xhost" ,xhost)
6280        ("dbus" ,dbus)))
6281     ;; Need emacs instead of emacs-minimal,
6282     ;; for emacs's bin path will be inserted into bin/exwm-x file.
6283     (arguments
6284      `(#:emacs ,emacs
6285        #:phases
6286        (modify-phases %standard-phases
6287          (add-after 'build 'install-xsession
6288            (lambda* (#:key inputs outputs #:allow-other-keys)
6289              (let* ((out (assoc-ref outputs "out"))
6290                     (xsessions (string-append out "/share/xsessions"))
6291                     (bin (string-append out "/bin"))
6292                     (exwm-executable (string-append bin "/exwm-x")))
6293                ;; Add a .desktop file to xsessions
6294                (mkdir-p xsessions)
6295                (mkdir-p bin)
6296                (with-output-to-file
6297                    (string-append xsessions "/exwm-x.desktop")
6298                  (lambda _
6299                    (format #t "[Desktop Entry]~@
6300                      Name=~a~@
6301                      Comment=~a~@
6302                      Exec=~a~@
6303                      TryExec=~@*~a~@
6304                      Type=Application~%" ,name ,synopsis exwm-executable)))
6305                ;; Add a shell wrapper to bin
6306                (with-output-to-file exwm-executable
6307                  (lambda _
6308                    (format #t "#!~a ~@
6309                      ~a +SI:localuser:$USER ~@
6310                      exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
6311                            (string-append (assoc-ref inputs "bash") "/bin/sh")
6312                            (string-append (assoc-ref inputs "xhost") "/bin/xhost")
6313                            (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")
6314                            (string-append (assoc-ref inputs "emacs") "/bin/emacs")
6315                            '(require 'exwmx-loader))))
6316                (chmod exwm-executable #o555)
6317                #t))))))
6318     (home-page "https://github.com/tumashu/exwm-x")
6319     (description "EXWM-X is a derivative window manager based on EXWM, with focus
6320 on mouse-control.")
6321     (license license:gpl3+)))
6323 (define-public emacs-gnuplot
6324   (package
6325     (name "emacs-gnuplot")
6326     (version "0.7.0")
6327     (source
6328      (origin
6329        (method url-fetch)
6330        (uri (string-append
6331              "https://github.com/bruceravel/gnuplot-mode/archive/"
6332              version ".tar.gz"))
6333        (file-name (string-append name "-" version ".tar.gz"))
6334        (sha256
6335         (base32
6336          "0glzymrn138lwig7p4cj17x4if5jisr6l4g6wcbxisqkqgc1h01i"))))
6337     (build-system gnu-build-system)
6338     (native-inputs `(("emacs" ,emacs-minimal)))
6339     (arguments
6340      (let ((elisp-dir (string-append "/share/emacs/site-lisp/guix.d"
6341                                      "/gnuplot-" version)))
6342        `(#:modules ((guix build gnu-build-system)
6343                     (guix build utils)
6344                     (guix build emacs-utils))
6345          #:imported-modules (,@%gnu-build-system-modules
6346                              (guix build emacs-utils))
6347          #:configure-flags
6348          (list (string-append "EMACS=" (assoc-ref %build-inputs "emacs")
6349                               "/bin/emacs")
6350                (string-append "--with-lispdir=" %output ,elisp-dir))
6351          #:phases
6352          (modify-phases %standard-phases
6353            (add-after 'install 'generate-autoloads
6354              (lambda* (#:key outputs #:allow-other-keys)
6355                (emacs-generate-autoloads
6356                 "gnuplot"
6357                 (string-append (assoc-ref outputs "out") ,elisp-dir))
6358                #t))))))
6359     (home-page "https://github.com/bruceravel/gnuplot-mode")
6360     (synopsis "Emacs major mode for interacting with gnuplot")
6361     (description "@code{emacs-gnuplot} is an emacs major mode for interacting
6362 with gnuplot.")
6363     (license license:gpl2+)))
6365 (define-public emacs-transpose-frame
6366   (package
6367     (name "emacs-transpose-frame")
6368     (version "0.1.0")
6369     (source
6370      (origin
6371        (method url-fetch)
6372        (uri "http://www.emacswiki.org/emacs/download/transpose-frame.el")
6373        (file-name (string-append "transpose-frame-" version ".el"))
6374        (sha256
6375         (base32
6376          "1f67yksgw9s6j0033hmqzaxx2a93jm11sd5ys7cc3li5gfh680m4"))))
6377     (build-system emacs-build-system)
6378     (home-page "https://www.emacswiki.org/emacs/TransposeFrame")
6379     (synopsis "Transpose window arrangement in current frame")
6380     (description "@code{emacs-transpose-frame} provides some interactive
6381 functions which allows users to transpose windows arrangement in currently
6382 selected frame.")
6383     (license license:bsd-2)))
6385 (define-public emacs-key-chord
6386   (package
6387     (name "emacs-key-chord")
6388     (version "0.6")
6389     (source
6390      (origin
6391        (method url-fetch)
6392        (uri "https://www.emacswiki.org/emacs/download/key-chord.el")
6393        (file-name (string-append "key-chord-" version ".el"))
6394        (sha256
6395         (base32
6396          "03m44pqggfrd53nh9dvpdjgm0rvca34qxmd30hr33hzprzjambxg"))))
6397     (build-system emacs-build-system)
6398     (home-page "https://www.emacswiki.org/emacs/key-chord.el")
6399     (synopsis "Map pairs of simultaneously pressed keys to Emacs commands")
6400     (description "@code{emacs-key-chord} provides @code{key-chord-mode}, a
6401 mode for binding key chords to commands.  A key chord is defined as two keys
6402 pressed simultaneously or a single key quickly pressed twice.")
6403     (license license:gpl2+)))
6405 (define-public emacs-evil-surround
6406   (package
6407     (name "emacs-evil-surround")
6408     (version "1.0.0")
6409     (source
6410      (origin
6411        (method url-fetch)
6412        (uri (string-append
6413              "https://github.com/timcharper/evil-surround/archive/v"
6414              version ".tar.gz"))
6415        (file-name (string-append name "-" version ".tar.gz"))
6416        (sha256
6417         (base32
6418          "0p572jgic3q1ia1nz37kclir729ay6i2f4sa7wnaapyxly2lwb3r"))))
6419     (build-system emacs-build-system)
6420     (propagated-inputs
6421      `(("emacs-evil" ,emacs-evil)))
6422     (home-page "https://github.com/timcharper/evil-surround")
6423     (synopsis "Easily modify surrounding parantheses and quotes")
6424     (description "@code{emacs-evil-surround} allows easy deletion, change and
6425 addition of surrounding pairs, such as parantheses and quotes, in evil mode.")
6426     (license license:gpl3+)))
6428 (define-public emacs-evil-commentary
6429   (package
6430     (name "emacs-evil-commentary")
6431     (version "2.1.1")
6432     (source
6433      (origin
6434        (method url-fetch)
6435        (uri (string-append
6436              "https://github.com/linktohack/evil-commentary/archive/v"
6437              version ".tar.gz"))
6438        (file-name (string-append name "-" version ".tar.gz"))
6439        (sha256
6440         (base32
6441          "1jdya0i921nwskwrzdsj0vrr3m7gm49dy6f6pk9p5nxaarfxk230"))))
6442     (build-system emacs-build-system)
6443     (propagated-inputs
6444      `(("emacs-evil" ,emacs-evil)))
6445     (home-page "https://github.com/linktohack/evil-commentary")
6446     (synopsis "Comment out code in evil mode")
6447     (description "@code{emacs-evil-commentary} adds keybindings to easily
6448 comment out lines of code in evil mode.  It provides @code{gcc} to comment out
6449 lines, and @code{gc} to comment out the target of a motion.")
6450     (license license:gpl3+)))
6452 ;; Tests for emacs-ansi have a circular dependency with ert-runner, and
6453 ;; therefore cannot be run
6454 (define-public emacs-ansi
6455   (package
6456     (name "emacs-ansi")
6457     (version "0.4.1")
6458     (source
6459      (origin
6460        (method url-fetch)
6461        (uri (string-append "https://github.com/rejeep/ansi.el/archive/v"
6462                            version ".tar.gz"))
6463        (file-name (string-append name "-" version ".tar.gz"))
6464        (sha256
6465         (base32
6466          "13jj4vbi98j3p17hs99bmy7g21jd5h4v3wpxk4pkvhylm3bfwjw8"))))
6467     (build-system emacs-build-system)
6468     (propagated-inputs
6469      `(("emacs-dash" ,emacs-dash)
6470        ("emacs-s" ,emacs-s)))
6471     (home-page "https://github.com/rejeep/ansi.el")
6472     (synopsis "Convert strings to ANSI")
6473     (description "@code{emacs-ansi} defines functions that turns simple
6474 strings to ANSI strings.  Turning a string into an ANSI string can be to add
6475 color to a text, add color in the background of a text or adding a style, such
6476 as bold, underscore or italic.")
6477     (license license:gpl3+)))
6479 ;; Tests for emacs-commander have a circular dependency with ert-runner, and
6480 ;; therefore cannot be run
6481 (define-public emacs-commander
6482   (package
6483     (name "emacs-commander")
6484     (version "0.7.0")
6485     (source
6486      (origin
6487        (method url-fetch)
6488        (uri (string-append "https://github.com/rejeep/commander.el/archive/v"
6489                            version ".tar.gz"))
6490        (file-name (string-append name "-" version ".tar.gz"))
6491        (sha256
6492         (base32
6493          "196s2i15z7gwxa97l1wkxvjnfmj5n38wwm6d3g4zz15l2vqggc2y"))))
6494     (build-system emacs-build-system)
6495     (propagated-inputs
6496      `(("emacs-dash" ,emacs-dash)
6497        ("emacs-f" ,emacs-f)
6498        ("emacs-s" ,emacs-s)))
6499     (home-page "https://github.com/rejeep/commander.el")
6500     (synopsis "Emacs command line parser")
6501     (description "@code{emacs-commander} provides command line parsing for
6502 Emacs.")
6503     (license license:gpl3+)))
6505 ;; Tests for ert-runner have a circular dependency with ecukes, and therefore
6506 ;; cannot be run
6507 (define-public ert-runner
6508   (package
6509     (name "ert-runner")
6510     (version "0.7.0")
6511     (source
6512      (origin
6513        (method url-fetch)
6514        (uri (string-append "https://github.com/rejeep/ert-runner.el/archive/v"
6515                            version ".tar.gz"))
6516        (file-name (string-append name "-" version ".tar.gz"))
6517        (sha256
6518         (base32
6519          "1657nck9i96a4xgl8crfqq0s8gflzp21pkkzwg6m3z5npjxklgwp"))))
6520     (build-system emacs-build-system)
6521     (inputs
6522      `(("emacs-ansi" ,emacs-ansi)
6523        ("emacs-commander" ,emacs-commander)
6524        ("emacs-dash" ,emacs-dash)
6525        ("emacs-f" ,emacs-f)
6526        ("emacs-s" ,emacs-s)
6527        ("emacs-shut-up" ,emacs-shut-up)))
6528     (arguments
6529      `(#:phases
6530        (modify-phases %standard-phases
6531          (add-after 'install 'install-executable
6532            (lambda* (#:key inputs outputs #:allow-other-keys)
6533              (let ((out (assoc-ref outputs "out")))
6534                (substitute* "bin/ert-runner"
6535                  (("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)")
6536                   (string-append "ERT_RUNNER=\"" out
6537                                  "/share/emacs/site-lisp/guix.d/"
6538                                  ,name "-" ,version)))
6539                (install-file "bin/ert-runner" (string-append out "/bin"))
6540                (wrap-program (string-append out "/bin/ert-runner")
6541                  (list "EMACSLOADPATH" ":" 'prefix
6542                        (string-split (getenv "EMACSLOADPATH") #\:)))
6543                #t))))
6544        #:include (cons* "^reporters/.*\\.el$" %default-include)))
6545     (home-page "https://github.com/rejeep/ert-runner.el")
6546     (synopsis "Opinionated Ert testing workflow")
6547     (description "@code{ert-runner} is a tool for Emacs projects tested
6548 using ERT.  It assumes a certain test structure setup and can therefore make
6549 running tests easier.")
6550     (license license:gpl3+)))
6552 (define-public emacs-disable-mouse
6553   (package
6554     (name "emacs-disable-mouse")
6555     (version "0.2")
6556     (source
6557      (origin
6558        (method url-fetch)
6559        (uri (string-append
6560              "https://github.com/purcell/disable-mouse/archive/"
6561              version ".tar.gz"))
6562        (file-name (string-append name "-" version ".tar.gz"))
6563        (sha256
6564         (base32
6565          "0haqpq23r1wx04lsqrrg3p5visg9hx5i36dg55ab003wfsrlrzbc"))))
6566     (build-system emacs-build-system)
6567     (home-page "https://github.com/purcell/disable-mouse")
6568     (synopsis "Disable mouse commands globally")
6569     (description
6570      "Provides @code{disable-mouse-mode} and @code{global-disable-mouse-mode},
6571 pair of minor modes which suppress all mouse events by intercepting them and
6572 running a customisable handler command (@code{ignore} by default). ")
6573     (license license:gpl3+)))
6575 (define-public emacs-json-reformat
6576   (package
6577     (name "emacs-json-reformat")
6578     (version "0.0.6")
6579     (source
6580      (origin
6581        (method url-fetch)
6582        (uri (string-append "https://github.com/gongo/json-reformat/archive/"
6583                            version ".tar.gz"))
6584        (file-name (string-append name "-" version ".tar.gz"))
6585        (sha256
6586         (base32
6587          "11fbq4scrgr7m0iwnzcrn2g7xvqwm2gf82sa7zy1l0nil7265p28"))
6588        (patches (search-patches "emacs-json-reformat-fix-tests.patch"))))
6589     (build-system emacs-build-system)
6590     (propagated-inputs
6591      `(("emacs-undercover" ,emacs-undercover)))
6592     (native-inputs
6593      `(("emacs-dash" ,emacs-dash)
6594        ("emacs-shut-up" ,emacs-shut-up)
6595        ("ert-runner" ,ert-runner)))
6596     (arguments
6597      `(#:tests? #t
6598        #:test-command '("ert-runner")))
6599     (home-page "https://github.com/gongo/json-reformat")
6600     (synopsis "Reformatting tool for JSON")
6601     (description "@code{json-reformat} provides a reformatting tool for
6602 @url{http://json.org/, JSON}.")
6603     (license license:gpl3+)))
6605 (define-public emacs-json-snatcher
6606   (package
6607     (name "emacs-json-snatcher")
6608     (version "1.0.0")
6609     (source
6610      (origin
6611        (method url-fetch)
6612        (uri (string-append "https://github.com/Sterlingg/json-snatcher/archive/"
6613                            version ".tar.gz"))
6614        (file-name (string-append name "-" version ".tar.gz"))
6615        (sha256
6616         (base32
6617          "1nfiwsifpdiz0lbrqa77nl0crnfrv5h85ans9b0g5rggnmyshcfb"))))
6618     (build-system emacs-build-system)
6619     (home-page "https://github.com/sterlingg/json-snatcher")
6620     (synopsis "Grabs the path to JSON values in a JSON file")
6621     (description "@code{emacs-json-snatcher} grabs the path to JSON values in
6622 a @url{http://json.org/, JSON} file.")
6623     (license license:gpl3+)))
6625 (define-public emacs-json-mode
6626   (package
6627     (name "emacs-json-mode")
6628     (version "1.7.0")
6629     (source
6630      (origin
6631        (method url-fetch)
6632        (uri (string-append "https://github.com/joshwnj/json-mode/archive/"
6633                            "v" version ".tar.gz"))
6634        (file-name (string-append name "-" version ".tar.gz"))
6635        (sha256
6636         (base32
6637          "06h45p4cn767pk9sqi2zb1c65wy5gyyijqxzpglp80zwxhvajdz5"))))
6638     (build-system emacs-build-system)
6639     (propagated-inputs
6640      `(("emacs-json-reformat" ,emacs-json-reformat)
6641        ("emacs-json-snatcher" ,emacs-json-snatcher)))
6642     (home-page "https://github.com/joshwnj/json-mode")
6643     (synopsis "Major mode for editing JSON files")
6644     (description "@code{json-mode} extends the builtin js-mode syntax
6645 highlighting.")
6646     (license license:gpl3+)))
6648 (define-public emacs-restclient
6649   (let ((commit "07a3888bb36d0e29608142ebe743b4362b800f40")
6650         (revision "1"))                 ;Guix package revision,
6651                                         ;upstream doesn't have official releases
6652     (package
6653       (name "emacs-restclient")
6654       (version (string-append revision "."
6655                               (string-take commit 7)))
6656       (source (origin
6657                 (method git-fetch)
6658                 (uri (git-reference
6659                       (url "https://github.com/pashky/restclient.el.git")
6660                       (commit commit)))
6661                 (sha256
6662                  (base32
6663                   "00lmjhb5im1kgrp54yipf1h9pshxzgjlg71yf2rq5n973gvb0w0q"))
6664                 (file-name (git-file-name name version))))
6665       (build-system emacs-build-system)
6666       (propagated-inputs
6667        `(("emacs-helm" ,emacs-helm)))
6668       (home-page "https://github.com/pashky/restclient.el")
6669       (synopsis "Explore and test HTTP REST webservices")
6670       (description
6671        "This tool allows for testing and exploration of HTTP REST Web services
6672 from within Emacs.  Restclient runs queries from a plan-text query sheet,
6673 displays results pretty-printed in XML or JSON with @code{restclient-mode}")
6674       (license license:public-domain))))
6676 (define-public emacs-eimp
6677   (let ((version "1.4.0")
6678         (commit "2e7536fe6d8f7faf1bad7a8ae37faba0162c3b4f")
6679         (revision "1"))
6680     (package
6681       (name "emacs-eimp")
6682       (version (git-version version revision commit))
6683       (source
6684        (origin
6685          (method git-fetch)
6686          (uri (git-reference
6687                (url "https://github.com/nicferrier/eimp.git")
6688                (commit commit)))
6689          (file-name (git-file-name name version))
6690          (sha256
6691           (base32
6692            "154d57yafxbcf39r89n5j43c86rp2fki3lw3gwy7ww2g6qkclcra"))))
6693       (build-system emacs-build-system)
6694       (arguments
6695        `(#:phases
6696          (modify-phases %standard-phases
6697            (add-after 'unpack 'configure
6698              (lambda* (#:key inputs #:allow-other-keys)
6699                (let ((imagemagick (assoc-ref inputs "imagemagick")))
6700                  ;; eimp.el is read-only in git.
6701                  (chmod "eimp.el" #o644)
6702                  (emacs-substitute-variables "eimp.el"
6703                    ("eimp-mogrify-program"
6704                     (string-append imagemagick "/bin/mogrify"))))
6705                #t)))))
6706       (inputs
6707        `(("imagemagick" ,imagemagick)))
6708       (home-page "https://github.com/nicferrier/eimp")
6709       (synopsis "Interactive image manipulation utility for Emacs")
6710       (description "@code{emacs-eimp} allows interactive image manipulation
6711 from within Emacs.  It uses the code@{mogrify} utility from ImageMagick to do
6712 the actual transformations.")
6713       (license license:gpl2+))))
6715 (define-public emacs-dired-hacks
6716   (let ((commit "eda68006ce73bbf6b9b995bfd70d08bec8cade36")
6717         (revision "1"))
6718     (package
6719       (name "emacs-dired-hacks")
6720       (version (string-append "0.0.1-" revision "."
6721                               (string-take commit 7)))
6722       (source (origin
6723                 (method git-fetch)
6724                 (uri (git-reference
6725                       (url "https://github.com/Fuco1/dired-hacks.git")
6726                       (commit commit)))
6727                 (file-name (string-append name "-" version "-checkout"))
6728                 (sha256
6729                  (base32
6730                   "1w7ssl9zssn5rcha6apf4h8drkd02k4xgvs203bdbqyqp9wz9brx"))))
6731       (build-system emacs-build-system)
6732       (propagated-inputs
6733        `(("emacs-dash" ,emacs-dash)
6734          ("emacs-eimp" ,emacs-eimp)
6735          ("emacs-f" ,emacs-f)
6736          ("emacs-s" ,emacs-s)))
6737       (home-page "https://github.com/Fuco1/dired-hacks")
6738       (synopsis
6739        "Collection of useful dired additions")
6740       (description
6741        "Collection of Emacs dired mode additions:
6742 @itemize
6743 @item dired-avfs
6744 @item dired-columns
6745 @item dired-filter
6746 @item dired-hacks-utils
6747 @item dired-images
6748 @item dired-list
6749 @item dired-narrow
6750 @item dired-open
6751 @item dired-rainbow
6752 @item dired-ranger
6753 @item dired-subtree
6754 @item dired-tagsistant
6755 @end itemize\n")
6756       (license license:gpl3+))))
6758 (define-public emacs-which-key
6759   (package
6760     (name "emacs-which-key")
6761     (version "3.0.2")
6762     (source
6763      (origin
6764        (method url-fetch)
6765        (uri (string-append
6766              "https://github.com/justbur/emacs-which-key/archive/v"
6767              version ".tar.gz"))
6768        (sha256
6769         (base32
6770          "1xvd70cwq9n31f28viyjxmr3nn8l153gsy6scpszvgvjxkiikv24"))
6771        (file-name (string-append name "-" version ".tar.gz"))))
6772     (build-system emacs-build-system)
6773     (arguments
6774      `(#:tests? #t
6775        #:test-command '("emacs" "--batch"
6776                         "-l" "which-key-tests.el"
6777                         "-f" "ert-run-tests-batch-and-exit")))
6778     (home-page "https://github.com/justbur/emacs-which-key")
6779     (synopsis "Display available key bindings in popup")
6780     (description
6781      "@code{emacs-which-key} is a minor mode for Emacs that displays the key
6782 bindings following your currently entered incomplete command (a prefix) in a
6783 popup.  For example, after enabling the minor mode if you enter C-x and wait
6784 for the default of 1 second, the minibuffer will expand with all of the
6785 available key bindings that follow C-x (or as many as space allows given your
6786 settings).")
6787     (license license:gpl3+)))
6789 (define-public emacs-ws-butler
6790   (package
6791     (name "emacs-ws-butler")
6792     (version "0.6")
6793     (source (origin
6794               (method git-fetch)
6795               (uri (git-reference
6796                     (url "https://github.com/lewang/ws-butler.git")
6797                     (commit "323b651dd70ee40a25accc940b8f80c3a3185205")))
6798               (file-name (string-append name "-" version "-checkout"))
6799               (sha256
6800                (base32
6801                 "1a4b0lsmwq84qfx51c5xy4fryhb1ysld4fhgw2vr37izf53379sb"))))
6802     (build-system emacs-build-system)
6803     (native-inputs
6804      `(("ert-runner" ,ert-runner)))
6805     (arguments
6806      `(#:tests? #t
6807        #:test-command '("ert-runner" "tests")))
6808     (home-page "https://github.com/lewang/ws-butler")
6809     (synopsis "Trim spaces from end of lines")
6810     (description
6811      "This Emacs package automatically and unobtrusively trims whitespace
6812 characters from end of lines.")
6813     (license license:gpl3+)))
6815 (define-public emacs-org-edit-latex
6816   (package
6817     (name "emacs-org-edit-latex")
6818     (version "0.8.0")
6819     (source
6820      (origin
6821        (method url-fetch)
6822        (uri (string-append
6823              "https://github.com/et2010/org-edit-latex/archive/v"
6824              version ".tar.gz"))
6825        (file-name (string-append name "-" version ".tar.gz"))
6826        (sha256
6827         (base32
6828          "1y4h6wrs8286h9pbsv4d8fr67a885vz8b2k80qgv5qddipi2i78p"))))
6829     (build-system emacs-build-system)
6830     (propagated-inputs
6831      `(("emacs-auctex" ,emacs-auctex)
6832        ;; The version of org in Emacs 25.2 is not sufficient, because the
6833        ;; `org-latex-make-preamble' function is required.
6834        ("emacs-org" ,emacs-org)))
6835     (home-page "https://github.com/et2010/org-edit-latex")
6836     (synopsis "Edit a latex fragment just like editing a src block")
6837     (description "@code{emacs-org-edit-latex} is an extension for org-mode.
6838 It lets you edit a latex fragment in a dedicated buffer just like editing a
6839 src block.")
6840     (license license:gpl3+)))
6842 (define-public emacs-emamux
6843   (package
6844     (name "emacs-emamux")
6845     (version "0.14")
6846     (source (origin
6847               (method url-fetch)
6848               (uri (string-append
6849                     "https://github.com/syohex/emacs-emamux/archive/"
6850                     version ".tar.gz"))
6851               (file-name (string-append name "-" version ".tar.gz"))
6852               (sha256
6853                (base32
6854                 "0wlqg4icy037bj70b0qmhvwvmiwhagpnx6pnxhq6gzy1hvwlilkx"))))
6855     (build-system emacs-build-system)
6856     (home-page "https://github.com/syohex/emacs-emamux")
6857     (synopsis "Manipulate Tmux from Emacs")
6858     (description
6859      "@code{emacs-emamux} lets Emacs interact with the @code{tmux} terminal
6860 multiplexer.")
6861     (license license:gpl3+)))
6863 (define-public emacs-rpm-spec-mode
6864   (package
6865     (name "emacs-rpm-spec-mode")
6866     (version "0.16")
6867     (source
6868      (origin
6869        (method url-fetch)
6870        ;; URI has the Fedora release number instead of the version
6871        ;; number. This will have to updated manually every new release.
6872        (uri (string-append
6873              "https://src.fedoraproject.org/cgit/rpms"
6874              "/emacs-rpm-spec-mode.git/snapshot"
6875              "/emacs-rpm-spec-mode-f26.tar.gz"))
6876        (sha256
6877         (base32
6878          "17dz80lhjrc89fj17pysl8slahzrqdkxgcjdk55zls6jizkr6kz3"))))
6879     (build-system emacs-build-system)
6880     (home-page "http://pkgs.fedoraproject.org/cgit/rpms/emacs-rpm-spec-mode.git")
6881     (synopsis "Emacs major mode for editing RPM spec files")
6882     (description "@code{emacs-rpm-spec-mode} provides an Emacs major mode for
6883 editing RPM spec files.")
6884     (license license:gpl2+)))
6886 (define-public emacs-git-messenger
6887   (package
6888     (name "emacs-git-messenger")
6889     (version "0.18")
6890     (source
6891      (origin
6892        (method url-fetch)
6893        (uri (string-append
6894              "https://github.com/syohex/emacs-git-messenger/archive/"
6895              version ".tar.gz"))
6896        (file-name (string-append name "-" version ".tar.gz"))
6897        (sha256
6898         (base32
6899          "17mqki6g0wx46fn7dcbcc2pjxik7vvrcb1j9jzxim8b9psbsbnp9"))))
6900     (build-system emacs-build-system)
6901     (propagated-inputs
6902      `(("emacs-popup" ,emacs-popup)))
6903     (arguments
6904      `(#:tests? #t
6905        #:test-command '("emacs" "--batch" "-l" "test/test.el"
6906                         "-f" "ert-run-tests-batch-and-exit")))
6907     (home-page "https://github.com/syohex/emacs-git-messenger")
6908     (synopsis "Popup commit message at current line")
6909     (description "@code{emacs-git-messenger} provides
6910 @code{git-messenger:popup-message}, a function that when called, will popup
6911 the last git commit message for the current line.  This uses git-blame
6912 internally.")
6913     (license license:gpl3+)))
6915 (define-public emacs-gitpatch
6916   (package
6917     (name "emacs-gitpatch")
6918     (version "0.5.0")
6919     (source
6920      (origin
6921        (method url-fetch)
6922        (uri (string-append "https://github.com/tumashu/gitpatch/archive/"
6923                            "v" version ".tar.gz"))
6924        (file-name (string-append name "-" version ".tar.gz"))
6925        (sha256
6926         (base32
6927          "1yj6pmic541lcnscjin300k380qp9xdfprs55xg1q57jrkq6f6k7"))))
6928     (build-system emacs-build-system)
6929     (home-page "https://github.com/tumashu/gitpatch")
6930     (synopsis "Mail git patch from Emacs")
6931     (description "@code{emacs-gitpatch} lets users easily send git patches,
6932 created by @code{git format-patch}, from @code{magit}, @code{dired} and
6933 @code{ibuffer} buffers.")
6934     (license license:gpl3+)))
6936 (define-public emacs-erc-hl-nicks
6937   (package
6938     (name "emacs-erc-hl-nicks")
6939     (version "1.3.2")
6940     (source
6941      (origin
6942        (method url-fetch)
6943        (uri (string-append "https://github.com/leathekd/erc-hl-nicks"
6944                            "/archive/" version ".tar.gz"))
6945        (file-name (string-append name "-" version ".tar.gz"))
6946        (sha256
6947         (base32
6948          "01svpl9bps5kx4y1wnymakxya2cznqmlynvqv2r500wpnbxczrbs"))))
6949     (build-system emacs-build-system)
6950     (synopsis "Nickname highlighting for Emacs ERC")
6951     (description "@code{erc-hl-nicks} highlights nicknames in ERC, an IRC
6952 client for Emacs.  The main features are:
6953 @itemize
6954 @item Auto-colorizes nicknames without having to specify colors
6955 @item Ignores certain characters that IRC clients add to nicknames to avoid
6956 duplicates (nickname, nickname’, nickname\", etc.)
6957 @item Attempts to produce colors with a sufficient amount of contrast between
6958 the nick color and the background color
6959 @end itemize\n")
6960     (home-page "https://github.com/leathekd/erc-hl-nicks")
6961     (license license:gpl3+)))
6963 (define-public emacs-engine-mode
6964   (package
6965     (name "emacs-engine-mode")
6966     (version "2.0.0")
6967     (source
6968      (origin
6969        (method url-fetch)
6970        (uri (string-append "https://github.com/hrs/engine-mode/archive/"
6971                            "v" version ".tar.gz"))
6972        (file-name (string-append name "-" version ".tar.gz"))
6973        (sha256
6974         (base32
6975          "1vm4p7pcp1vnwwxvps1bhm7i7hkabqqxl898knxf2hqvxys76684"))))
6976     (build-system emacs-build-system)
6977     (synopsis "Minor mode for defining and querying search engines")
6978     (description "@code{engine-mode} is a global minor mode for Emacs.  It
6979 enables you to easily define search engines, bind them to keybindings, and
6980 query them from the comfort of your editor.")
6981     (home-page "https://github.com/hrs/engine-mode")
6982     (license license:gpl3+)))
6984 (define-public emacs-prop-menu
6985   (package
6986     (name "emacs-prop-menu")
6987     (version "0.1.2")
6988     (source
6989      (origin
6990        (method url-fetch)
6991        (uri (string-append
6992              "http://stable.melpa.org/packages/prop-menu-"
6993              version ".el"))
6994        (sha256
6995         (base32
6996          "01bk4sjafzz7gqrkv9jg0pa85qr34vbk3q8ga2b0m61bndywzgpr"))))
6997     (build-system emacs-build-system)
6998     (home-page
6999      "https://github.com/david-christiansen/prop-menu-el")
7000     (synopsis
7001      "Create and display a context menu based on text and overlay properties")
7002     (description
7003      "This is a library for computing context menus based on text
7004 properties and overlays.  The intended use is to have tools that
7005 annotate source code and others that use these annotations, without
7006 requiring a direct coupling between them, but maintaining
7007 discoverability.
7009 Major modes that wish to use this library should first define an
7010 appropriate value for @code{prop-menu-item-functions}.  Then, they should
7011 bind @code{prop-menu-by-completing-read} to an appropriate
7012 key.  Optionally, a mouse pop-up can be added by binding
7013 @code{prop-menu-show-menu} to a mouse event.")
7014     (license license:gpl3+)))
7016 (define-public emacs-idris-mode
7017   (package
7018     (name "emacs-idris-mode")
7019     (version "0.9.19")
7020     (source
7021      (origin
7022        (method url-fetch)
7023        (uri (string-append
7024              "http://stable.melpa.org/packages/idris-mode-"
7025              version ".tar"))
7026        (sha256
7027         (base32
7028          "02r1qqsxi6qk7q4cj6a6pygbj856dcw9vcmhfh0ib92j41v77q6y"))))
7029     (build-system emacs-build-system)
7030     (propagated-inputs
7031      `(("emacs-prop-menu" ,emacs-prop-menu)))
7032     (home-page
7033      "https://github.com/idris-hackers/idris-mode")
7034     (synopsis "Major mode for editing Idris code")
7035     (description
7036      "This is an Emacs mode for editing Idris code.  It requires the latest
7037 version of Idris, and some features may rely on the latest Git version of
7038 Idris.")
7039     (license license:gpl3+)))
7041 (define-public emacs-browse-at-remote
7042   (let ((commit "31dcf77d7c89a12f230e2b2332585db2c44530ef")
7043         (revision "1"))
7044     (package
7045       (name "emacs-browse-at-remote")
7046       (version (string-append "0.9.0-" revision "."
7047                               (string-take commit 7)))
7048       (source (origin
7049                 (method git-fetch)
7050                 (uri (git-reference
7051                       (url "https://github.com/rmuslimov/browse-at-remote.git")
7052                       (commit commit)))
7053                 (file-name (string-append name "-" version "-checkout"))
7054                 (patches
7055                  (search-patches "emacs-browse-at-remote-cgit-gnu.patch"))
7056                 (sha256
7057                  (base32
7058                   "017cb8lf7zbg0jmr7zxzd7d5kz2jy35cvw5vcpdmq1fdr3wqwkgj"))))
7059       (build-system emacs-build-system)
7060       (propagated-inputs
7061        `(("emacs-f" ,emacs-f)
7062          ("emacs-s" ,emacs-s)))
7063       (native-inputs
7064        `(("ert-runner" ,ert-runner)))
7065       (arguments
7066        `(#:tests? #t
7067          #:test-command '("ert-runner")))
7068       (home-page "https://github.com/rmuslimov/browse-at-remote")
7069       (synopsis "Open github/gitlab/bitbucket/stash page from Emacs")
7070       (description
7071        "This Emacs package allows you to open a target page on
7072 github/gitlab (or bitbucket) by calling @code{browse-at-remote} command.
7073 It supports dired buffers and opens them in tree mode at destination.")
7074       (license license:gpl3+))))
7076 (define-public emacs-tiny
7077   (package
7078     (name "emacs-tiny")
7079     (version "0.2.1")
7080     (source
7081      (origin
7082        (method url-fetch)
7083        (uri (string-append "http://elpa.gnu.org/packages/tiny-" version ".tar"))
7084        (sha256
7085         (base32
7086          "1cr73a8gba549ja55x0c2s554f3zywf69zbnd7v82jz5q1k9wd2v"))))
7087     (build-system emacs-build-system)
7088     (home-page "https://github.com/abo-abo/tiny")
7089     (synopsis "Quickly generate linear ranges in Emacs")
7090     (description
7091      "The main command of the @code{tiny} extension for Emacs is @code{tiny-expand}.
7092 It is meant to quickly generate linear ranges, e.g. 5, 6, 7, 8.  Some elisp
7093 proficiency is an advantage, since you can transform your numeric range with
7094 an elisp expression.")
7095     (license license:gpl3+)))
7097 (define-public emacs-emojify
7098   (package
7099     (name "emacs-emojify")
7100     (version "0.4")
7101     (source
7102      (origin
7103        (method url-fetch)
7104        (uri (string-append "https://github.com/iqbalansari/emacs-emojify/"
7105                            "releases/download/v" version "/emojify-"
7106                            version ".tar"))
7107        (sha256
7108         (base32
7109          "0k84v2d2bkiwcky9fi1yyprgkj46g7wh6pyl9gzmcd7sqv051d5n"))))
7110     (build-system emacs-build-system)
7111     (arguments
7112      `(#:phases
7113        (modify-phases %standard-phases
7114          (add-after 'install 'install-data
7115            (lambda* (#:key  outputs #:allow-other-keys)
7116              (copy-recursively "data"
7117                                (string-append (assoc-ref outputs "out")
7118                                               "/share/emacs/site-lisp/guix.d/"
7119                                               "emojify-" ,version "/data"))
7120              #t)))))
7121     (propagated-inputs
7122      `(("emacs-ht" ,emacs-ht)))
7123     (home-page "https://github.com/iqbalansari/emacs-emojify")
7124     (synopsis "Display emojis in Emacs")
7125     (description "This package displays emojis in Emacs similar to how Github,
7126 Slack, and other websites do.  It can display plain ASCII like @code{:)} as
7127 well as Github-style emojis like @code{:smile:}.  It provides a minor mode
7128 @code{emojify-mode} to enable the display of emojis in a buffer.")
7129     (license license:gpl3+)))
7131 (define-public emacs-websocket
7132   (package
7133     (name "emacs-websocket")
7134     (version "1.10")
7135     (source
7136      (origin
7137        (method git-fetch)
7138        (uri (git-reference
7139              (url "https://github.com/ahyatt/emacs-websocket.git")
7140              (commit version)))
7141        (file-name (string-append name "-" version "-checkout"))
7142        (sha256
7143         (base32
7144          "1dgrf7na6r6mmkknphzshlbd5fnzisg0qn0j7vfpa38wgsymaq52"))))
7145     (build-system emacs-build-system)
7146     (home-page "http://elpa.gnu.org/packages/websocket.html")
7147     (synopsis "Emacs WebSocket client and server")
7148     (description "This is an Elisp library for WebSocket clients to talk to
7149 WebSocket servers, and for WebSocket servers to accept connections from
7150 WebSocket clients.  This library is designed to be used by other library
7151 writers, to write applications that use WebSockets, and is not useful by
7152 itself.")
7153     (license license:gpl3+)))
7155 (define-public emacs-oauth2
7156   (package
7157     (name "emacs-oauth2")
7158     (version "0.11")
7159     (source
7160      (origin
7161        (method url-fetch)
7162        (uri (string-append "https://elpa.gnu.org/packages/oauth2-"
7163                            version ".el"))
7164        (sha256
7165         (base32
7166          "0ydkc9jazsnbbvfhd47mql52y7k06n3z7r0naqxkwb99j9blqsmp"))))
7167     (build-system emacs-build-system)
7168     (home-page "http://elpa.gnu.org/packages/oauth2.html")
7169     (synopsis "OAuth 2.0 authorization protocol implementation")
7170     (description
7171      "This package provides an Elisp implementation of the OAuth 2.0 draft.
7172 The main entry point is @code{oauth2-auth-and-store} which will return a token
7173 structure.  This token structure can be then used with
7174 @code{oauth2-url-retrieve-synchronously} or @code{oauth2-url-retrieve} to
7175 retrieve any data that need OAuth authentication to be accessed.  If the token
7176 needs to be refreshed, the code handles it automatically and stores the new
7177 value of the access token.")
7178     (license license:gpl3+)))
7180 (define-public emacs-circe
7181   (package
7182     (name "emacs-circe")
7183     (version "2.6")
7184     (source
7185      (origin
7186        (method git-fetch)
7187        (uri (git-reference
7188              (url "https://github.com/jorgenschaefer/circe.git")
7189              (commit (string-append "v" version))))
7190        (file-name (string-append name "-" version "-checkout"))
7191        (sha256
7192         (base32
7193          "19h3983zy3f15cgs86irvbdzz55qyjm48qd7gjlzcxplr7vnnh0j"))))
7194     (build-system emacs-build-system)
7195     ;; In order to securely connect to an IRC server using TLS, Circe requires
7196     ;; the GnuTLS binary.
7197     (propagated-inputs
7198      `(("gnutls" ,gnutls)))
7199     (home-page "https://github.com/jorgenschaefer/circe")
7200     (synopsis "Client for IRC in Emacs")
7201     (description "Circe is a Client for IRC in Emacs.  It integrates well with
7202 the rest of the editor, using standard Emacs key bindings and indicating
7203 activity in channels in the status bar so it stays out of your way unless you
7204 want to use it.")
7205     (license license:gpl3+)))
7207 (define-public emacs-slack
7208   (let ((commit "d90395482d26175ce38fd935e978c428be8af9a0")
7209         (revision "4"))
7210     (package
7211       (name "emacs-slack")
7212       (version (string-append "0-" revision "." (string-take commit 7)))
7213       (source (origin
7214                 (method git-fetch)
7215                 (uri (git-reference
7216                       (url "https://github.com/yuya373/emacs-slack.git")
7217                       (commit commit)))
7218                 (file-name (string-append name "-" version "-checkout"))
7219                 (sha256
7220                  (base32
7221                   "14f6wjcbl09cfd3yngr6m1k1d4nr764im666mbnqbk9nmqf50nib"))))
7222       (build-system emacs-build-system)
7223       (propagated-inputs
7224        `(("emacs-alert" ,emacs-alert)
7225          ("emacs-emojify" ,emacs-emojify)
7226          ("emacs-request" ,emacs-request)
7227          ("emacs-websocket" ,emacs-websocket)
7228          ("emacs-oauth2" ,emacs-oauth2)
7229          ("emacs-circe" ,emacs-circe)))
7230       (home-page "https://github.com/yuya373/emacs-slack")
7231       (synopsis "Slack client for Emacs")
7232       (description "This package provides an Emacs client for the Slack
7233 messaging service.")
7234       (license license:gpl3+))))
7236 (define-public emacs-bash-completion
7237   (package
7238    (name "emacs-bash-completion")
7239    (version "2.1.0")
7240    (source
7241     (origin
7242       (method url-fetch)
7243       (uri (string-append
7244             "https://github.com/szermatt/emacs-bash-completion/archive/v"
7245             version ".tar.gz"))
7246       (file-name (string-append name "-" version ".tar.gz"))
7247       (sha256
7248        (base32
7249         "1z0qck3v3ra6ivacn8n04w1v33a4xn01xx860761q31qzsv3sksq"))))
7250    (inputs `(("bash" ,bash)))
7251    (build-system emacs-build-system)
7252    (arguments
7253      `(#:phases
7254        (modify-phases %standard-phases
7255          (add-before 'install 'configure
7256            (lambda* (#:key inputs #:allow-other-keys)
7257              (let ((bash (assoc-ref inputs "bash")))
7258                (emacs-substitute-variables "bash-completion.el"
7259                  ("bash-completion-prog" (string-append bash "/bin/bash"))))
7260              #t)))))
7261    (home-page "https://github.com/szermatt/emacs-bash-completion")
7262    (synopsis "BASH completion for the shell buffer")
7263    (description
7264     "@code{bash-completion} defines dynamic completion hooks for shell-mode
7265 and shell-command prompts that are based on bash completion.")
7266    (license license:gpl2+)))
7268 (define-public emacs-easy-kill
7269   (package
7270     (name "emacs-easy-kill")
7271     (version "0.9.3")
7272     (source (origin
7273               (method url-fetch)
7274               (uri (string-append "https://elpa.gnu.org/packages/easy-kill-"
7275                                   version ".tar"))
7276               (sha256
7277                (base32
7278                 "17nw0mglmg877axwg1d0gs03yc0p04lzmd3pl0nsnqbh3303fnqb"))))
7279     (build-system emacs-build-system)
7280     (home-page "https://github.com/leoliu/easy-kill")
7281     (synopsis "Kill and mark things easily in Emacs")
7282     (description
7283      "This package provides commands @code{easy-kill} and @code{easy-mark} to
7284 let users kill or mark things easily.")
7285     (license license:gpl3+)))
7287 (define-public emacs-csv-mode
7288   (package
7289     (name "emacs-csv-mode")
7290     (version "1.7")
7291     (source
7292      (origin
7293        (method url-fetch)
7294        (uri (string-append "http://elpa.gnu.org/packages/csv-mode-"
7295                            version ".el"))
7296        (sha256
7297         (base32
7298          "0r4bip0w3h55i8h6sxh06czf294mrhavybz0zypzrjw91m1bi7z6"))))
7299     (build-system emacs-build-system)
7300     (home-page
7301      "http://elpa.gnu.org/packages/csv-mode.html")
7302     (synopsis
7303      "Major mode for editing comma/char separated values")
7304     (description
7305      "This Emacs package implements CSV mode, a major mode for editing records
7306 in a generalized CSV (character-separated values) format.")
7307     (license license:gpl3+)))
7309 (define-public emacs-transmission
7310   (package
7311     (name "emacs-transmission")
7312     (version "0.12.1")
7313     (source (origin
7314               (method url-fetch)
7315               (uri (string-append
7316                     "https://github.com/holomorph/transmission/archive/"
7317                     version ".tar.gz"))
7318               (file-name (string-append name "-" version ".tar.gz"))
7319               (sha256
7320                (base32
7321                 "1rrlgn96gi1ljfwbwvlyyxbq75xzamlbdhq1bpyadxxmxcvlmk3n"))))
7322     (build-system emacs-build-system)
7323     (home-page "https://github.com/holomorph/transmission")
7324     (synopsis "Emacs interface to a Transmission session")
7325     (description "This package provides an Emacs interface to interact with a
7326 running session of the Transmission Bittorrent client.
7328 Features:
7330 @itemize
7331 @item List, add, start/stop, verify, remove torrents.
7332 @item Set speed limits, ratio limits, bandwidth priorities, trackers.
7333 @item Navigate to the corresponding file list, torrent info, peer info
7334 contexts.
7335 @item Toggle downloading and set priorities for individual files.
7336 @end itemize\n")
7337     (license license:gpl3+)))
7339 (define-public emacs-polymode
7340   ;; There hasn't been a proper release.
7341   (let ((commit "0340f5e7e55235832e59673f027cc79a23cbdcd6")
7342         (revision "1"))
7343     (package
7344       (name "emacs-polymode")
7345       (version (string-append "1.0-" revision "." (string-take commit 7)))
7346       (source (origin
7347                 (method git-fetch)
7348                 (uri (git-reference
7349                       (url "https://github.com/vspinu/polymode.git")
7350                       (commit commit)))
7351                 (file-name (string-append name "-" version "-checkout"))
7352                 (sha256
7353                  (base32
7354                   "057cybkq3cy07n5s332k071sjiky3mziy003lza4rh75mgqkwhmh"))))
7355       (build-system emacs-build-system)
7356       (arguments
7357        `(#:include (cons* "^modes/.*\\.el$" %default-include)
7358          #:phases
7359          (modify-phases %standard-phases
7360            (add-after 'set-emacs-load-path 'add-modes-subdir-to-load-path
7361              (lambda _
7362                (setenv "EMACSLOADPATH"
7363                        (string-append (getenv "EMACSLOADPATH")
7364                                       ":" (getcwd) "/modes" ":")))))))
7365       (home-page "https://github.com/vspinu/polymode")
7366       (synopsis "Framework for multiple Emacs modes based on indirect buffers")
7367       (description "Polymode is an Emacs package that offers generic support
7368 for multiple major modes inside a single Emacs buffer.  It is lightweight,
7369 object oriented and highly extensible.  Creating a new polymode typically
7370 takes only a few lines of code.  Polymode also provides extensible facilities
7371 for external literate programming tools for exporting, weaving and tangling.")
7372       (license license:gpl3+))))
7374 (define-public eless
7375   (package
7376     (name "eless")
7377     (version "0.3")
7378     (source (origin
7379               (method url-fetch)
7380               (uri (string-append
7381                     "https://github.com/kaushalmodi/eless/archive/"
7382                     "v" version ".tar.gz"))
7383               (file-name (string-append name "-" version ".tar.gz"))
7384               (sha256
7385                (base32
7386                 "0gjnnhgw5xs1w3qfnkvwa2nv44gnxr8pkhx3c7qig45p8nh1461h"))))
7387     (build-system trivial-build-system)
7388     (inputs
7389      `(("bash" ,bash)))
7390     (native-inputs
7391      `(("tar" ,tar)
7392        ("gzip" ,gzip)))
7393     (arguments
7394      `(#:modules ((guix build utils))
7395        #:builder
7396        (begin
7397          (use-modules (guix build utils))
7398          (setenv "PATH" (string-append
7399                          (assoc-ref %build-inputs "tar") "/bin" ":"
7400                          (assoc-ref %build-inputs "gzip") "/bin"))
7401          (invoke "tar" "xvf" (assoc-ref %build-inputs "source"))
7402          (chdir (string-append "eless" "-" ,version))
7403          (substitute* "eless" (("/usr/bin/env bash")
7404                                (string-append (assoc-ref %build-inputs "bash")
7405                                               "/bin/bash")))
7406          (install-file "eless" (string-append %output "/bin"))
7407          (install-file "doc/eless.info" (string-append %output "/share/info"))
7408          #t)))
7409     (home-page "https://github.com/kaushalmodi/eless")
7410     (synopsis "Use Emacs as a paginator")
7411     (description "@code{eless} provides a combination of Bash script
7412 and a minimal Emacs view-mode.
7414 Feautures:
7416 @itemize
7417 @item Independent of a user’s Emacs config.
7418 @item Customizable via the @code{(locate-user-emacs-file \"elesscfg\")} config.
7419 @item Not require an Emacs server to be already running.
7420 @item Syntax highlighting.
7421 @item Org-mode file rendering.
7422 @item @code{man} page viewer.
7423 @item Info viewer.
7424 @item Dired, wdired, (batch edit symbolic links).
7425 @item Colored diffs, git diff, git log, ls with auto ANSI detection.
7426 @item Filter log files lines matching a regexp.
7427 @item Auto-revert log files similar to @code{tail -f}.
7428 @item Quickly change frame and font sizes.
7429 @end itemize\n")
7430     (license license:expat)))
7432 (define-public emacs-evil-matchit
7433   (package
7434     (name "emacs-evil-matchit")
7435     (version "2.2.6")
7436     (source
7437      (origin
7438        (method url-fetch)
7439        (uri (string-append
7440              "https://github.com/redguardtoo/evil-matchit/archive/"
7441              version ".tar.gz"))
7442        (file-name (string-append name "-" version ".tar.gz"))
7443        (sha256
7444         (base32
7445          "1yp9sl6542317mn1060ri90zyf6bs6qylagndhqy02p368q31rhi"))))
7446     (build-system emacs-build-system)
7447     (propagated-inputs
7448      `(("emacs-evil" ,emacs-evil)))
7449     (home-page "https://github.com/redguardtoo/evil-matchit")
7450     (synopsis "Vim matchit ported into Emacs")
7451     (description
7452      "@code{evil-matchit} is a minor mode for jumping between matching tags in
7453 evil mode using @kbd{%}.  It is a port of @code{matchit} for Vim.")
7454     (license license:gpl3+)))
7456 (define-public emacs-evil-smartparens
7457   (package
7458     (name "emacs-evil-smartparens")
7459     (version "0.4.0")
7460     (source
7461      (origin
7462        (method url-fetch)
7463        (uri (string-append
7464              "https://github.com/expez/evil-smartparens/archive/"
7465              version ".tar.gz"))
7466        (file-name (string-append name "-" version ".tar.gz"))
7467        (sha256
7468         (base32
7469          "1bwzdd3054d407d5j4m3njsbvmc9r8zzp33m32pj3b3irxrl68q0"))))
7470     (build-system emacs-build-system)
7471     (propagated-inputs
7472      `(("emacs-evil" ,emacs-evil)
7473        ("emacs-smartparens" ,emacs-smartparens)))
7474     (home-page "https://github.com/expez/evil-smartparens")
7475     (synopsis "Emacs Evil integration for Smartparens")
7476     (description "@code{emacs-evil-smartparens} is an Emacs minor mode which
7477 makes Evil play nice with Smartparens.  Evil is an Emacs minor mode that
7478 emulates Vim features and provides Vim-like key bindings.")
7479     (license license:gpl3+)))
7481 (define-public emacs-evil-quickscope
7482   (package
7483     (name "emacs-evil-quickscope")
7484     (version "0.1.4")
7485     (source
7486      (origin
7487        (method url-fetch)
7488        (uri (string-append "https://github.com/blorbx/evil-quickscope/archive/v"
7489                            version ".tar.gz"))
7490        (file-name (string-append name "-" version ".tar.gz"))
7491        (sha256
7492         (base32
7493          "1r26a412mmar7vbf89zcifswiwpdg30mjzj32xdyqss57aqi83ma"))))
7494     (build-system emacs-build-system)
7495     (propagated-inputs
7496      `(("emacs-evil" ,emacs-evil)))
7497     (arguments
7498      `(#:tests? #t
7499        #:test-command '("emacs" "--batch"
7500                         "-l" "evil-quickscope-tests.el"
7501                         "-f" "ert-run-tests-batch-and-exit")))
7502     (home-page "https://github.com/blorbx/evil-quickscope")
7503     (synopsis "Target highlighting for emacs evil-mode f,F,t and T commands")
7504     (description "@code{emacs-evil-quickscope} highlights targets for Evil
7505 mode’s f,F,t,T keys, allowing for quick navigation within a line.  It is a
7506 port of quick-scope for Vim.  Evil is an Emacs minor mode that emulates Vim
7507 features and provides Vim-like key bindings.")
7508     (license license:gpl3+)))
7510 (define-public emacs-bongo
7511   (package
7512     (name "emacs-bongo")
7513     (version "1.0")
7514     (source
7515      (origin
7516        (method url-fetch)
7517        (uri (string-append
7518              "https://github.com/dbrock/bongo/archive/"
7519              version ".tar.gz"))
7520        (file-name (string-append name "-" version ".tar.gz"))
7521        (sha256
7522         (base32
7523          "1pcsyyrvj7djjjwpaswd1i782hvqvlvs39cy9ns0k795si6xd64d"))))
7524     (build-system emacs-build-system)
7525     (home-page "https://github.com/dbrock/bongo")
7526     (synopsis "Media player for Emacs")
7527     (description
7528      "This package provides a flexible media player for Emacs.  @code{Bongo}
7529 supports multiple backends such as @code{vlc}, @code{mpg123},
7530 @code{ogg123}, @code{speexdec}, @code{timidity}, @code{mikmod} and
7531 @code{afplay}.")
7532     (license license:gpl2+)))
7534 (define-public groovy-emacs-modes
7535   (package
7536     (name "groovy-emacs-modes")
7537     (version "2.0")
7538     (source (origin
7539               (method url-fetch)
7540               (uri (string-append
7541                     "https://github.com/Groovy-Emacs-Modes/" name
7542                     "/archive/" version ".tar.gz"))
7543               (file-name (string-append name "-" version ".tar.gz"))
7544               (sha256
7545                (base32
7546                 "15j0hnkx9nppjzda5cqsxxz5f3bq9hc4xfyjcdypzqiypcvmpa39"))))
7547     (build-system emacs-build-system)
7548     (propagated-inputs
7549      `(("emacs-s" ,emacs-s)))
7550     (home-page "https://github.com/Groovy-Emacs-Modes/groovy-emacs-modes")
7551     (synopsis "Groovy related modes for Emacs")
7552     (description
7553      "This package provides @code{groovy-mode} for syntax highlighing in
7554 Groovy source files, REPL integration with run-groovy and Grails project
7555 navigation with the grails mode.")
7556     (license license:gpl3+)))
7558 (define-public org-tree-slide
7559   (let ((commit "dff8f1a4a64c8dd0a1fde0b0131e2fe186747134")
7560         (revision "0"))
7561     (package
7562       (name "emacs-org-tree-slide")
7563       (version (git-version "0.1" revision commit))
7564       (home-page "https://github.com/takaxp/org-tree-slide")
7565       (source (origin
7566                 (method git-fetch)
7567                 (uri (git-reference (url home-page) (commit commit)))
7568                 (sha256
7569                  (base32
7570                   "153bg0x7ypla11pq51jmsgzfjklwwnrq56xgpbfhk1j16xwz9hyf"))
7571                 (file-name (git-file-name name version))))
7572       (build-system emacs-build-system)
7573       (synopsis "Presentation tool for org-mode")
7574       (description
7575        "Org-tree-slide provides a slideshow mode to view org-mode files.  Use
7576 @code{org-tree-slide-mode} to enter the slideshow mode, and then @kbd{C->} and
7577 @kbd{C-<} to jump to the next and previous slide.")
7578       (license license:gpl3+))))
7580 (define-public emacs-scratch-el
7581   (let ((commit "2cdf2b841ce7a0987093f65b0cc431947549f897")
7582         (revision "1"))
7583     (package
7584       (name "emacs-scratch-el")
7585       (version (git-version "1.2" revision commit))
7586       (source (origin
7587                 (method git-fetch)
7588                 (uri (git-reference
7589                       (url "https://github.com/ieure/scratch-el.git")
7590                       (commit commit)))
7591                 (file-name (git-file-name name version))
7592                 (sha256
7593                  (base32
7594                   "0wscsndynjmnliajqaz28r1ww81j8wh84zwaaswx51abhwgl0idf"))))
7595       (build-system emacs-build-system)
7596       (native-inputs
7597        `(("texinfo" ,texinfo)))
7598       (arguments
7599        '(#:phases
7600          (modify-phases %standard-phases
7601            (add-after 'install 'install-doc
7602              (lambda* (#:key outputs #:allow-other-keys)
7603                (unless (invoke "makeinfo" "scratch.texi")
7604                  (error "makeinfo failed"))
7605                (install-file "scratch.info"
7606                              (string-append (assoc-ref outputs "out")
7607                                             "/share/info"))
7608                #t)))))
7609       (home-page "https://github.com/ieure/scratch-el/")
7610       (synopsis "Create scratch buffers with the same mode as current buffer")
7611       (description "Scratch is an extension to Emacs that enables one to create
7612 scratch buffers that are in the same mode as the current buffer.  This is
7613 notably useful when working on code in some language; you may grab code into a
7614 scratch buffer, and, by virtue of this extension, do so using the Emacs
7615 formatting rules for that language.")
7616       (license license:bsd-2))))
7618 (define-public emacs-kv
7619   (package
7620     (name "emacs-kv")
7621     (version "0.0.19")
7622     (source
7623      (origin
7624        (method git-fetch)
7625        (uri (git-reference
7626              (url "https://github.com/nicferrier/emacs-kv.git")
7627              (commit "721148475bce38a70e0b678ba8aa923652e8900e")))
7628        (file-name (string-append name "-" version "-checkout"))
7629        (sha256
7630         (base32
7631          "0r0lz2s6gvy04fwnafai668jsf4546h4k6zd6isx5wpk0n33pj5m"))))
7632     (build-system emacs-build-system)
7633     (arguments
7634      `(#:tests? #t
7635        #:test-command '("emacs" "--batch" "-l" "kv-tests.el"
7636                         "-f" "ert-run-tests-batch-and-exit")))
7637     (home-page "https://github.com/nicferrier/emacs-kv")
7638     (synopsis "Key/Value data structures library for Emacs Lisp")
7639     (description "@code{emacs-kv} is a collection of tools for dealing with
7640 key/value data structures such as plists, alists and hash-tables in Emacs
7641 Lisp.")
7642     (license license:gpl3+)))
7644 (define-public emacs-esxml
7645   (package
7646     (name "emacs-esxml")
7647     (version "0.3.4")
7648     (source (origin
7649               (method git-fetch)
7650               (uri (git-reference
7651                     (url "https://github.com/tali713/esxml.git")
7652                     (commit version)))
7653               (file-name (git-file-name name version))
7654               (sha256
7655                (base32
7656                 "00vv8a75wdklygdyr4km9mc2ismxak69c45jmcny41xl44rp9x8m"))))
7657     (build-system emacs-build-system)
7658     (arguments
7659      `(#:phases
7660        (modify-phases %standard-phases
7661          (add-after 'unpack 'fix-sources
7662            (lambda _
7663              ;; See: https://github.com/tali713/esxml/pull/28.
7664              (substitute* "css-lite.el"
7665                ((";;; main interface")
7666                 (string-append ";;; main interface\n"
7667                                "(require 'cl-lib)"))
7668                (("mapcan")
7669                 "cl-mapcan")
7670                (("',\\(cl-mapcan #'process-css-rule rules\\)")
7671                 "(cl-mapcan #'process-css-rule ',rules)"))
7672              (substitute* "esxml-form.el"
7673                ((",esxml-form-field-defn")
7674                 "#'esxml-form-field-defn"))
7675              ;; See: https://github.com/tali713/esxml/issues/25
7676              (delete-file "esxpath.el")
7677              #t)))))
7678     (propagated-inputs
7679      `(("emacs-kv" ,emacs-kv)))
7680     (home-page "https://github.com/tali713/esxml/")
7681     (synopsis "SXML for EmacsLisp")
7682     (description "This is XML/XHTML done with S-Expressions in EmacsLisp.
7683 Simply, this is the easiest way to write HTML or XML in Lisp.  This library
7684 uses the native form of XML representation as used by many libraries already
7685 included within Emacs.  See @code{esxml-to-xml} for a concise description of
7686 the format.")
7687     (license license:gpl3+)))
7689 (define-public emacs-nov-el
7690   (package
7691     (name "emacs-nov-el")
7692     (version "0.2.2")
7693     (source (origin
7694               (method git-fetch)
7695               (uri (git-reference
7696                     (url "https://github.com/wasamasa/nov.el.git")
7697                     (commit version)))
7698               (file-name (git-file-name name version))
7699               (sha256
7700                (base32
7701                 "03s0qjvwk1f7y3i4wh2p5y3z4hdv00adgz8za3vphzc0q8i1kjzb"))))
7702     (build-system emacs-build-system)
7703     (arguments
7704      `(#:phases
7705        (modify-phases %standard-phases
7706          (add-after 'unpack 'embed-path-to-unzip
7707            (lambda _
7708              (substitute* "nov.el"
7709                (("\\(executable-find \"unzip\"\\)")
7710                 (string-append "\"" (which "unzip") "\"")))
7711              #t)))))
7712     (propagated-inputs
7713      `(("emacs-dash" ,emacs-dash)
7714        ("emacs-esxml" ,emacs-esxml)))
7715     (inputs
7716      `(("unzip" ,unzip)))
7717     (home-page "https://github.com/wasamasa/nov.el/")
7718     (synopsis "Major mode for reading EPUBs in Emacs")
7719     (description "@code{nov.el} provides a major mode for reading EPUB
7720 documents.
7722 Features:
7724 @itemize
7725 @item Basic navigation (jump to TOC, previous/next chapter)
7726 @item Remembering and restoring the last read position
7727 @item Jump to next chapter when scrolling beyond end
7728 @item Renders EPUB2 (@code{.ncx}) and EPUB3 (@code{<nav>}) TOCs
7729 @item Hyperlinks to internal and external targets
7730 @item Supports textual and image documents
7731 @item View source of document files
7732 @item Metadata display
7733 @item Image rescaling
7734 @end itemize
7736     (license license:gpl3+)))
7738 (define-public epipe
7739   (package
7740     (name "epipe")
7741     (version "0.1.0")
7742     (source
7743      (origin
7744        (method url-fetch)
7745        (uri (string-append "https://github.com/cute-jumper/epipe/archive/"
7746                            version ".tar.gz"))
7747        (file-name (string-append name "-" version ".tar.gz"))
7748        (sha256
7749         (base32
7750          "05a036852g4j63k1mhvyfrcsgkl9lczayi7x61570ysw3cli5wp5"))))
7751     (build-system trivial-build-system)
7752     (inputs
7753      `(("bash" ,bash)
7754        ("perl" ,perl)))
7755     (native-inputs
7756      `(("tar" ,tar)
7757        ("gzip" ,gzip)))
7758     (arguments
7759      `(#:modules
7760        ((guix build utils))
7761        #:builder
7762        (begin
7763          (use-modules (guix build utils))
7764          ;; Extract source
7765          (setenv "PATH" (string-append
7766                          (assoc-ref %build-inputs "tar") "/bin" ":"
7767                          (assoc-ref %build-inputs "gzip") "/bin"))
7768          (invoke "tar" "xvf" (assoc-ref %build-inputs "source"))
7769          (chdir (string-append ,name "-" ,version))
7770          ;; Patch shebangs
7771          (substitute* "epipe"
7772            (("/usr/bin/env bash")
7773             (string-append (assoc-ref %build-inputs "bash") "/bin/bash")))
7774          (patch-shebang "epipe.pl"
7775                         (list (string-append (assoc-ref %build-inputs "perl")
7776                                              "/bin")))
7777          ;; Installation
7778          (for-each (lambda (file)
7779                      (install-file file (string-append %output "/bin")))
7780                    '("epipe" "epipe.pl"))
7781          #t)))
7782     (home-page "https://github.com/cute-jumper/epipe")
7783     (synopsis "Pipe to the @code{emacsclient}")
7784     (description "@code{epipe} provides an utility to use your editor in
7785 the pipeline, featuring the support for running @code{emacsclient}.")
7786     (license license:gpl3+)))
7788 (define-public emacs-hcl-mode
7789   (package
7790     (name "emacs-hcl-mode")
7791     (version "0.03")
7792     (source
7793      (origin
7794        (method url-fetch)
7795        (uri (string-append
7796              "https://github.com/syohex/emacs-hcl-mode/archive/"
7797              version ".tar.gz"))
7798        (file-name (string-append name "-" version ".tar.gz"))
7799        (sha256
7800         (base32
7801          "0pvw74qpwh0znqzp6syp4wxjqs7dp1hbn5h7xfk97mff9l5d8k6x"))))
7802     (build-system emacs-build-system)
7803     (home-page "https://github.com/syohex/emacs-hcl-mode")
7804     (synopsis "Major mode for the Hashicorp Configuration Language")
7805     (description
7806      "@code{emacs-hcl-mode} provides an Emacs major mode for working with
7807 @acronym{HCL, Hashicorp Configuration Language}.  It provides syntax
7808 highlighting and indentation support.")
7809     (license license:gpl3+)))
7811 (define-public emacs-terraform-mode
7812   (package
7813     (name "emacs-terraform-mode")
7814     (version "0.06")
7815     (source
7816      (origin
7817        (method url-fetch)
7818        (uri (string-append
7819              "https://github.com/syohex/emacs-terraform-mode/archive/"
7820              version ".tar.gz"))
7821        (file-name (string-append name "-" version ".tar.gz"))
7822        (sha256
7823         (base32
7824          "0h9267ifdjmcin4sj8slxydbacx4bqicbvg8pa1qq2l72h9m5381"))))
7825     (build-system emacs-build-system)
7826     (propagated-inputs
7827      `(("emacs-hcl-mode" ,emacs-hcl-mode)))
7828     (home-page "https://github.com/syohex/emacs-terraform-mode")
7829     (synopsis "Major mode for Terraform")
7830     (description
7831      "@code{emacs-terraform-mode} provides a major mode for working with
7832 @uref{https://www.terraform.io/, Terraform} configuration files.  Most of the
7833 functionality is inherited from @code{hcl-mode}.")
7834     (license license:gpl3+)))
7836 (define-public emacs-exec-path-from-shell
7837   (package
7838     (name "emacs-exec-path-from-shell")
7839     (version "1.11")
7840     (source
7841      (origin
7842        (method url-fetch)
7843        (uri (string-append
7844              "https://stable.melpa.org/packages/exec-path-from-shell-"
7845              version ".el"))
7846        (sha256
7847         (base32
7848          "03qjgb81cq1l3j54lvlf98r75vmmgd06mj6qh5wa6mz4xzp4w26r"))))
7849     (build-system emacs-build-system)
7850     (home-page "https://github.com/purcell/exec-path-from-shell")
7851     (synopsis "Get environment variables such as @var{PATH} from the shell")
7852     (description
7853      "This library allows the user to set Emacs @var{exec-path} and @var{PATH}
7854 from the shell @var{PATH}, so that @code{shell-command}, @code{compile} and
7855 the like work as expected on systems on which Emacs is not guaranteed to
7856 inherit a login shell's environment variables.  It also allows other
7857 environment variables to be retrieved from the shell, so that Emacs will see
7858 the same values you get in a terminal.")
7859     (license license:gpl3+)))
7861 (define-public emacs-deft
7862   (package
7863     (name "emacs-deft")
7864     (version "0.8")
7865     (source
7866      (origin
7867        (method url-fetch)
7868        (uri (string-append "https://stable.melpa.org/packages/deft-"
7869                            version ".el"))
7870        (sha256
7871         (base32
7872          "1vb9cjxskc7c0yyf9pvxy1fzypg1vrcgwnjz0m3hslinsgdyig58"))))
7873     (build-system emacs-build-system)
7874     (home-page "https://jblevins.org/projects/deft/")
7875     (synopsis "Quickly browse, filter, and edit plain text notes")
7876     (description
7877      "Deft is an Emacs mode for quickly browsing, filtering, and editing
7878 directories of plain text notes, inspired by Notational Velocity.")
7879     (license license:bsd-3)))
7881 (define-public emacs-anzu
7882   (package
7883     (name "emacs-anzu")
7884     (version "0.62")
7885     (source
7886      (origin
7887        (method url-fetch)
7888        (uri (string-append "https://github.com/syohex/emacs-anzu/archive/"
7889                            version ".tar.gz"))
7890        (file-name (string-append name "-" version ".tar.gz"))
7891        (sha256
7892         (base32
7893          "16cg3897x5znbmgk7sdy0qyd0fbic9dmmz0dchq2vz5z29yhg4cz"))))
7894     (build-system emacs-build-system)
7895     (home-page "https://github.com/syohex/emacs-anzu")
7896     (synopsis "Show number of matches in mode-line while searching")
7897     (description
7898      "Anzu provides a minor mode which displays \"current match/total
7899 matches\" in the mode line in various search modes.  This is an Emacs port of
7900 Anzu.zim.")
7901     (license license:gpl3+)))
7903 (define-public emacs-emmet-mode
7904   (package
7905     (name "emacs-emmet-mode")
7906     (version "1.0.8")
7907     (source (origin
7908               (method url-fetch)
7909               (uri (string-append "https://github.com/smihica/emmet-mode"
7910                                   "/archive/" version ".tar.gz"))
7911               (file-name (string-append name "-" version ".tar.gz"))
7912               (sha256
7913                (base32
7914                 "0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj"))))
7915     (build-system emacs-build-system)
7916     (home-page "https://github.com/smihica/emmet-mode")
7917     (synopsis "Unofficial Emmet's support for Emacs")
7918     (description
7919      "Unfold CSS-selector-like expressions to markup.  It is intended to be
7920 used with SGML-like languages: XML, HTML, XHTML, XSL, etc.")
7921     (license license:gpl3+)))
7923 (define-public emacs-ergoemacs-mode
7924   (let ((commit "3ce23bba3cb50562693860f87f3528c471d603ba")
7925         (revision "1"))
7926     (package
7927       (name "emacs-ergoemacs-mode")
7928       (version (git-version "5.16.10.12" revision commit))
7929       (source
7930        (origin
7931          (method git-fetch)
7932          (uri (git-reference
7933                (url "https://github.com/ergoemacs/ergoemacs-mode.git")
7934                (commit commit)))
7935          (sha256
7936           (base32
7937            "1s3b9bridl78hh1mxmdk9nqlmqhibbaxk0a1cixmsf23s06w8w6l"))))
7938       (build-system emacs-build-system)
7939       (propagated-inputs
7940        `(("emacs-undo-tree" ,emacs-undo-tree)))
7941       (home-page "https://ergoemacs.github.io/")
7942       (synopsis "Emacs mode based on common modern interface and ergonomics")
7943       (description
7944        "This package provides an efficient Emacs keybinding set based on
7945 statistics of command frequency, and supports common shortcuts for open,
7946 close, copy, cut, paste, undo, redo.")
7947       (license license:gpl3+))))
7949 (define-public emacs-password-store
7950   (package
7951     (name "emacs-password-store")
7952     (version "1.7.2")
7953     (source (origin
7954               (method url-fetch)
7955               (uri
7956                (string-append "https://git.zx2c4.com/password-store/snapshot/"
7957                               "password-store-" version ".tar.xz"))
7958               (sha256
7959                (base32
7960                 "1sl0d7nc85c6c2bmmmyb8rpmn47vhkj831l153mjlkawjvhwas27"))))
7961     (build-system emacs-build-system)
7962     (arguments
7963      `(#:phases
7964        (modify-phases %standard-phases
7965          (add-after 'unpack 'extract-el-file
7966            (lambda _
7967              (copy-file "contrib/emacs/password-store.el" "password-store.el")
7968              (delete-file-recursively "contrib")
7969              (delete-file-recursively "man")
7970              (delete-file-recursively "src")
7971              (delete-file-recursively "tests"))))))
7972     (propagated-inputs
7973      `(("emacs-f" ,emacs-f)
7974        ("emacs-s" ,emacs-s)
7975        ("emacs-with-editor" ,emacs-with-editor)
7976        ("password-store" ,password-store)))
7977     (home-page "https://git.zx2c4.com/password-store/tree/contrib/emacs")
7978     (synopsis "Password store (pass) support for Emacs")
7979     (description
7980      "This package provides functions for working with pass (\"the
7981 standard Unix password manager\").")
7982     (license license:gpl2+)))
7984 (define-public emacs-pass
7985   (package
7986     (name "emacs-pass")
7987     (version "1.7")
7988     (source (origin
7989               (method url-fetch)
7990               (uri (string-append
7991                     "https://github.com/NicolasPetton/pass/archive/"
7992                     version ".tar.gz"))
7993               (sha256
7994                (base32
7995                 "0zlx9v6z0q3w9qhq9bq6vb7sli4c9x7qccm2wq55j0nw7bwy2yvj"))
7996               (file-name (string-append name "-" version ".tar.gz"))))
7997     (build-system emacs-build-system)
7998     (propagated-inputs
7999      `(("emacs-password-store" ,emacs-password-store)
8000        ("emacs-f" ,emacs-f)))
8001     (home-page "https://github.com/NicolasPetton/pass")
8002     (synopsis "Major mode for @file{password-store.el}")
8003     (description "This is a major mode for managing password-store (pass)
8004 keychains.  The keychain entries are displayed in a directory-like structure
8005 and can be consulted and modified.")
8006     (license license:gpl3+)))
8008 (define-public emacs-evil-anzu
8009   (package
8010     (name "emacs-evil-anzu")
8011     (version "0.03")
8012     (source
8013      (origin
8014        (method url-fetch)
8015        (uri (string-append "https://github.com/syohex/emacs-evil-anzu"
8016                            "/archive/" version ".tar.gz"))
8017        (file-name (string-append name "-" version ".tar.gz"))
8018        (sha256
8019         (base32 "032hh2946z529cizqsg8pm6cpn5qdj8lfk3qskmx6xv3g2ra56ns"))))
8020     (build-system emacs-build-system)
8021     (propagated-inputs
8022      `(("emacs-evil" ,emacs-evil)
8023        ("emacs-anzu" ,emacs-anzu)))
8024     (home-page "https://github.com/syohex/emacs-evil-anzu")
8025     (synopsis "Anzu for evil-mode")
8026     (description "@code{anzu} provides a minor mode that displays the current
8027 match and total match information in the mode-line in various search modes.")
8028     (license license:gpl3+)))
8030 (define-public emacs-pg
8031   (let ((commit "4f6516ec3946d95dcef49abb6703cc89ecb5183d"))
8032     (package
8033       (name "emacs-pg")
8034       (version (git-version "0.1" "1" commit))
8035       (source (origin
8036                 (method git-fetch)
8037                 (uri (git-reference (url "https://github.com/cbbrowne/pg.el")
8038                                     (commit commit)))
8039                 (file-name (git-file-name name version))
8040                 (sha256
8041                  (base32
8042                   "1zh7v4nnpzvbi8yj1ynlqlawk5bmlxi6s80b5f2y7hkdqb5q26k0"))))
8043       (build-system emacs-build-system)
8044       (home-page "https://github.com/cbbrowne/pg.el")
8045       (synopsis "Emacs Lisp interface for PostgreSQL")
8046       (description
8047        "This package provides an Emacs Lisp interface for PostgreSQL.")
8048       (license license:gpl3+))))
8050 (define-public emacs-cl-generic
8051   (package
8052     (name "emacs-cl-generic")
8053     (version "0.3")
8054     (source
8055      (origin
8056        (method url-fetch)
8057        (uri (string-append "https://elpa.gnu.org/packages/cl-generic-"
8058                            version ".el"))
8059        (sha256
8060         (base32
8061          "0vb338bhjpsnrf60qgxny4z5rjrnifahnrv9axd4shay89d894zq"))))
8062     (build-system emacs-build-system)
8063     (home-page "https://elpa.gnu.org/packages/seq.html")
8064     (synopsis
8065      "Forward @code{cl-generic} compatibility for Emacs before version 25")
8066     (description "This package provides a subset of the features of the
8067 @code{cl-generic} package introduced in Emacs-25, for use on previous
8068 @code{emacsen}.")
8069     (license license:gpl3+)))
8071 (define-public emacs-finalize
8072   (package
8073   (name "emacs-finalize")
8074   (version "2.0.0")
8075   (source
8076     (origin
8077       (method url-fetch)
8078       (uri (string-append "https://github.com/skeeto/elisp-finalize/archive/"
8079                           version ".tar.gz"))
8080       (file-name (string-append name "-" version ".tar.gz"))
8081       (sha256
8082         (base32
8083          "077fycy3i5f0kjw5z3rhf4kld5lbk2idz690nkwhkz04vppk4q4x"))))
8084   (build-system emacs-build-system)
8085   (propagated-inputs
8086     `(("emacs-cl-generic" ,emacs-cl-generic)))
8087   (home-page "https://github.com/skeeto/elisp-finalize")
8088   (synopsis "Finalizers for Emacs Lisp")
8089   (description
8090     "This package will allows to immediately run a callback (a finalizer)
8091 after its registered lisp object has been garbage collected.  This allows for
8092 extra resources, such as buffers and processes, to be cleaned up after the
8093 object has been freed.")
8094   (license license:unlicense)))
8096 (define-public emacs-emacsql
8097   (package
8098     (name "emacs-emacsql")
8099     (version "2.0.3")
8100     (source
8101      (origin
8102        (method url-fetch)
8103        (uri (string-append "https://github.com/skeeto/emacsql/archive/"
8104                            version ".tar.gz"))
8105        (file-name (string-append name "-" version ".tar.gz"))
8106        (sha256
8107         (base32
8108          "04hfjdgl1zc7jysgjc7d7d3xqpr7q1q9gsmzffjd91ii3hpqjgx6"))))
8109     (build-system emacs-build-system)
8110     (arguments
8111      `(#:modules ((guix build emacs-build-system)
8112                   (guix build utils)
8113                   (guix build emacs-utils)
8114                   (srfi srfi-26))
8115        #:phases
8116        (modify-phases %standard-phases
8117          (delete 'build) ;‘build-emacsql-sqlite’ compiles ‘*.el’ files.
8118          (add-before 'install 'patch-elisp-shell-shebangs
8119            (lambda _
8120              (substitute* (find-files "." "\\.el")
8121                (("/bin/sh") (which "sh")))
8122              #t))
8123          (add-after 'patch-elisp-shell-shebangs 'setenv-shell
8124            (lambda _
8125              (setenv "SHELL" "sh")))
8126          (add-after 'setenv-shell 'build-emacsql-sqlite
8127            (lambda _
8128              (invoke "make" "binary" "CC=gcc")))
8129          (add-after 'build-emacsql-sqlite 'install-emacsql-sqlite
8130            ;; This build phase installs emacs-emacsql binary.
8131            (lambda* (#:key outputs #:allow-other-keys)
8132              (install-file "sqlite/emacsql-sqlite"
8133                            (string-append (assoc-ref outputs "out")
8134                                           "/bin"))
8135              #t))
8136          (add-after 'install-emacsql-sqlite 'patch-emacsql-sqlite.el
8137            ;; This build phase removes interactive prompts
8138            ;; and makes sure Emacs look for binaries in the right places.
8139            (lambda* (#:key outputs #:allow-other-keys)
8140              (let ((file "emacsql-sqlite.el"))
8141                (chmod file #o644)
8142                (emacs-substitute-sexps file
8143                  ;; Avoid interactive prompts.
8144                  ("(defvar emacsql-sqlite-user-prompted" 't)
8145                  ;; Make sure Emacs looks for ‘GCC’ binary in the right place.
8146                  ("(executable-find" (which "gcc"))
8147                  ;; Make sure Emacs looks for ‘emacsql-sqlite’ binary
8148                  ;; in the right place.
8149                  ("(defvar emacsql-sqlite-executable"
8150                   (string-append (assoc-ref outputs "out")
8151                                  "/bin/emacsql-sqlite"))))))
8152          (replace 'install
8153            (lambda* (#:key outputs #:allow-other-keys)
8154              (let* ((out (assoc-ref outputs "out")))
8155                (install-file "sqlite/emacsql-sqlite"
8156                              (string-append out "/bin"))
8157                (for-each (cut install-file <>
8158                               (string-append out "/share/emacs/site-lisp/guix.d/"
8159                                              "emacsql" "-" ,version))
8160                          (find-files "." "\\.elc*$")))
8161              #t)))))
8162     (inputs
8163      `(("emacs-minimal" ,emacs-minimal)
8164        ("mariadb" ,mariadb)
8165        ("postgresql" ,postgresql)))
8166     (propagated-inputs
8167      `(("emacs-finalize" ,emacs-finalize)
8168        ("emacs-pg" ,emacs-pg)))
8169     (home-page "https://github.com/skeeto/emacsql")
8170     (synopsis "Emacs high-level SQL database front-end")
8171     (description "Any readable Lisp value can be stored as a value in EmacSQL,
8172 including numbers, strings, symbols, lists, vectors, and closures.  EmacSQL
8173 has no concept of @code{TEXT} values; it's all just Lisp objects.  The Lisp
8174 object @code{nil} corresponds 1:1 with @code{NULL} in the database.")
8175     (license license:gpl3+)))
8177 (define-public emacs-closql
8178   (package
8179     (name "emacs-closql")
8180     (version "0.5.1")
8181     (source
8182      (origin
8183        (method url-fetch)
8184        (uri (string-append "https://github.com/emacscollective/closql/archive/"
8185                            "v" version ".tar.gz"))
8186        (file-name (string-append name "-" version ".tar.gz"))
8187        (sha256
8188         (base32
8189          "0wa6r0kgbb7f19039p5f3di4dvrvxfgpd8bkam94fca7jvzj536c"))))
8190     (build-system emacs-build-system)
8191     (propagated-inputs
8192      `(("emacs-emacsql" ,emacs-emacsql)))
8193     (home-page "https://github.com/emacscollective/closql")
8194     (synopsis "Store EIEIO objects using EmacSQL")
8195     (description
8196      "This package allows to store uniform EIEIO objects in an EmacSQL
8197 database.  SQLite is used as backend.  This library imposes some restrictions
8198 on what kind of objects can be stored; it isn't intended to store arbitrary
8199 objects.  All objects have to share a common superclass and subclasses cannot
8200 add any additional instance slots.")
8201     (license license:gpl3)))
8203 (define-public emacs-epkg
8204   ;; The release version is to old for the current database scheme.
8205   (let ((commit "432312b9583ed7b88ad9644fd1bf2183765a892e"))
8206     (package
8207       (name "emacs-epkg")
8208       (version (git-version "3.0.0" "1" commit))
8209       (source
8210        (origin
8211          (method git-fetch)
8212          (uri (git-reference
8213                (url "https://github.com/emacscollective/epkg.git")
8214                (commit commit)))
8215          (file-name (git-file-name name version))
8216          (sha256
8217           (base32
8218            "0d882kahn7a0vri7a9r15lvmfx1zn2hsga6jfcc6jv0hqbswlb2k"))))
8219       (build-system emacs-build-system)
8220       (propagated-inputs
8221        `(("emacs-closql" ,emacs-closql)
8222          ("emacs-dash" ,emacs-dash)))
8223       (home-page "https://emacsmirror.net")
8224       (synopsis "Browse the Emacsmirror package database")
8225       (description "This package provides access to a local copy of the
8226 Emacsmirror package database.  It provides low-level functions for querying
8227 the database and a @file{package.el} user interface for browsing the database.
8228 Epkg itself is not a package manager.
8230 Getting a local copy:
8232 @example
8233 git clone https://github.com/emacsmirror/epkgs.git ~/.emacs.d/epkgs
8234 cd ~/.emacs.d/epkgs
8235 git submodule init
8236 git config --global url.https://github.com/.insteadOf git@@github.com:
8237 git submodule update
8238 @end example
8240 Some submodule may be missing.  In this case Git will prompt for a GitHub user
8241 name and password.  To skip it press a @key{Return} key.
8243 You could get a Epkg package list by invoking @code{epkg-list-packages} in
8244 Emacs.")
8245       (license license:gpl3+))))
8247 (define-public emacs-elisp-slime-nav
8248   (package
8249     (name "emacs-elisp-slime-nav")
8250     (version "0.9")
8251     (source
8252      (origin
8253        (method url-fetch)
8254        (uri (string-append "https://github.com/purcell/elisp-slime-nav/archive/"
8255                            version ".tar.gz"))
8256        (file-name (string-append name "-" version ".tar.gz"))
8257        (sha256
8258         (base32
8259          "1vq7ym1q47p97gxrv45c9gm96d23xbp237vkmakikj6grngxjfb2"))))
8260     (build-system emacs-build-system)
8261     (home-page "https://github.com/purcell/elisp-slime-nav")
8262     (synopsis "Make @code{M-.} and @code{M-,} work for elisp like they do in SLIME")
8263     (description
8264      "This package provides SLIME's convenient @code{M-.}and @code{M-,} navigation
8265 in @code{emacs-lisp-mode}, together with an elisp equivalent of
8266 @code{slime-describe-symbol}.")
8267     (license license:gpl3+)))
8269 (define-public emacs-dedicated
8270   (package
8271     (name "emacs-dedicated")
8272     (version "1.0.0")
8273     (source (origin
8274               (method url-fetch)
8275               (uri (string-append
8276                     "https://github.com/emacsorphanage/dedicated/archive/"
8277                     version
8278                     ".tar.gz"))
8279               (sha256
8280                (base32
8281                 "0nhbkp278cvcznb5rp3jp9ii3mjgb79zx8iwfrw7zfk3yg8688ni"))
8282               (file-name (string-append name "-" version ".tar.gz"))))
8283     (build-system emacs-build-system)
8284     (home-page "https://github.com/emacsorphanage/dedicated")
8285     (synopsis "Emacs minor mode for toggling a windows's \"dedicated\" flag")
8286     (description
8287      "This simple Emacs minor mode allows you to toggle a window's
8288 \"dedicated\" flag.  When a window is \"dedicated\", Emacs will not select
8289 files into that window.  This can be quite handy since many commands will use
8290 another window to show results (compilation mode, starting info, and so on).
8291 A dedicated window won't be used for such a purpose.  For details, please read
8292 the source file.")
8293     (license license:gpl2+)))
8295 (define-public emacs-nnreddit
8296   (let ((commit "9843f99d01fd8f1eea2fc685965a7c7f4eeb187a")
8297         (revision "1"))
8298     (package
8299       (name "emacs-nnreddit")
8300       (version (string-append "0.0.1-" revision "."
8301                               (string-take commit 7)))
8302       (source (origin
8303                 (method git-fetch)
8304                 (uri (git-reference
8305                       (url "https://github.com/paul-issartel/nnreddit.git")
8306                       (commit commit)))
8307                 (file-name (string-append name "-" version "-checkout"))
8308                 (sha256
8309                  (base32
8310                   "0j4h3bnga640250jdq8bwyja49r41ssrsjd6lba4gzzllqk02nbn"))))
8311       (build-system emacs-build-system)
8312       (home-page "https://github.com/paul-issartel/nnreddit")
8313       (synopsis "Reddit backend for the Gnus newsreader")
8314       (description "@url{https://www.reddit.com} backend for the Gnus
8315 newsreader.")
8316       (license license:gpl3+))))
8318 (define-public emacs-makey
8319   (package
8320     (name "emacs-makey")
8321     (version "0.3")
8322     (source
8323      (origin
8324        (method url-fetch)
8325        (uri (string-append "https://github.com/mickeynp/makey/archive/"
8326                            version ".tar.gz"))
8327        (file-name (string-append name "-" version ".tar.gz"))
8328        (sha256
8329         (base32
8330          "0kzl4q1wf2zhkx9nrymxa67n99iq0bj7zqhpaz4byksna1hsxfmv"))))
8331     (build-system emacs-build-system)
8332     (home-page "https://github.com/mickeynp/makey")
8333     (synopsis "Emacs interactive command-line mode")
8334     (description
8335      "This package provides an Emacs interactive command-line mode.")
8336     (license license:gpl3+)))
8338 (define-public emacs-outorg
8339   (let ((commit "78b0695121fb974bc4e971eb4ef7f8afd6d89d64"))
8340     (package
8341       (name "emacs-outorg")
8342       (version (git-version "2.0" "1" commit))
8343       (source
8344        (origin
8345          (method git-fetch)
8346          (uri (git-reference
8347                (url "https://github.com/alphapapa/outorg")
8348                (commit commit)))
8349          (file-name (git-file-name name version))
8350          (sha256
8351           (base32
8352            "03aclh4m3f7rb821gr9pwvnqkkl91px3qxdcarpf3ypa1x4fxvlj"))))
8353       (build-system emacs-build-system)
8354       (home-page "https://github.com/alphapapa/outorg")
8355       (synopsis "Org-style comment editing")
8356       (description "Outorg is for editing comment-sections of source-code
8357 files in temporary Org-mode buffers.  It turns conventional
8358 literate-programming upside-down in that the default mode is the
8359 programming-mode, and special action has to be taken to switch to the
8360 text-mode (i.e. Org-mode).")
8361       (license license:gpl3+))))
8363 (define-public emacs-outshine
8364   (let ((commit "5f1a6b70231d2811c522e4e5e8c89ff461b311d6"))
8365     (package
8366       (name "emacs-outshine")
8367       (version (git-version "2.0" "1" commit))
8368       (source (origin
8369                 (method git-fetch)
8370                 (uri (git-reference
8371                       (url "https://github.com/alphapapa/outshine.git")
8372                       (commit commit)))
8373                 (file-name (git-file-name name version))
8374                 (sha256
8375                  (base32
8376                   "1l9v1dfhgg7il11ifbhvcvrg3acfjk9sdxlc3lja1k54d7dp60jv"))))
8377       (build-system emacs-build-system)
8378       (propagated-inputs
8379        `(("emacs-outorg" ,emacs-outorg)))
8380       (home-page "https://github.com/alphapapa/outshine")
8381       (synopsis "Emacs outline with outshine")
8382       (description "Outshine attempts to bring the look and feel of
8383 @code{org-mode} to an Emacs outside of the Org major-mode.  It is an extension
8384 of @code{outline-minor-mode} (@code{org-mode} itself derives from
8385 outline-mode), so there is no such thing like an outshine mode, only
8386 @code{outline-minor-mode} with outshine extensions loaded.")
8387       (license license:gpl3+))))
8389 (define-public emacs-parsebib
8390   (package
8391     (name "emacs-parsebib")
8392     (version "2.3.1")
8393     (source
8394      (origin
8395        (method url-fetch)
8396        (uri (string-append "https://github.com/joostkremers/parsebib/archive/"
8397                            version ".tar.gz"))
8398        (file-name (string-append name "-" version ".tar.gz"))
8399        (sha256
8400         (base32
8401          "0cxagnmc5ab6idmb26axpizhr4sqglkncc59768yavn3p04jyq63"))))
8402     (build-system emacs-build-system)
8403     (home-page "https://github.com/joostkremers/parsebib")
8404     (synopsis "Library for parsing bib files")
8405     (description
8406      "This package provides an Emacs library for parsing bib files.")
8407     (license license:gpl3+)))
8409 (define-public emacs-biblio
8410   (package
8411     (name "emacs-biblio")
8412     (version "0.1")
8413     (source
8414      (origin
8415        (method url-fetch)
8416        (uri (string-append "https://github.com/cpitclaudel/biblio.el/archive/"
8417                            version ".tar.gz"))
8418        (file-name (string-append name "-" version ".tar.gz"))
8419        (sha256
8420         (base32
8421          "109fvivsb4r0rbqljngqrmxqvbnbkqlivczx6brrvlr7ci625lhf"))))
8422     (build-system emacs-build-system)
8423     (home-page "https://github.com/cpitclaudel/biblio.el")
8424     (synopsis "Browse and import bibliographic references")
8425     (description "This package provides an extensible Emacs package for
8426 browsing and fetching references.
8428 @file{biblio.el} makes it easy to browse and gather bibliographic references
8429 and publications from various sources, by keywords or by DOI.  References are
8430 automatically fetched from well-curated sources, and formatted as BibTeX.")
8431     (license license:gpl3+)))
8433 (define-public emacs-helm-bibtex
8434   (let ((commit "8ed898fb5a68f18e9bb9973832a5c1f8abcfc463")
8435         (revision "1"))
8436     (package
8437       (name "emacs-helm-bibtex")
8438       (version (string-append "2.0.0" "-" revision "."
8439                               (string-take commit 7)))
8440       (source
8441        (origin
8442          (method git-fetch)
8443          (uri (git-reference
8444                (url "https://github.com/tmalsburg/helm-bibtex.git")
8445                (commit commit)))
8446          (file-name (string-append name "-" version "-checkout"))
8447          (sha256
8448           (base32
8449            "14lyx0vbqr97p3anzrsp7m3q0kqclyjcdwplpraim403fcklzbnz"))))
8450       (build-system emacs-build-system)
8451       (propagated-inputs
8452        `(("emacs-helm" ,emacs-helm)
8453          ("emacs-parsebib" ,emacs-parsebib)
8454          ("emacs-s" ,emacs-s)
8455          ("emacs-dash" ,emacs-dash)
8456          ("emacs-f" ,emacs-f)
8457          ("emacs-biblio" ,emacs-biblio)))
8458       (home-page "https://github.com/tmalsburg/helm-bibtex")
8459       (synopsis "Bibliography manager based on Helm")
8460       (description "This package provides bibliography manager for Emacs,
8461 based on Helm and the bibtex-completion backend.
8463 Key features:
8465 @itemize
8466 @item Quick access to your bibliography from within Emacs
8467 @item Powerful search capabilities
8468 @item Provides instant search results as you type
8469 @item Tightly integrated with LaTeX authoring, emails, Org mode, etc.
8470 @item Open the PDFs, URLs, or DOIs associated with an entry
8471 @item Insert LaTeX cite commands, Ebib links, or Pandoc citations,
8472 BibTeX entries, or plain text references at point, attach PDFs to emails
8473 @item Support for note taking
8474 @item Quick access to online bibliographic databases such as Pubmed,
8475 arXiv, Google Scholar, Library of Congress, etc.
8476 @item Imports BibTeX entries from CrossRef and other sources.
8477 @end itemize\n")
8478       (license license:gpl3+))))
8480 (define-public emacs-ewmctrl
8481   (let ((commit "3d0217c4d6cdb5c308b6cb4293574f470d4faacf"))
8482     (package
8483       (name "emacs-ewmctrl")
8484       (version (git-version "0.0.1" "1" commit))
8485       (source
8486        (origin
8487          (method git-fetch)
8488          (uri (git-reference
8489                (url "https://github.com/flexibeast/ewmctrl.git")
8490                (commit commit)))
8491          (file-name (git-file-name name version))
8492          (sha256
8493           (base32
8494            "0ilwvx0qryv3v6xf0gxqwnfm6pf96gxap8h9g3f6z6lk9ff4n1wi"))))
8495       (build-system emacs-build-system)
8496       (arguments
8497        '(#:phases
8498          (modify-phases %standard-phases
8499            (add-after 'unpack 'patch-ewmctrl
8500              ;; This build phase makes sure ‘ewmctrl’ looks
8501              ;; for ‘wmctrl’ in the right place.
8502              (lambda _
8503                (let ((file "ewmctrl.el"))
8504                  (chmod file #o644)
8505                  (emacs-substitute-sexps file
8506                    ("(defcustom ewmctrl-wmctrl-path" (which "wmctrl")))))))))
8507       (inputs
8508        `(("wmctrl" ,wmctrl)))
8509       (home-page "https://github.com/flexibeast/ewmctrl")
8510       (synopsis "Emacs interface to @code{wmctrl}")
8511       (description "@code{ewmctrl} provides an Emacs interface to
8512 @code{wmctrl} command-line window-management program.")
8513       (license license:gpl3+))))
8515 (define-public emacs-helm-gtags
8516   (package
8517     (name "emacs-helm-gtags")
8518     (version "1.5.6")
8519     (source (origin
8520               (method url-fetch)
8521               (uri (string-append
8522                     "https://github.com/syohex/emacs-helm-gtags/archive/"
8523                     version ".tar.gz"))
8524               (file-name (string-append name "-" version ".tar.gz"))
8525               (sha256
8526                (base32
8527                 "1a10snhg6nnnan6w9a7mcziy26vxbsr3c35i0gcarnkdp2yqng36"))))
8528     (build-system emacs-build-system)
8529     (propagated-inputs
8530      `(("emacs-helm" ,emacs-helm)))
8531     (home-page "https://github.com/syohex/emacs-helm-gtags")
8532     (synopsis "Emacs Helm interface to GNU Global")
8533     (description
8534      "@code{emacs-helm-gtags} provides a Emacs Helm interface to GNU Global.")
8535     (license license:gpl3+)))
8537 (define-public emacs-list-utils
8538   (package
8539     (name "emacs-list-utils")
8540     (version "0.4.4")
8541     (source
8542      (origin
8543        (method url-fetch)
8544        (uri (string-append "https://github.com/rolandwalker/list-utils/archive/"
8545                            "v" version ".tar.gz"))
8546        (file-name (string-append name "-" version ".tar.gz"))
8547        (sha256
8548         (base32
8549          "1xc1xh8c82h5gdjbgpdsdclgwxkxbb7h3x3a2bscpm41g8pnan4p"))))
8550     (build-system emacs-build-system)
8551     (home-page "https://github.com/rolandwalker/list-utils")
8552     (synopsis "List-manipulation utility functions")
8553     (description "This package provides a list manipulation library for Emacs.")
8554     (license license:gpl3+)))
8556 (define-public emacs-move-text
8557   (package
8558     (name "emacs-move-text")
8559     (version "2.0.8")
8560     (source
8561      (origin
8562        (method url-fetch)
8563        (uri (string-append "https://github.com/emacsfodder/move-text/archive/"
8564                            version ".tar.gz"))
8565        (file-name (string-append name "-" version ".tar.gz"))
8566        (sha256
8567         (base32
8568          "1sjfja9r25692pgcldgnjzkapzy970m14jh9l4pajysiqcdk72g0"))))
8569     (build-system emacs-build-system)
8570     (home-page "https://github.com/emacsfodder/move-text")
8571     (synopsis "Move current line or region with M-up or M-down")
8572     (description "This package provide functions to move the current line
8573 using @kbd{M-up} or @kbd{M-down} if a region is marked, it will move the
8574 region instead.")
8575     (license license:gpl3+)))
8577 (define-public emacs-validate
8578   (package
8579     (name "emacs-validate")
8580     (version "1.0.5")
8581     (source (origin
8582               (method url-fetch)
8583               (uri (string-append "https://github.com/Malabarba/validate.el"
8584                                   "/archive/" version ".tar.gz"))
8585               (file-name (string-append name "-" version ".tar.gz"))
8586               (sha256
8587                (base32
8588                 "125mbd111f1h1baw0z3fzm48y1bvaigljyzvvnqgrn0shxbj0khg"))))
8589     (build-system emacs-build-system)
8590     (home-page "https://github.com/Malabarba/validate.el")
8591     (synopsis "Emacs library for scheme validation")
8592     (description "This Emacs library provides two functions that perform
8593 schema validation.")
8594     (license license:gpl3+)))
8596 (define-public emacs-load-relative
8597   (let ((commit "738896e3da491b35399178ed2c6bc92cc728d119")
8598         (revision "1"))
8599     (package
8600       (name "emacs-load-relative")
8601       (version (string-append "0.0.1" "-" revision "."
8602                               (string-take commit 7)))
8603       (source
8604        (origin
8605          (method git-fetch)
8606          (uri (git-reference
8607                (url "https://github.com/rocky/emacs-load-relative")
8608                (commit commit)))
8609          (file-name (string-append name "-" version "-checkout"))
8610          (sha256
8611           (base32
8612            "1rpy5mfncncl6gqgg53d3g25g1700g4b9bivd4c0cfcv5dbxhp73"))))
8613       (build-system emacs-build-system)
8614       (home-page "https://github.com/rocky/emacs-load-relative")
8615       (synopsis "Relative loads for Emacs Lisp files")
8616       (description "@code{load-relative} allows to write small Emacs
8617 functions or modules in a larger multi-file Emacs package and
8618 facilitate running from the source tree without having to install the
8619 code or fiddle with evil @code{load-path}.")
8620       (license license:gpl3+))))
8622 (define-public emacs-rainbow-blocks
8623   (let ((commit "dd435d7bb34ff6f162a5f315df308b90b7e9f842"))
8624     (package
8625       (name "emacs-rainbow-blocks")
8626       (version (git-version "1.0.0" "1" commit))
8627       (source (origin
8628                 (method git-fetch)
8629                 (uri (git-reference
8630                       (url "https://github.com/istib/rainbow-blocks.git")
8631                       (commit commit)))
8632                 (file-name (git-file-name name version))
8633                 (sha256
8634                  (base32
8635                   "06yfb3i7wzvqrhkb61zib9xvpb5i00s4frizkzff66im05k0n795"))))
8636       (build-system emacs-build-system)
8637       (home-page "https://github.com/istib/rainbow-blocks")
8638       (synopsis "Highlight sexp blocks")
8639       (description "Rainbow-blocks is an Emacs mode that highlights blocks
8640 made of parentheses, brackets, and braces according to their depth.  Each
8641 successive level is highlighted in a different color.  This makes it easy to
8642 orient yourself in the code, and tell which statements are at a given level.")
8643       (license license:gpl3+))))
8645 (define-public emacs-hierarchy
8646   (package
8647     (name "emacs-hierarchy")
8648     (version "0.7.0")
8649     (source
8650      (origin
8651        (method url-fetch)
8652        (uri (string-append
8653              "https://github.com/DamienCassou/hierarchy/archive/"
8654              "v" version ".tar.gz"))
8655        (file-name (string-append name "-" version ".tar.gz"))
8656        (sha256
8657         (base32
8658          "1a463v5zk6zis2p8cs4mads3iyxh266yahi6j6y0paggfl2yhkc8"))))
8659     (build-system emacs-build-system)
8660     (home-page "https://github.com/DamienCassou/hierarchy")
8661     (synopsis "Library to create and display hierarchy structures")
8662     (description "This package provides an Emacs library to create, query,
8663 navigate and display hierarchy structures.")
8664     (license license:gpl3+)))
8666 (define-public emacs-tree-mode
8667   (let ((commit "b06078826d5875d74b0e7b7ac47b0d0917610534")
8668         (revision "1"))
8669     (package
8670       (name "emacs-tree-mode")
8671       (version (string-append "0.0.1" "-" revision "."
8672                               (string-take commit 7)))
8673       (source
8674        (origin
8675          (method git-fetch)
8676          (uri (git-reference
8677                (url "https://github.com/emacsorphanage/tree-mode.git")
8678                (commit commit)))
8679          (file-name (string-append name "-" version "-checkout"))
8680          (sha256
8681           (base32
8682            "13bbdhdmqg4x9yghanhr8fsbsxbnypzxdxgicz31sjjm675kpnix"))))
8683       (build-system emacs-build-system)
8684       (home-page "https://github.com/emacsorphanage/tree-mode")
8685       (synopsis "Emacs mode to manage tree widgets")
8686       (description
8687        "This package provides an Emacs library to manage tree widgets.")
8688       (license license:gpl3+))))
8690 (define-public emacs-md4rd
8691   (let ((commit "be0fc4951b2d1f5194ffa1fcaac706dbac560500")
8692         (revision "1"))
8693     (package
8694       (name "emacs-md4rd")
8695       (version (string-append "0.0.1" "-" revision "."
8696                               (string-take commit 7)))
8697       (source (origin
8698                 (method git-fetch)
8699                 (uri (git-reference
8700                       (url "https://github.com/ahungry/md4rd.git")
8701                       (commit commit)))
8702                 (file-name (string-append name "-" version "-checkout"))
8703                 (sha256
8704                  (base32
8705                   "1i93shx5x192gd7cl2r6gvcvhhwyi1k08abi5w3izv1hn3pmksgq"))))
8706       (propagated-inputs
8707        `(("emacs-hierarchy" ,emacs-hierarchy)
8708          ("emacs-request" ,emacs-request)
8709          ("emacs-dash" ,emacs-dash)
8710          ("emacs-s" ,emacs-s)
8711          ("emacs-tree-mode" ,emacs-tree-mode)))
8712       (build-system emacs-build-system)
8713       (home-page "https://github.com/ahungry/md4rd")
8714       (synopsis "Emacs Mode for Reddit")
8715       (description
8716        "This package allows to read Reddit from within Emacs interactively.")
8717       (license license:gpl3+))))
8719 (define-public emacs-pulseaudio-control
8720   (let ((commit "08c59e1dc45ec96edb62f34036e82cf5f14c0e8b")
8721         (revision "1"))
8722     (package
8723       (name "emacs-pulseaudio-control")
8724       (version (string-append "0.0.1" "-" revision "."
8725                               (string-take commit 7)))
8726       (source
8727        (origin
8728          (method git-fetch)
8729          (uri (git-reference
8730                (url "https://github.com/flexibeast/pulseaudio-control.git")
8731                (commit commit)))
8732          (file-name (string-append name "-" version "-checkout"))
8733          (sha256
8734           (base32
8735            "10cgg1r00kz2fsnnryvzay5pf8s1pwb1dzlds1fbjdnyfvdgammv"))))
8736       (build-system emacs-build-system)
8737       (home-page "https://github.com/flexibeast/pulseaudio-control")
8738       (synopsis "Control @code{pulseaudio} from Emacs")
8739       (description
8740        "This package allows to control @code{pulseaudio} from Emacs.")
8741       (license license:gpl3+))))
8743 (define-public emacs-datetime
8744   (package
8745     (name "emacs-datetime")
8746     (version "0.3")
8747     (source (origin
8748               (method url-fetch)
8749               (uri (string-append
8750                     "https://github.com/doublep/datetime/archive/"
8751                     version ".tar.gz"))
8752               (file-name (string-append name "-" version ".tar.gz"))
8753               (sha256
8754                (base32
8755                 "12wqpj67rjij2ki7nmw38rz3k2bsq68pk6zswknlcn9qhp1zd9w9"))))
8756     (build-system emacs-build-system)
8757     (home-page "https://github.com/doublep/datetime/")
8758     (synopsis "Library to work with dates in Emacs")
8759     (description "Parsing, formatting, matching and recoding
8760 timestamps and date-time format strings library for Emacs.")
8761     (license license:gpl3+)))
8763 (define-public emacs-org-mind-map
8764   (let ((commit "9d6e262bedd94daf9de269f4d56de277275677cb")
8765         (revision "1"))
8766     (package
8767       (name "emacs-org-mind-map")
8768       (version (string-append "0.0.1" "-" revision "."
8769                               (string-take commit 7)))
8770       (source
8771        (origin
8772          (method git-fetch)
8773          (uri (git-reference
8774                (url "https://github.com/theodorewiles/org-mind-map.git")
8775                (commit commit)))
8776          (file-name (string-append name "-" version "-checkout"))
8777          (sha256
8778           (base32
8779            "0jgkkgq7g64zckrmjib0hvz0qy3ynz5vz13qbmlpf096l3bb65wn"))))
8780       (propagated-inputs
8781        `(("emacs-dash" ,emacs-dash)))
8782       (build-system emacs-build-system)
8783       (home-page "https://github.com/theodorewiles/org-mind-map")
8784       (synopsis "Create Graphviz directed graphs from Org files")
8785       (description
8786        "This package creates Graphviz directed graphs from Org files.")
8787       (license license:gpl3+))))
8789 (define-public emacs-npm-mode
8790   (package
8791     (name "emacs-npm-mode")
8792     (version "0.6.0")
8793     (source
8794      (origin
8795        (method url-fetch)
8796        (uri (string-append "https://github.com/mojochao/npm-mode/archive/"
8797                            version ".tar.gz"))
8798        (file-name (string-append name "-" version ".tar.gz"))
8799        (sha256
8800         (base32
8801          "1kq1ww22dwf8c2i2b4z2ldbbmnihj65kb7n5vzvwkch9h4hxpqh5"))))
8802     (build-system emacs-build-system)
8803     (home-page "https://github.com/mojochao/npm-mode")
8804     (synopsis "Minor mode for working with @code{npm} projects")
8805     (description
8806      "@code{npm-mode} provides a minor mode to work with @code{npm} projects.")
8807     (license license:gpl3+)))
8809 (define-public emacs-seq
8810   (package
8811     (name "emacs-seq")
8812     (version "2.20")
8813     (source
8814      (origin
8815        (method url-fetch)
8816        (uri (string-append "http://elpa.gnu.org/packages/seq-" version ".tar"))
8817        (sha256
8818         (base32
8819          "0vrpx6nnyjb0gsypknzagimlhvcvi5y1rcdkpxyqr42415zr8d0n"))))
8820     (build-system emacs-build-system)
8821     (home-page "http://elpa.gnu.org/packages/seq.html")
8822     (synopsis "Sequence manipulation functions")
8823     (description "Sequence-manipulation functions that complement basic
8824 functions provided by @file{subr.el}.")
8825     (license license:gpl3+)))
8827 (define-public emacs-itail
8828   (let ((commit "6e43c20da03be3b9c6ece93b7dc3495975ec1888")
8829         (revision "1"))
8830     (package
8831       (name "emacs-itail")
8832       (version (string-append "0.0.1" "-" revision "."
8833                               (string-take commit 7)))
8834       (source
8835        (origin
8836          (method git-fetch)
8837          (uri (git-reference
8838                (url "https://github.com/re5et/itail.git")
8839                (commit commit)))
8840          (file-name (string-append name "-" version "-checkout"))
8841          (sha256
8842           (base32
8843            "044nzxh1hq41faxw3lix0wy78vfz304pjcaa5a11dqfz7q3gx5cv"))))
8844       (build-system emacs-build-system)
8845       (home-page "https://github.com/re5et/itail")
8846       (synopsis "Interactive @code{tail} Emacs mode")
8847       (description "@code{itail} provides interactive @code{tail} mode
8848 that allows you to filter the tail with unix pipes and highlight the
8849 contents of the tailed file.  Works locally or on remote files using
8850 tramp.")
8851       (license license:gpl3+))))
8853 (define-public emacs-loop
8854   (package
8855     (name "emacs-loop")
8856     (version "1.3")
8857     (source
8858      (origin
8859        (method url-fetch)
8860        (uri (string-append "https://github.com/Wilfred/loop.el/archive/"
8861                            version ".tar.gz"))
8862        (file-name (string-append name "-" version ".tar.gz"))
8863        (sha256
8864         (base32
8865          "1z3rhh3zyjabz36410yz0lp4a0qwwj0387as662wvx3z9y54jia9"))))
8866     (build-system emacs-build-system)
8867     (home-page "https://github.com/Wilfred/loop.el")
8868     (synopsis "Imperative loop structures for Emacs")
8869     (description "Loop structures familiar to users of other languages.  This
8870 library adds a selection of popular loop structures as well as break and
8871 continue.")
8872     (license license:gpl3+)))
8874 (define-public emacs-elisp-refs
8875   (package
8876     (name "emacs-elisp-refs")
8877     (version "1.2")
8878     (source
8879      (origin
8880        (method url-fetch)
8881        (uri (string-append "https://github.com/Wilfred/elisp-refs/archive/"
8882                            version ".tar.gz"))
8883        (file-name (string-append name "-" version ".tar.gz"))
8884        (sha256
8885         (base32
8886          "0fj6wphwrvbslw46w7wgdk3b4bfr312ygj3lbgr9qw63lpqw26nl"))))
8887     (build-system emacs-build-system)
8888     (propagated-inputs
8889      `(("emacs-dash" ,emacs-dash)
8890        ("emacs-f" ,emacs-f)
8891        ("emacs-list-utils" ,emacs-list-utils)
8892        ("emacs-loop" ,emacs-loop)
8893        ("emacs-s" ,emacs-s)))
8894     (home-page "https://github.com/Wilfred/elisp-refs")
8895     (synopsis "Find callers of elisp functions or macros")
8896     (description "Find references to functions, macros or variables.  Unlike a
8897 dumb text search, @code{elisp-refs} actually parses the code, so it's never
8898 confused by comments or @code{foo-bar} matching @code{foo}.")
8899     (license license:gpl3+)))
8901 (define-public emacs-crux
8902   (let ((commit "4f5c8fefd5a6aa52e128c4a0401cc86410d6ac8f")
8903         (revision "1"))
8904     (package
8905       (name "emacs-crux")
8906       (version (string-append "0.3.0" "-" revision "."
8907                               (string-take commit 7)))
8908       (source
8909        (origin
8910          (method git-fetch)
8911          (uri (git-reference
8912                (url "https://github.com/bbatsov/crux.git")
8913                (commit commit)))
8914          (file-name (string-append name "-" version "-checkout"))
8915          (sha256
8916           (base32
8917            "1fdxvv25cs01sg6fmvmzxpzvs50i6v8n2jya60lbavxqqhi0sbxd"))))
8918       (build-system emacs-build-system)
8919       (home-page "https://github.com/bbatsov/crux")
8920       (synopsis "Collection of useful functions for Emacs")
8921       (description
8922        "@code{crux} provides a collection of useful functions for Emacs.")
8923       (license license:gpl3+))))
8925 (define-public emacs-edit-server
8926   (package
8927     (name "emacs-edit-server")
8928     (version "1.13")
8929     (source
8930      (origin
8931        (method url-fetch)
8932        (uri (string-append "https://github.com/stsquad/emacs_chrome/archive/"
8933                            "v" version ".tar.gz"))
8934        (file-name (string-append name "-" version ".tar.gz"))
8935        (sha256
8936         (base32
8937          "1r92kqggslqasza718z4ka883mqfbnibdm43f0j9gaipk0msm2wf"))))
8938     (build-system emacs-build-system)
8939     (arguments
8940      `(#:phases
8941        (modify-phases %standard-phases
8942          (add-after 'unpack 'chdir-elisp
8943            ;; Elisp directory is not in root of the source.
8944            (lambda _
8945              (chdir "servers"))))))
8946     (home-page "https://github.com/stsquad/emacs_chrome")
8947     (synopsis "Server that responds to edit requests from Chromium")
8948     (description
8949      "This package provides an edit server to respond to requests from Emacs.")
8950     (license license:gpl3+)))
8952 (define-public emacs-m-buffer-el
8953   (package
8954     (name "emacs-m-buffer-el")
8955     (version "0.15")
8956     (source
8957      (origin
8958        (method url-fetch)
8959        (uri (string-append "https://github.com/phillord/m-buffer-el"
8960                            "/archive/" "v" version ".tar.gz"))
8961        (file-name (string-append name "-" version ".tar.gz"))
8962        (sha256
8963         (base32
8964          "17vdcc8q37q9db98jyww1c0ivinmwfcw4l04zccfacalra63a214"))))
8965     (arguments
8966      `(#:phases
8967        (modify-phases %standard-phases
8968          (add-before 'install 'check
8969            (lambda* (#:key inputs #:allow-other-keys)
8970              (invoke "emacs" "--batch" "-L" "."
8971                      "-l" "test/m-buffer-test.el"
8972                      "-l" "test/m-buffer-at-test.el"
8973                      "-f" "ert-run-tests-batch-and-exit"))))))
8974     (build-system emacs-build-system)
8975     (home-page "https://github.com/phillord/m-buffer-el")
8976     (synopsis "List oriented buffer operations for Emacs")
8977     (description "@code{m-buffer} provides a set of list-orientated functions
8978 for operating over the contents of Emacs buffers.")
8979     (license license:gpl3+)))
8981 (define-public emacs-let-alist
8982   (package
8983     (name "emacs-let-alist")
8984     (version "1.0.5")
8985     (source
8986      (origin
8987        (method url-fetch)
8988        (uri (string-append
8989              "https://elpa.gnu.org/packages/let-alist-" version ".el"))
8990        (sha256
8991         (base32
8992          "0r7b9jni50la1m79kklml11syg8d2fmdlr83pv005sv1wh02jszw"))))
8993     (build-system emacs-build-system)
8994     (home-page "https://elpa.gnu.org/packages/let-alist.html")
8995     (synopsis "Easily let-bind values of an assoc-list by their names")
8996     (description "This package offers a single macro, @code{let-alist}.  This
8997 macro takes a first argument (whose value must be an alist) and a body.")
8998     (license license:gpl3+)))
9000 (define-public emacs-esup
9001   (let ((commit "a589005a9a888537deef94d6fe38a9b8790c97c7")
9002         (revision "1"))
9003     (package
9004       (name "emacs-esup")
9005       (version (string-append "0.6" "-" revision "."
9006                               (string-take commit 7)))
9007       (source
9008        (origin
9009          (method git-fetch)
9010          (uri (git-reference
9011                (url "https://github.com/jschaf/esup.git")
9012                (commit commit)))
9013          (file-name (string-append name "-" version "-checkout"))
9014          (sha256
9015           (base32
9016            "04lxmd0h7mfjjl0qghrycgff0vcv950j1wqv0dbkr61jxp64n5fv"))))
9017       ;; TODO: Add tests
9018       (build-system emacs-build-system)
9019       (home-page "https://github.com/jschaf/esup")
9020       (synopsis "Emacs start up profiler")
9021       (description "Benchmark Emacs Startup time without ever leaving
9022 your Emacs.")
9023       (license license:gpl2+))))
9025 (define-public emacs-sourcemap
9026   (package
9027     (name "emacs-sourcemap")
9028     (version "0.03")
9029     (source
9030      (origin
9031        (method url-fetch)
9032        (uri (string-append "https://github.com/syohex/emacs-sourcemap/archive/"
9033                            version ".tar.gz"))
9034        (file-name (string-append name "-" version ".tar.gz"))
9035        (sha256
9036         (base32
9037          "0bmd5l3cx2iyl7vxn84xdhs80b07kpdpfwki28lh5d0kmm5qs6m6"))))
9038     (build-system emacs-build-system)
9039     (home-page "https://github.com/syohex/emacs-sourcemap")
9040     (synopsis "Sourcemap parser")
9041     (description "Sourcemap parser")
9042     (license license:gpl3+)))
9044 (define-public emacs-macrostep
9045   (let ((commit "424e3734a1ee526a1bd7b5c3cd1d3ef19d184267"))
9046     (package
9047       (name "emacs-macrostep")
9048       (version (git-version "0.9" "1" commit))
9049       (source (origin
9050                 (method git-fetch)
9051                 (uri (git-reference
9052                       (url "https://github.com/joddie/macrostep.git")
9053                       (commit commit)))
9054                 (file-name (string-append name "-" version "-checkout"))
9055                 (sha256
9056                  (base32
9057                   "1fm40mxdn289cyzgw992223dgrjmwxn4q8svyyxfaxjrpb38jhjz"))))
9058       (build-system emacs-build-system)
9059       (arguments
9060        '(#:phases
9061          (modify-phases %standard-phases
9062            (add-before 'check 'remove-test
9063              ;; Fails because of requirement ‘/bin/sh’.
9064              (lambda _
9065                (let ((file "macrostep-test.el"))
9066                  (chmod file #o644)
9067                  (emacs-batch-edit-file file
9068                    `(progn (progn (goto-char (point-min))
9069                                   (re-search-forward
9070                                    "(ert-deftest macrostep-expand-c-macros")
9071                                   (beginning-of-line)
9072                                   (kill-sexp))
9073                            (basic-save-buffer))))))
9074            (add-before 'install 'check
9075              (lambda _
9076                (invoke "emacs" "--batch" "-L" "."
9077                        "-l" "macrostep-test.el"
9078                        "-f" "ert-run-tests-batch-and-exit"))))))
9079       (home-page "https://github.com/joddie/macrostep")
9080       (synopsis "Interactive macro-expander for Emacs")
9081       (description "@code{macrostep} is an Emacs minor mode for interactively
9082 stepping through the expansion of macros in Emacs Lisp source code.  It lets
9083 you see exactly what happens at each step of the expansion process by
9084 pretty-printing the expanded forms inline in the source buffer, which is
9085 temporarily read-only while macro expansions are visible.  You can expand and
9086 collapse macro forms one step at a time, and evaluate or instrument the
9087 expansions for debugging with Edebug as normal (but see “Bugs and known
9088 limitations”, below).  Single-stepping through the expansion is particularly
9089 useful for debugging macros that expand into another macro form.  These can be
9090 difficult to debug with Emacs’ built-in macroexpand, which continues expansion
9091 until the top-level form is no longer a macro call.")
9092       (license license:gpl3+))))
9094 (define-public emacs-parent-mode
9095   (package
9096     (name "emacs-parent-mode")
9097     (version "2.3")
9098     (source
9099      (origin
9100        (method url-fetch)
9101        (uri (string-append "https://github.com/Fanael/parent-mode/archive/"
9102                            version ".tar.gz"))
9103        (file-name (string-append name "-" version ".tar.gz"))
9104        (sha256
9105         (base32
9106          "0gxbl5s1w96v6v55b7aaansgw4sxhzfx9nrsvpk3pfhsibs6yqjd"))))
9107     (build-system emacs-build-system)
9108     (home-page "https://github.com/Fanael/parent-mode")
9109     (synopsis "Get major mode's parent modes")
9110     (description "Get major mode's parent modes")
9111     (license license:gpl3+)))
9113 (define-public emacs-lacarte
9114   (package
9115     (name "emacs-lacarte")
9116     (version "0.1")
9117     (source (origin
9118               (method url-fetch)
9119               (uri "https://www.emacswiki.org/emacs/download/lacarte.el")
9120               (sha256
9121                (base32
9122                 "1sbmk37ljq5j7dsw5c37sbxvlfgdqswh7bi4dknyjzfxlq50f4am"))))
9123     (build-system emacs-build-system)
9124     (home-page "https://www.emacswiki.org/emacs/lacarte.el")
9125     (synopsis "Execute menu items as commands, with completion")
9126     (description "Execute menu items as commands, with completion.")
9127     (license license:gpl3)))
9129 (define-public emacs-company-lua
9130   (let ((commit "0be8122f3adf57ad27953bf4b03545d6298d3da4"))
9131     (package
9132       (name "emacs-company-lua")
9133       (version (git-version "0.1" "1" commit))
9134       (source
9135        (origin
9136          (method git-fetch)
9137          (uri (git-reference
9138                (url "https://github.com/ptrv/company-lua.git")
9139                (commit commit)))
9140          (file-name (git-file-name name version))
9141          (sha256
9142           (base32
9143            "1d9i165apgmwns7b2fd5wcpjpkah3dyj20v5sb8ynvz6qhhr5r9c"))))
9144       (build-system emacs-build-system)
9145       (propagated-inputs
9146        `(("emacs-company" ,emacs-company)
9147          ("emacs-s" ,emacs-s)
9148          ("emacs-f" ,emacs-f)
9149          ("emacs-lua-mode" ,emacs-lua-mode)))
9150       (home-page "https://github.com/ptrv/company-lua")
9151       (synopsis "Company backend for Lua")
9152       (description
9153        "This package provides Company backend for Lua programming language.")
9154       (license license:gpl3+))))
9156 (define-public emacs-beginend
9157   (package
9158     (name "emacs-beginend")
9159     (version "2.0.0")
9160     (source
9161      (origin
9162        (method url-fetch)
9163        (uri (string-append "https://github.com/DamienCassou/beginend/archive/"
9164                            "v" version ".tar.gz"))
9165        (file-name (string-append name "-" version ".tar.gz"))
9166        (sha256
9167         (base32
9168          "0z4rbwffh9vxfvcrlvym4p73z7gf72q0b5iv33llbpcpbijknnrq"))))
9169     ;; TODO: Run tests.
9170     (build-system emacs-build-system)
9171     (inputs
9172      `(("emacs-undercover" ,emacs-undercover))) ; For tests.
9173     (home-page "https://github.com/DamienCassou/beginend")
9174     (synopsis "Redefine @code{M-<} and @code{M->} for Emacs modes")
9175     (description "@code{beginend} redefines @code{M-<} and @code{M->}
9176 keybindings for Emacs modes so that point moves to meaningful
9177 locations.  Redefined keys are still accessible by pressing the same
9178 key again.")
9179     (license license:gpl3+)))
9181 (define-public emacs-mbsync
9182   (let ((commit "42077e83ae2db778ce0f8e22f8357b40355526b3")
9183         (revision "1"))
9184     (package
9185       (name "emacs-mbsync")
9186       (version (string-append "0.0.1" "-" revision "."
9187                               (string-take commit 7)))
9188       (source
9189        (origin
9190          (method git-fetch)
9191          (uri (git-reference
9192                (url "https://github.com/dimitri/mbsync-el.git")
9193                (commit commit)))
9194          (file-name (string-append name "-" version "-checkout"))
9195          (sha256
9196           (base32
9197            "0yj93y2mpxlir8x73znlg1slxlv4blm1vjv5h2w3j8lxg8bxvmn6"))))
9198       (build-system emacs-build-system)
9199       (home-page "https://github.com/dimitri/mbsync-el")
9200       (synopsis "Interface to mbsync for Emacs")
9201       (description "This package allows to call the @code{mbsync} from
9202 within Emacs.")
9203       (license license:gpl3+))))
9205 (define-public emacs-ibuffer-projectile
9206   (let ((commit "c18ac540ee46cb759fc5df18747f6e8d23563011")
9207         (revision "1"))
9208     (package
9209       (name "emacs-ibuffer-projectile")
9210       (version (string-append "0.2" "-" revision "."
9211                               (string-take commit 7)))
9212       (source
9213        (origin
9214          (method git-fetch)
9215          (uri (git-reference
9216                (url "https://github.com/purcell/ibuffer-projectile.git")
9217                (commit commit)))
9218          (file-name (string-append name "-" version "-checkout"))
9219          (sha256
9220           (base32
9221            "1nd26cwwdpnwj0g4w393rd59klpyr6wqrnyr6scmwb5d06bsm44n"))))
9222       (build-system emacs-build-system)
9223       (propagated-inputs
9224        `(("emacs-projectile" ,emacs-projectile)))
9225       (home-page "https://github.com/purcell/ibuffer-projectile")
9226       (synopsis "Group ibuffer's list by projectile root")
9227       (description "Adds functionality to Emacs @code{ibuffer} for
9228 grouping buffers by their projectile root directory.")
9229       (license license:gpl3+))))
9231 (define-public emacs-helm-mode-manager
9232   (package
9233     (name "emacs-helm-mode-manager")
9234     (version "1.0.0")
9235     (source
9236      (origin
9237        (method url-fetch)
9238        (uri (string-append "https://github.com/istib/helm-mode-manager/"
9239                            "archive/" version ".tar.gz"))
9240        (file-name (string-append name "-" version ".tar.gz"))
9241        (sha256
9242         (base32
9243          "0wllj321z16hgrx0ddwzk5wz4mnnx5am7w5nclqclfc5dfdn92wm"))))
9244     (build-system emacs-build-system)
9245     (propagated-inputs
9246      `(("emacs-helm" ,emacs-helm)))
9247     (home-page "https://github.com/istib/helm-mode-manager/")
9248     (synopsis "Switch and toggle Emacs major and minor modes using Helm")
9249     (description "This package provides a Helm interface for toggling Emacs
9250 major or minor mode.
9252 @itemize
9253 @item @code{helm-switch-major-mode} list of all major modes
9254 @item @code{helm-enable-minor-mode} list of all inactive minor modes
9255 @item @code{helm-disable-minor-mode} list of all ACTIVE minor modes
9256 @end itemize\n
9258 Hitting @code{RET} enables the mode, @code{C-z} shows the mode
9259 documentation.")
9260     (license license:gpl3+)))
9262 (define-public emacs-hy-mode
9263   (package
9264     (name "emacs-hy-mode")
9265     (version "1.0.2")
9266     (source
9267      (origin
9268        (method url-fetch)
9269        (uri (string-append "https://github.com/hylang/hy-mode/archive/"
9270                            "v" version ".tar.gz"))
9271        (file-name (string-append name "-" version ".tar.gz"))
9272        (sha256
9273         (base32
9274          "0sbga36zkyhzrzcczsyjzll7b9qsa215pnlw51m4li2irm23jh17"))))
9275     (build-system emacs-build-system)
9276     (propagated-inputs
9277      `(("emacs-dash" ,emacs-dash)
9278        ("emacs-s" ,emacs-s)))
9279     (home-page "https://github.com/hylang/hy-mode")
9280     (synopsis "Major mode for Hylang")
9281     (description "This package provides a major mode for Hylang.")
9282     (license license:gpl3+)))
9284 (define-public emacs-web-beautify
9285   (package
9286     (name "emacs-web-beautify")
9287     (version "0.3.2")
9288     (source
9289      (origin
9290        (method url-fetch)
9291        (uri (string-append "https://github.com/yasuyk/web-beautify/archive/"
9292                            version ".tar.gz"))
9293        (file-name (string-append name "-" version ".tar.gz"))
9294        (sha256
9295         (base32
9296          "1j57hwid74id4swkx2g0iljfawx0k9c7qjrwqc0mv657x9p78hcs"))))
9297     (build-system emacs-build-system)
9298     (home-page "https://github.com/yasuyk/web-beautify")
9299     (synopsis "Format HTML, CSS and JavaScript, JSON")
9300     (description "This package provides an Emacs functions to format HTML,
9301 CSS, JavaScript, JSON.")
9302     (license license:gpl3+)))
9304 (define-public emacs-helm-shell-history
9305   (let ((commit "110d3c35c52fe4b89b29e79ea4c8626bce7266a1"))
9306     (package
9307       (name "emacs-helm-shell-history")
9308       (version (git-version "0.1" "1" commit))
9309       (source
9310        (origin
9311          (method git-fetch)
9312          (uri (git-reference
9313                (url "https://github.com/yuutayamada/helm-shell-history.git")
9314                (commit commit)))
9315          (file-name (git-file-name name version))
9316          (sha256
9317           (base32
9318            "18fkjcz69g4dyaxhf9j8svr5x6dhsdnglddwisis8hdn504scpfj"))))
9319       (build-system emacs-build-system)
9320       (arguments
9321        '(#:phases
9322          (modify-phases %standard-phases
9323            (add-before 'check 'patch-helm-shell-history-file
9324              (lambda _
9325                (let ((file "helm-shell-history.el"))
9326                  (chmod file #o644)
9327                  (emacs-substitute-sexps file
9328                    ("(defvar helm-shell-history-file"
9329                     `(expand-file-name "~/.bash_history"))))
9330                #t)))))
9331       (propagated-inputs
9332        `(("emacs-helm" ,emacs-helm)))
9333       (home-page "https://github.com/yuutayamada/helm-shell-history")
9334       (synopsis "Find shell history with Emacs Helm")
9335       (description "This package provides an Emacs Helm interface to search
9336 throw a shell history.")
9337       (license license:gpl3+))))
9339 (define-public emacs-discover-my-major
9340   (package
9341     (name "emacs-discover-my-major")
9342     (version "1.0")
9343     (source
9344      (origin
9345        (method url-fetch)
9346        (uri
9347         (string-append "https://github.com/steckerhalter/discover-my-major"
9348                        "/archive/" version ".tar.gz"))
9349        (file-name (string-append name "-" version ".tar.gz"))
9350        (sha256
9351         (base32
9352          "0nah41f92rrl2l405kpqr6iaks11jyclgl4z7ilfymbr4ifmsiyl"))))
9353     (build-system emacs-build-system)
9354     (propagated-inputs
9355      `(("emacs-makey" ,emacs-makey)))
9356     (home-page "https://github.com/steckerhalter/discover-my-major")
9357     (synopsis "Discover key bindings for the current Emacs major mode")
9358     (description "This package provides allows to discover key bindings and
9359 their meaning for the current Emacs major-mode.")
9360     (license license:gpl3+)))
9362 (define-public emacs-org-ref
9363   (let ((commit "8c9b5d7efb9f0c1ad5186b8203bdd017f4249129")
9364         (revision "1"))
9365     (package
9366       (name "emacs-org-ref")
9367       (version (string-append "1.1.1" "-" revision "."
9368                               (string-take commit 7)))
9369       (source
9370        (origin
9371          (method git-fetch)
9372          (uri (git-reference
9373                (url "https://github.com/jkitchin/org-ref.git")
9374                (commit commit)))
9375          (file-name (string-append name "-" version "-checkout"))
9376          (sha256
9377           (base32
9378            "1rxz0bjdsayk0slv23i07d9xhj2m7s4hsc81wc2d1cs52dkr5zmz"))))
9379       (build-system emacs-build-system)
9380       (propagated-inputs
9381        `(("emacs-dash" ,emacs-dash)
9382          ("emacs-helm" ,emacs-helm)
9383          ("emacs-helm-bibtex" ,emacs-helm-bibtex)
9384          ("emacs-ivy" ,emacs-ivy)
9385          ("emacs-hydra" ,emacs-hydra)
9386          ("emacs-key-chord" ,emacs-key-chord)
9387          ("emacs-s" ,emacs-s)
9388          ("emacs-f" ,emacs-f)
9389          ("emacs-pdf-tools" ,emacs-pdf-tools)))
9390       (home-page "https://github.com/jkitchin/org-ref")
9391       (synopsis "Citations, cross-references and bibliographies in org-mode")
9392       (description
9393        "Lisp code to setup bibliography, cite, ref and label org-mode links.
9394 Also sets up reftex and helm for org-mode citations.  The links are
9395 clickable and do things that are useful.
9397 The default setup uses helm-bibtex.
9399 You should really read org-ref.org in this package for details.")
9400       (license license:gpl3+))))
9402 (define-public emacs-add-hooks
9403   (package
9404     (name "emacs-add-hooks")
9405     (version "3.1.1")
9406     (source (origin
9407               (method url-fetch)
9408               (uri (string-append
9409                     "https://github.com/nickmccurdy/add-hooks/archive/"
9410                     version ".tar.gz"))
9411               (file-name (string-append name "-" version ".tar.gz"))
9412               (sha256
9413                (base32
9414                 "03a28gb3298g7pc2qji9hi44p4d99ljp5mpi9cmg42ldv8fl6549"))))
9415     (build-system emacs-build-system)
9416     (home-page "https://github.com/nickmccurdy/add-hooks/")
9417     (synopsis "Emacs function for setting multiple hooks")
9418     (description "This package provides a @code{add-hooks} function tidies up
9419 duplicate hook and function names further into a single declarative call.")
9420     (license license:gpl3+)))
9422 (define-public emacs-fancy-narrow
9423   (package
9424     (name "emacs-fancy-narrow")
9425     (version "0.9.5")
9426     (source
9427      (origin
9428        (method url-fetch)
9429        (uri (string-append "https://github.com/Malabarba/fancy-narrow/archive/"
9430                            version ".tar.gz"))
9431        (file-name (string-append name "-" version ".tar.gz"))
9432        (sha256
9433         (base32
9434          "0rf2rnzg82pdqch041yyx3f9ddixffkk9s2ydzg8hwy66sg3385n"))))
9435     (build-system emacs-build-system)
9436     (home-page "https://github.com/Malabarba/fancy-narrow/releases")
9437     (synopsis "Immitate narrow-to-region with more eye-candy")
9438     (description "Unlike narrow-to-region, which completely hides text outside
9439 the narrowed region, this package simply deemphasizes the text, makes it
9440 readonly, and makes it unreachable.  This leads to a much more natural
9441 feeling, where the region stays static (instead of being brutally moved to a
9442 blank slate) and is clearly highlighted with respect to the rest of the
9443 buffer.")
9444     (license license:gpl2+)))
9446 (define-public emacs-know-your-http-well
9447   (package
9448     (name "emacs-know-your-http-well")
9449     (version "0.5.0")
9450     (source
9451      (origin
9452        (method url-fetch)
9453        (uri (string-append
9454              "https://github.com/for-GET/know-your-http-well/archive/"
9455              "v" version ".tar.gz"))
9456        (file-name (string-append name "-" version ".tar.gz"))
9457        (sha256
9458         (base32
9459          "1y3kwz88awcgwaivlswq0q4g2i02762r23lpwg61bfqy5lrjjqnj"))))
9460     (arguments
9461      `(#:phases
9462        (modify-phases %standard-phases
9463          (add-after 'unpack 'install-json-files
9464            (lambda* (#:key outputs #:allow-other-keys)
9465              (for-each (lambda (directory)
9466                          (copy-recursively directory
9467                                            (string-append
9468                                             (assoc-ref outputs "out")
9469                                             directory)))
9470                        '("js" "json"))))
9471          (add-after 'unpack 'chdir-elisp
9472            ;; Elisp directory is not in root of the source.
9473            (lambda _
9474              (chdir "emacs"))))))
9475     (build-system emacs-build-system)
9476     (home-page "https://github.com/for-GET/know-your-http-well")
9477     (synopsis "Meaning of HTTP headers codes")
9478     (description "Meaning of HTTP headers codes.")
9479     (license license:gpl3+)))
9481 (define-public emacs-navi-mode
9482   (let ((commit "c1d38e8237f4e14af020a0b7d4f118ea198ab674"))
9483     (package
9484       (name "emacs-navi-mode")
9485       (version (git-version "2.0" "1" commit))
9486       (source
9487        (origin
9488          (method git-fetch)
9489          (uri (git-reference
9490                (url "https://github.com/alphapapa/navi.git")
9491                (commit commit)))
9492          (file-name (git-file-name name version))
9493          (sha256
9494           (base32
9495            "0jj5spk14hgb7zb1cd2n8whcw4k1kd5zb6llwj96v178yaws7l8k"))))
9496       (build-system emacs-build-system)
9497       (propagated-inputs
9498        `(("emacs-outshine" ,emacs-outshine)
9499          ("emacs-outorg" ,emacs-outorg)))
9500       (home-page "https://github.com/alphapapa/navi")
9501       (synopsis "Emacs major-mode for easy buffer-navigation")
9502       (description
9503        "This package provides an Emacs major-mode for easy buffer-navigation")
9504       (license license:gpl3+))))
9506 (define-public emacs-download-region
9507   (let ((commit "eb9e557529a73b4cfc8281c70dd0d95db333fffa")
9508         (revision "1"))
9509     (package
9510       (name "emacs-download-region")
9511       (version (string-append "0.0.1" "-" revision "."
9512                               (string-take commit 7)))
9513       (source
9514        (origin
9515          (method git-fetch)
9516          (uri (git-reference
9517                (url "https://github.com/zk-phi/download-region.git")
9518                (commit commit)))
9519          (file-name (string-append name "-" version "-checkout"))
9520          (sha256
9521           (base32
9522            "0v52djg39b6k2snizd9x0qc009ws5y0ywqsfwhqgcbs5ymzh7dsc"))))
9523       (build-system emacs-build-system)
9524       (home-page "https://github.com/zk-phi/download-region")
9525       (synopsis "In buffer download manager for Emacs")
9526       (description "@code{download-region} provides in buffer
9527 downloading manager for Emacs.")
9528       (license license:gpl3+))))
9530 (define-public emacs-csv-mode
9531   (package
9532     (name "emacs-csv-mode")
9533     (version "1.7")
9534     (source
9535      (origin
9536        (method url-fetch)
9537        (uri (string-append "http://elpa.gnu.org/packages/csv-mode-"
9538                            version ".el"))
9539        (sha256
9540         (base32
9541          "0r4bip0w3h55i8h6sxh06czf294mrhavybz0zypzrjw91m1bi7z6"))))
9542     (build-system emacs-build-system)
9543     (home-page "http://elpa.gnu.org/packages/csv-mode.html")
9544     (synopsis "Major mode for editing comma or char separated values")
9545     (description
9546      "This package provides an Emacs CSV mode, a major mode for editing
9547 records in a generalized CSV (character-separated values) format.")
9548     (license license:gpl3+)))
9550 (define-public emacs-helpful
9551   (package
9552     (name "emacs-helpful")
9553     (version "0.1")
9554     (source (origin
9555               (method url-fetch)
9556               (uri (string-append
9557                     "https://github.com/Wilfred/helpful/archive/"
9558                     version ".tar.gz"))
9559               (file-name (string-append name "-" version ".tar.gz"))
9560               (sha256
9561                (base32
9562                 "16dx566qzrjj0bf43lnw7h1qlvgs94brqplamw8kppp2ylr72qs9"))))
9563     (build-system emacs-build-system)
9564     (propagated-inputs
9565      `(("emacs-elisp-refs" ,emacs-elisp-refs)))
9566     (home-page "https://github.com/Wilfred/helpful")
9567     (synopsis "More contextual information in Emacs help")
9568     (description "@code{helpful} is an alternative to the built-in Emacs help
9569 that provides much more contextual information.
9571 @itemize
9572 @item Show the source code for interactively defined functions (unlike the
9573 built-in Help).
9574 @item Fall back to the raw sexp if no source is available.
9575 @item Show where a function is being called.
9576 @item Docstrings will Highlight the summary (the first sentence), include
9577 cross-references, hide superfluous puncuation.
9578 @item Show you the properties that have been applied to the current
9579 symbol.  This provides visibility of features like edebug or byte-code
9580 optimisation.
9581 @item Provide a separate @code{helpful-command} function to view interactive
9582 functions.
9583 @item Display any keybindings that apply to interactive functions.
9584 @item Trace, disassemble functions from inside Helpful.  This is discoverable
9585 and doesn't require memorisation of commands.
9586 @end itemize\n")
9587     (license license:gpl3+)))
9589 (define-public emacs-logview
9590   (package
9591     (name "emacs-logview")
9592     (version "0.9")
9593     (source (origin
9594               (method url-fetch)
9595               (uri (string-append
9596                     "https://github.com/doublep/logview/archive/"
9597                     version ".tar.gz"))
9598               (file-name (string-append name "-" version ".tar.gz"))
9599               (sha256
9600                (base32
9601                 "1vd11ppm46ldqsiwhqgw91p34gbjh1y82r9mxcn9r2gj65nvhxcp"))))
9602     (propagated-inputs
9603      `(("emacs-datetime" ,emacs-datetime)))
9604     (build-system emacs-build-system)
9605     (home-page "https://github.com/doublep/logview/")
9606     (synopsis "Emacs mode for viewing log files")
9607     (description "@code{logview} provides an Emacs mode to view log files.")
9608     (license license:gpl3+)))
9610 (define-public emacs-suggest
9611   (package
9612     (name "emacs-suggest")
9613     (version "0.4")
9614     (source
9615      (origin
9616        (method url-fetch)
9617        (uri (string-append "https://github.com/Wilfred/suggest.el/archive/"
9618                            version ".tar.gz"))
9619        (file-name (string-append name "-" version ".tar.gz"))
9620        (sha256
9621         (base32
9622          "1760fm3j19w8xxcawq6s859h86q1rdg69pg9yz48n76kwfk3vlgp"))))
9623     (build-system emacs-build-system)
9624     (propagated-inputs
9625      `(("emacs-loop" ,emacs-loop)
9626        ("emacs-dash" ,emacs-dash)
9627        ("emacs-s" ,emacs-s)
9628        ("emacs-f" ,emacs-f)))
9629     (home-page "https://github.com/Wilfred/suggest.el")
9630     (synopsis "Suggest Elisp functions that give the output requested")
9631     (description "Suggest.el will find functions that give the output
9632 requested.  It's a great way of exploring list, string and arithmetic
9633 functions.")
9634     (license license:gpl3+)))
9636 (define-public emacs-benchmark-init
9637   (package
9638     (name "emacs-benchmark-init")
9639     (version "1.0")
9640     (source (origin
9641               (method url-fetch)
9642               (uri (string-append
9643                     "https://github.com/dholm/benchmark-init-el/archive/"
9644                     version ".tar.gz"))
9645               (file-name (string-append name "-" version ".tar.gz"))
9646               (sha256
9647                (base32
9648                 "0szyqr4nncwz4vd5gww1vz31kf9r2lx25p4d0d09pm35974x53kz"))))
9649     (build-system emacs-build-system)
9650     (home-page "https://github.com/dholm/benchmark-init-el")
9651     (synopsis "Benchmark Emacs @code{require} and @code{load} calls")
9652     (description "@code{benchmark-init} provides a way to keep track of where
9653 time is being spent during Emacs startup in order to optimize startup time.")
9654     (license license:gpl3+)))
9656 (define-public emacs-emms-player-simple-mpv
9657   (let ((commit "101d120ccdee1c2c213fd2f0423c858b21649c00")
9658         (revision "1"))
9659     (package
9660       (name "emacs-emms-player-simple-mpv")
9661       (version (string-append "0.4.0" "-" revision "."
9662                               (string-take commit 7)))
9664       (source
9665        (origin
9666          (method git-fetch)
9667          (uri (git-reference
9668                (url "https://github.com/momomo5717/emms-player-simple-mpv.git")
9669                (commit commit)))
9670          (file-name (git-file-name name version))
9671          (sha256
9672           (base32
9673            "1i6rxkm0ra0jbkkwgkwxg3vk5xfl794h1gkgnlpscynz0v94b6ll"))))
9674       (build-system emacs-build-system)
9675       (propagated-inputs
9676        `(("emacs-emms" ,emms)))
9677       (home-page "https://github.com/momomo5717/emms-player-simple-mpv")
9678       (synopsis "Extension of @file{emms-player-simple.el} for mpv JSON IPC")
9679       (description "@code{emms-player-simple-mpv} provides macros and
9680 functions for defining emms simple players of mpv.")
9681       (license license:gpl3+))))
9683 (define-public emacs-magit-org-todos-el
9684   (let ((commit "df206287737b9671f2e36ae7b1474ebbe9940d2a"))
9685     (package
9686       (name "emacs-magit-org-todos-el")
9687       (version (git-version "0.1.1" "1" commit))
9688       (source
9689        (origin
9690          (method git-fetch)
9691          (uri (git-reference
9692                (url "https://github.com/danielma/magit-org-todos.el.git")
9693                (commit commit)))
9694          (file-name (git-file-name name version))
9695          (sha256
9696           (base32
9697            "0kdp7k7jnnrkhsg0xh1c3h7iz0vgi120gf5xwl1hxy61avivnxrn"))))
9698       (propagated-inputs
9699        `(("magit" ,magit)))
9700       (build-system emacs-build-system)
9701       (home-page "https://github.com/danielma/magit-org-todos.el")
9702       (synopsis "Get todo.org into Emacs Magit status")
9703       (description "This package allows you to get @file{todo.org} into your
9704 magit status.
9706 If you have a @file{todo.org} file with @code{TODO} items in the root of your
9707 repository, @code{magit-org-todos} will create a section in your Magit status
9708 buffer with each of your todos.")
9709       (license license:gpl3+))))
9711 (define-public emacs-f3
9712   (package
9713     (name "emacs-f3")
9714     (version "0.1")
9715     (source
9716      (origin
9717        (method url-fetch)
9718        (uri (string-append "https://github.com/cosmicexplorer/f3/archive/"
9719                            version ".tar.gz"))
9720        (file-name (string-append name "-" version ".tar.gz"))
9721        (sha256
9722         (base32
9723          "06b8i1jvklm5k3k90n65f197l1miq1xlxqkqpbppw4h3rhl4y98h"))))
9724     (build-system emacs-build-system)
9725     (propagated-inputs
9726      `(("emacs-helm" ,emacs-helm)))
9727     (home-page "https://github.com/cosmicexplorer/f3")
9728     (synopsis "Fantastic File Finder for Emacs")
9729     (description
9730      "The Fantastic File Finder for Emacs.  Find files fast, using helm.")
9731     (license license:gpl3+)))
9733 (define-public emacs-lice-el
9734   (let ((commit "4339929927c62bd636f89bb39ea999d18d269250"))
9735     (package
9736       (name "emacs-lice-el")
9737       (version (git-version "0.2" "1" commit))
9738       (source (origin
9739                 (method git-fetch)
9740                 (uri (git-reference
9741                       (url "https://github.com/buzztaiki/lice-el.git")
9742                       (commit commit)))
9743                 (file-name (git-file-name name version))
9744                 (sha256
9745                  (base32
9746                   "0879z761b7gajkhq176ps745xpdrivch349crransv8fnsc759yb"))))
9747       (build-system emacs-build-system)
9748       (home-page "https://github.com/buzztaiki/lice-el")
9749       (synopsis "License and header template for Emacs")
9750       (description "@code{lice.el} provides following features:
9752 @itemize
9753 @item License template management.
9754 @item File header insertion.
9755 @end itemize\n")
9756       (license license:gpl3+))))
9758 (define-public emacs-academic-phrases
9759   (let ((commit "0823ed8c24b26c32f909b896a469833ec4d7b656"))
9760     (package
9761       (name "emacs-academic-phrases")
9762       (version (git-version "0.1" "1" commit))
9763       (source
9764        (origin
9765          (method git-fetch)
9766          (uri (git-reference
9767                (url "https://github.com/nashamri/academic-phrases.git")
9768                (commit commit)))
9769          (file-name (string-append name "-" version "-checkout"))
9770          (sha256
9771           (base32
9772            "0qfzsq8jh05w4zkr0cvq3i1hdn97bq344vcqjg46sib26x3wpz6r"))))
9773       (build-system emacs-build-system)
9774       (propagated-inputs
9775        `(("emacs-dash" ,emacs-dash)
9776          ("emacs-s" ,emacs-s)
9777          ("emacs-ht" ,emacs-ht)))
9778       (home-page "https://github.com/nashamri/academic-phrases")
9779       (synopsis "Bypass that mental block when writing your papers")
9780       (description
9781        "When writing your academic paper, you might get stuck trying to find
9782 the right phrase that captures your intention.  This package tries to
9783 alleviate that problem by presenting you with a list of phrases organized by
9784 the topic or by the paper section that you are writing.  This package has
9785 around 600 phrases so far.
9787 Using this package is easy, just call @code{academic-phrases} to get a list of
9788 phrases organized by topic, or call @code{academic-phrases-by-section} to
9789 browse the phrases by the paper section and fill-in the blanks if required.")
9790       (license license:gpl3+))))
9792 (define-public emacs-auto-yasnippet
9793   (let ((commit "d1ccfea87312c6dd8cf8501ab5b71b1d3d44d95b"))
9794     (package
9795       (name "emacs-auto-yasnippet")
9796       (version (git-version "0.3.0" "1" commit))
9797       (source (origin
9798                 (method git-fetch)
9799                 (uri (git-reference
9800                       (url "https://github.com/abo-abo/auto-yasnippet.git")
9801                       (commit commit)))
9802                 (file-name (string-append name "-" version "-checkout"))
9803                 (sha256
9804                  (base32
9805                   "1i8k2qiyzd5rq0zplk4xb5nfa5mp0ibxbzwqj6c7877waq7244xk"))))
9806       (build-system emacs-build-system)
9807       (arguments
9808        '(#:phases
9809          (modify-phases %standard-phases
9810            (add-before 'install 'check
9811              (lambda _
9812                (invoke "emacs" "--batch"
9813                        "-l" "auto-yasnippet.el"
9814                        "-l" "auto-yasnippet-test.el"
9815                        "-f" "ert-run-tests-batch-and-exit"))))))
9816       (propagated-inputs
9817        `(("emacs-yasnippet" ,emacs-yasnippet)))
9818       (home-page "https://github.com/abo-abo/auto-yasnippet/")
9819       (synopsis "Quickly create disposable yasnippets")
9820       (description "This package provides a hybrid of keyboard macros and
9821 yasnippet.  You create the snippet on the go, usually to be used just in the
9822 one place.  It's fast, because you're not leaving the current buffer, and all
9823 you do is enter the code you'd enter anyway, just placing ~ where you'd like
9824 yasnippet fields and mirrors to be.")
9825       (license license:gpl3+))))
9827 (define-public emacs-highlight-numbers
9828   (package
9829     (name "emacs-highlight-numbers")
9830     (version "0.2.3")
9831     (source
9832      (origin
9833        (method url-fetch)
9834        (uri (string-append
9835              "https://github.com/Fanael/highlight-numbers/archive/"
9836              version ".tar.gz"))
9837        (file-name (string-append name "-" version ".tar.gz"))
9838        (sha256
9839         (base32
9840          "030v5p11d4n0581ncv499l1fqrmfziy756q6378x2bv22ixghqqp"))))
9841     (build-system emacs-build-system)
9842     (propagated-inputs
9843      `(("emacs-parent-mode" ,emacs-parent-mode)))
9844     (home-page "https://github.com/Fanael/highlight-numbers")
9845     (synopsis "Highlight numbers in source code")
9846     (description "@code{highlight-numbers-mode} provides a minor mode for
9847 syntax highlighting of numeric literals in source code.
9849 It s customizable: it's easy to add or redefine what exactly consitutes a
9850 \"number\" in given major mode.  See @code{highlight-numbers-modelist}.")
9851     (license license:gpl3+)))
9853 (define-public emacs-darkroom
9854   (package
9855     (name "emacs-darkroom")
9856     (version "0.1")
9857     (source (origin
9858               (method url-fetch)
9859               (uri (string-append "https://elpa.gnu.org/packages/darkroom-"
9860                                   version ".el"))
9861               (sha256
9862                (base32
9863                 "0fif8fm1h7x7g16949shfnaik5f5488clsvkf8bi5izpqp3vi6ak"))))
9864     (build-system emacs-build-system)
9865     (home-page "https://elpa.gnu.org/packages/darkroom.html")
9866     (synopsis "Remove visual distractions and focus on writing")
9867     (description "@code{darkroom-mode} makes visual distractions disappear.
9868 The mode-line is temporarily elided, text is enlarged and margins are adjusted
9869 so that it's centered on the window.
9871 @code{darkroom-tentative-mode} is similar, but it doesn't immediately turn-on
9872 @code{darkroom-mode}, unless the current buffer lives in the sole window of
9873 the Emacs frame (i.e. all other windows are deleted).  Whenever the frame is
9874 split to display more windows and more buffers, the buffer exits
9875 @code{darkroom-mode}.  Whenever they are deleted, the buffer re-enters
9876 @code{darkroom-mode}.")
9877     (license license:gpl3+)))
9879 (define-public emacs-rsw-elisp
9880   (package
9881     (name "emacs-rsw-elisp")
9882     (version "1.0.5")
9883     (source (origin
9884               (method url-fetch)
9885               (uri (string-append "https://github.com/rswgnu/rsw-elisp"
9886                                   "/archive/" version ".tar.gz"))
9887               (file-name (string-append name "-" version ".tar.gz"))
9888               (sha256
9889                (base32
9890                 "1jnn7xfwl3wxc87v44ccsf1wwp80par3xgcvfb1icd6zchjmlcps"))))
9891     (build-system emacs-build-system)
9892     (home-page "https://github.com/rswgnu/rsw-elisp")
9893     (synopsis "Improved expressions that interactively evaluate Emacs Lisp")
9894     (description "This package improves and replaces the GNU Emacs commands
9895 that interactively evaluate Emacs Lisp expressions.  The new commands replace
9896 standard key bindings and are all prefixed with @code{rsw-elisp-}.  They work
9897 the same way as the old commands when called non-interactively; only the
9898 interactive behavior should be different.")
9899     (license license:gpl3+)))
9901 (define-public emacs-default-text-scale
9902   (let ((commit "968e985e219235f3e744d6d967e592acbaf6e0a8")
9903         (revision "1"))
9904     (package
9905       (name "emacs-default-text-scale")
9906       (version (string-append "0.1" "-" revision "."
9907                               (string-take commit 7)))
9908       (source (origin
9909                 (method git-fetch)
9910                 (uri (git-reference
9911                       (url "https://github.com/purcell/default-text-scale")
9912                       (commit commit)))
9913                 (file-name (string-append name "-" version "-checkout"))
9914                 (sha256
9915                  (base32
9916                   "0zds01c3q5yny6ab1fxfkzzgn1kgl3q23lxxap905f4qd70v922h"))))
9917       (build-system emacs-build-system)
9918       (home-page "https://github.com/purcell/default-text-scale")
9919       (synopsis "Adjust the font size in all Emacs frames")
9920       (description "This package provides commands for increasing or
9921 decreasing the default font size in all GUI Emacs frames.")
9922       (license license:gpl3+))))
9924 (define-public emacs-visual-regexp
9925   (package
9926     (name "emacs-visual-regexp")
9927     (version "1.1.1")
9928     (source
9929      (origin
9930        (method url-fetch)
9931        (uri (string-append "https://github.com/benma/visual-regexp.el/archive/"
9932                            "v" version ".tar.gz"))
9933        (file-name (string-append name "-" version ".tar.gz"))
9934        (sha256
9935         (base32
9936          "1czmhvcivlcdyz7rfm0vd4a3xsgmy4qbvbl6yjxc217wrxqflr92"))))
9937     (build-system emacs-build-system)
9938     (home-page "https://github.com/benma/visual-regexp.el/")
9939     (synopsis "Regexp command with interactive visual feedback")
9940     (description "This package provides an Emacs regexp command with
9941 interactive visual feedback.")
9942     (license license:gpl3+)))
9944 (define-public emacs-faceup
9945   (let ((commit "6c92dad56a133e14e7b27831e1bcf9b3a71ff154")
9946         (revision "1"))
9947     (package
9948       (name "emacs-faceup")
9949       (version (string-append "0.0.1" "-" revision "."
9950                               (string-take commit 7)))
9951       (source
9952        (origin
9953          (method git-fetch)
9954          (uri (git-reference
9955                (url "https://github.com/Lindydancer/faceup.git")
9956                (commit commit)))
9957          (file-name (string-append name "-" version "-checkout"))
9958          (sha256
9959           (base32
9960            "1yzmy7flrhrh0i10bdszx8idx6r8h6czm4vm4q0z6fp5fw94zwrx"))))
9961       (build-system emacs-build-system)
9962       (home-page "https://github.com/Lindydancer/faceup")
9963       (synopsis "Markup language for faces and font-lock regression testing")
9964       (description "Emacs is capable of highlighting buffers based on
9965 language-specific @code{font-lock} rules.  This package makes it possible to
9966 perform regression test for packages that provide font-lock rules.")
9967       (license license:gpl3+))))
9969 (define-public emacs-racket-mode
9970   (let ((commit "48f0cb99d3b2ca6066249546d2063d85437251c1")
9971         (revision "1"))
9972     (package
9973       (name "emacs-racket-mode")
9974       (version (string-append "0.0.2" "-" revision "."
9975                               (string-take commit 7)))
9976       (source
9977        (origin
9978          (method git-fetch)
9979          (uri (git-reference
9980                (url "https://github.com/greghendershott/racket-mode")
9981                (commit commit)))
9982          (file-name (string-append name "-" version "-checkout"))
9983          (sha256
9984           (base32
9985            "0fxky8xj639bjhiab9way9daqda22301b7w85vm4b4ydgjgnc59x"))))
9986       (build-system emacs-build-system)
9987       (arguments
9988        `(#:include '("\\.el$" "\\.rkt$")))
9989       (propagated-inputs
9990        `(("emacs-faceup" ,emacs-faceup)
9991          ("emacs-s" ,emacs-s)))
9992       (home-page "https://github.com/greghendershott/racket-mode")
9993       (synopsis "Major mode for Racket language")
9994       (description "@code{racket-mode} provides:
9996 @itemize
9997 @item Focus on Racket (not various Schemes).
9998 @item Follow DrRacket concepts where applicable.
9999 @item Thorough font-lock and indent.
10000 @end itemize\n")
10001       (license license:gpl3+))))
10003 (define-public emacs-grep-context
10004   (let ((commit "a17c57e66687a54e195e08afe776bdd60cb6c0a7"))
10005     (package
10006       (name "emacs-grep-context")
10007       (version (git-version "0.1" "1" commit))
10008       (source
10009        (origin
10010          (method git-fetch)
10011          (uri (git-reference
10012                (url "https://github.com/mkcms/grep-context.git")
10013                (commit commit)))
10014          (file-name (string-append name "-" version "-checkout"))
10015          (sha256
10016           (base32
10017            "1nqfa6kjzjshww4hnwg1c0vcr90bdjihy3kmixq3c3jkvxg99b62"))))
10018       (build-system emacs-build-system)
10019       (propagated-inputs
10020        `(("emacs-dash" ,emacs-dash)))
10021       (home-page "https://github.com/nashamri/academic-phrases")
10022       (synopsis "Increase context in compilation and grep buffers")
10023       (description
10024        "This package provides an Emacs package for more context in
10025 compilation/grep buffers.  Works with @code{wgrep}, @code{ack}, @code{ag},
10026 @code{ivy}.")
10027       (license license:gpl3+))))
10029 (define-public emacs-helm-firefox
10030   (let ((commit "0ad34b7b5abc485a86cae6920c14de861cbeb085")
10031         (revision "1"))
10032     (package
10033       (name "emacs-helm-firefox")
10034       (version (string-append "0.0.1" "-" revision "."
10035                               (string-take commit 7)))
10036       (source
10037        (origin
10038          (method git-fetch)
10039          (uri (git-reference
10040                (url "https://github.com/emacs-helm/helm-firefox.git")
10041                (commit commit)))
10042          (file-name (string-append name "-" version "-checkout"))
10043          (sha256
10044           (base32
10045            "08mjsi2f9s29fkk35cj1rrparjnkm836qmbfdwdz7y51f9varjbs"))))
10046       (propagated-inputs
10047        `(("emacs-helm" ,emacs-helm)))
10048       (build-system emacs-build-system)
10049       (home-page "https://github.com/emacs-helm/helm-firefox")
10050       (synopsis "Display firefox bookmarks with Emacs Helm interface")
10051       (description "Display firefox bookmarks with Emacs Helm interface")
10052       (license license:gpl3+))))
10054 (define-public emacs-interactive-align
10055   (package
10056     (name "emacs-interactive-align")
10057     (version "0.1.0")
10058     (source
10059      (origin
10060        (method url-fetch)
10061        (uri (string-append "https://github.com/mkcms/interactive-align/"
10062                            "archive/" "v" version ".tar.gz"))
10063        (file-name (string-append name "-" version ".tar.gz"))
10064        (sha256
10065         (base32
10066          "0sibpgb4lp6yy3pziak8f3hz4b28yj0dqy2nzh51z3d0b63h528m"))))
10067     (build-system emacs-build-system)
10068     (home-page "https://github.com/mkcms/interactive-align/")
10069     (synopsis "Interactive align-regexp command in Emacs")
10070     (description "Interactive align-regexp command in Emacs")
10071     (license license:gpl3+)))
10073 (define-public emacs-shift-number
10074   (package
10075     (name "emacs-shift-number")
10076     (version "0.1")
10077     (source
10078      (origin
10079        (method url-fetch)
10080        (uri (string-append "https://github.com/alezost/shift-number.el"
10081                            "/archive/" "v" version ".tar.gz"))
10082        (file-name (string-append name "-" version ".tar.gz"))
10083        (sha256
10084         (base32
10085          "1g79m0hqn9jgpm565vvh8pdfzndc4vw7xisnh5qysj55qfg8cb1x"))))
10086     (build-system emacs-build-system)
10087     (home-page "https://github.com/alezost/shift-number.el")
10088     (synopsis "Increase or decrease the number at point")
10089     (description "@code{emacs-shift-number} provides commands
10090 @code{shift-number-up} to increase and @code{shift-number-down} to
10091 decrease the number at point.")
10092     (license license:gpl3+)))
10094 (define-public emacs-highlight-defined
10095   (package
10096     (name "emacs-highlight-defined")
10097     (version "0.1.5")
10098     (source
10099      (origin
10100        (method url-fetch)
10101        (uri (string-append
10102              "https://github.com/Fanael/highlight-defined/archive/"
10103              version ".tar.gz"))
10104        (file-name (string-append name "-" version ".tar.gz"))
10105        (sha256
10106         (base32
10107          "1ryd66989b5byqdw8jmjrjf0c78iiz72wibld750skcnj5h5h506"))))
10108     (build-system emacs-build-system)
10109     (home-page "https://github.com/Fanael/highlight-defined")
10110     (synopsis "Syntax highlighting of known Elisp symbols")
10111     (description "Minor mode providing syntax highlighting of known Emacs Lisp
10112 symbols.  Currently the code distinguishes Lisp functions, built-in functions,
10113 macros, faces and variables.  To enable call @code{highlight-defined-mode}. ")
10114     (license license:gpl3+)))
10116 (define-public emacs-parinfer-mode
10117   (package
10118     (name "emacs-parinfer-mode")
10119     (version "0.4.10")
10120     (source
10121      (origin
10122        (method url-fetch)
10123        (uri (string-append "https://github.com/DogLooksGood/parinfer-mode/archive/"
10124                            "v" version ".tar.gz"))
10125        (file-name (string-append name "-" version ".tar.gz"))
10126        (sha256
10127         (base32
10128          "06ba9qi59sm9ih9m38fbr8kj4qkvrm58n0c0ngfjz60gnr9x9pcv"))))
10129     (propagated-inputs
10130      `(("emacs-dash" ,emacs-dash)
10131        ("emacs-rainbow-delimiters" ,emacs-rainbow-delimiters)
10132        ("emacs-company" ,emacs-company)))
10133     (build-system emacs-build-system)
10134     (home-page "https://github.com/DogLooksGood/parinfer-mode/")
10135     (synopsis "Lisp structure editing mode")
10136     (description "@code{parinfer-mode} is a proof-of-concept editor
10137 mode for Lisp programming languages.  It will infer some changes to
10138 keep Parens and Indentation inline with one another.")
10139     (license license:gpl3+)))
10141 (define-public emacs-helm-eww
10142   (let ((commit "5d6c2c66d4694415ef8a16a6d38a37aeae76c5ac"))
10143     (package
10144       (name "emacs-helm-eww")
10145       (version (git-version "0.1" "1" commit))
10146       (source (origin
10147                 (method git-fetch)
10148                 (uri (git-reference
10149                       (url "https://github.com/emacs-helm/helm-eww.git")
10150                       (commit commit)))
10151                 (file-name (string-append name "-" version "-checkout"))
10152                 (sha256
10153                  (base32
10154                   "1x442ylrr7cx587s4rvfh187h3qbkr79qp95qr57a4igxkkw6183"))))
10155       (propagated-inputs
10156        `(("emacs-helm" ,emacs-helm)))
10157       (build-system emacs-build-system)
10158       (home-page "https://github.com/emacs-helm/helm-eww/")
10159       (synopsis "Helm interface to EWW")
10160       (description "This package provides a Helm interface for EWW buffers,
10161 bookmarks and history.")
10162       (license license:gpl3+))))
10164 (define-public emacs-stumpwm-mode
10165   (let ((commit "8fbe071d2c6c040794060a354eb377218dc10b35")
10166         (revision "1"))
10167     (package
10168       (name "emacs-stumpwm-mode")
10169       (version (string-append "0.0.1-" revision "."
10170                               (string-take commit 7)))
10171       (source (origin
10172                 (method git-fetch)
10173                 (uri (git-reference
10174                       (url "https://github.com/stumpwm/stumpwm-contrib.git")
10175                       (commit commit)))
10176                 (file-name (string-append name "-" version "-checkout"))
10177                 (sha256
10178                  (base32
10179                   "1dfwsvz1c8w6j4jp0kzaz78ml3f5dp0a5pvf090kwpbpg176r7iq"))))
10180       (build-system emacs-build-system)
10181       (arguments
10182        `(#:phases
10183          (modify-phases %standard-phases
10184            (add-after 'unpack 'chdir-elisp
10185              ;; Elisp directory is not in root of the source.
10186              (lambda _
10187                (chdir "util/swm-emacs"))))))
10188       (home-page "https://github.com/stumpwm/stumpwm-contrib")
10189       (synopsis "Emacs minor-mode for Stumpwm")
10190       (description "Emacs minor-mode for Stumpwm")
10191       (license license:gpl3+))))
10193 (define-public emacs-irfc
10194   (package
10195     (name "emacs-irfc")
10196     (version "20130824.507")
10197     (source
10198      (origin
10199        (method url-fetch)
10200        (uri "https://www.emacswiki.org/emacs/download/irfc.el")
10201        (file-name (string-append "irfc-" version ".el"))
10202        (sha256
10203         (base32
10204          "197ybqwbj8qjh2p9pkf5mvqnrkpcgmv8c5s2gvl6msyrabk0mnca"))))
10205     (build-system emacs-build-system)
10206     (home-page "https://www.emacswiki.org/emacs/download/irfc.el")
10207     (synopsis "Interface for IETF RFC document")
10208     (description
10209      "This package provides an Emacs interface for IETF RFC document.")
10210     (license license:gpl3+)))
10212 (define-public emacs-ido-vertical-mode
10213   (package
10214     (name "emacs-ido-vertical-mode")
10215     (version "0.1.6")
10216     (source
10217      (origin
10218        (method url-fetch)
10219        (uri (string-append
10220              "https://github.com/creichert/ido-vertical-mode.el/archive/"
10221              "v" version ".tar.gz"))
10222        (file-name (string-append name "-" version ".tar.gz"))
10223        (sha256
10224         (base32
10225          "0dprdxq8wvqd45dinwj92k0kixr07c8xvspa6i613mjcpxgwjg53"))))
10226     (build-system emacs-build-system)
10227     (home-page "https://github.com/creichert/ido-vertical-mode.el")
10228     (synopsis "Makes ido-mode display vertically")
10229     (description "Makes ido-mode display prospects vertically.")
10230     (license license:gpl3+)))
10232 (define-public emacs-wordgen
10233   (package
10234     (name "emacs-wordgen")
10235     (version "0.1.4")
10236     (source
10237      (origin
10238        (method url-fetch)
10239        (uri (string-append "https://github.com/Fanael/wordgen.el/archive/"
10240                            version ".tar.gz"))
10241        (file-name (string-append name "-" version ".tar.gz"))
10242        (sha256
10243         (base32
10244          "1h2iyixdm49h53pwj9ics9gb9h3g6wa4hainpnjg6mfarf49jkmg"))))
10245     (build-system emacs-build-system)
10246     (home-page "https://github.com/Fanael/wordgen.el")
10247     (synopsis "Random word generator")
10248     (description "This package provides functions to generate random words
10249 using user-provided rules.")
10250     (license license:gpl3+)))
10252 (define-public emacs-on-screen
10253   (package
10254     (name "emacs-on-screen")
10255     (version "1.3.2")
10256     (source
10257      (origin
10258        (method url-fetch)
10259        (uri (string-append
10260              "http://elpa.gnu.org/packages/on-screen-" version ".el"))
10261        (file-name (string-append name "-" version ".el"))
10262        (sha256
10263         (base32
10264          "15d18mjgv1pnwl6kf3pr5w64q1322p1l1qlfvnckglwmzy5sl2qv"))))
10265     (build-system emacs-build-system)
10266     (home-page
10267      "https://github.com/michael-heerdegen/on-screen.el")
10268     (synopsis "Guide your eyes while scrolling")
10269     (description
10270      "Scrolling can be distracting because your eyes may lose
10271 orientation.  This library implements a minor mode that highlights
10272 the previously visible buffer part after each scroll.")
10273     (license license:gpl3+)))
10275 (define-public emacs-highlight-escape-sequences
10276   (let ((commit "08d846a7aa748209d65fecead2b6a766c3e5cb41")
10277         (revision "1"))
10278     (package
10279       (name "emacs-highlight-escape-sequences")
10280       (version (string-append "0.0.1" "-" revision "."
10281                               (string-take commit 7)))
10282       (source
10283        (origin
10284          (method git-fetch)
10285          (uri (git-reference
10286                (url "https://github.com/dgutov/highlight-escape-sequences.git")
10287                (commit commit)))
10288          (file-name (string-append name "-" version "-checkout"))
10289          (sha256
10290           (base32
10291            "05mc3w1f8ykf80914a1yddw6j8cmh0h57llm07xh89s53821v2is"))))
10292       (build-system emacs-build-system)
10293       (home-page "https://github.com/dgutov/highlight-escape-sequences")
10294       (synopsis "Highlight escape sequences in Emacs")
10295       (description "@code{highlight-escape-sequences} provides an
10296 Emacs minor mode to escape sequences in code.")
10297       (license license:gpl3+))))
10299 (define-public emacs-dashboard
10300   (package
10301     (name "emacs-dashboard")
10302     (version "1.2.4")
10303     (source
10304      (origin
10305        (method url-fetch)
10306        (uri (string-append
10307              "https://github.com/rakanalh/emacs-dashboard/archive/"
10308              version ".tar.gz"))
10309        (file-name (string-append name "-" version ".tar.gz"))
10310        (sha256
10311         (base32
10312          "1738lmbgq6gk24hcwic0qjyajr21l5xzhya4pv58dw1bhd6vxv9g"))))
10313     (build-system emacs-build-system)
10314     (propagated-inputs
10315      `(("emacs-page-break-lines" ,emacs-page-break-lines)))
10316     (arguments '(#:include '("\\.el$" "\\.txt$" "\\.png$")))
10317     (home-page "https://github.com/rakanalh/emacs-dashboard")
10318     (synopsis "Startup screen extracted from Spacemacs")
10319     (description "This package provides an extensible Emacs dashboard, with
10320 sections for bookmarks, projectil projects, org-agenda and more. ")
10321     (license license:gpl3+)))
10323 (define-public emacs-slime-company
10324   (package
10325     (name "emacs-slime-company")
10326     (version "1.1")
10327     (source
10328      (origin
10329        (method url-fetch)
10330        (uri (string-append "https://github.com/anwyn/slime-company/archive/"
10331                            "v" version ".tar.gz"))
10332        (sha256
10333         (base32
10334          "1myl79pxj501xfr5qc5a24qddsn2l5iaamg7rf7fpny7mr9v70ar"))
10335        (file-name (string-append name "-" version ".tar.gz"))))
10336     (build-system emacs-build-system)
10337     (propagated-inputs
10338      `(("emacs-slime" ,emacs-slime)
10339        ("emacs-company" ,emacs-company)))
10340     (home-page "https://company-mode.github.io")
10341     (synopsis "SLIME completion backend for @code{company-mode}")
10342     (description
10343      "This is a backend implementation for the completion package
10344 @code{company-mode} which supports the normal and the fuzzy completion
10345 modes of SLIME.")
10346     (license license:gpl3+)))
10348 (define-public emacs-sml-mode
10349   (package
10350     (name "emacs-sml-mode")
10351     (version "6.8")
10352     (source
10353      (origin
10354        (method url-fetch)
10355        (uri (string-append "http://elpa.gnu.org/packages/sml-mode-"
10356                            version ".el"))
10357        (sha256
10358         (base32
10359          "105fcrz5qp95f2n3fdm3awr6z58sbrjihjss6qnrg4lz2ggbc328"))))
10360     (build-system emacs-build-system)
10361     (home-page "http://elpa.gnu.org/packages/sml-mode.html")
10362     (synopsis "Major mode for editing (Standard) ML")
10363     (description "SML-MODE is a major Emacs mode for editing Standard ML.
10364 It provides syntax highlighting and automatic indentation and
10365 comes with sml-proc which allows interaction with an inferior SML
10366 interactive loop.")
10367     (license license:gpl3+)))
10369 (define-public emacs-eros
10370   (let ((commit "a42e45c9b2397156c684330b0fc90ee0eba773f5")
10371         (revision "1"))
10372     (package
10373       (name "emacs-eros")
10374       (version (string-append "0.0.1" "-" revision "."
10375                               (string-take commit 7)))
10376       (source
10377        (origin
10378          (method git-fetch)
10379          (uri (git-reference
10380                (url "https://github.com/xiongtx/eros.git")
10381                (commit commit)))
10382          (file-name (string-append name "-" version "-checkout"))
10383          (sha256
10384           (base32
10385            "0whlsq90v13fz69k3wjrwcwb9gkpfxqjd75mg3nrp85j9nwhb5i4"))))
10386       (build-system emacs-build-system)
10387       (home-page "https://github.com/xiongtx/eros")
10388       (synopsis "Evaluation result overlays")
10389       (description "@code{eros} provides evaluation result overlays.")
10390       (license license:gpl3+))))
10392 (define-public emacs-stickyfunc-enhance
10393   (let ((commit "13bdba51fcd83ccbc3267959d23afc94d458dcb0")
10394         (revision "1"))
10395     (package
10396       (name "emacs-stickyfunc-enhance")
10397       (version "0.1")
10398       (source
10399        (origin
10400          (method git-fetch)
10401          (uri (git-reference
10402                (url "https://github.com/tuhdo/semantic-stickyfunc-enhance.git")
10403                (commit commit)))
10404          (file-name (string-append name "-" version "-checkout"))
10405          (sha256
10406           (base32
10407            "16dxjsr5nj20blww4xpd4jzgjprzzh1nwvb810ggdmp9paf4iy0g"))))
10408       (build-system emacs-build-system)
10409       (home-page "https://github.com/tuhdo/semantic-stickyfunc-enhance")
10410       (synopsis "Enhancement to stock @code{semantic-stickyfunc-mode}")
10411       (description
10412        "@code{semantic-stickyfunc-mode} shows the function point is currently
10413 in at the first line of the current buffer.  This is useful when you have a
10414 very long function that spreads more than a screen, and you don't have to
10415 scroll up to read the function name and then scroll down to original position.")
10416       (license license:gpl3+))))
10418 (define-public emacs-git-auto-commit-mode
10419   (package
10420     (name "emacs-git-auto-commit-mode")
10421     (version "4.4.0")
10422     (source
10423      (origin
10424        (method url-fetch)
10425        (uri (string-append
10426              "https://github.com/ryuslash/git-auto-commit-mode/archive/"
10427              version ".tar.gz"))
10428        (file-name (string-append name "-" version ".tar.gz"))
10429        (sha256
10430         (base32
10431          "04avxmalsl3b7zi2vipfw9rb4wrwysnipsbch96skviql9axk870"))))
10432     (build-system emacs-build-system)
10433     (home-page "https://github.com/ryuslash/git-auto-commit-mode")
10434     (synopsis "Emacs Minor mode to automatically commit and push")
10435     (description "@code{git-auto-commit-mode} is an Emacs minor mode that
10436 tries to commit changes to a file after every save.
10438 When @code{gac-automatically-push-p} is non-nil, it also tries to push to
10439 the current upstream.")
10440     (license license:gpl3+)))
10442 (define-public emacs-company-restclient
10443   (package
10444     (name "emacs-company-restclient")
10445     (version "0.1.0")
10446     (source
10447      (origin
10448        (method url-fetch)
10449        (uri (string-append
10450              "https://github.com/iquiw/company-restclient/archive/"
10451              "v" version ".tar.gz"))
10452        (file-name (string-append name "-" version ".tar.gz"))
10453        (sha256
10454         (base32
10455          "1kr3f0wgqlk7r171bvb2kinv7fanwj2md01wdpx04qkgwcr1as00"))))
10456     (build-system emacs-build-system)
10457     (propagated-inputs
10458      `(("emacs-company" ,emacs-company)
10459        ("emacs-know-your-http-well" ,emacs-know-your-http-well)
10460        ("emacs-restclient" ,emacs-restclient)))
10461     (home-page "https://github.com/iquiw/company-restclient")
10462     (synopsis "Company-mode completion back-end for restclient-mode")
10463     (description "@code{company-mode} back-end for
10464 @code{restclient-mode}.
10466 It provides auto-completion for HTTP methods and headers in
10467 @code{restclient-mode}.  Completion source is given by
10468 @code{know-your-http-well}.")
10469     (license license:gpl3+)))
10471 (define-public emacs-noflet
10472   (let ((version "20170629")
10473         (revision "1")
10474         (commit "7ae84dc3257637af7334101456dafe1759c6b68a"))
10475     (package
10476       (name "emacs-noflet")
10477       (version (git-version version revision commit))
10478       (source
10479        (origin
10480          (method git-fetch)
10481          (uri (git-reference
10482                (url "https://github.com/nicferrier/emacs-noflet")
10483                (commit commit)))
10484          (file-name (string-append name "-" version "-checkout"))
10485          (sha256
10486           (base32
10487            "0g70gnmfi8n24jzfci9nrj0n9bn1qig7b8f9f325rin8h7x32ypf"))))
10488       (build-system emacs-build-system)
10489       (arguments
10490        `(#:phases
10491          (modify-phases %standard-phases
10492            (add-after 'unpack 'require-dash
10493              ;; noflet.el uses -map from dash, but (require 'dash) is
10494              ;; missing. So, add it.
10495              (lambda _
10496                (substitute* "noflet.el"
10497                  ((";;; Code:") ";;; Code:\n(require 'dash)"))
10498                #t)))))
10499       (propagated-inputs
10500        `(("emacs-dash" ,emacs-dash)))
10501       (home-page "https://github.com/nicferrier/emacs-noflet")
10502       (synopsis "Locally override functions")
10503       (description "@code{emacs-noflet} let's you locally override functions,
10504 in the manner of @command{flet}, but with access to the original function
10505 through the symbol: @command{this-fn}.")
10506       (license license:gpl3+))))
10508 (define-public emacs-dumb-jump
10509   (package
10510     (name "emacs-dumb-jump")
10511     (version "0.5.2")
10512     (source
10513      (origin
10514        (method url-fetch)
10515        (uri (string-append
10516              "https://github.com/jacktasia/dumb-jump/archive/v"
10517              version ".tar.gz"))
10518        (file-name (string-append name "-" version ".tar.gz"))
10519        (sha256
10520         (base32
10521          "07n0xjgpxjpf3vp9gxchkjpydyj0zm166930as0kwiwkhjlsirsf"))))
10522     (build-system emacs-build-system)
10523     (arguments
10524      `(#:tests? #f ; FIXME: Tests freeze when run.
10525        #:test-command '("ert-runner")
10526        #:phases
10527        (modify-phases %standard-phases
10528          (add-after 'unpack 'set-shell
10529            (lambda _
10530              ;; Setting the SHELL environment variable is required for the
10531              ;; tests to find sh.
10532              (setenv "SHELL" (which "sh"))
10533              #t)))))
10534     (native-inputs
10535      `(("emacs-el-mock" ,emacs-el-mock)
10536        ("emacs-noflet" ,emacs-noflet)
10537        ("emacs-undercover" ,emacs-undercover)
10538        ("ert-runner" ,ert-runner)))
10539     (propagated-inputs
10540      `(("emacs-f" ,emacs-f)
10541        ("emacs-popup" ,emacs-popup)))
10542     (home-page "https://github.com/jacktasia/dumb-jump")
10543     (synopsis "Jump to definition for multiple languages without configuration")
10544     (description "Dumb Jump is an Emacs \"jump to definition\" package with
10545 support for multiple programming languages that favors \"just working\" over
10546 speed or accuracy.  This means minimal --- and ideally zero --- configuration
10547 with absolutely no stored indexes (tags) or persistent background processes.
10548 Dumb Jump performs best with The Silver Searcher @command{ag} or ripgrep
10549 @command{rg} installed.")
10550     (license license:gpl3+)))
10552 (define-public emacs-dts-mode
10553   (let ((commit "9ee0854446dcc6c53d2b8d2941051768dba50344")
10554         (revision "1"))
10555     (package
10556       (name "emacs-dts-mode")
10557       (version (string-append "0.1.0-" revision "." (string-take commit 7)))
10558       (source
10559        (origin
10560          (method git-fetch)
10561          (uri (git-reference
10562                (url "https://github.com/bgamari/dts-mode.git")
10563                (commit commit)))
10564          (file-name (string-append name "-" version "-checkout"))
10565          (sha256
10566           (base32
10567            "1k8lljdbc90nd29xrhdrsscxavzdq532wq2mg7ljc94krj7538b1"))))
10568       (build-system emacs-build-system)
10569       (home-page "https://github.com/bgamari/dts-mode.git")
10570       (synopsis "Emacs minor mode for editing device tree files")
10571       (description
10572        "This package provides an Emacs minor mode for highlighting
10573 device tree files.")
10574       (license license:gpl3+))))
10576 (define-public emacs-daemons
10577   (package
10578     (name "emacs-daemons")
10579     (version "1.2.0")
10580     (source
10581      (origin
10582        (method git-fetch)
10583        (uri (git-reference
10584              (url "https://github.com/cbowdon/daemons.el")
10585              (commit version)))
10586        (file-name (string-append name "-" version "-checkout"))
10587        (sha256
10588         (base32
10589          "00ijgm22ck76gw0x79krl05yy0m8a502yfakazfy5xhpn1zi6ab7"))))
10590     (build-system emacs-build-system)
10591     (home-page "https://github.com/cbowdon/daemons.el")
10592     (synopsis "Emacs UI for managing init system services")
10593     (description
10594      "This is an Emacs mode to give you a UI for managing init system
10595 daemons (services) for those getting tired of typing out @code{sudo service
10596 my_thing reload} all the time.  It offers a consistent UI over different init
10597 systems.")
10598     (license license:gpl3+)))
10600 (define-public emacs-esh-autosuggest
10601   (package
10602     (name "emacs-esh-autosuggest")
10603     (version "2.0.0")
10604     (source
10605      (origin
10606        (method git-fetch)
10607        (uri (git-reference
10608              (url "https://github.com/dieggsy/esh-autosuggest")
10609              (commit version)))
10610        (file-name (string-append name "-" version "-checkout"))
10611        (sha256
10612         (base32
10613          "116pdjgpjy9b0psm5kzwkwy7dq8vn0p6dy75dl1zsy2xrjf1iqdw"))))
10614     (build-system emacs-build-system)
10615     (propagated-inputs `(("emacs-company" ,emacs-company)))
10616     (home-page "https://github.com/dieggsy/esh-autosuggest")
10617     (synopsis "Fish-like autosuggestions in Eshell")
10618     (description
10619      "This package assumes you use something other than company for eshell
10620 completion (e.g. @code{eshell-pcomplete}, @code{completion-at-point},
10621 @code{helm-esh-pcomplete}).  @code{company-mode} is used solely as a mechanism
10622 for history autosuggestions.
10624 Unless you're using @code{use-package}'s hook keyword, you can enable the
10625 autosuggestions with:
10626 @code{(add-hook 'eshell-mode-hook #'esh-autosuggest-mode)}")
10627     (license license:gpl3+)))
10629 (define-public emacs-desktop-environment
10630   (package
10631     (name "emacs-desktop-environment")
10632     (version "0.2.0")
10633     (source
10634      (origin
10635        (method git-fetch)
10636        (uri (git-reference
10637              (url "https://github.com/DamienCassou/desktop-environment.git")
10638              (commit (string-append "v" version))))
10639        (file-name (string-append name "-" version "-checkout"))
10640        (sha256
10641         (base32
10642          "1fal3yfmqg10cb53qsf5gsq2gvyz9w16wmlpnpjwjzwnjfn6l73r"))))
10643     (build-system emacs-build-system)
10644     (home-page "https://gitlab.petton.fr/DamienCassou/desktop-environment")
10645     (synopsis "Control your GNU/Linux desktop environment from Emacs")
10646     (description
10647      "This package helps you control your GNU/Linux desktop from Emacs.
10648 With @code{desktop-environment}, you can control the brightness and volume as
10649 well as take screenshots and lock your screen.  The package depends on the
10650 availability of shell commands to do the hard work for us.  These commands can
10651 be changed by customizing the appropriate variables.")
10652     (license license:gpl3+)))
10654 (define-public emacs-org-caldav
10655   (package
10656     (name "emacs-org-caldav")
10657     (version "20180403")
10658     (source
10659      (origin
10660        (method url-fetch)
10661        (uri (string-append
10662              "https://github.com/dengste/org-caldav/raw/"
10663              "8d3492c27a09f437d2d94f2736c56d7652e87aa0"
10664              "/org-caldav.el"))
10665        (sha256
10666         (base32
10667          "1fh4gh68ddj0is99z2ccyh97v6psnyda61n2dsadzqhcxn51amlc"))))
10668     (build-system emacs-build-system)
10669     (propagated-inputs `(("emacs-org" ,emacs-org)))
10670     (home-page "https://github.com/dengste/org-caldav")
10671     (synopsis
10672      "Sync Org files with external calendars via the CalDAV protocol")
10673     (description
10674      "Synchronize between events in Org-mode files and a CalDAV calendar.
10675 This code is still alpha.")
10676     (license license:gpl3+)))
10678 (define-public emacs-zotxt
10679   (package
10680     (name "emacs-zotxt")
10681     (version "20180518")
10682     (source
10683      (origin
10684        (method url-fetch)
10685        (uri (string-append
10686              "https://github.com/egh/zotxt-emacs/archive/"
10687              "23a4a9f74a658222027d53a9a83cd4bcc583ca8b"
10688              ".tar.gz"))
10689        (sha256
10690         (base32
10691          "1qlibaciqgsva6fc7vv9krssjq00bi880396jk7llbi3c52q9n1y"))))
10692     (build-system emacs-build-system)
10693     (propagated-inputs
10694      `(("emacs-deferred" ,emacs-deferred)
10695        ("emacs-request" ,emacs-request)))
10696     (home-page "https://github.com/egh/zotxt-emacs")
10697     (synopsis "Integrate Emacs with Zotero")
10698     (description "This package provides two integration features between Emacs
10699 and the Zotero research assistant: Insertion of links to Zotero items into an
10700 Org-mode file, and citations of Zotero items in Pandoc Markdown files.")
10701     (license license:gpl3+)))
10703 (define-public emacs-evil-ediff
10704   ;; Evil-Ediff is included in Evil Collection from 20180617.
10705   (deprecated-package "emacs-evil-ediff" emacs-evil-collection))
10707 (define-public emacs-evil-magit
10708   (let ((commit "dbf5a646a7ce1c35c229dfdc423bd5ecd927a3a8"))
10709     (package
10710       (name "emacs-evil-magit")
10711       (version (git-version "0.4.2" "1" commit))
10712       (source
10713        (origin
10714          (method git-fetch)
10715          (uri (git-reference
10716                (url "https://github.com/emacs-evil/evil-magit")
10717                (commit commit)))
10718          (file-name (string-append name "-" version "-checkout"))
10719          (sha256
10720           (base32
10721            "0ya0dkviq4pi92ab69a4j674y5r1hc1x3x7r7hlm97ag3a6zfkav"))))
10722       (build-system emacs-build-system)
10723       (propagated-inputs
10724        `(("emacs-evil" ,emacs-evil)
10725          ("magit" ,magit)))
10726       (home-page
10727        "https://github.com/emacs-evil/evil-magit")
10728       (synopsis "Evil-based key bindings for Magit")
10729       (description
10730        "This Emacs library configures Magit and Evil to play well with each other.
10731 For some background see @url{https://github.com/magit/evil-magit/issues/1}.
10732 See the README at @url{https://github.com/justbur/evil-magit} for a table
10733 describing the key binding changes.")
10734       (license license:gpl3+))))
10736 (define-public emacs-evil-mu4e
10737   ;; Evil-mu4e is included in Evil Collection from 20180617.
10738   (deprecated-package "emacs-evil-mu4e" emacs-evil-collection))
10740 (define-public emacs-evil-multiedit
10741   (let ((commit "ea3d9177b74ab0bc65e55df9cc0a0b42e4ef815d"))
10742     (package
10743       (name "emacs-evil-multiedit")
10744       (version (git-version "1.3.9" "1" commit))
10745       (source
10746        (origin
10747          (method git-fetch)
10748          (uri (git-reference
10749                (url "https://github.com/hlissner/evil-multiedit")
10750                (commit commit)))
10751          (file-name (string-append name "-" version "-checkout"))
10752          (sha256
10753           (base32
10754            "17zm35r474z8ras4xy7124pcb972d385pbdv4jxyj5vq042vq07w"))))
10755       (build-system emacs-build-system)
10756       (propagated-inputs
10757        `(("emacs-evil" ,emacs-evil)
10758          ("emacs-iedit" ,emacs-iedit)))
10759       (home-page
10760        "https://github.com/hlissner/evil-multiedit")
10761       (synopsis "Multiple cursors for Evil mode")
10762       (description
10763        "This plugin was an answer to the lack of proper multiple cursor support
10764 in Emacs+Evil.  It allows you to select and edit matches interactively,
10765 integrating @code{iedit-mode} into Evil mode with an attempt at sensible
10766 defaults.")
10767     (license license:gpl3+))))
10769 (define-public emacs-evil-org
10770   (let ((commit "b6d652a9163d3430a9e0933a554bdbee5244bbf6"))
10771     (package
10772       (name "emacs-evil-org")
10773       (version (git-version "0.1.1" "1" commit))
10774       (source
10775        (origin
10776          (method git-fetch)
10777          (uri (git-reference
10778                (url "https://github.com/Somelauw/evil-org-mode")
10779                (commit commit)))
10780          (file-name (string-append name "-" version "-checkout"))
10781          (sha256
10782           (base32
10783            "176hrw7y7nczffbyhsa167b8rvfacsmcafm2gpkrdjqlrikbmrhl"))))
10784       (build-system emacs-build-system)
10785       (propagated-inputs `(("emacs-evil" ,emacs-evil)))
10786       (home-page
10787        "https://github.com/Somelauw/evil-org-mode")
10788       (synopsis "Evil keybindings for Org mode")
10789       (description
10790        "This package adds supplemental Evil mode key-bindings to Emacs
10791 Org-mode.  It features:
10792 @itemize
10793 @item normal, visual and insert mode bindings;
10794 @item key bindings organised in key themes;
10795 @item operators like > and < to work on headings;
10796 @item text objects;
10797 @item table support;
10798 @item calendar (date selection) support;
10799 @item agenda support.
10800 @end itemize\n")
10801       (license license:gpl3+))))
10803 (define-public emacs-fish-completion
10804   (let ((commit "bac15fda1392a891070574dfe5d2d50b10831e8b"))
10805     (package
10806       (name "emacs-fish-completion")
10807       (version (git-version "20180616" "1" commit))
10808       (source
10809        (origin
10810          (method url-fetch)
10811          (uri (string-append
10812                "https://gitlab.com/Ambrevar/emacs-fish-completion/repository/"
10813                "archive.tar.gz?ref="
10814                commit))
10815          (sha256
10816           (base32
10817            "093qzdrbkl7dhjk16zq8i13kh1phyigkblcfrbgbrxjqd2ndrfdi"))))
10818       (build-system emacs-build-system)
10819       (inputs `(("fish" ,fish)))
10820       (arguments
10821        `(#:phases
10822          (modify-phases %standard-phases
10823            (add-after 'unpack 'configure
10824              (lambda* (#:key inputs outputs #:allow-other-keys)
10825                (let ((fish (assoc-ref inputs "fish")))
10826                  ;; Specify the absolute file names of the various
10827                  ;; programs so that everything works out-of-the-box.
10828                  (emacs-substitute-variables
10829                      "fish-completion.el"
10830                    ("fish-completion-command"
10831                     (string-append fish "/bin/fish")))))))))
10832       (home-page
10833        "https://gitlab.com/Ambrevar/emacs-fish-completion")
10834       (synopsis "Fish completion for Emacs pcomplete")
10835       (description
10836        "This package provides completion for the Fish shell to pcomplete (used
10837 by shell and Eshell).  You can set it up globally with:
10839 @example
10840 (when (and (executable-find \"fish\")
10841            (require 'fish-completion nil t))
10842   (global-fish-completion-mode))
10843 @end example
10845 Alternatively, you can call the @code{fish-completion-mode} manually or in
10846 shell/Eshell mode hook.
10848 The package @code{emacs-bash-completion} is an optional dependency: if available,
10849 @code{fish-completion-complete} can be configured to fall back on bash to further
10850 try completing.  See @code{fish-completion-fallback-on-bash-p}.")
10851       (license license:gpl3+))))
10853 (define-public emacs-gif-screencast
10854   (let ((commit "12b25442b97b84abae74ecb5190a9d14ff7cfe5a"))
10855     (package
10856       (name "emacs-gif-screencast")
10857       (version (git-version "20180616" "1" commit))
10858       (source
10859        (origin
10860          (method url-fetch)
10861          (uri (string-append
10862                "https://gitlab.com/Ambrevar/emacs-gif-screencast/"
10863                "repository/archive.tar.gz?ref="
10864                commit))
10865          (sha256
10866           (base32
10867            "0lc457i78xjkn5idr2aaiadkh76zcsksj84z0qh80a9y775syrgh"))))
10868       (build-system emacs-build-system)
10869       (inputs
10870        `(("scrot" ,scrot)
10871          ("imagemagick" ,imagemagick)
10872          ("gifsicle" ,gifsicle)))
10873      (arguments
10874       `(#:phases
10875        (modify-phases %standard-phases
10876          (add-after 'unpack 'configure
10877            (lambda* (#:key inputs outputs #:allow-other-keys)
10878              (let ((scrot (assoc-ref inputs "scrot"))
10879                    (imagemagick (assoc-ref inputs "imagemagick"))
10880                    (gifsicle (assoc-ref inputs "gifsicle")))
10881                ;; Specify the absolute file names of the various
10882                ;; programs so that everything works out-of-the-box.
10883                (emacs-substitute-variables
10884                    "gif-screencast.el"
10885                  ("gif-screencast-program"
10886                   (string-append scrot "/bin/scrot"))
10887                  ("gif-screencast-convert-program"
10888                   (string-append imagemagick "/bin/convert"))
10889                  ("gif-screencast-cropping-program"
10890                   (string-append imagemagick "/bin/mogrify"))
10891                  ("gif-screencast-optimize-program"
10892                   (string-append imagemagick "/bin/gifsicle")))))))))
10893       (home-page
10894        "https://gitlab.com/Ambrevar/emacs-gif-screencast")
10895       (synopsis "One-frame-per-action GIF recording")
10896       (description
10897        "Call @code{gif-screencast} to start a recording.
10898 A screenshot is taken for every user action.  Call
10899 @code{gif-screencast-stop} (<f9> by default) to finish recording and create
10900 the GIF result.")
10901       (license license:gpl3+))))
10903 (define-public emacs-google-translate
10904   (let ((commit "d8b84a8359fcc697114d1298840e9a45b111c974"))
10905     (package
10906       (name "emacs-google-translate")
10907       (version (git-version "0.11.14" "1" commit))
10908       (source
10909        (origin
10910          (method git-fetch)
10911          (uri (git-reference
10912                (url "https://github.com/atykhonov/google-translate")
10913                (commit commit)))
10914          (file-name (string-append name "-" version "-checkout"))
10915          (sha256
10916           (base32
10917            "1qs4hcg1i2m487z50nnwgs0sa2xj4lpgizbrvi2yda0mf3m75fgc"))))
10918       (build-system emacs-build-system)
10919       (home-page "https://github.com/atykhonov/google-translate")
10920       (synopsis "Emacs interface to Google Translate")
10921       (description
10922        "This packages provides an Emacs interface to the Google Translate
10923 on-line service.")
10924       (license license:gpl3+))))
10926 (define-public emacs-helm-company
10927   (let ((commit "acc9c7901e094c1591327a0db1ec7a439f67a84d"))
10928     (package
10929       (name "emacs-helm-company")
10930       (version (git-version "0.2.2" "1" commit))
10931       (source
10932        (origin
10933          (method git-fetch)
10934          (uri (git-reference
10935                (url "https://github.com/Sodel-the-Vociferous/helm-company")
10936                (commit commit)))
10937          (file-name (string-append name "-" version "-checkout"))
10938          (sha256
10939           (base32
10940            "1d4q9clp0q56br80c21a4wz1gc4jw3mdy97z9mq07x9i8rhlppzs"))))
10941       (build-system emacs-build-system)
10942       (propagated-inputs
10943        `(("emacs-helm" ,emacs-helm)
10944          ("emacs-company" ,emacs-company)))
10945       (home-page "https://github.com/Sodel-the-Vociferous/helm-company")
10946       (synopsis "Helm interface for company-mode")
10947       (description
10948        "This is a Helm interface to company-mode, a text completion
10949 framework.")
10950       (license license:gpl3+))))
10952 (define-public emacs-helm-descbinds
10953   (let ((commit "033be73f21778633813264ce1634a6e1ad873d8e"))
10954     (package
10955       (name "emacs-helm-descbinds")
10956       (version (git-version "1.13" "1" commit))
10957       (source
10958        (origin
10959          (method git-fetch)
10960          (uri (git-reference
10961                (url "https://github.com/emacs-helm/helm-descbinds")
10962                (commit commit)))
10963          (file-name (string-append name "-" version "-checkout"))
10964          (sha256
10965           (base32
10966            "1n89p56qwa243w1c85i5awnaf7piwjsvfi7nmnsrwm33hix5dknk"))))
10967       (build-system emacs-build-system)
10968       (propagated-inputs `(("emacs-helm" ,emacs-helm)))
10969       (home-page "https://github.com/emacs-helm/helm-descbinds")
10970       (synopsis "Convenient @code{describe-bindings} with Helm")
10971       (description
10972        "This package is a replacement of @code{describe-bindings} for Helm.
10973 @code{describe-bindings} is replaced with @code{helm-descbinds}.  As usual,
10974 type @code{C-h b}, or any incomplete key sequence plus @code{C-h}, to run
10975 @code{helm-descbinds}.  The bindings are presented in a similar way as
10976 @code{describe-bindings} does, but you can use completion to find the command
10977 you searched for and execute it, or view its documentation.")
10978     (license license:gpl3+))))
10980 (define-public emacs-helm-emms
10981   (let ((commit "d3f9bdef8ff0d093eaf6e26af50ea905ab53fdec"))
10982     (package
10983       (name "emacs-helm-emms")
10984       (version (git-version "1.3" "1" commit))
10985       (source
10986        (origin
10987          (method git-fetch)
10988          (uri (git-reference
10989                (url "https://github.com/emacs-helm/helm-emms")
10990                (commit commit)))
10991          (file-name (string-append name "-" version "-checkout"))
10992          (sha256
10993           (base32
10994            "0bdb8xp0yp3gijpa9i2rc17gfzjhzlm92vdzw93i10qpd1xhj4aa"))))
10995       (build-system emacs-build-system)
10996       (propagated-inputs
10997        `(("emacs-helm" ,emacs-helm)
10998          ("emacs-emms" ,emms)))
10999       (home-page
11000        "https://github.com/emacs-helm/helm-emms")
11001       (synopsis "Emms for Helm")
11002       (description "Helm interface for Emms to browse all tracks and all folders
11003 from @code{emms-source-file-default-directory}.")
11004       (license license:gpl3+))))
11006 (define-public emacs-helm-exwm
11007   (let ((commit "82a856c80c8d295e3be522a01c5a15af50d08990"))
11008     (package
11009       (name "emacs-helm-exwm")
11010       (version (git-version "20180523" "1" commit))
11011       (source
11012        (origin
11013          (method url-fetch)
11014          (uri (string-append
11015                "https://github.com/emacs-helm/helm-exwm/archive/"
11016                commit
11017                ".tar.gz"))
11018          (sha256
11019           (base32
11020            "1xsg2lar1vh7jmj5lnnyi14vssxkgy95sv9r8pbfhbnkjkbjm9pb"))))
11021       (build-system emacs-build-system)
11022       (propagated-inputs
11023        `(("emacs-helm" ,emacs-helm)
11024          ("emacs-exwm" ,emacs-exwm)))
11025       (home-page
11026        "https://github.com/emacs-helm/helm-exwm")
11027       (synopsis "Helm for EXWM buffers")
11028       (description
11029        "@code{helm-exwm} runs a Helm session over the list of EXWM buffers.
11030 @code{helm-exwm-switch} is a convenience X application launcher using Helm to
11031 switch between the various windows of one or several specific applications.
11032 See @code{helm-exwm-switch-browser} for an example.")
11033       (license license:gpl3+))))
11035 (define-public emacs-helm-flycheck
11036   (let ((commit "3cf7d3bb194acacc6395f88360588013d92675d6"))
11037     (package
11038       (name "emacs-helm-flycheck")
11039       (version (git-version "0.4" "1" commit))
11040       (source
11041        (origin
11042          (method git-fetch)
11043          (uri (git-reference
11044                (url "https://github.com/yasuyk/helm-flycheck")
11045                (commit commit)))
11046          (file-name (string-append name "-" version "-checkout"))
11047          (sha256
11048           (base32
11049            "1a2yfxhz04klwhcandqvfzysxp6b7bxyxx1xk1x3kds5hif5fkl4"))))
11050       (build-system emacs-build-system)
11051       (propagated-inputs
11052        `(("emacs-dash" ,emacs-dash)
11053          ("emacs-flycheck" ,flycheck)
11054          ("emacs-helm" ,emacs-helm)))
11055       (home-page "https://github.com/yasuyk/helm-flycheck")
11056       (synopsis "Show Flycheck errors with Helm")
11057       (description
11058        "This integrates Flycheck with Helm.")
11059       (license license:gpl3+))))
11061 (define-public emacs-helm-ls-git
11062   (let ((commit "76654c776a7f6e2e5290645e748aac2a746f7daa"))
11063     (package
11064       (name "emacs-helm-ls-git")
11065       (version (git-version "1.9.1" "1" commit))
11066       (source
11067        (origin
11068          (method git-fetch)
11069          (uri (git-reference
11070                (url "https://github.com/emacs-helm/helm-ls-git")
11071                (commit commit)))
11072          (file-name (string-append name "-" version "-checkout"))
11073          (sha256
11074           (base32
11075            "0vsq1n3xl3ghy5zik2scm7jrs501n4kybdqd6yw6j0cv4jxdqbr0"))))
11076       (build-system emacs-build-system)
11077       (propagated-inputs `(("emacs-helm" ,emacs-helm)))
11078       (home-page "https://github.com/emacs-helm/helm-ls-git")
11079       (synopsis "Helm interface for listing the files in a Git repository")
11080       (description
11081        "This package provides a Helm interface for Git files.
11082 @itemize
11083 @item Display the open buffers in project.
11084 @item Display a status source showing state of project (modified files etc.).
11085 @item Display a list of all files in project under git control.
11086 @item Quickly look at diffs of modified files.
11087 @item Allow switching to @code{git status} with your preferred frontend
11088 (vc-dir, Magit,etc.).
11089 @item Full integration of git-grep, also allow usage of @code{helm-grep} (you
11090 can use ack-grep instead of grep).
11091 @item Integrate usage of gid from id-utils.
11092 @item Full integration with @code{helm-find-files}, allow you to browse
11093 projects unrelated to current-buffer.
11094 @item In addition, all actions of type files and buffers are provided.
11095 @end itemize\n")
11096       (license license:gpl3+))))
11098 (define-public emacs-helm-mu
11099   (let ((commit "77e6fea24e01481418738421dbcfe28ef1bd63cf"))
11100     (package
11101       (name "emacs-helm-mu")
11102       (version (git-version  "20180513" "1" commit))
11103       (source
11104        (origin
11105          (method url-fetch)
11106          (uri (string-append
11107                "https://github.com/emacs-helm/helm-mu/archive/"
11108                commit
11109                ".tar.gz"))
11110          (sha256
11111           (base32
11112            "0qm4xi3i957scm50nar398pv4x8y03si10l77jb9ckjaviyq2hj9"))))
11113       (build-system emacs-build-system)
11114       (propagated-inputs
11115        `(("emacs-helm" ,emacs-helm)
11116          ("mu" ,mu)))
11117       (home-page
11118        "https://github.com/emacs-helm/helm-mu")
11119       (synopsis
11120        "Helm sources for searching emails and contacts")
11121       (description
11122        "Helm sources for searching emails and contacts using @code{mu} and
11123 @code{mu4e}.  Mu is an indexer for maildirs and mu4e is a mutt-like MUA for
11124 Emacs build on top of mu.  Mu is highly efficient making it possible to get
11125 instant results even for huge maildirs.  It also provides search operators,
11126 e.g: @code{from:Peter to:Anne flag:attach search term}.")
11127       (license license:gpl3+))))
11129 (define-public emacs-helm-pass
11130   (let ((commit "ebcbef1a962795a36e3491ae926e2a4b8a8b0ebb"))
11131     (package
11132       (name "emacs-helm-pass")
11133       (version (git-version  "20180416" "1" commit))
11134       (source
11135        (origin
11136          (method url-fetch)
11137          (uri (string-append
11138                "https://github.com/jabranham/helm-pass/archive/"
11139                commit
11140                ".tar.gz"))
11141          (sha256
11142           (base32
11143            "1pgq4hj9wvz7z2fyxwsvbh6rmc1akya84v382nx26rr76iavz6wi"))))
11144       (build-system emacs-build-system)
11145       (propagated-inputs
11146        `(("emacs-helm" ,emacs-helm)
11147          ("emacs-password-store" ,emacs-password-store)))
11148       (home-page
11149        "https://github.com/jabranham/helm-pass")
11150       (synopsis "Helm interface to pass, the standard Unix password manager")
11151       (description
11152        "Users of @code{helm-pass} may also be interested in functionality
11153 provided by other Emacs packages dealing with pass:
11154 @itemize
11155 @item @code{emacs-password-store}, which @code{helm-pass} relies on.
11156 @item @code{emacs-pass}, a major mode for @code{pass}.
11157 @item @code{auth-source-pass.el}: integration of Emacs' auth-source with
11158 @code{pass}, included in Emacs 26+).
11159 @end itemize\n")
11160       (license license:gpl3+))))
11162 (define-public emacs-image+
11163   (let ((commit "6834d0c09bb4df9ecc0d7a559bd7827fed48fffc"))
11164     (package
11165       (name "emacs-image+")
11166       (version (git-version "0.6.2" "1" commit))
11167       (source
11168        (origin
11169          (method git-fetch)
11170          (uri (git-reference
11171                (url "https://github.com/mhayashi1120/Emacs-imagex")
11172                (commit commit)))
11173          (file-name (string-append name "-" version "-checkout"))
11174          (sha256
11175           (base32
11176            "0v66wk9nh0raih4jhrzmmyi5lbysjnmbv791vm2230ffi2hmwxnd"))))
11177       (build-system emacs-build-system)
11178       (inputs `(("imagemagick" ,imagemagick)))
11179       (arguments
11180        `(#:phases
11181          (modify-phases %standard-phases
11182            (add-after 'unpack 'configure
11183              (lambda* (#:key inputs outputs #:allow-other-keys)
11184                (let ((imagemagick (assoc-ref inputs "imagemagick")))
11185                  ;; Specify the absolute file names of the various
11186                  ;; programs so that everything works out-of-the-box.
11187                  (chmod "image+.el" #o666)
11188                  (emacs-substitute-variables
11189                      "image+.el"
11190                    ("imagex-convert-command"
11191                     (string-append imagemagick "/bin/convert"))
11192                    ("imagex-identify-command"
11193                     (string-append imagemagick "/bin/identify")))))))))
11194       (home-page "https://github.com/mhayashi1120/Emacs-imagex")
11195       (synopsis "Image manipulation extensions for Emacs")
11196       (description
11197        "Image+ provides keybindings allowing you to zoom in or zoom out of an
11198 image, rotate it, save modified images, and more.")
11199       (license license:gpl3+))))
11201 (define-public emacs-package-lint
11202   (let ((commit "69bb89d00ba212b734c676ad056aa793c450b288"))
11203     (package
11204       (name "emacs-package-lint")
11205       (version (git-version "0.5" "1" commit))
11206       (source
11207        (origin
11208          (method git-fetch)
11209          (uri (git-reference
11210                (url "https://github.com/purcell/package-lint")
11211                (commit commit)))
11212          (file-name (string-append name "-" version "-checkout"))
11213          (sha256
11214           (base32
11215            "1hfricsgmy3x9snnd2p4xq6vnnv94qdsxxnxp07b3hqc9bhw31rq"))))
11216       (build-system emacs-build-system)
11217       (home-page "https://github.com/purcell/package-lint")
11218       (synopsis "Linting library for elisp package authors")
11219       (description
11220        "This provides a list of issues with the Emacs package metadata of a file,
11221 e.g. the package dependencies it requires.  See function
11222 @code{package-lint-buffer}.  Checks will currently be enabled only if a
11223 \"Package-Requires:\" or \"Package-Version:\" header is present in the
11224 file.")
11225       (license license:gpl3+))))
11227 (define-public emacs-wgrep-helm
11228   (let ((commit "1cdd7c136f1e7565bb13d2df69be3dc77b83698d"))
11229     (package
11230       (name "emacs-wgrep-helm")
11231       (version (git-version "2.1.10" "1" commit))
11232       (source
11233        (origin
11234          (method git-fetch)
11235          (uri (git-reference
11236                (url "https://github.com/mhayashi1120/Emacs-wgrep")
11237                (commit commit)))
11238          (file-name (string-append name "-" version "-checkout"))
11239          (sha256
11240           (base32
11241            "057p99hq0r6z1k8sl15w3sxrqvlv0g9wp39zy1pqhccv2mn3g2d6"))))
11242       (build-system emacs-build-system)
11243       (propagated-inputs
11244        `(("emacs-wgrep" ,emacs-wgrep)))
11245       (home-page
11246        "https://github.com/mhayashi1120/Emacs-wgrep")
11247       (synopsis
11248        "Writable helm-grep-mode buffer and apply the changes to files")
11249       (description
11250        "@code{wgrep-helm} allows you to edit a @code{helm-grep-mode} buffer and
11251 apply those changes to the file buffer.")
11252       (license license:gpl3+))))
11254 (define-public emacs-mu4e-conversation
11255   (let ((commit "b60d6bd27d7220c3dd041ff2a090e29f2166a319"))
11256     (package
11257       (name "emacs-mu4e-conversation")
11258       (version (git-version "20180615" "1" commit))
11259       (source
11260        (origin
11261          (method url-fetch)
11262          (uri (string-append
11263                "https://gitlab.com/Ambrevar/mu4e-conversation/"
11264                "repository/archive.tar.gz?ref="
11265                commit))
11266          (file-name (string-append name "-" version "-checkout"))
11267          (sha256
11268           (base32
11269            "0x8kmi0rmbaaxn5zicm1f9yb8ynxi8074hi2n0rvymlfpxbpn0ma"))))
11270       (build-system emacs-build-system)
11271       (propagated-inputs
11272        `(("mu" ,mu)))
11273       (home-page
11274        "https://gitlab.com/Ambrevar/mu4e-conversation")
11275       (synopsis
11276        "Show a complete thread in a single buffer")
11277       (description
11278        "This package offers an alternate view to mu4e e-mail display.  It
11279 shows all e-mails of a thread in a single view, where each correspondant has
11280 their own face.  Threads can be displayed linearly (in which case e-mails are
11281 displayed in chronological order) or as an Org document where the node tree
11282 maps the thread tree.")
11283       (license license:gpl3+))))