gnu: emacs: Patch message-mode enriched text translation [security fix].
[jackhill/guix/guix.git] / gnu / packages / emacs.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
3 ;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2014, 2015, 2016, 2017 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
8 ;;; Copyright © 2016, 2017 Chris Marusich <cmmarusich@gmail.com>
9 ;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org>
10 ;;; Copyright © 2016 Adriano Peluso <catonano@gmail.com>
11 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
12 ;;; Copyright © 2016 David Thompson <davet@gnu.org>
13 ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
14 ;;; Copyright © 2016, 2017 Roel Janssen <roel@gnu.org>
15 ;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
16 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
17 ;;; Copyright © 2016, 2017 Nicolas Goaziou <mail@nicolasgoaziou.fr>
18 ;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
19 ;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
20 ;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
21 ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
22 ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
23 ;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com>
24 ;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
25 ;;; Copyright © 2017 Kei Kebreau <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 Oleg Pykhalov <go.wigust@gmail.com>
30 ;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
31 ;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
32 ;;;
33 ;;; This file is part of GNU Guix.
34 ;;;
35 ;;; GNU Guix is free software; you can redistribute it and/or modify it
36 ;;; under the terms of the GNU General Public License as published by
37 ;;; the Free Software Foundation; either version 3 of the License, or (at
38 ;;; your option) any later version.
39 ;;;
40 ;;; GNU Guix is distributed in the hope that it will be useful, but
41 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
42 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43 ;;; GNU General Public License for more details.
44 ;;;
45 ;;; You should have received a copy of the GNU General Public License
46 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
47
48 (define-module (gnu packages emacs)
49 #:use-module ((guix licenses) #:prefix license:)
50 #:use-module (guix packages)
51 #:use-module (guix download)
52 #:use-module (guix git-download)
53 #:use-module (guix gexp)
54 #:use-module (guix monads)
55 #:use-module (guix store)
56 #:use-module (guix build-system gnu)
57 #:use-module (guix build-system emacs)
58 #:use-module (guix build-system glib-or-gtk)
59 #:use-module (guix build-system trivial)
60 #:use-module (gnu packages)
61 #:use-module (gnu packages audio)
62 #:use-module (gnu packages bash)
63 #:use-module (gnu packages code)
64 #:use-module (gnu packages guile)
65 #:use-module (gnu packages gtk)
66 #:use-module (gnu packages gnome)
67 #:use-module (gnu packages ncurses)
68 #:use-module (gnu packages python)
69 #:use-module (gnu packages tex)
70 #:use-module (gnu packages texinfo)
71 #:use-module (gnu packages tcl)
72 #:use-module (gnu packages tls)
73 #:use-module (gnu packages pkg-config)
74 #:use-module (gnu packages xorg)
75 #:use-module (gnu packages lesstif)
76 #:use-module (gnu packages image)
77 #:use-module (gnu packages linux)
78 #:use-module (gnu packages version-control)
79 #:use-module (gnu packages imagemagick)
80 #:use-module (gnu packages w3m)
81 #:use-module (gnu packages wget)
82 #:use-module (gnu packages autotools)
83 #:use-module (gnu packages base)
84 #:use-module (gnu packages compression)
85 #:use-module (gnu packages xml)
86 #:use-module (gnu packages glib)
87 #:use-module (gnu packages acl)
88 #:use-module (gnu packages package-management)
89 #:use-module (gnu packages perl)
90 #:use-module (gnu packages pdf)
91 #:use-module (gnu packages scheme)
92 #:use-module (gnu packages statistics)
93 #:use-module (gnu packages xiph)
94 #:use-module (gnu packages mp3)
95 #:use-module (gnu packages gettext)
96 #:use-module (gnu packages fribidi)
97 #:use-module (gnu packages gd)
98 #:use-module (gnu packages fontutils)
99 #:use-module (guix utils)
100 #:use-module (srfi srfi-1)
101 #:use-module (ice-9 match))
102
103 (define-public emacs
104 (package
105 (name "emacs")
106 (version "25.2")
107 (source (origin
108 (method url-fetch)
109 (uri (string-append "mirror://gnu/emacs/emacs-"
110 version ".tar.xz"))
111 (sha256
112 (base32
113 "1ykkq0xl28ljdg61bm6gzy04ww86ajms98gix72qg6cpr6a53dar"))
114 (patches (search-patches "emacs-exec-path.patch"
115 "emacs-fix-scheme-indent-function.patch"
116 "emacs-source-date-epoch.patch"
117 "emacs-unsafe-enriched-mode-translations.patch"))
118 (modules '((guix build utils)))
119 (snippet
120 ;; Delete the bundled byte-compiled elisp files and
121 ;; generated autoloads.
122 '(with-directory-excursion "lisp"
123 (for-each delete-file
124 (append (find-files "." "\\.elc$")
125 (find-files "." "loaddefs\\.el$")
126 ;; This is the only "autoloads" file that
127 ;; does not have "*loaddefs.el" name.
128 '("eshell/esh-groups.el")))
129
130 ;; Make sure Tramp looks for binaries in the right places on
131 ;; remote GuixSD machines, where 'getconf PATH' returns
132 ;; something bogus.
133 (substitute* "net/tramp-sh.el"
134 ;; Patch the line after "(defcustom tramp-remote-path".
135 (("\\(tramp-default-remote-path")
136 (format #f "(tramp-default-remote-path ~s ~s ~s ~s "
137 "~/.guix-profile/bin" "~/.guix-profile/sbin"
138 "/run/current-system/profile/bin"
139 "/run/current-system/profile/sbin")))))))
140 (build-system glib-or-gtk-build-system)
141 (arguments
142 `(#:phases
143 (modify-phases %standard-phases
144 (add-before 'configure 'fix-/bin/pwd
145 (lambda _
146 ;; Use `pwd', not `/bin/pwd'.
147 (substitute* (find-files "." "^Makefile\\.in$")
148 (("/bin/pwd")
149 "pwd"))))
150 (add-after 'install 'install-site-start
151 ;; Use 'guix-emacs' in "site-start.el". This way, Emacs packages
152 ;; provided by Guix and installed in
153 ;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are
154 ;; automatically found.
155 (lambda* (#:key inputs outputs #:allow-other-keys)
156 (let* ((out (assoc-ref outputs "out"))
157 (lisp-dir (string-append out "/share/emacs/site-lisp")))
158 (copy-file (assoc-ref inputs "guix-emacs.el")
159 (string-append lisp-dir "/guix-emacs.el"))
160 (with-output-to-file (string-append lisp-dir "/site-start.el")
161 (lambda ()
162 (display
163 (string-append "(when (require 'guix-emacs nil t)\n"
164 " (guix-emacs-autoload-packages))\n"))))
165 #t))))))
166 (inputs
167 `(("gnutls" ,gnutls)
168 ("ncurses" ,ncurses)
169
170 ;; TODO: Add the optional dependencies.
171 ("libx11" ,libx11)
172 ("gtk+" ,gtk+)
173 ("libxft" ,libxft)
174 ("libtiff" ,libtiff)
175 ("giflib" ,giflib)
176 ("libjpeg" ,libjpeg-8)
177 ("imagemagick" ,imagemagick)
178 ("acl" ,acl)
179
180 ;; When looking for libpng `configure' links with `-lpng -lz', so we
181 ;; must also provide zlib as an input.
182 ("libpng" ,libpng)
183 ("zlib" ,zlib)
184
185 ("librsvg" ,librsvg)
186 ("libxpm" ,libxpm)
187 ("libxml2" ,libxml2)
188 ("libice" ,libice)
189 ("libsm" ,libsm)
190 ("alsa-lib" ,alsa-lib)
191 ("dbus" ,dbus)
192
193 ;; multilingualization support
194 ("libotf" ,libotf)
195 ("m17n-lib" ,m17n-lib)))
196 (native-inputs
197 `(("guix-emacs.el" ,(search-auxiliary-file "emacs/guix-emacs.el"))
198 ("pkg-config" ,pkg-config)
199 ("texinfo" ,texinfo)))
200
201 (native-search-paths
202 (list (search-path-specification
203 (variable "INFOPATH")
204 (files '("share/info")))))
205
206 (home-page "https://www.gnu.org/software/emacs/")
207 (synopsis "The extensible, customizable, self-documenting text editor")
208 (description
209 "GNU Emacs is an extensible and highly customizable text editor. It is
210 based on an Emacs Lisp interpreter with extensions for text editing. Emacs
211 has been extended in essentially all areas of computing, giving rise to a
212 vast array of packages supporting, e.g., email, IRC and XMPP messaging,
213 spreadsheets, remote server editing, and much more. Emacs includes extensive
214 documentation on all aspects of the system, from basic editing to writing
215 large Lisp programs. It has full Unicode support for nearly all human
216 languages.")
217 (license license:gpl3+)))
218
219 (define-public emacs-minimal
220 ;; This is the version that you should use as an input to packages that just
221 ;; need to byte-compile .el files.
222 (package (inherit emacs)
223 (name "emacs-minimal")
224 (synopsis "The extensible text editor (used only for byte-compilation)")
225 (build-system gnu-build-system)
226 (arguments
227 (substitute-keyword-arguments (package-arguments emacs)
228 ((#:phases phases)
229 `(modify-phases ,phases
230 (delete 'install-site-start)))))
231 (inputs
232 `(("ncurses" ,ncurses)))
233 (native-inputs
234 `(("pkg-config" ,pkg-config)))))
235
236 (define-public emacs-no-x
237 (package (inherit emacs)
238 (name "emacs-no-x")
239 (synopsis "The extensible, customizable, self-documenting text
240 editor (console only)")
241 (build-system gnu-build-system)
242 (inputs (fold alist-delete
243 (package-inputs emacs)
244 '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
245 "libpng" "librsvg" "libxpm" "libice" "libsm"
246
247 ;; D-Bus depends on libx11, so remove it as well.
248 "dbus")))))
249
250 (define-public emacs-no-x-toolkit
251 (package (inherit emacs)
252 (name "emacs-no-x-toolkit")
253 (synopsis "The extensible, customizable, self-documenting text
254 editor (without an X toolkit)" )
255 (build-system gnu-build-system)
256 (inputs (append `(("inotify-tools" ,inotify-tools))
257 (alist-delete "gtk+" (package-inputs emacs))))
258 (arguments (append '(#:configure-flags '("--with-x-toolkit=no"))
259 (package-arguments emacs)))))
260
261 (define-public guile-emacs
262 (package (inherit emacs)
263 (name "guile-emacs")
264 (version "20150512.41120e0")
265 (source (origin
266 (method git-fetch)
267 (uri (git-reference
268 (url "git://git.hcoop.net/git/bpt/emacs.git")
269 (commit "41120e0f595b16387eebfbf731fff70481de1b4b")))
270 (sha256
271 (base32
272 "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6"))))
273 (native-inputs
274 `(("autoconf" ,autoconf)
275 ("automake" ,automake)
276 ("guile" ,guile-for-guile-emacs)
277 ,@(package-native-inputs emacs)))
278 (arguments
279 (substitute-keyword-arguments `(;; Build fails if we allow parallel build.
280 #:parallel-build? #f
281 ;; Tests aren't passing for now.
282 #:tests? #f
283 ,@(package-arguments emacs))
284 ((#:phases phases)
285 `(modify-phases ,phases
286 (add-after 'unpack 'autogen
287 (lambda _
288 (zero? (system* "sh" "autogen.sh"))))))))))
289
290 \f
291 ;;;
292 ;;; Emacs hacking.
293 ;;;
294
295 (define-public geiser
296 (package
297 (name "geiser")
298 (version "0.9")
299 (source (origin
300 (method url-fetch)
301 (uri (string-append "mirror://savannah/geiser/" version
302 "/geiser-" version ".tar.gz"))
303 (sha256
304 (base32
305 "0phz9d8wjk4p13vqannv0003fwh8qqrp0gfzcs2hgq1mrmv1srss"))))
306 (build-system gnu-build-system)
307 (arguments
308 '(#:phases (alist-cons-after
309 'install 'post-install
310 (lambda* (#:key outputs #:allow-other-keys)
311 (symlink "geiser-install.el"
312 (string-append (assoc-ref outputs "out")
313 "/share/emacs/site-lisp/"
314 "geiser-autoloads.el")))
315 %standard-phases)))
316 (inputs `(("guile" ,guile-2.0)))
317 (native-inputs `(("emacs" ,emacs-minimal)))
318 (home-page "http://nongnu.org/geiser/")
319 (synopsis "Collection of Emacs modes for Guile and Racket hacking")
320 (description
321 "Geiser is a collection of Emacs major and minor modes that conspire with
322 one or more Scheme implementations to keep the Lisp Machine Spirit alive. The
323 continuously running Scheme interpreter takes the center of the stage in
324 Geiser. A bundle of Elisp shims orchestrates the dialog between the Scheme
325 implementation, Emacs and, ultimately, the schemer, giving them access to live
326 metadata.")
327 (license license:bsd-3)))
328
329 (define-public geiser-next
330 ;; This has become "geiser".
331 (deprecated-package "geiser-next" geiser))
332
333 (define-public paredit
334 (package
335 (name "emacs-paredit")
336 (version "24")
337 (source (origin
338 (method url-fetch)
339 (uri (string-append "http://mumble.net/~campbell/emacs/paredit-"
340 version ".el"))
341 (sha256
342 (base32
343 "0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
344 (build-system emacs-build-system)
345 (home-page "http://mumble.net/~campbell/emacs/paredit/")
346 (synopsis "Emacs minor mode for editing parentheses")
347 (description
348 "ParEdit (paredit.el) is a minor mode for performing structured editing
349 of S-expression data. The typical example of this would be Lisp or Scheme
350 source code.
351
352 ParEdit helps **keep parentheses balanced** and adds many keys for moving
353 S-expressions and moving around in S-expressions. Its behavior can be jarring
354 for those who may want transient periods of unbalanced parentheses, such as
355 when typing parentheses directly or commenting out code line by line.")
356 (license license:gpl3+)))
357
358 (define-public paredit/old-name
359 (deprecated-package "paredit" paredit))
360
361 (define-public git-modes
362 (package
363 (name "git-modes")
364 (version "1.2.4")
365 (source (origin
366 (method url-fetch)
367 (uri (string-append
368 "https://github.com/magit/git-modes/archive/"
369 version ".tar.gz"))
370 (file-name (string-append name "-" version ".tar.gz"))
371 (sha256
372 (base32
373 "0xxrmf0jnyljxvllc22qa0v8lgi4k1ldnayjm5hf68m25jsr378l"))))
374 (build-system emacs-build-system)
375 (home-page "https://github.com/magit/git-modes")
376 (synopsis "Emacs major modes for Git configuration files")
377 (description
378 "This package provides Emacs major modes for editing various Git
379 configuration files, such as .gitattributes, .gitignore, and .git/config.")
380 (license license:gpl3+)))
381
382 (define-public emacs-with-editor
383 (package
384 (name "emacs-with-editor")
385 (version "2.5.10")
386 (source (origin
387 (method url-fetch)
388 (uri (string-append
389 "https://github.com/magit/with-editor/archive/v"
390 version ".tar.gz"))
391 (file-name (string-append name "-" version ".tar.gz"))
392 (sha256
393 (base32
394 "0lsxa1hghybkzvqhqvvym3hxbyp9vjcnnpb9j800z0vyhbnlka67"))))
395 (build-system emacs-build-system)
396 (propagated-inputs
397 `(("emacs-dash" ,emacs-dash)))
398 (home-page "https://github.com/magit/with-editor")
399 (synopsis "Emacs library for using Emacsclient as EDITOR")
400 (description
401 "This package provides an Emacs library to use the Emacsclient as
402 @code{$EDITOR} of child processes, making sure they know how to call home.
403 For remote processes a substitute is provided, which communicates with Emacs
404 on stdout instead of using a socket as the Emacsclient does.")
405 (license license:gpl3+)))
406
407 (define-public magit
408 (package
409 (name "magit")
410 (version "2.10.3")
411 (source (origin
412 (method url-fetch)
413 (uri (string-append
414 "https://github.com/magit/magit/releases/download/"
415 version "/" name "-" version ".tar.gz"))
416 (sha256
417 (base32
418 "03ln65ss420gc3h4pi56dayd1p163xfxrxrd9fkb9xnkl8mjglqk"))))
419 (build-system gnu-build-system)
420 (native-inputs `(("texinfo" ,texinfo)
421 ("emacs" ,emacs-minimal)))
422 (inputs
423 `(("git" ,git)
424 ("perl" ,perl)))
425 (propagated-inputs
426 `(("dash" ,emacs-dash)
427 ("with-editor" ,emacs-with-editor)))
428 (arguments
429 `(#:modules ((guix build gnu-build-system)
430 (guix build utils)
431 (guix build emacs-utils))
432 #:imported-modules (,@%gnu-build-system-modules
433 (guix build emacs-utils))
434
435 #:test-target "test"
436 #:tests? #f ; tests are not included in the release
437
438 #:make-flags
439 (list (string-append "PREFIX=" %output)
440 ;; Don't put .el files in a sub-directory.
441 (string-append "lispdir=" %output "/share/emacs/site-lisp")
442 (string-append "DASH_DIR="
443 (assoc-ref %build-inputs "dash")
444 "/share/emacs/site-lisp/guix.d/dash-"
445 ,(package-version emacs-dash))
446 (string-append "WITH_EDITOR_DIR="
447 (assoc-ref %build-inputs "with-editor")
448 "/share/emacs/site-lisp/guix.d/with-editor-"
449 ,(package-version emacs-with-editor)))
450
451 #:phases
452 (modify-phases %standard-phases
453 (delete 'configure)
454 (add-before
455 'build 'patch-exec-paths
456 (lambda* (#:key inputs #:allow-other-keys)
457 (let ((git (assoc-ref inputs "git"))
458 (perl (assoc-ref inputs "perl")))
459 (emacs-substitute-variables "lisp/magit-git.el"
460 ("magit-git-executable" (string-append git "/bin/git")))
461 (substitute* "lisp/magit-sequence.el"
462 (("perl") (string-append perl "/bin/perl")))
463 #t))))))
464 (home-page "http://magit.github.io/")
465 (synopsis "Emacs interface for the Git version control system")
466 (description
467 "With Magit, you can inspect and modify your Git repositories with Emacs.
468 You can review and commit the changes you have made to the tracked files, for
469 example, and you can browse the history of past changes. There is support for
470 cherry picking, reverting, merging, rebasing, and other common Git
471 operations.")
472 (license license:gpl3+)))
473
474 (define-public magit-svn
475 (package
476 (name "magit-svn")
477 (version "2.1.1")
478 (source (origin
479 (method url-fetch)
480 (uri (string-append
481 "https://github.com/magit/magit-svn/archive/"
482 version ".tar.gz"))
483 (file-name (string-append name "-" version ".tar.gz"))
484 (sha256
485 (base32
486 "04y88j7q9h8xjbx5dbick6n5nr1522sn9i1znp0qwk3vjb4b5mzz"))))
487 (build-system trivial-build-system)
488 (native-inputs `(("emacs" ,emacs-minimal)
489 ("tar" ,tar)
490 ("gzip" ,gzip)))
491 (propagated-inputs `(("dash" ,emacs-dash)
492 ("magit" ,magit)))
493 (arguments
494 `(#:modules ((guix build utils)
495 (guix build emacs-utils))
496
497 #:builder
498 (begin
499 (use-modules (guix build utils)
500 (guix build emacs-utils))
501
502 (let* ((tar (string-append (assoc-ref %build-inputs "tar")
503 "/bin/tar"))
504 (PATH (string-append (assoc-ref %build-inputs "gzip")
505 "/bin"))
506 (emacs (string-append (assoc-ref %build-inputs "emacs")
507 "/bin/emacs"))
508 (magit (string-append (assoc-ref %build-inputs "magit")
509 "/share/emacs/site-lisp"))
510 (dash (string-append (assoc-ref %build-inputs "dash")
511 "/share/emacs/site-lisp/guix.d/dash-"
512 ,(package-version emacs-dash)))
513 (source (assoc-ref %build-inputs "source"))
514 (lisp-dir (string-append %output "/share/emacs/site-lisp")))
515 (setenv "PATH" PATH)
516 (system* tar "xvf" source)
517
518 (install-file (string-append ,name "-" ,version "/magit-svn.el")
519 lisp-dir)
520
521 (with-directory-excursion lisp-dir
522 (parameterize ((%emacs emacs))
523 (emacs-generate-autoloads ,name lisp-dir)
524 (setenv "EMACSLOADPATH"
525 (string-append ":" magit ":" dash))
526 (emacs-batch-eval '(byte-compile-file "magit-svn.el"))))))))
527 (home-page "https://github.com/magit/magit-svn")
528 (synopsis "Git-SVN extension to Magit")
529 (description
530 "This package is an extension to Magit, the Git Emacs mode, providing
531 support for Git-SVN.")
532 (license license:gpl3+)))
533
534 (define-public emacs-magit-popup
535 (package
536 (name "emacs-magit-popup")
537 (version (package-version magit))
538 (source (origin
539 (method url-fetch)
540 (uri (string-append
541 "https://raw.githubusercontent.com/magit/magit/"
542 version "/lisp/magit-popup.el"))
543 (file-name (string-append "magit-popup-" version ".el"))
544 (sha256
545 (base32
546 "08b6ypfiq8zavjfq0wcdh26xziwq7rqvvv3lfpib9101146kzx6d"))))
547 (build-system emacs-build-system)
548 (propagated-inputs
549 `(("emacs-dash" ,emacs-dash)))
550 (home-page "https://github.com/magit/magit")
551 (synopsis "Define prefix-infix-suffix command combos")
552 (description
553 "This library implements a generic interface for toggling switches and
554 setting options and then invoking an Emacs command which does something with
555 these arguments. The prototypical use is for the command to call an external
556 process, passing on the arguments as command line arguments.")
557 (license license:gpl3+)))
558
559 (define-public haskell-mode
560 (package
561 (name "haskell-mode")
562 (version "16.1")
563 (source (origin
564 (method url-fetch)
565 (file-name (string-append name "-" version ".tar.gz"))
566 (uri (string-append
567 "https://github.com/haskell/haskell-mode/archive/v"
568 version ".tar.gz"))
569 (sha256
570 (base32 "0g6lcjw7lcgavv3yrd8xjcyqgfyjl787y32r1z14amw2f009m78h"))))
571 (inputs
572 `(("emacs-el-search" ,emacs-el-search) ; for tests
573 ("emacs-stream" ,emacs-stream))) ; for tests
574 (propagated-inputs
575 `(("emacs-dash" ,emacs-dash)))
576 (native-inputs
577 `(("emacs" ,emacs-minimal)
578 ("texinfo" ,texinfo)))
579 (build-system gnu-build-system)
580 (arguments
581 `(#:make-flags (list (string-append "EMACS="
582 (assoc-ref %build-inputs "emacs")
583 "/bin/emacs"))
584 #:modules ((ice-9 match)
585 (srfi srfi-26)
586 ,@%gnu-build-system-modules)
587 #:phases
588 (modify-phases %standard-phases
589 (delete 'configure)
590 (add-before
591 'build 'pre-build
592 (lambda* (#:key inputs #:allow-other-keys)
593 (define (el-dir store-dir)
594 (match (find-files store-dir)
595 ((f1 f2 ...) (dirname f1))
596 (_ "")))
597
598 (let ((sh (string-append (assoc-ref inputs "bash") "/bin/sh")))
599 (define emacs-prefix? (cut string-prefix? "emacs-" <>))
600
601 (setenv "SHELL" "sh")
602 (setenv "EMACSLOADPATH"
603 (string-concatenate
604 (map (match-lambda
605 (((? emacs-prefix? name) . dir)
606 (string-append (el-dir dir) ":"))
607 (_ ""))
608 inputs)))
609 (substitute* (find-files "." "\\.el") (("/bin/sh") sh))
610 (substitute* "tests/haskell-code-conventions.el"
611 ;; Function name recently changed in "emacs-el-search".
612 (("el-search--search-pattern") "el-search-forward")
613 ;; Don't contact home.
614 (("\\(when \\(>= emacs-major-version 25\\)")
615 "(require 'el-search) (when nil"))
616 #t)))
617 (replace
618 'install
619 (lambda* (#:key outputs #:allow-other-keys)
620 (let* ((out (assoc-ref outputs "out"))
621 (el-dir (string-append out "/share/emacs/site-lisp"))
622 (doc (string-append
623 out "/share/doc/haskell-mode-" ,version))
624 (info (string-append out "/share/info")))
625 (define (copy-to-dir dir files)
626 (for-each (lambda (f)
627 (install-file f dir))
628 files))
629
630 (with-directory-excursion "doc"
631 (unless (zero? (system* "makeinfo" "haskell-mode.texi"))
632 (error "makeinfo failed"))
633 (install-file "haskell-mode.info" info))
634 (copy-to-dir doc '("CONTRIBUTING.md" "NEWS" "README.md"))
635 (copy-to-dir el-dir (find-files "." "\\.elc?"))
636 ;; These are part of other packages.
637 (with-directory-excursion el-dir
638 (for-each delete-file '("dash.el" "ert.el")))
639 #t))))))
640 (home-page "https://github.com/haskell/haskell-mode")
641 (synopsis "Haskell mode for Emacs")
642 (description
643 "This is an Emacs mode for editing, debugging and developing Haskell
644 programs.")
645 (license license:gpl3+)))
646
647 (define-public flycheck
648 (package
649 (name "emacs-flycheck")
650 (version "30")
651 (source (origin
652 (method url-fetch)
653 (uri (string-append
654 "https://github.com/flycheck/flycheck/releases/download/"
655 version "/flycheck-" version ".tar"))
656 (sha256
657 (base32
658 "1rxzkaqsj48z3nska5wsgwafvwkam014dzqd32baycmxjl0jxvy7"))))
659 (build-system emacs-build-system)
660 (propagated-inputs
661 `(("emacs-dash" ,emacs-dash)))
662 (home-page "https://www.flycheck.org")
663 (synopsis "On-the-fly syntax checking")
664 (description
665 "This package provides on-the-fly syntax checking for GNU Emacs. It is a
666 replacement for the older Flymake extension which is part of GNU Emacs, with
667 many improvements and additional features.
668
669 Flycheck provides fully-automatic, fail-safe, on-the-fly background syntax
670 checking for over 30 programming and markup languages with more than 70
671 different tools. It highlights errors and warnings inline in the buffer, and
672 provides an optional IDE-like error list.")
673 (license license:gpl3+))) ;+GFDLv1.3+ for the manual
674
675 \f
676 ;;;
677 ;;; Web browsing.
678 ;;;
679
680 (define-public emacs-w3m
681 (package
682 (name "emacs-w3m")
683 (version "1.4.538+0.20141022")
684 (source (origin
685 (method url-fetch)
686 (uri (string-append "mirror://debian/pool/main/w/w3m-el/w3m-el_"
687 version ".orig.tar.gz"))
688 (sha256
689 (base32
690 "0zfxmq86pwk64yv0426gnjrvhjrgrjqn08sdcdhmmjmfpmqvm79y"))))
691 (build-system gnu-build-system)
692 (native-inputs `(("autoconf" ,autoconf)
693 ("emacs" ,emacs-minimal)))
694 (inputs `(("w3m" ,w3m)
695 ("imagemagick" ,imagemagick)))
696 (arguments
697 `(#:modules ((guix build gnu-build-system)
698 (guix build utils)
699 (guix build emacs-utils))
700 #:imported-modules (,@%gnu-build-system-modules
701 (guix build emacs-utils))
702 #:configure-flags
703 (let ((out (assoc-ref %outputs "out")))
704 (list (string-append "--with-lispdir="
705 out "/share/emacs/site-lisp")
706 (string-append "--with-icondir="
707 out "/share/images/emacs-w3m")
708 ;; Leave .el files uncompressed, otherwise GC can't
709 ;; identify run-time dependencies. See
710 ;; <http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00208.html>
711 "--without-compress-install"))
712 #:tests? #f ; no check target
713 #:phases
714 (modify-phases %standard-phases
715 (add-after 'unpack 'autoconf
716 (lambda _
717 (zero? (system* "autoconf"))))
718 (add-before 'build 'patch-exec-paths
719 (lambda* (#:key inputs outputs #:allow-other-keys)
720 (let ((out (assoc-ref outputs "out"))
721 (w3m (assoc-ref inputs "w3m"))
722 (imagemagick (assoc-ref inputs "imagemagick"))
723 (coreutils (assoc-ref inputs "coreutils")))
724 (emacs-substitute-variables "w3m.el"
725 ("w3m-command" (string-append w3m "/bin/w3m"))
726 ("w3m-touch-command"
727 (string-append coreutils "/bin/touch"))
728 ("w3m-image-viewer"
729 (string-append imagemagick "/bin/display"))
730 ("w3m-icon-directory"
731 (string-append out "/share/images/emacs-w3m")))
732 (emacs-substitute-variables "w3m-image.el"
733 ("w3m-imagick-convert-program"
734 (string-append imagemagick "/bin/convert"))
735 ("w3m-imagick-identify-program"
736 (string-append imagemagick "/bin/identify")))
737 #t)))
738 (replace 'install
739 (lambda* (#:key outputs #:allow-other-keys)
740 (and (zero? (system* "make" "install" "install-icons"))
741 (with-directory-excursion
742 (string-append (assoc-ref outputs "out")
743 "/share/emacs/site-lisp")
744 (for-each delete-file '("ChangeLog" "ChangeLog.1"))
745 (symlink "w3m-load.el" "w3m-autoloads.el")
746 #t)))))))
747 (home-page "http://emacs-w3m.namazu.org/")
748 (synopsis "Simple Web browser for Emacs based on w3m")
749 (description
750 "Emacs-w3m is an emacs interface for the w3m web browser.")
751 (license license:gpl2+)))
752
753 (define-public emacs-wget
754 (package
755 (name "emacs-wget")
756 (version "0.5.0")
757 (source (origin
758 (method url-fetch)
759 (uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_"
760 version ".orig.tar.gz"))
761 (sha256
762 (base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff"))))
763 (build-system gnu-build-system)
764 (inputs `(("wget" ,wget)))
765 (native-inputs `(("emacs" ,emacs-minimal)))
766 (arguments
767 `(#:modules ((guix build gnu-build-system)
768 (guix build utils)
769 (guix build emacs-utils))
770 #:imported-modules (,@%gnu-build-system-modules
771 (guix build emacs-utils))
772 #:tests? #f ; no check target
773 #:phases
774 (alist-replace
775 'configure
776 (lambda* (#:key outputs #:allow-other-keys)
777 (substitute* "Makefile"
778 (("/usr/local") (assoc-ref outputs "out"))
779 (("/site-lisp/emacs-wget") "/site-lisp")))
780 (alist-cons-before
781 'build 'patch-exec-paths
782 (lambda* (#:key inputs outputs #:allow-other-keys)
783 (let ((wget (assoc-ref inputs "wget")))
784 (emacs-substitute-variables "wget.el"
785 ("wget-command" (string-append wget "/bin/wget")))))
786 (alist-cons-after
787 'install 'post-install
788 (lambda* (#:key outputs #:allow-other-keys)
789 (emacs-generate-autoloads
790 "wget" (string-append (assoc-ref outputs "out")
791 "/share/emacs/site-lisp/")))
792 %standard-phases)))))
793 (home-page "http://www.emacswiki.org/emacs/EmacsWget")
794 (synopsis "Simple file downloader for Emacs based on wget")
795 (description
796 "Emacs-wget is an emacs interface for the wget file downloader.")
797 (license license:gpl2+)))
798
799 \f
800 ;;;
801 ;;; Multimedia.
802 ;;;
803
804 (define-public emms
805 (package
806 (name "emacs-emms")
807 (version "4.3")
808 (source (origin
809 (method url-fetch)
810 (uri (string-append "mirror://gnu/emms/emms-"
811 version ".tar.gz"))
812 (sha256
813 (base32
814 "0dicgkl8l83n4cah5vk7c242abbwpyzlih451blgw37f3rijs480"))
815 (modules '((guix build utils)))
816 (snippet
817 '(substitute* "Makefile"
818 (("/usr/bin/install-info")
819 ;; No need to use 'install-info' since it would create a
820 ;; useless 'dir' file.
821 "true")
822 (("^INFODIR=.*")
823 ;; Install Info files to $out/share/info, not $out/info.
824 "INFODIR := $(PREFIX)/share/info\n")
825 (("/site-lisp/emms")
826 ;; Install directly in share/emacs/site-lisp, not in a
827 ;; sub-directory.
828 "/site-lisp")
829 (("^all: (.*)\n" _ rest)
830 ;; Build 'emms-print-metadata'.
831 (string-append "all: " rest " emms-print-metadata\n"))))))
832 (build-system gnu-build-system)
833 (arguments
834 `(#:modules ((guix build gnu-build-system)
835 (guix build utils)
836 (guix build emacs-utils))
837 #:imported-modules (,@%gnu-build-system-modules
838 (guix build emacs-utils))
839
840 #:phases
841 (modify-phases %standard-phases
842 (replace 'configure
843 (lambda* (#:key inputs outputs #:allow-other-keys)
844 (let ((out (assoc-ref outputs "out"))
845 (vorbis (assoc-ref inputs "vorbis-tools"))
846 (alsa (assoc-ref inputs "alsa-utils"))
847 (mpg321 (assoc-ref inputs "mpg321"))
848 (mp3info (assoc-ref inputs "mp3info")))
849 ;; Specify the installation directory.
850 (substitute* "Makefile"
851 (("PREFIX=.*$")
852 (string-append "PREFIX := " out "\n")))
853
854 (setenv "SHELL" (which "sh"))
855 (setenv "CC" "gcc")
856
857 ;; Specify the absolute file names of the various
858 ;; programs so that everything works out-of-the-box.
859 (with-directory-excursion "lisp"
860 (emacs-substitute-variables
861 "emms-player-mpg321-remote.el"
862 ("emms-player-mpg321-remote-command"
863 (string-append mpg321 "/bin/mpg321")))
864 (substitute* "emms-player-simple.el"
865 (("\"ogg123\"")
866 (string-append "\"" vorbis "/bin/ogg123\"")))
867 (emacs-substitute-variables "emms-info-ogginfo.el"
868 ("emms-info-ogginfo-program-name"
869 (string-append vorbis "/bin/ogginfo")))
870 (emacs-substitute-variables "emms-info-libtag.el"
871 ("emms-info-libtag-program-name"
872 (string-append out "/bin/emms-print-metadata")))
873 (emacs-substitute-variables "emms-info-mp3info.el"
874 ("emms-info-mp3info-program-name"
875 (string-append mp3info "/bin/mp3info")))
876 (substitute* "emms-volume-amixer.el"
877 (("\"amixer\"")
878 (string-append "\"" alsa "/bin/amixer\"")))
879 (substitute* "emms-tag-editor.el"
880 (("\"mp3info\"")
881 (string-append "\"" mp3info "/bin/mp3info\"")))))))
882 (add-before 'install 'pre-install
883 (lambda* (#:key outputs #:allow-other-keys)
884 ;; The 'install' rule expects the target directories to exist.
885 (let* ((out (assoc-ref outputs "out"))
886 (bin (string-append out "/bin"))
887 (man1 (string-append out "/share/man/man1")))
888 (mkdir-p bin)
889 (mkdir-p man1)
890 #t)))
891 (add-after 'install 'post-install
892 (lambda* (#:key outputs #:allow-other-keys)
893 (let ((out (assoc-ref outputs "out")))
894 (symlink "emms-auto.el"
895 (string-append out "/share/emacs/site-lisp/"
896 "emms-autoloads.el"))))))
897 #:tests? #f))
898 (native-inputs `(("emacs" ,emacs-minimal) ;for (guix build emacs-utils)
899 ("texinfo" ,texinfo)))
900 (inputs `(("alsa-utils" ,alsa-utils)
901 ("vorbis-tools" ,vorbis-tools)
902 ("mpg321" ,mpg321)
903 ("taglib" ,taglib)
904 ("mp3info" ,mp3info)))
905 (properties '((upstream-name . "emms")))
906 (synopsis "Emacs Multimedia System")
907 (description
908 "EMMS is the Emacs Multimedia System. It is a small front-end which
909 can control one of the supported external players. Thus, it supports
910 whatever formats are supported by your music player. It also
911 supports tagging and playlist management, all behind a clean and
912 light user interface.")
913 (home-page "https://www.gnu.org/software/emms/")
914 (license license:gpl3+)))
915
916 (define-public emacs-emms-player-mpv
917 (package
918 (name "emacs-emms-player-mpv")
919 (version "0.0.10")
920 (source
921 (origin
922 (method url-fetch)
923 (uri (string-append "https://github.com/dochang/emms-player-mpv/archive/"
924 version ".tar.gz"))
925 (file-name (string-append name "-" version ".tar.gz"))
926 (sha256
927 (base32
928 "1q81fpmwr8hpdgq71vbdai2nml4yyqbmk4ffdyl4irlwph8gfjyq"))))
929 (build-system emacs-build-system)
930 (propagated-inputs
931 `(("emms" ,emms)))
932 (home-page "https://github.com/dochang/emms-player-mpv/")
933 (synopsis "Mpv support for EMMS")
934 (description
935 "This package provides an EMMS player that uses mpv. It supports pause
936 and seeking.")
937 (license license:gpl3+)))
938
939 (define-public emacs-emms-mode-line-cycle
940 (package
941 (name "emacs-emms-mode-line-cycle")
942 (version "0.2.5")
943 (source
944 (origin
945 (method url-fetch)
946 (uri (string-append "https://github.com/momomo5717/emms-mode-line-cycle"
947 "/archive/" version ".tar.gz"))
948 (file-name (string-append name "-" version ".tar.gz"))
949 (sha256
950 (base32
951 "0ifszi930pnaxk1x8pcydmvnp06868gc7nfx14q17zbajbx735k6"))))
952 (build-system emacs-build-system)
953 (propagated-inputs
954 `(("emms" ,emms)))
955 (home-page "https://github.com/momomo5717/emms-mode-line-cycle")
956 (synopsis "Display the EMMS mode line as a ticker")
957 (description
958 "This is a minor mode for updating the EMMS mode-line string cyclically
959 within a specified width. It is useful for displaying long track titles.")
960 (license license:gpl3+)))
961
962 \f
963 ;;;
964 ;;; Miscellaneous.
965 ;;;
966
967 (define-public bbdb
968 (package
969 (name "bbdb")
970 (version "3.1.2")
971 (source (origin
972 (method url-fetch)
973 (uri (string-append "mirror://savannah/bbdb/bbdb-"
974 version ".tar.gz"))
975 (sha256
976 (base32
977 "1gs16bbpiiy01w9pyg12868r57kx1v3hnw04gmqsmpc40l1hyy05"))
978 (modules '((guix build utils)))
979 (snippet
980 ;; We don't want to build and install the PDF.
981 '(substitute* "doc/Makefile.in"
982 (("^doc_DATA = .*$")
983 "doc_DATA =\n")))))
984 (build-system gnu-build-system)
985 (arguments
986 '(#:phases (alist-cons-after
987 'install 'post-install
988 (lambda* (#:key outputs #:allow-other-keys)
989 ;; Add an autoloads file with the right name for guix.el.
990 (let* ((out (assoc-ref outputs "out"))
991 (site (string-append out "/share/emacs/site-lisp")))
992 (with-directory-excursion site
993 (symlink "bbdb-loaddefs.el" "bbdb-autoloads.el"))))
994 %standard-phases)))
995 (native-inputs `(("emacs" ,emacs-minimal)))
996 (home-page "http://savannah.nongnu.org/projects/bbdb/")
997 (synopsis "Contact management utility for Emacs")
998 (description
999 "BBDB is the Insidious Big Brother Database for GNU Emacs. It provides
1000 an address book for email and snail mail addresses, phone numbers and the
1001 like. It can be linked with various Emacs mail clients (Message and Mail
1002 mode, Rmail, Gnus, MH-E, and VM). BBDB is fully customizable.")
1003 (license license:gpl3+)))
1004
1005 (define-public emacs-aggressive-indent
1006 (package
1007 (name "emacs-aggressive-indent")
1008 (version "1.8.3")
1009 (source (origin
1010 (method url-fetch)
1011 (uri (string-append "https://elpa.gnu.org/packages/"
1012 "aggressive-indent-" version ".el"))
1013 (sha256
1014 (base32
1015 "0jnzccl50x0wapprgwxinp99pwwa6j43q6msn4gv437j7swy8wnj"))))
1016 (build-system emacs-build-system)
1017 (home-page "https://elpa.gnu.org/packages/aggressive-indent.html")
1018 (synopsis "Minor mode to aggressively keep your code always indented")
1019 (description
1020 "@code{aggressive-indent-mode} is a minor mode that keeps your code
1021 always indented. It reindents after every change, making it more reliable
1022 than @code{electric-indent-mode}.")
1023 (license license:gpl2+)))
1024
1025 (define-public emacs-ag
1026 (package
1027 (name "emacs-ag")
1028 (version "0.47")
1029 (source (origin
1030 (method url-fetch)
1031 (uri (string-append
1032 "https://github.com/Wilfred/ag.el/archive/"
1033 version ".tar.gz"))
1034 (file-name (string-append name "-" version ".tar.gz"))
1035 (sha256
1036 (base32
1037 "1rlmp6wnyhqfg86dbz17r914msp58favn4kd4yrdwyia265a4lar"))))
1038 (build-system emacs-build-system)
1039 (arguments
1040 `(#:phases
1041 (modify-phases %standard-phases
1042 (add-before 'install 'make-info
1043 (lambda _
1044 (with-directory-excursion "docs"
1045 (zero? (system* "make" "info")))))
1046 (add-after 'install 'install-info
1047 (lambda* (#:key outputs #:allow-other-keys)
1048 (let* ((out (assoc-ref outputs "out"))
1049 (info (string-append out "/share/info")))
1050 (install-file "docs/_build/texinfo/agel.info" info)
1051 #t))))))
1052 (native-inputs
1053 `(("python-sphinx" ,python-sphinx)
1054 ("texinfo" ,texinfo)))
1055 (propagated-inputs
1056 `(("dash" ,emacs-dash)
1057 ("s" ,emacs-s)
1058 ;; We need to use 'ag' as the executable on remote systems.
1059 ("the-silver-searcher" ,the-silver-searcher)))
1060 (home-page "https://github.com/Wilfred/ag.el")
1061 (synopsis "Front-end for ag (the-silver-searcher) for Emacs")
1062 (description "This package provides the ability to use the silver
1063 searcher, a code searching tool, sometimes abbreviated to @code{ag}. Features
1064 include version control system awareness, use of Perl compatible regular
1065 expressions, editing the search results directly and searching file names
1066 rather than the contents of files.")
1067 (license license:gpl3+)))
1068
1069 (define-public emacs-async
1070 (package
1071 (name "emacs-async")
1072 (version "1.9.2")
1073 (source (origin
1074 (method url-fetch)
1075 (uri (string-append "https://elpa.gnu.org/packages/async-"
1076 version ".tar"))
1077 (sha256
1078 (base32
1079 "17fnvrj7jww29sav6a6jpizclg4w2962m6h37akpii71gf0vrffw"))))
1080 (build-system emacs-build-system)
1081 (home-page "https://elpa.gnu.org/packages/async.html")
1082 (synopsis "Asynchronous processing in Emacs")
1083 (description
1084 "This package provides the ability to call asynchronous functions and
1085 processes. For example, it can be used to run dired commands (for copying,
1086 moving, etc.) asynchronously using @code{dired-async-mode}. Also it is used
1087 as a library for other Emacs packages.")
1088 (license license:gpl3+)))
1089
1090 (define-public emacs-auctex
1091 (package
1092 (name "emacs-auctex")
1093 (version "11.91.0")
1094 (source
1095 (origin
1096 (method url-fetch)
1097 (uri (string-append
1098 "https://elpa.gnu.org/packages/auctex-"
1099 version
1100 ".tar"))
1101 (sha256
1102 (base32
1103 "1yh182mxgngjmwpkyv2n9km3vyq95bqfq8mnly3dbv78nwk7f2l3"))))
1104 (build-system emacs-build-system)
1105 ;; We use 'emacs' because AUCTeX requires dbus at compile time
1106 ;; ('emacs-minimal' does not provide dbus).
1107 (arguments
1108 `(#:emacs ,emacs
1109 #:include '("\\.el$" "^images/" "^latex/" "\\.info$")
1110 #:exclude '("^tests/" "^latex/README")))
1111 (native-inputs
1112 `(("perl" ,perl)))
1113 (home-page "https://www.gnu.org/software/auctex/")
1114 (synopsis "Integrated environment for TeX")
1115 (description
1116 "AUCTeX is a comprehensive customizable integrated environment for
1117 writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs
1118 or XEmacs.")
1119 (license license:gpl3+)))
1120
1121 (define-public emacs-autothemer
1122 (package
1123 (name "emacs-autothemer")
1124 (version "0.2.2")
1125 (source
1126 (origin
1127 (method url-fetch)
1128 (uri (string-append "https://github.com/sebastiansturm/autothemer/archive/"
1129 version ".tar.gz"))
1130 (file-name (string-append name "-" version ".tar.gz"))
1131 (sha256
1132 (base32
1133 "0rd28r9wfrbll212am4ih9hrvypx785aff76va2cbfxdwm9kixsa"))))
1134 (build-system emacs-build-system)
1135 (propagated-inputs
1136 `(("emacs-dash" ,emacs-dash)))
1137 (home-page "https://github.com/sebastiansturm/autothemer")
1138 (synopsis "Conveniently create Emacs themes")
1139 (description
1140 "Autothemer provides a thin layer on top of @code{deftheme} and
1141 @code{custom-theme-set-faces} that creates a new custom color theme, based on
1142 a set of simplified face specifications and a user-supplied color palette")
1143 (license license:gpl3+)))
1144
1145 (define-public emacs-calfw
1146 (package
1147 (name "emacs-calfw")
1148 (version "1.5")
1149 (source
1150 (origin
1151 (method url-fetch)
1152 (uri (string-append
1153 "https://github.com/kiwanami/emacs-calfw/archive/v"
1154 version ".tar.gz"))
1155 (file-name (string-append name "-" version ".tar.gz"))
1156 (sha256
1157 (base32
1158 "17ssg8gx66yp63nhygjq2r6kgl4h45cacmrxsxs9f0lrfcx37k0l"))))
1159 (build-system emacs-build-system)
1160 (home-page "https://github.com/kiwanami/emacs-calfw/")
1161 (synopsis "Calendar framework for Emacs")
1162 (description
1163 "This package displays a calendar view with various schedule data in the
1164 Emacs buffer.")
1165 (license license:gpl3+)))
1166
1167 (define-public emacs-direnv
1168 (package
1169 (name "emacs-direnv")
1170 (version "1.2.0")
1171 (source
1172 (origin
1173 (method url-fetch)
1174 (uri (string-append
1175 "https://github.com/wbolster/emacs-direnv/archive/"
1176 version ".tar.gz"))
1177 (file-name (string-append name "-" version ".tar.gz"))
1178 (sha256
1179 (base32
1180 "0m9nxawklhiiysyibzzhh2zkxgq1fskqvaqb06f7r8dnhabfy9fr"))))
1181 (build-system emacs-build-system)
1182 (propagated-inputs
1183 `(("dash" ,emacs-dash)
1184 ("with-editor" ,emacs-with-editor)))
1185 (home-page "https://github.com/wbolster/emacs-direnv")
1186 (synopsis "Direnv integration for Emacs")
1187 (description
1188 "This package provides support for invoking direnv to get the environment
1189 for the current file and updating the environment within Emacs to match.
1190
1191 Direnv can be invoked manually, and a global minor mode is included that will
1192 update the environment when the active buffer changes.
1193
1194 Using emacs-direnv means that programs started from Emacs will use the
1195 environment set through Direnv.")
1196 (license license:gpl3+)))
1197
1198 (define-public emacs-go-mode
1199 (package
1200 (name "emacs-go-mode")
1201 (version "1.5.0")
1202 (source (origin
1203 (method url-fetch)
1204 (uri (string-append "https://github.com/dominikh/go-mode.el/"
1205 "archive/v" version ".tar.gz"))
1206 (file-name (string-append name "-" version ".tar.gz"))
1207 (sha256
1208 (base32
1209 "1adngbjyb8qnwg7n6r2y31djw9j6qf3b9fi63zd85035q7x4ljnm"))))
1210 (build-system emacs-build-system)
1211 (home-page "https://github.com/dominikh/go-mode.el")
1212 (synopsis "Go mode for Emacs")
1213 (description
1214 "This package provides go-mode, an Emacs mode for working with software
1215 written in the Go programming language.")
1216 (license license:bsd-3)))
1217
1218 (define-public emacs-google-maps
1219 (package
1220 (name "emacs-google-maps")
1221 (version "1.0.0")
1222 (source (origin
1223 (method url-fetch)
1224 (uri (string-append "https://github.com/jd/google-maps.el/"
1225 "archive/" version ".tar.gz"))
1226 (file-name (string-append name "-" version ".tar.gz"))
1227 (sha256
1228 (base32
1229 "014bxapm4d8vjxbzrfjdpsavxyfx981mlcb10aq5rmigr6il8ybs"))))
1230 (build-system emacs-build-system)
1231 (home-page "https://github.com/jd/google-maps.el")
1232 (synopsis "Access Google Maps from Emacs")
1233 (description "The @code{google-maps} package allows to display Google
1234 Maps directly inside Emacs.")
1235 (license license:gpl3+)))
1236
1237 (define-public emacs-mmm-mode
1238 (package
1239 (name "emacs-mmm-mode")
1240 (version "0.5.4")
1241 (source
1242 (origin
1243 (method url-fetch)
1244 (uri (string-append
1245 "https://github.com/purcell/mmm-mode/archive/"
1246 version ".tar.gz"))
1247 (file-name (string-append name "-" version ".tar.gz"))
1248 (sha256
1249 (base32
1250 "10kwslnflbjqm62wkrq420crqzdqalzfflp9pqk1i12zm6dm4mfv"))))
1251 (build-system gnu-build-system)
1252 (arguments
1253 '(#:phases
1254 (modify-phases %standard-phases
1255 (add-after 'unpack 'autogen
1256 (lambda _
1257 (zero? (system* "sh" "autogen.sh")))))))
1258 (native-inputs
1259 `(("autoconf" ,autoconf)
1260 ("automake" ,automake)
1261 ("emacs" ,emacs-minimal)
1262 ("texinfo" ,texinfo)))
1263 (home-page "https://github.com/purcell/mmm-mode")
1264 (synopsis "Allow multiple major modes in an Emacs buffer")
1265 (description
1266 "MMM Mode is a minor mode that allows multiple major modes to coexist in a
1267 single buffer.")
1268 (license license:gpl3+)))
1269
1270 (define-public emacs-pdf-tools
1271 (package
1272 (name "emacs-pdf-tools")
1273 (version "0.70")
1274 (source (origin
1275 (method url-fetch)
1276 (uri (string-append
1277 "https://github.com/politza/pdf-tools/archive/v"
1278 version ".tar.gz"))
1279 (file-name (string-append name "-" version ".tar.gz"))
1280 (sha256
1281 (base32
1282 "1m0api6wiawswyk46bdsyk6r5rg3b86a4paar6nassm6x6c6vr77"))))
1283 (build-system gnu-build-system)
1284 (arguments
1285 `(#:tests? #f ; there are no tests
1286 #:modules ((guix build gnu-build-system)
1287 ((guix build emacs-build-system) #:prefix emacs:)
1288 (guix build utils)
1289 (guix build emacs-utils))
1290 #:imported-modules (,@%gnu-build-system-modules
1291 (guix build emacs-build-system)
1292 (guix build emacs-utils))
1293 #:phases
1294 (modify-phases %standard-phases
1295 ;; Build server side using 'gnu-build-system'.
1296 (add-after 'unpack 'enter-server-dir
1297 (lambda _ (chdir "server") #t))
1298 (add-after 'enter-server-dir 'autogen
1299 (lambda _
1300 (zero? (system* "bash" "autogen.sh"))))
1301
1302 ;; Build emacs side using 'emacs-build-system'.
1303 (add-after 'compress-documentation 'enter-lisp-dir
1304 (lambda _ (chdir "../lisp") #t))
1305 (add-after 'enter-lisp-dir 'emacs-patch-variables
1306 (lambda* (#:key outputs #:allow-other-keys)
1307 ;; Set path to epdfinfo program.
1308 (emacs-substitute-variables "pdf-info.el"
1309 ("pdf-info-epdfinfo-program"
1310 (string-append (assoc-ref outputs "out")
1311 "/bin/epdfinfo")))
1312 ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto
1313 ;; upgrading" that pdf-tools tries to perform.
1314 (emacs-substitute-variables "pdf-tools.el"
1315 ("pdf-tools-handle-upgrades" '()))))
1316 (add-after 'emacs-patch-variables 'emacs-install
1317 (assoc-ref emacs:%standard-phases 'install))
1318 (add-after 'emacs-install 'emacs-build
1319 (assoc-ref emacs:%standard-phases 'build))
1320 (add-after 'emacs-install 'emacs-make-autoloads
1321 (assoc-ref emacs:%standard-phases 'make-autoloads)))))
1322 (native-inputs `(("autoconf" ,autoconf)
1323 ("automake" ,automake)
1324 ("pkg-config" ,pkg-config)
1325 ("emacs" ,emacs-minimal)))
1326 (inputs `(("poppler" ,poppler)
1327 ("cairo" ,cairo)
1328 ("glib" ,glib)
1329 ("libpng" ,libpng)
1330 ("zlib" ,zlib)))
1331 (synopsis "Emacs support library for PDF files")
1332 (description
1333 "PDF Tools is, among other things, a replacement of DocView for PDF
1334 files. The key difference is that pages are not pre-rendered by
1335 e.g. ghostscript and stored in the file-system, but rather created on-demand
1336 and stored in memory.")
1337 (home-page "https://github.com/politza/pdf-tools")
1338 (license license:gpl3+)))
1339
1340 (define-public emacs-dash
1341 (package
1342 (name "emacs-dash")
1343 (version "2.13.0")
1344 (source (origin
1345 (method url-fetch)
1346 (uri (string-append
1347 "https://github.com/magnars/dash.el/archive/"
1348 version ".tar.gz"))
1349 (file-name (string-append name "-" version ".tar.gz"))
1350 (sha256
1351 (base32
1352 "1pjlkrzr8n45bnp3xs3dybvy0nz3gwamrfc7vsi1nhpkkw99ihhb"))))
1353 (build-system emacs-build-system)
1354 (arguments
1355 `(#:phases
1356 (modify-phases %standard-phases
1357 (add-before 'install 'check
1358 (lambda _
1359 (zero? (system* "./run-tests.sh")))))))
1360 (home-page "https://github.com/magnars/dash.el")
1361 (synopsis "Modern list library for Emacs")
1362 (description "This package provides a modern list API library for Emacs.")
1363 (license license:gpl3+)))
1364
1365 (define-public emacs-bui
1366 (package
1367 (name "emacs-bui")
1368 (version "1.1.0")
1369 (source (origin
1370 (method url-fetch)
1371 (uri (string-append
1372 "https://github.com/alezost/bui.el/archive/v"
1373 version ".tar.gz"))
1374 (file-name (string-append name "-" version ".tar.gz"))
1375 (sha256
1376 (base32
1377 "112k0mq6xpy0r47vk66miw7rxbkv3d06pv3pd0vcmrhcnhnnk486"))))
1378 (build-system emacs-build-system)
1379 (propagated-inputs
1380 `(("dash" ,emacs-dash)))
1381 (home-page "https://github.com/alezost/bui.el")
1382 (synopsis "Buffer interface library for Emacs")
1383 (description
1384 "BUI (Buffer User Interface) is a library for making @code{list} and
1385 @code{info} interfaces to display an arbitrary data of the same
1386 type, for example: packages, buffers, files, etc.")
1387 (license license:gpl3+)))
1388
1389 (define-public emacs-guix
1390 (package
1391 (name "emacs-guix")
1392 (version "0.3.3")
1393 (source (origin
1394 (method url-fetch)
1395 (uri (string-append "https://github.com/alezost/guix.el"
1396 "/releases/download/v" version
1397 "/emacs-guix-" version ".tar.gz"))
1398 (sha256
1399 (base32
1400 "0mjb2yb454389ds2kr5rkjkl21r78z4c0f88ivf4g471yzg279mc"))))
1401 (build-system gnu-build-system)
1402 (arguments
1403 `(#:configure-flags
1404 (let ((guix (assoc-ref %build-inputs "guix"))
1405 (geiser (assoc-ref %build-inputs "geiser"))
1406 (dash (assoc-ref %build-inputs "dash"))
1407 (bui (assoc-ref %build-inputs "bui"))
1408 (magit-popup (assoc-ref %build-inputs "magit-popup"))
1409 (site-lisp "/share/emacs/site-lisp"))
1410 (list (string-append "--with-guix-site-dir="
1411 (car (find-files (string-append guix
1412 "/share/guile/site")
1413 (lambda (file stat)
1414 (string-prefix?
1415 "2."
1416 (basename file)))
1417 #:directories? #t)))
1418 (string-append "--with-guix-site-ccache-dir="
1419 (car (find-files (string-append guix "/lib/guile")
1420 (lambda (file stat)
1421 (string-prefix?
1422 "2." (basename file)))
1423 #:directories? #t))
1424 "/site-ccache")
1425 (string-append "--with-geiser-lispdir=" geiser site-lisp)
1426 (string-append "--with-dash-lispdir="
1427 dash site-lisp "/guix.d/dash-"
1428 ,(package-version emacs-dash))
1429 (string-append "--with-bui-lispdir="
1430 bui site-lisp "/guix.d/bui-"
1431 ,(package-version emacs-bui))
1432 (string-append "--with-popup-lispdir="
1433 magit-popup site-lisp "/guix.d/magit-popup-"
1434 ,(package-version emacs-magit-popup))))))
1435 (native-inputs
1436 `(("pkg-config" ,pkg-config)
1437 ("emacs" ,emacs-minimal)))
1438 (inputs
1439 `(("guile" ,guile-2.2)
1440 ("guix" ,guix)))
1441 (propagated-inputs
1442 `(("geiser" ,geiser)
1443 ("dash" ,emacs-dash)
1444 ("bui" ,emacs-bui)
1445 ("magit-popup" ,emacs-magit-popup)))
1446 (home-page "https://alezost.github.io/guix.el/")
1447 (synopsis "Emacs interface for GNU Guix")
1448 (description
1449 "Emacs-Guix provides a visual interface, tools and features for the GNU
1450 Guix package manager. Particularly, it allows you to do various package
1451 management tasks from Emacs. To begin with, run @code{M-x guix-about} or
1452 @code{M-x guix-help} command.")
1453 (license license:gpl3+)))
1454
1455 (define-public emacs-d-mode
1456 (package
1457 (name "emacs-d-mode")
1458 (version "2.0.8")
1459 (source (origin
1460 (method url-fetch)
1461 (uri (string-append
1462 "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/"
1463 "archive/" version ".tar.gz"))
1464 (sha256
1465 (base32
1466 "0knpgi55jm09282aqf8pv55zillpnpzf9f4sgm6gwsmvxf17xaw0"))))
1467 (build-system emacs-build-system)
1468 (propagated-inputs
1469 `(("emacs-undercover" ,emacs-undercover)))
1470 (home-page "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode")
1471 (synopsis "Emacs major mode for editing D code")
1472 (description "This package provides an Emacs major mode for highlighting
1473 code written in the D programming language. This mode is currently known to
1474 work with Emacs 24 and 25.")
1475 (license license:gpl2+)))
1476
1477 (define-public emacs-keyfreq
1478 (package
1479 (name "emacs-keyfreq")
1480 (version "20160516.716")
1481 (source
1482 (origin
1483 (method url-fetch)
1484 (uri (string-append "http://melpa.org/packages/keyfreq-"
1485 version ".el"))
1486 (sha256
1487 (base32
1488 "008hd7d06qskc3mx0bbdgpgy2pwxr8185fzlyqf9qjg49y74p6g8"))))
1489 (build-system emacs-build-system)
1490 (home-page "https://github.com/dacap/keyfreq")
1491 (synopsis "Track Emacs command frequencies")
1492 (description "@code{emacs-keyfeq} tracks and shows how many times you used
1493 a command.")
1494 (license license:gpl3+)))
1495
1496 (define-public emacs-undo-tree
1497 (package
1498 (name "emacs-undo-tree")
1499 (version "0.6.4")
1500 (source (origin
1501 (method git-fetch)
1502 (uri (git-reference
1503 (url "http://dr-qubit.org/git/undo-tree.git")
1504 (commit "release/0.6.4")))
1505 (file-name (string-append name "-" version "-checkout"))
1506 (sha256
1507 (base32
1508 "0b6hnv6bq1g5np5q2yw9r9aj1cxpp14akm21br7vpb7wp01fv4b3"))))
1509 (build-system emacs-build-system)
1510 (home-page "http://www.dr-qubit.org/emacs.php")
1511 (synopsis "Treat undo history as a tree")
1512 (description "Tree-like interface to Emacs undo system, providing
1513 graphical tree presentation of all previous states of buffer that
1514 allows easily move between them.")
1515 (license license:gpl3+)))
1516
1517 (define-public emacs-s
1518 (package
1519 (name "emacs-s")
1520 (version "1.11.0")
1521 (source (origin
1522 (method url-fetch)
1523 (uri (string-append
1524 "https://github.com/magnars/s.el/archive/"
1525 version ".tar.gz"))
1526 (file-name (string-append name "-" version ".tar.gz"))
1527 (sha256
1528 (base32
1529 "0krq5nz3llfx0vwdqn18pmq777ja0fac185w0h9qymppb1j1hvc2"))))
1530 (build-system emacs-build-system)
1531 (arguments
1532 `(#:phases
1533 (modify-phases %standard-phases
1534 (add-before 'install 'check
1535 (lambda _
1536 (zero? (system* "./run-tests.sh")))))))
1537 (home-page "https://github.com/magnars/s.el")
1538 (synopsis "Emacs string manipulation library")
1539 (description "This package provides an Emacs library for manipulating
1540 strings.")
1541 (license license:gpl3+)))
1542
1543 (define-public emacs-symon
1544 (package
1545 (name "emacs-symon")
1546 (version "20160630")
1547 (source
1548 (origin
1549 (method url-fetch)
1550 (uri (string-append "https://github.com/zk-phi/symon/archive/"
1551 version ".tar.gz"))
1552 (file-name (string-append name "-" version ".tar.gz"))
1553 (sha256
1554 (base32
1555 "0h4jcgdnq98wc9rj72nwyazq8498yg55jfljiij5qwbn1xf1g5zz"))))
1556 (build-system emacs-build-system)
1557 (home-page "https://github.com/zk-phi/symon")
1558 (synopsis "Tiny graphical system monitor")
1559 (description
1560 "Tiny graphical system monitor for the Emacs minibuffer when idle.")
1561 (license license:gpl2+)))
1562
1563 (define-public emacs-sx
1564 (package
1565 (name "emacs-sx")
1566 (version "0.4")
1567 (source (origin
1568 (method url-fetch)
1569 (uri (string-append "https://github.com/vermiculus/sx.el/"
1570 "archive/v" version ".tar.gz"))
1571 (file-name (string-append name "-" version ".tar.gz"))
1572 (sha256
1573 (base32
1574 "1w0xghfljqg31axcnv8gzlrd8pw25nji6idnrhflq0af9qh1dw03"))))
1575 (build-system emacs-build-system)
1576 (propagated-inputs
1577 `(("emacs-markdown-mode" ,emacs-markdown-mode)))
1578 (home-page "https://github.com/vermiculus/sx.el/")
1579 (synopsis "Emacs StackExchange client")
1580 (description
1581 "Emacs StackExchange client. Ask and answer questions on
1582 Stack Overflow, Super User, and other StackExchange sites.")
1583 (license license:gpl3+)))
1584
1585 (define-public emacs-f
1586 (package
1587 (name "emacs-f")
1588 (version "0.18.2")
1589 (source (origin
1590 (method url-fetch)
1591 (uri (string-append
1592 "https://github.com/rejeep/f.el/archive/v"
1593 version ".tar.gz"))
1594 (file-name (string-append name "-" version ".tar.gz"))
1595 (sha256
1596 (base32
1597 "1926shh2ymdsgz05c6q181mzzz1rci99ch568j151xi865jinyg5"))))
1598 (build-system emacs-build-system)
1599 (propagated-inputs
1600 `(("emacs-s" ,emacs-s)
1601 ("emacs-dash" ,emacs-dash)))
1602 (home-page "https://github.com/rejeep/f.el")
1603 (synopsis "Emacs API for working with files and directories")
1604 (description "This package provides an Emacs library for working with
1605 files and directories.")
1606 (license license:gpl3+)))
1607
1608 (define-public emacs-git-gutter
1609 (package
1610 (name "emacs-git-gutter")
1611 (version "0.90")
1612 (source (origin
1613 (method url-fetch)
1614 (uri (string-append
1615 "https://github.com/syohex/" name "/archive/"
1616 version ".tar.gz"))
1617 (file-name (string-append name "-" version ".tar.gz"))
1618 (sha256
1619 (base32
1620 "1nmhvhpq1l56mj2yq3ag23rw3x4xgnsy8szp30s26l0yjnkhc4qg"))))
1621 (build-system emacs-build-system)
1622 (home-page "https://github.com/syohex/emacs-git-gutter")
1623 (synopsis "See and manage hunks of text in a version control system")
1624 (description
1625 "This package is an Emacs minor mode for displaying and interacting with
1626 hunks of text managed in a version control system. Added modified and deleted
1627 areas can be indicated with symbols on the edge of the buffer, and commands
1628 can be used to move between and perform actions on these hunks.
1629
1630 Git, Mercurial, Subversion and Bazaar are supported, and many parts of the
1631 display and behaviour is easily customisable.")
1632 (license license:gpl3+)))
1633
1634 (define-public emacs-git-timemachine
1635 (package
1636 (name "emacs-git-timemachine")
1637 (version "3.0")
1638 (source
1639 (origin
1640 (method url-fetch)
1641 (uri (string-append "https://github.com/pidu/git-timemachine/"
1642 "archive/" version ".tar.gz"))
1643 (file-name (string-append name "-" version ".tar.gz"))
1644 (sha256
1645 (base32
1646 "1l4g0r69wfrnjsywv03v4bpdd53byg6zdx6mzabfxyymss3kvisa"))))
1647 (build-system emacs-build-system)
1648 (home-page "https://github.com/pidu/git-timemachine")
1649 (synopsis "Step through historic versions of Git-controlled files")
1650 (description "This package enables you to step through historic versions
1651 of files under Git version control from within Emacs.")
1652 (license license:gpl3+)))
1653
1654 (define-public emacs-minitest
1655 (package
1656 (name "emacs-minitest")
1657 (version "0.8.0")
1658 (source (origin
1659 (method url-fetch)
1660 (uri (string-append
1661 "https://github.com/arthurnn/minitest-emacs/archive/v"
1662 version ".tar.gz"))
1663 (file-name (string-append name "-" version ".tar.gz"))
1664 (sha256
1665 (base32
1666 "1dsb7kzvs1x6g4sgqmq73jqacb7wzm0wfkiq5m9dqdzq8mppgiqs"))))
1667 (build-system emacs-build-system)
1668 (arguments
1669 '(#:include (cons "^snippets\\/minitest-mode\\/" %default-include)
1670 #:exclude (delete "^[^/]*tests?\\.el$" %default-exclude)))
1671 (propagated-inputs
1672 `(("emacs-dash" ,emacs-dash)
1673 ("emacs-f" ,emacs-f)))
1674 (home-page "https://github.com/arthurnn/minitest-emacs")
1675 (synopsis "Emacs minitest mode")
1676 (description
1677 "The minitest mode provides commands to run the tests for the current
1678 file or line, as well as rerunning the previous tests, or all the tests for a
1679 project.
1680
1681 This package also includes relevant snippets for yasnippet.")
1682 (license license:expat)))
1683
1684 (define-public emacs-el-mock
1685 (package
1686 (name "emacs-el-mock")
1687 (version "1.25.1")
1688 (source
1689 (origin
1690 (method url-fetch)
1691 (uri (string-append "https://github.com/rejeep/el-mock.el/"
1692 "archive/v" version ".tar.gz"))
1693 (file-name (string-append name "-" version ".tar.gz"))
1694 (sha256
1695 (base32
1696 "16xw94n58xxn3zvgyj72bmzs0k5lkvswjmzs79ws9n7rzdivb38b"))))
1697 (build-system emacs-build-system)
1698 (home-page "https://github.com/rejeep/el-mock.el")
1699 (synopsis "Tiny mock and stub framework in Emacs Lisp")
1700 (description
1701 "Emacs Lisp Mock is a library for mocking and stubbing using readable
1702 syntax. Most commonly Emacs Lisp Mock is used in conjunction with Emacs Lisp
1703 Expectations, but it can be used in other contexts.")
1704 (license license:gpl3+)))
1705
1706 (define-public emacs-espuds
1707 (package
1708 (name "emacs-espuds")
1709 (version "0.3.3")
1710 (source
1711 (origin
1712 (method url-fetch)
1713 (uri (string-append "https://github.com/ecukes/espuds/"
1714 "archive/v" version ".tar.gz"))
1715 (file-name (string-append name "-" version ".tar.gz"))
1716 (sha256
1717 (base32
1718 "0xv551376pbmh735a3zjwc9z4qdx6ngj1vpq3xqjpn0a1rwjyn4k"))))
1719 (build-system emacs-build-system)
1720 (propagated-inputs
1721 `(("emacs-s" ,emacs-s)
1722 ("emacs-dash" ,emacs-dash)
1723 ("emacs-f" ,emacs-f)))
1724 (home-page "https://github.com/ecukes/espuds")
1725 (synopsis "Common step definitions for Ecukes")
1726 (description "Espuds is a collection of the most commonly used step
1727 definitions for testing with the Ecukes framework.")
1728 (license license:gpl3+)))
1729
1730 (define-public emacs-es-mode
1731 (package
1732 (name "emacs-es-mode")
1733 (version "4.2.0")
1734 (source (origin
1735 (method url-fetch)
1736 (uri (string-append
1737 "https://github.com/dakrone/es-mode/archive/"
1738 version ".tar.gz"))
1739 (file-name (string-append name "-" version ".tar.gz"))
1740 (sha256
1741 (base32
1742 "02as82clm553yss7jfjac888308zr1h2229cch4z1yij70j25c8y"))))
1743 (build-system emacs-build-system)
1744 (propagated-inputs
1745 ;; The version of org in Emacs 24.5 is not sufficient, and causes tables
1746 ;; to be rendered incorrectly
1747 `(("emacs-org" ,emacs-org)))
1748 (home-page "https://github.com/dakrone/es-mode")
1749 (synopsis "Major mode for editing Elasticsearch queries")
1750 (description "@code{es-mode} includes highlighting, completion and
1751 indentation support for Elasticsearch queries. Also supported are
1752 @code{es-mode} blocks in @code{org-mode}, for which the results of queries can
1753 be processed through @code{jq}, or in the case of aggregations, can be
1754 rendered in to a table. In addition, there is an @code{es-command-center}
1755 mode, which displays information about Elasticsearch clusters.")
1756 (license license:gpl3+)))
1757
1758 (define-public emacs-expand-region
1759 (package
1760 (name "emacs-expand-region")
1761 (version "0.11.0")
1762 (source
1763 (origin
1764 (method url-fetch)
1765 (uri (string-append "https://github.com/magnars/expand-region.el"
1766 "/archive/" version ".tar.gz"))
1767 (file-name (string-append name "-" version ".tar.gz"))
1768 (sha256
1769 (base32
1770 "08dy1f411sh9wwww53rjw80idcf3vpki6ba2arl4hl5jcw9651g0"))))
1771 (build-system emacs-build-system)
1772 (home-page "https://github.com/magnars/expand-region.el")
1773 (synopsis "Increase selected region by semantic units")
1774 (description
1775 "Expand region increases the selected region by semantic units. Just
1776 keep pressing the key until it selects what you want. There's also
1777 @code{er/contract-region} if you expand too far.")
1778 (license license:gpl3+)))
1779
1780 (define-public emacs-fill-column-indicator
1781 (package
1782 (name "emacs-fill-column-indicator")
1783 (version "1.81")
1784 (source
1785 (origin
1786 (method url-fetch)
1787 (uri (string-append "https://github.com/alpaker/Fill-Column-Indicator"
1788 "/archive/v" version ".tar.gz"))
1789 (file-name (string-append name "-" version ".tar.gz"))
1790 (sha256
1791 (base32
1792 "1xwyqbjbbicmvhlb85vg4j5snwy1vd7rfk89ws4viws5ljkhhyg8"))))
1793 (build-system emacs-build-system)
1794 (home-page "https://www.emacswiki.org/emacs/FillColumnIndicator")
1795 (synopsis "Graphically indicate the fill column")
1796 (description
1797 "Fill-column-indicator graphically indicates the location of the fill
1798 column by drawing a thin line down the length of the editing window.")
1799 (license license:gpl3+)))
1800
1801 (define-public emacs-inf-ruby
1802 (package
1803 (name "emacs-inf-ruby")
1804 (version "2.5.1")
1805 (source
1806 (origin
1807 (method url-fetch)
1808 (uri (string-append "https://github.com/nonsequitur/inf-ruby/"
1809 "archive/" version ".tar.gz"))
1810 (file-name (string-append name "-" version ".tar.gz"))
1811 (sha256
1812 (base32
1813 "0m7323k649ckxql1grsdnf71bjhys7l4qb8wbpphb1mr1q8i4066"))))
1814 (build-system emacs-build-system)
1815 (home-page "https://github.com/nonsequitur/inf-ruby")
1816 (synopsis "Provides a REPL buffer connected to a Ruby subprocess in Emacs")
1817 (description
1818 "@code{inf-ruby} provides a Read Eval Print Loop (REPL) buffer, allowing
1819 for easy interaction with a ruby subprocess. Features include support for
1820 detecting specific uses of Ruby, e.g. when using rails, and using a
1821 appropriate console.")
1822 (license license:gpl3+)))
1823
1824 (define-public emacs-znc
1825 (package
1826 (name "emacs-znc")
1827 (version "0.0.2")
1828 (source
1829 (origin
1830 (method url-fetch)
1831 (uri (string-append "https://marmalade-repo.org/packages/znc-"
1832 version ".el"))
1833 (sha256
1834 (base32
1835 "1d8lqvybgyazin5z0g1c4l3rg1vzrrvf0saqs53jr1zcdg0lianh"))))
1836 (build-system emacs-build-system)
1837 (home-page "https://github.com/sshirokov/ZNC.el")
1838 (synopsis "Make ERC and ZNC get along better")
1839 (description
1840 "This is a thin wrapper around @code{erc} that enables one to use the ZNC
1841 IRC bouncer with ERC.")
1842 (license license:expat)))
1843
1844 (define-public emacs-shut-up
1845 (package
1846 (name "emacs-shut-up")
1847 (version "0.3.2")
1848 (source
1849 (origin
1850 (method url-fetch)
1851 (uri (string-append "https://github.com/cask/shut-up/"
1852 "archive/v" version ".tar.gz"))
1853 (file-name (string-append name "-" version ".tar.gz"))
1854 (sha256
1855 (base32
1856 "09kzrjdkb569iviyg7ydwq44yh84m3f9hkl7jizfrlk0w4gz67d1"))))
1857 (build-system emacs-build-system)
1858 (home-page "https://github.com/cask/shut-up")
1859 (synopsis "Silence Emacs")
1860 (description "This package silences most output of Emacs when running an
1861 Emacs shell script.")
1862 (license license:expat)))
1863
1864 (define-public emacs-undercover
1865 (package
1866 (name "emacs-undercover")
1867 (version "0.6.0")
1868 (source
1869 (origin
1870 (method url-fetch)
1871 (uri (string-append "https://github.com/sviridov/undercover.el/"
1872 "archive/v" version ".tar.gz"))
1873 (file-name (string-append name "-" version ".tar.gz"))
1874 (sha256
1875 (base32
1876 "0f48fi0xnbsqs382rgh85m9mq1wdnr0yib7as9xhwzvq0hsr5m0a"))))
1877 (build-system emacs-build-system)
1878 (propagated-inputs
1879 `(("emacs-dash" ,emacs-dash)
1880 ("emacs-shut-up" ,emacs-shut-up)))
1881 (home-page "https://github.com/sviridov/undercover.el")
1882 (synopsis "Test coverage library for Emacs Lisp")
1883 (description
1884 "Undercover is a test coverage library for software written in Emacs
1885 Lisp.")
1886 (license license:expat)))
1887
1888 (define-public emacs-paren-face
1889 (package
1890 (name "emacs-paren-face")
1891 (version "1.0.0")
1892 (source
1893 (origin
1894 (method url-fetch)
1895 (uri (string-append "https://github.com/tarsius/paren-face/archive/"
1896 version ".tar.gz"))
1897 (file-name (string-append name "-" version ".tar.gz"))
1898 (sha256
1899 (base32
1900 "0y4qrhxa9332vsvr999jg7qj1ymnfgwpf591yi4a4jgg90pm7qnn"))))
1901 (build-system emacs-build-system)
1902 (home-page "https://github.com/tarsius/paren-face")
1903 (synopsis "Face for parentheses in lisp modes")
1904 (description
1905 "This library defines a face named @code{parenthesis} used just for
1906 parentheses. The intended purpose of this face is to make parentheses less
1907 visible in Lisp code by dimming them. Lispers probably don't need to be
1908 constantly made aware of the existence of the parentheses. Dimming them might
1909 be even more useful for people new to lisp who have not yet learned to
1910 subconsciously blend out the parentheses.")
1911 (license license:gpl3+)))
1912
1913 (define-public emacs-page-break-lines
1914 (package
1915 (name "emacs-page-break-lines")
1916 (version "0.11")
1917 (source
1918 (origin
1919 (method url-fetch)
1920 (uri (string-append "https://github.com/purcell/page-break-lines/"
1921 "archive/" version ".tar.gz"))
1922 (file-name (string-append name "-" version ".tar.gz"))
1923 (sha256
1924 (base32
1925 "1zzhziq5kbrm9rxk30kx2glz455fp1blqxg8cpcf6l8xl3w8z4pg"))))
1926 (build-system emacs-build-system)
1927 (home-page "https://github.com/purcell/page-break-lines")
1928 (synopsis "Display page breaks as tidy horizontal lines")
1929 (description
1930 "This library provides a global mode which displays form feed characters
1931 as horizontal rules.")
1932 (license license:gpl3+)))
1933
1934 (define-public emacs-simple-httpd
1935 (package
1936 (name "emacs-simple-httpd")
1937 (version "1.4.6")
1938 (source
1939 (origin
1940 (method url-fetch)
1941 (uri (string-append "https://github.com/skeeto/emacs-web-server/"
1942 "archive/" version ".tar.gz"))
1943 (file-name (string-append name "-" version ".tar.gz"))
1944 (sha256
1945 (base32
1946 "01r7h3imnj4qx1m53a2wjafvbylcyz5f9r2rg2cs7ky3chlg220r"))))
1947 (build-system emacs-build-system)
1948 (home-page "https://github.com/skeeto/emacs-http-server")
1949 (synopsis "HTTP server in pure Emacs Lisp")
1950 (description
1951 "This package provides a simple HTTP server written in Emacs Lisp to
1952 serve files and directory listings.")
1953 (license license:unlicense)))
1954
1955 (define-public emacs-skewer-mode
1956 (package
1957 (name "emacs-skewer-mode")
1958 (version "1.6.2")
1959 (source
1960 (origin
1961 (method url-fetch)
1962 (uri (string-append "https://github.com/skeeto/skewer-mode/archive/"
1963 version ".tar.gz"))
1964 (file-name (string-append name "-" version ".tar.gz"))
1965 (sha256
1966 (base32
1967 "07jpz374j0j964szy3zznrkyja2kpdl3xa87wh7349mzxivqxdx0"))))
1968 (build-system emacs-build-system)
1969 (propagated-inputs
1970 `(("emacs-simple-httpd" ,emacs-simple-httpd)
1971 ("emacs-js2-mode" ,emacs-js2-mode)))
1972 (home-page "https://github.com/skeeto/skewer-mode")
1973 (synopsis "Live web development in Emacs")
1974 (description
1975 "Skewer-mode provides live interaction with JavaScript, CSS, and HTML in
1976 a web browser. Expressions are sent on-the-fly from an editing buffer to be
1977 evaluated in the browser, just like Emacs does with an inferior Lisp process
1978 in Lisp modes.")
1979 (license license:unlicense)))
1980
1981 (define-public emacs-stripe-buffer
1982 (package
1983 (name "emacs-stripe-buffer")
1984 (version "0.2.5")
1985 (source
1986 (origin
1987 (method url-fetch)
1988 (uri (string-append "https://github.com/sabof/stripe-buffer/"
1989 "archive/" version ".tar.gz"))
1990 (file-name (string-append name "-" version ".tar.gz"))
1991 (sha256
1992 (base32
1993 "1p515dq7raly5hw94kiwm3vzsfih0d8af622q4ipvvljsm98aiik"))))
1994 (build-system emacs-build-system)
1995 (home-page "https://github.com/sabof/stripe-buffer/")
1996 (synopsis "Add stripes to list buffers")
1997 (description
1998 "This Emacs package adds faces to add stripes to list buffers and org
1999 tables.")
2000 (license license:gpl2+)))
2001
2002 (define-public emacs-rich-minority
2003 (package
2004 (name "emacs-rich-minority")
2005 (version "1.0.1")
2006 (source
2007 (origin
2008 (method url-fetch)
2009 (uri (string-append "https://github.com/Malabarba/rich-minority/"
2010 "archive/" version ".tar.gz"))
2011 (file-name (string-append name "-" version ".tar.gz"))
2012 (sha256
2013 (base32
2014 "1l0cb0q7kyi88nwfqd542psnkgwnjklpzc5rx32gzd3lkwkrbr8v"))))
2015 (build-system emacs-build-system)
2016 (home-page "https://github.com/Malabarba/rich-minority")
2017 (synopsis "Clean-up and beautify the list of minor modes")
2018 (description
2019 "This Emacs package hides and/or highlights minor modes in the
2020 mode-line.")
2021 (license license:gpl2+)))
2022
2023 (define-public emacs-rspec
2024 (package
2025 (name "emacs-rspec")
2026 (version "1.11")
2027 (source
2028 (origin
2029 (method url-fetch)
2030 (uri (string-append "https://github.com/pezra/rspec-mode/"
2031 "archive/v" version ".tar.gz"))
2032 (file-name (string-append name "-" version ".tar.gz"))
2033 (sha256
2034 (base32
2035 "1j0a7ms5516nlg60qfyn730pfxys6acm0rgyxh5xfkpi6jafgpvw"))))
2036 (build-system emacs-build-system)
2037 (home-page "https://github.com/pezra/rspec-mode")
2038 (synopsis "Provides a rspec mode for working with RSpec")
2039 (description
2040 "The Emacs RSpec mode provides keybindings for Ruby source files, e.g. to
2041 verify the spec associated with the current buffer, or entire project, as well
2042 as moving between the spec files, and coresponding code files.
2043
2044 Also included are keybindings for spec files and Dired buffers, as well as
2045 snippets for yasnippet.")
2046 (license license:gpl3+)))
2047
2048 (define-public emacs-smart-mode-line
2049 (package
2050 (name "emacs-smart-mode-line")
2051 (version "2.10.1")
2052 (source
2053 (origin
2054 (method url-fetch)
2055 (uri (string-append "https://github.com/Malabarba/smart-mode-line/"
2056 "archive/" version ".tar.gz"))
2057 (file-name (string-append name "-" version ".tar.gz"))
2058 (sha256
2059 (base32
2060 "0i9wajabrrsjzwd842q0m2611kf0q31p9hg1pdj81177gynkw8l8"))))
2061 (build-system emacs-build-system)
2062 (propagated-inputs
2063 `(("emacs-rich-minority" ,emacs-rich-minority)))
2064 (home-page "https://github.com/Malabarba/smart-mode-line")
2065 (synopsis "Color-coded smart mode-line")
2066 (description
2067 "Smart Mode Line is a mode-line theme for Emacs. It aims to be easy to
2068 read from small to large monitors by using colors, a prefix feature, and smart
2069 truncation.")
2070 (license license:gpl2+)))
2071
2072 (define-public emacs-shell-switcher
2073 (package
2074 (name "emacs-shell-switcher")
2075 (version "1.0.1")
2076 (source
2077 (origin
2078 (method url-fetch)
2079 (uri (string-append "https://github.com/DamienCassou/shell-switcher"
2080 "/archive/v" version ".tar.gz"))
2081 (file-name (string-append name "-" version ".tar.gz"))
2082 (sha256
2083 (base32
2084 "1c23mfkdqz2g9rixd9smm323vzlvhzz3ng34ambcqjfq309qb2nz"))))
2085 (build-system emacs-build-system)
2086 (home-page "https://github.com/DamienCassou/shell-switcher")
2087 (synopsis "Provide fast switching between shell buffers")
2088 (description
2089 "This package provides commands to quickly switch between shell buffers.")
2090 (license license:gpl3+)))
2091
2092 (define-public emacs-ob-ipython
2093 (package
2094 (name "emacs-ob-ipython")
2095 (version "20150704.8807064693")
2096 (source (origin
2097 (method git-fetch)
2098 (uri (git-reference
2099 (commit "880706469338ab59b5bb7dbe8460016f89755364")
2100 (url "https://github.com/gregsexton/ob-ipython.git")))
2101 (sha256
2102 (base32
2103 "1scf25snbds9ymagpny30ijbsg479r3nm0ih01dy4m9d0g7qryb7"))))
2104 (build-system emacs-build-system)
2105 (propagated-inputs
2106 `(("emacs-f" ,emacs-f)))
2107 (home-page "http://www.gregsexton.org")
2108 (synopsis "Org-Babel functions for IPython evaluation")
2109 (description "This package adds support to Org-Babel for evaluating Python
2110 source code using IPython.")
2111 (license license:gpl3+)))
2112
2113 (define-public emacs-debbugs
2114 (package
2115 (name "emacs-debbugs")
2116 (version "0.14")
2117 (source (origin
2118 (method url-fetch)
2119 (uri (string-append "https://elpa.gnu.org/packages/debbugs-"
2120 version ".tar"))
2121 (sha256
2122 (base32
2123 "07wgcvg038l88gxvjr0gjpjhyk743w22x1rqghz3gkmif0g70say"))))
2124 (build-system emacs-build-system)
2125 (arguments '(#:include '("\\.el$" "\\.wsdl$" "\\.info$")))
2126 (propagated-inputs
2127 `(("emacs-async" ,emacs-async)))
2128 (home-page "https://elpa.gnu.org/packages/debbugs.html")
2129 (synopsis "Access the Debbugs bug tracker in Emacs")
2130 (description
2131 "This package lets you access the @uref{http://bugs.gnu.org,GNU Bug
2132 Tracker} from within Emacs.
2133
2134 For instance, it defines the command @code{M-x debbugs-gnu} for listing bugs,
2135 and the command @code{M-x debbugs-gnu-search} for bug searching. If you
2136 prefer the listing of bugs as TODO items of @code{org-mode}, you could use
2137 @code{M-x debbugs-org} and related commands.
2138
2139 A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug
2140 Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.")
2141 (license license:gpl3+)))
2142
2143 (define-public emacs-deferred
2144 (package
2145 (name "emacs-deferred")
2146 (version "0.3.2")
2147 (home-page "https://github.com/kiwanami/emacs-deferred")
2148 (source (origin
2149 (method git-fetch)
2150 (uri (git-reference
2151 (url home-page)
2152 (commit (string-append "v" version))))
2153 (sha256
2154 (base32
2155 "0059jy01ni5irpgrj9fa81ayd9j25nvmjjm79ms3210ysx4pgqdr"))
2156 (file-name (string-append name "-" version))))
2157 (build-system emacs-build-system)
2158 ;; FIXME: Would need 'el-expectations' to actually run tests.
2159 (synopsis "Simple asynchronous functions for Emacs Lisp")
2160 (description
2161 "The @code{deferred.el} library provides support for asynchronous tasks.
2162 The API is almost the same as that of
2163 @uref{https://github.com/cho45/jsdeferred, JSDeferred}, a JavaScript library
2164 for asynchronous tasks.")
2165 (license license:gpl3+)))
2166
2167 (define-public butler
2168 (package
2169 (name "emacs-butler")
2170 (version "0.2.4")
2171 (home-page "https://github.com/AshtonKem/Butler")
2172 (source (origin
2173 (method git-fetch)
2174 (uri (git-reference
2175 (url home-page)
2176 (commit version)))
2177 (sha256
2178 (base32
2179 "1pii9dw4skq7nr4na6qxqasl36av8cwjp71bf1fgppqpcd9z8skj"))
2180 (file-name (string-append name "-" version))))
2181 (build-system emacs-build-system)
2182 (propagated-inputs
2183 `(("emacs-deferred" ,emacs-deferred)))
2184 (synopsis "Emacs client for Jenkins")
2185 (description
2186 "Butler provides an interface to connect to Jenkins continuous
2187 integration servers. Users can specify a list of server in the
2188 @code{butler-server-list} variable and then use @code{M-x butler-status} to
2189 view the build status of those servers' build jobs, and possibly to trigger
2190 build jobs.")
2191 (license license:gpl3+)))
2192
2193 (define-public emacs-company
2194 (package
2195 (name "emacs-company")
2196 (version "0.9.3")
2197 (source
2198 (origin
2199 (method url-fetch)
2200 (uri (string-append "https://github.com/company-mode/company-mode/archive/"
2201 version ".tar.gz"))
2202 (file-name (string-append name "-" version ".tar.gz"))
2203 (sha256
2204 (base32
2205 "1fyrpchpdmvszssy1qmsw41aqpv6q5rybvs1bw00nv9xdhiaq4vh"))))
2206 (build-system emacs-build-system)
2207 (arguments
2208 `(#:phases
2209 (modify-phases %standard-phases
2210 (add-before 'install 'check
2211 (lambda _
2212 ;; The company-files-candidates-normal-root test looks
2213 ;; for the /bin directory, but the build environment has
2214 ;; no /bin directory. Modify the test to look for the
2215 ;; /tmp directory.
2216 (substitute* "test/files-tests.el"
2217 (("/bin/") "/tmp/"))
2218 (zero? (system* "make" "test-batch")))))))
2219 (home-page "http://company-mode.github.io/")
2220 (synopsis "Modular text completion framework")
2221 (description
2222 "Company is a modular completion mechanism. Modules for retrieving
2223 completion candidates are called back-ends, modules for displaying them are
2224 front-ends. Company comes with many back-ends, e.g. @code{company-elisp}.
2225 These are distributed in separate files and can be used individually.")
2226 (license license:gpl3+)))
2227
2228 (define-public emacs-multiple-cursors
2229 (package
2230 (name "emacs-multiple-cursors")
2231 (version "1.4.0")
2232 (source
2233 (origin
2234 (method url-fetch)
2235 (uri (string-append "https://github.com/magnars/multiple-cursors.el/"
2236 "archive/" version ".tar.gz"))
2237 (file-name (string-append name "-" version ".tar.gz"))
2238 (sha256
2239 (base32
2240 "0hihihlvcvzayg5fnqzcg45fhvlmq6xlq58syy00rjwbry9w389k"))))
2241 (build-system emacs-build-system)
2242 (home-page "https://github.com/magnars/multiple-cursors.el")
2243 (synopsis "Multiple cursors for Emacs")
2244 (description
2245 "This package adds support to Emacs for editing text with multiple
2246 simultaneous cursors.")
2247 (license license:gpl3+)))
2248
2249 (define-public typo
2250 (package
2251 (name "emacs-typo")
2252 (version "1.1")
2253 (home-page "https://github.com/jorgenschaefer/typoel")
2254 (source (origin
2255 (method git-fetch)
2256 (uri (git-reference
2257 (url home-page)
2258 (commit (string-append "v" version))))
2259 (sha256
2260 (base32
2261 "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2"))
2262 (file-name (string-append name "-" version))))
2263 (build-system emacs-build-system)
2264 (synopsis "Minor mode for typographic editing")
2265 (description
2266 "This package provides two Emacs modes, @code{typo-mode} and
2267 @code{typo-global-mode}. These modes automatically insert Unicode characters
2268 for quotation marks, dashes, and ellipses. For example, typing @kbd{\"}
2269 automatically inserts a Unicode opening or closing quotation mark, depending
2270 on context.")
2271 (license license:gpl3+)))
2272
2273 (define-public emacs-scheme-complete
2274 (let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5"))
2275 (package
2276 (name "emacs-scheme-complete")
2277 (version (string-append "20151223." (string-take commit 8)))
2278 (source
2279 (origin
2280 (file-name (string-append name "-" version))
2281 (method git-fetch)
2282 (uri (git-reference
2283 (url "https://github.com/ashinn/scheme-complete.git")
2284 (commit commit)))
2285 (sha256
2286 (base32
2287 "141wn9l0m33w0g3dqmx8nxbfdny1r5xbr6ak61rsz21bk0qafs7x"))
2288 (patches
2289 (search-patches "emacs-scheme-complete-scheme-r5rs-info.patch"))))
2290 (build-system emacs-build-system)
2291 (home-page "https://github.com/ashinn/scheme-complete")
2292 (synopsis "Smart tab completion for Scheme in Emacs")
2293 (description
2294 "This file provides a single function, @code{scheme-smart-complete},
2295 which you can use for intelligent, context-sensitive completion for any Scheme
2296 implementation in Emacs. To use it just load this file and bind that function
2297 to a key in your preferred mode.")
2298 (license license:public-domain))))
2299
2300 (define-public emacs-mit-scheme-doc
2301 (package
2302 (name "emacs-mit-scheme-doc")
2303 (version "20140203")
2304 (source
2305 (origin
2306 (modules '((guix build utils)))
2307 (snippet
2308 ;; keep only file of interest
2309 '(begin
2310 (for-each delete-file '("dot-emacs.el" "Makefile"))
2311 (install-file "6.945-config/mit-scheme-doc.el" ".")
2312 (delete-file-recursively "6.945-config")))
2313 (file-name (string-append name "-" version ".tar.bz2"))
2314 (method url-fetch)
2315 (uri (string-append "http://groups.csail.mit.edu/mac/users/gjs/"
2316 "6.945/dont-panic/emacs-basic-config.tar.bz2"))
2317 (sha256
2318 (base32
2319 "0dqidg2bd66pawqfarvwca93w5gqf9mikn1k2a2rmd9ymfjpziq1"))))
2320 (build-system emacs-build-system)
2321 (inputs `(("mit-scheme" ,mit-scheme)))
2322 (arguments
2323 `(#:phases
2324 (modify-phases %standard-phases
2325 (add-after 'unpack 'configure-doc
2326 (lambda* (#:key inputs #:allow-other-keys)
2327 (let* ((mit-scheme-dir (assoc-ref inputs "mit-scheme"))
2328 (doc-dir (string-append mit-scheme-dir "/share/doc/"
2329 "mit-scheme-"
2330 ,(package-version mit-scheme))))
2331 (substitute* "mit-scheme-doc.el"
2332 (("http://www\\.gnu\\.org/software/mit-scheme/documentation/mit-scheme-ref/")
2333 (string-append "file:" doc-dir "/mit-scheme-ref/")))))))))
2334 (home-page "http://groups.csail.mit.edu/mac/users/gjs/6.945/dont-panic/")
2335 (synopsis "MIT-Scheme documentation lookup for Emacs")
2336 (description
2337 "This package provides a set of Emacs functions to search definitions of
2338 identifiers in the MIT-Scheme documentation.")
2339 (license license:gpl2+)))
2340
2341 (define-public emacs-constants
2342 (package
2343 (name "emacs-constants")
2344 (version "2.6")
2345 (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
2346 (source
2347 (origin
2348 (file-name (string-append name "-" version ".tar.gz"))
2349 (method url-fetch)
2350 (uri (string-append "https://github.com/fedeinthemix/emacs-constants"
2351 "/archive/v" version ".tar.gz"))
2352 (sha256
2353 (base32
2354 "0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n"))))
2355 (build-system emacs-build-system)
2356 (synopsis "Enter definition of constants into an Emacs buffer")
2357 (description
2358 "This package provides functions for inserting the definition of natural
2359 constants and units into an Emacs buffer.")
2360 (license license:gpl2+)))
2361
2362 (define-public emacs-tagedit
2363 (package
2364 (name "emacs-tagedit")
2365 (version "1.4.0")
2366 (source
2367 (origin
2368 (method url-fetch)
2369 (uri (string-append "https://github.com/magnars/tagedit/"
2370 "archive/" version ".tar.gz"))
2371 (file-name (string-append name "-" version ".tar.gz"))
2372 (sha256
2373 (base32
2374 "1apfnann4qklfdsmdi7icjsj18x7gwx8d83iqr4z25clszz95xfq"))))
2375 (build-system emacs-build-system)
2376 (propagated-inputs
2377 `(("emacs-s" ,emacs-s)
2378 ("emacs-dash" ,emacs-dash)))
2379 (home-page "https://github.com/magnars/tagedit")
2380 (synopsis "Some paredit-like features for html-mode")
2381 (description
2382 "This package provides a collection of paredit-like functions for editing
2383 in @code{html-mode}.")
2384 (license license:gpl3+)))
2385
2386 (define-public emacs-slime
2387 (package
2388 (name "emacs-slime")
2389 (version "2.19")
2390 (source
2391 (origin
2392 (file-name (string-append name "-" version ".tar.gz"))
2393 (method url-fetch)
2394 (uri (string-append
2395 "https://github.com/slime/slime/archive/v"
2396 version ".tar.gz"))
2397 (sha256
2398 (base32
2399 "1jhaq5cn89k45nzyl0jd12gmjxnh1bq9jlfwrxba342agxsscb0p"))))
2400 (build-system emacs-build-system)
2401 (native-inputs
2402 `(("texinfo" ,texinfo)))
2403 (arguments
2404 `(#:include '("\\.el$" "\\.lisp$" "\\.asd$" "contrib")
2405 #:exclude '("^slime-tests.el" "^contrib/test/"
2406 "^contrib/Makefile$" "^contrib/README.md$")
2407 #:phases
2408 (modify-phases %standard-phases
2409 (add-before 'install 'configure
2410 (lambda* _
2411 (emacs-substitute-variables "slime.el"
2412 ("inferior-lisp-program" "sbcl"))
2413 #t))
2414 (add-before 'install 'install-doc
2415 (lambda* (#:key outputs #:allow-other-keys)
2416 (let* ((out (assoc-ref outputs "out"))
2417 (info-dir (string-append out "/share/info"))
2418 (doc-dir (string-append out "/share/doc/"
2419 ,name "-" ,version))
2420 (doc-files '("doc/slime-refcard.pdf"
2421 "README.md" "NEWS" "PROBLEMS"
2422 "CONTRIBUTING.md")))
2423 (with-directory-excursion "doc"
2424 (substitute* "Makefile"
2425 (("infodir=/usr/local/info")
2426 (string-append "infodir=" info-dir)))
2427 (system* "make" "html/index.html")
2428 (system* "make" "slime.info")
2429 (install-file "slime.info" info-dir)
2430 (copy-recursively "html" (string-append doc-dir "/html")))
2431 (for-each (lambda (f)
2432 (install-file f doc-dir)
2433 (delete-file f))
2434 doc-files)
2435 (delete-file-recursively "doc")
2436 #t))))))
2437 (home-page "https://github.com/slime/slime")
2438 (synopsis "Superior Lisp Interaction Mode for Emacs")
2439 (description
2440 "SLIME extends Emacs with support for interactive programming in
2441 Common Lisp. The features are centered around @{slime-mode}, an Emacs
2442 minor mode that complements the standard @{lisp-mode}. While lisp-mode
2443 supports editing Lisp source files, @{slime-mode} adds support for
2444 interacting with a running Common Lisp process for compilation,
2445 debugging, documentation lookup, and so on.")
2446 (license license:gpl2+)))
2447
2448 (define-public emacs-popup
2449 (package
2450 (name "emacs-popup")
2451 (version "0.5.3")
2452 (source (origin
2453 (method url-fetch)
2454 (uri (string-append
2455 "https://github.com/auto-complete/popup-el/archive/v"
2456 version ".tar.gz"))
2457 (file-name (string-append name "-" version ".tar.gz"))
2458 (sha256
2459 (base32
2460 "1yrgfj8y69xmcb6kwgplhq68ndm9410qwh7sd2knnd1gchpphdc0"))))
2461 (build-system emacs-build-system)
2462 (home-page "https://github.com/auto-complete/popup-el")
2463 (synopsis "Visual Popup User Interface for Emacs")
2464 (description
2465 "Popup.el is a visual popup user interface library for Emacs.
2466 This provides a basic API and common UI widgets such as popup tooltips
2467 and popup menus.")
2468 (license license:gpl3+)))
2469
2470 (define-public emacs-god-mode
2471 (let ((commit "6cf0807b6555eb6fcf8387a4e3b667071ef38964")
2472 (revision "1"))
2473 (package
2474 (name "emacs-god-mode")
2475 (version (string-append "20151005.925."
2476 revision "-" (string-take commit 9)))
2477 (source
2478 (origin
2479 (method git-fetch)
2480 (uri (git-reference
2481 (url "https://github.com/chrisdone/god-mode.git")
2482 (commit commit)))
2483 (file-name (string-append name "-" version "-checkout"))
2484 (sha256
2485 (base32
2486 "1am415k4xxcva6y3vbvyvknzc6bma49pq3p85zmpjsdmsp18qdix"))))
2487 (build-system emacs-build-system)
2488 (home-page "https://github.com/chrisdone/god-mode")
2489 (synopsis "Minor mode for entering commands without modifier keys")
2490 (description
2491 "This package provides a global minor mode for entering Emacs commands
2492 without modifier keys. It's similar to Vim's separation of commands and
2493 insertion mode. When enabled all keys are implicitly prefixed with
2494 @samp{C-} (among other helpful shortcuts).")
2495 (license license:gpl3+))))
2496
2497 (define-public emacs-rfcview
2498 (package
2499 (name "emacs-rfcview")
2500 (version "0.13")
2501 (home-page "http://www.loveshack.ukfsn.org/emacs")
2502 (source (origin
2503 (method url-fetch)
2504 (uri "http://www.loveshack.ukfsn.org/emacs/rfcview.el")
2505 (sha256
2506 (base32
2507 "0ympj5rxig383zl2jf0pzdsa80nnq0dpvjiriq0ivfi98fj7kxbz"))))
2508 (build-system emacs-build-system)
2509 (synopsis "Prettify Request for Comments (RFC) documents")
2510 (description "The Internet Engineering Task Force (IETF) and the Internet
2511 Society (ISOC) publish various Internet-related protocols and specifications
2512 as \"Request for Comments\" (RFC) documents and Internet Standard (STD)
2513 documents. RFCs and STDs are published in a simple text form. This package
2514 provides an Emacs major mode, rfcview-mode, which makes it more pleasant to
2515 read these documents in Emacs. It prettifies the text and adds
2516 hyperlinks/menus for easier navigation. It also provides functions for
2517 browsing the index of RFC documents and fetching them from remote servers or
2518 local directories.")
2519 (license license:gpl3+)))
2520
2521 (define-public emacs-ffap-rfc-space
2522 (package
2523 (name "emacs-ffap-rfc-space")
2524 (version "12")
2525 (home-page "http://user42.tuxfamily.org/ffap-rfc-space/index.html")
2526 (source (origin
2527 (method url-fetch)
2528 (uri "http://download.tuxfamily.org/user42/ffap-rfc-space.el")
2529 (sha256
2530 (base32
2531 "1iv61dv57a73mdps7rn6zmgz7nqh14v0ninidyrasy45b1nv6gck"))))
2532 (build-system emacs-build-system)
2533 (synopsis "Make ffap recognize an RFC with a space before its number")
2534 (description "The Internet Engineering Task Force (IETF) and the
2535 Internet Society (ISOC) publish various Internet-related protocols and
2536 specifications as \"Request for Comments\" (RFC) documents. The
2537 built-in Emacs module \"ffap\" (Find File at Point) has the ability to
2538 recognize names at point which look like \"RFC1234\" and \"RFC-1234\"
2539 and load the appropriate RFC from a remote server. However, it fails
2540 to recognize a name like \"RFC 1234\". This package enhances ffap so
2541 that it correctly finds RFCs even when a space appears before the
2542 number.")
2543 (license license:gpl3+)))
2544
2545 (define-public emacs-org-bullets
2546 (package
2547 (name "emacs-org-bullets")
2548 (version "0.2.4")
2549 (source
2550 (origin
2551 (method url-fetch)
2552 (uri (string-append "https://github.com/sabof/org-bullets/archive/"
2553 version ".tar.gz"))
2554 (file-name (string-append name "-" version ".tar.gz"))
2555 (sha256
2556 (base32
2557 "1dyxvpb73vj80v8br2q9rf255hfphrgaw91fbvwdcd735np9pcnh"))))
2558 (build-system emacs-build-system)
2559 (home-page "https://github.com/sabof/org-bullets")
2560 (synopsis "Show bullets in org-mode as UTF-8 characters")
2561 (description
2562 "This package provides an Emacs minor mode causing bullets in
2563 @code{org-mode} to be rendered as UTF-8 characters.")
2564 (license license:gpl3+)))
2565
2566 (define-public emacs-org-pomodoro
2567 (package
2568 (name "emacs-org-pomodoro")
2569 (version "2.1.0")
2570 (source
2571 (origin
2572 (method url-fetch)
2573 (uri (string-append
2574 "https://github.com/lolownia/org-pomodoro/archive/"
2575 version ".tar.gz"))
2576 (file-name (string-append name "-" version ".tar.gz"))
2577 (sha256
2578 (base32
2579 "1jalsggw3q5kvj353f84x4nl04a5vmq07h75ggppy1627lb31zm4"))))
2580 (build-system emacs-build-system)
2581 (propagated-inputs
2582 `(("emacs-alert" ,emacs-alert)))
2583 (home-page "https://github.com/lolownia/org-pomodoro")
2584 (synopsis "Pomodoro technique for org-mode")
2585 (description "@code{emacs-org-pomodoro} adds very basic support for
2586 Pomodoro technique in Emacs org-mode.
2587
2588 Run @code{M-x org-pomodoro} for the task at point or select one of the
2589 last tasks that you clocked time for. Each clocked-in pomodoro starts
2590 a timer of 25 minutes and after each pomodoro a break timer of 5
2591 minutes is started automatically. Every 4 breaks a long break is
2592 started with 20 minutes. All values are customizable.")
2593 (license license:gpl3+)))
2594
2595 (define-public emacs-org-trello
2596 (package
2597 (name "emacs-org-trello")
2598 (version "0.7.9")
2599 (source (origin
2600 (method url-fetch)
2601 (uri (string-append
2602 "https://github.com/org-trello/org-trello/archive/"
2603 version ".tar.gz"))
2604 (file-name (string-append name "-" version ".tar.gz"))
2605 (sha256
2606 (base32
2607 "074dka8g673bj1ck5vavbjaij5jyniygdlw51mdds005wd2br9wf"))))
2608 (build-system emacs-build-system)
2609 (propagated-inputs
2610 `(("emacs-deferred" ,emacs-deferred)
2611 ("emacs-request" ,emacs-request)
2612 ("emacs-dash" ,emacs-dash)
2613 ("emacs-s" ,emacs-s)))
2614 (home-page "https://org-trello.github.io")
2615 (synopsis "Emacs minor mode for interacting with Trello")
2616 (description "This package provides an Emacs minor mode to extend
2617 @code{org-mode} with Trello abilities. Trello is an online project
2618 organizer.")
2619 (license license:gpl3+)))
2620
2621 (define-public emacs-zenburn-theme
2622 (package
2623 (name "emacs-zenburn-theme")
2624 (version "2.5")
2625 (source (origin
2626 (method url-fetch)
2627 (uri (string-append
2628 "https://github.com/bbatsov/zenburn-emacs/archive/v"
2629 version ".tar.gz"))
2630 (file-name (string-append name "-" version ".tar.gz"))
2631 (sha256
2632 (base32
2633 "03kfhzgbbbl8ivpzzky6qxw4j9mmp452m1sk7wikxmcalfnix0gn"))))
2634 (build-system emacs-build-system)
2635 (home-page "https://github.com/bbatsov/zenburn-emacs")
2636 (synopsis "Low contrast color theme for Emacs")
2637 (description
2638 "Zenburn theme is a port of the popular Vim Zenburn theme for Emacs.
2639 It is built on top of the custom theme support in Emacs 24 or later.")
2640 (license license:gpl3+)))
2641
2642 (define-public emacs-solarized-theme
2643 (package
2644 (name "emacs-solarized-theme")
2645 (version "1.2.2")
2646 (source (origin
2647 (method url-fetch)
2648 (uri (string-append "https://github.com/bbatsov/solarized-emacs/"
2649 "archive/v" version ".tar.gz"))
2650 (file-name (string-append name "-" version ".tar.gz"))
2651 (sha256
2652 (base32
2653 "1ha3slc6d9wi9ilkhmwrzkvf308n6ph7b0k69pk369s9304awxzx"))))
2654 (build-system emacs-build-system)
2655 (propagated-inputs
2656 `(("emacs-dash" ,emacs-dash)))
2657 (home-page "https://github.com/bbatsov/solarized-emacs")
2658 (synopsis "Port of the Solarized theme for Emacs")
2659 (description
2660 "Solarized for Emacs is a port of the Solarized theme for Vim. This
2661 package provides a light and a dark variant.")
2662 (license license:gpl3+)))
2663
2664 (define-public emacs-ahungry-theme
2665 (package
2666 (name "emacs-ahungry-theme")
2667 (version "1.4.0")
2668 (source
2669 (origin (method url-fetch)
2670 (uri (string-append "https://elpa.gnu.org/packages/ahungry-theme-"
2671 version ".tar"))
2672 (sha256
2673 (base32
2674 "1n8k12mfn01f20j0pyd7ycj77x0y3a008xc94frklaaqjc0v26s4"))))
2675 (build-system emacs-build-system)
2676 (home-page "https://github.com/ahungry/color-theme-ahungry")
2677 (synopsis "Ahungry color theme for Emacs")
2678 (description "Ahungry theme for Emacs provides bright and bold colors.
2679 If you load it from a terminal, you will be able to make use of the
2680 transparent background. If you load it from a GUI, it will default to a
2681 dark background.")
2682 (license license:gpl3+)))
2683
2684 (define-public emacs-2048-game
2685 (package
2686 (name "emacs-2048-game")
2687 (version "20151026.1233")
2688 (source
2689 (origin
2690 (method url-fetch)
2691 (uri (string-append "https://melpa.org/packages/2048-game-"
2692 version ".el"))
2693 (sha256
2694 (base32
2695 "0gy2pvz79whpavp4jmz8h9krzn7brmvv3diixi1d4w51pcdvaldd"))))
2696 (build-system emacs-build-system)
2697 (home-page "https://bitbucket.org/zck/2048.el")
2698 (synopsis "Implementation of the game 2048 in Emacs Lisp")
2699 (description
2700 "This program is an implementation of 2048 for Emacs.
2701 The goal of this game is to create a tile with value 2048. The size of the
2702 board and goal value can be customized.")
2703 (license license:gpl3+)))
2704
2705 (define-public emacs-base16-theme
2706 (package
2707 (name "emacs-base16-theme")
2708 (version "2.1")
2709 (source
2710 (origin
2711 (method url-fetch)
2712 (uri (string-append "https://stable.melpa.org/packages/base16-theme-"
2713 version ".tar"))
2714 (sha256
2715 (base32
2716 "0z6hrwz2jlz6jbr381rcqcqvx6hss5cad352klx07rark7zccacj"))))
2717 (build-system emacs-build-system)
2718 (home-page "https://github.com/belak/base16-emacs")
2719 (synopsis "Base16 color themes for Emacs")
2720 (description
2721 "Base16 provides carefully chosen syntax highlighting and a default set
2722 of sixteen colors suitable for a wide range of applications. Base16 is not a
2723 single theme but a set of guidelines with numerous implementations.")
2724 (license license:expat)))
2725
2726 (define-public emacs-smartparens
2727 (package
2728 (name "emacs-smartparens")
2729 (version "1.10.1")
2730 (source (origin
2731 (method url-fetch)
2732 (uri (string-append
2733 "https://github.com/Fuco1/smartparens/archive/"
2734 version ".tar.gz"))
2735 (file-name (string-append name "-" version ".tar.gz"))
2736 (sha256
2737 (base32
2738 "1nwsi6fbbxjq3r22r6knmx71la3g0lmwfb95i9q4k138gn0m2l3i"))))
2739 (build-system emacs-build-system)
2740 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
2741 (home-page "https://github.com/Fuco1/smartparens")
2742 (synopsis "Paredit-like insertion, wrapping and navigation with user
2743 defined pairs")
2744 (description
2745 "Smartparens is a minor mode for Emacs that deals with parens pairs
2746 and tries to be smart about it. It started as a unification effort to
2747 combine functionality of several existing packages in a single,
2748 compatible and extensible way to deal with parentheses, delimiters, tags
2749 and the like. Some of these packages include autopair, textmate,
2750 wrap-region, electric-pair-mode, paredit and others. With the basic
2751 features found in other packages it also brings many improvements as
2752 well as completely new features.")
2753 (license license:gpl3+)))
2754
2755 (define-public emacs-highlight-symbol
2756 (package
2757 (name "emacs-highlight-symbol")
2758 (version "1.3")
2759 (source (origin
2760 (method url-fetch)
2761 (uri (string-append
2762 "https://github.com/nschum/highlight-symbol.el/archive/"
2763 version ".tar.gz"))
2764 (file-name (string-append name "-" version ".tar.gz"))
2765 (sha256
2766 (base32
2767 "1n7k1qns0fn0jsyc0hrjac5nzk21xw48yc30vyrhwvc51h0b9g90"))))
2768 (build-system emacs-build-system)
2769 (home-page "https://nschum.de/src/emacs/highlight-symbol")
2770 (synopsis "Automatic and manual symbol highlighting for Emacs")
2771 (description
2772 "Use @code{highlight-symbol} to toggle highlighting of the symbol at
2773 point throughout the current buffer. Use @code{highlight-symbol-mode} to keep
2774 the symbol at point highlighted.
2775
2776 The functions @code{highlight-symbol-next}, @code{highlight-symbol-prev},
2777 @code{highlight-symbol-next-in-defun} and
2778 @code{highlight-symbol-prev-in-defun} allow for cycling through the locations
2779 of any symbol at point. Use @code{highlight-symbol-nav-mode} to enable key
2780 bindings @code{M-p} and @code{M-p} for navigation. When
2781 @code{highlight-symbol-on-navigation-p} is set, highlighting is triggered
2782 regardless of @code{highlight-symbol-idle-delay}.
2783
2784 @code{highlight-symbol-query-replace} can be used to replace the symbol. ")
2785 (license license:gpl2+)))
2786
2787 (define-public emacs-hl-todo
2788 (package
2789 (name "emacs-hl-todo")
2790 (version "1.7.4")
2791 (source (origin
2792 (method url-fetch)
2793 (uri (string-append
2794 "https://raw.githubusercontent.com/tarsius/hl-todo/"
2795 version "/hl-todo.el"))
2796 (file-name (string-append "hl-todo-" version ".el"))
2797 (sha256
2798 (base32
2799 "016ivl4s0ysrm1xbfi86j5xcs759fcb0mkspxw81x8mpi3yb46ya"))))
2800 (build-system emacs-build-system)
2801 (home-page "https://github.com/tarsius/hl-todo")
2802 (synopsis "Emacs mode to highlight TODO and similar keywords")
2803 (description
2804 "This package provides an Emacs mode to highlight TODO and similar
2805 keywords in comments and strings. This package also provides commands for
2806 moving to the next or previous keyword and to invoke @code{occur} with a
2807 regexp that matches all known keywords.")
2808 (license license:gpl3+)))
2809
2810 (define-public emacs-perspective
2811 (package
2812 (name "emacs-perspective")
2813 (version "1.12")
2814 (source
2815 (origin
2816 (method url-fetch)
2817 (uri (string-append "https://github.com/nex3/perspective-el/"
2818 "archive/" version ".tar.gz"))
2819 (file-name (string-append name "-" version ".tar.gz"))
2820 (sha256
2821 (base32
2822 "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic"))))
2823 (build-system emacs-build-system)
2824 (home-page "https://github.com/nex3/perspective-el")
2825 (synopsis "Switch between named \"perspectives\"")
2826 (description
2827 "This package provides tagged workspaces in Emacs, similar to workspaces in
2828 windows managers such as Awesome and XMonad. @code{perspective.el} provides
2829 multiple workspaces (or \"perspectives\") for each Emacs frame. Each
2830 perspective is composed of a window configuration and a set of buffers.
2831 Switching to a perspective activates its window configuration, and when in a
2832 perspective only its buffers are available by default.")
2833 ;; This package is released under the same license as Emacs (GPLv3+) or
2834 ;; the Expat license.
2835 (license license:gpl3+)))
2836
2837 (define-public emacs-request
2838 (package
2839 (name "emacs-request")
2840 (version "0.2.0")
2841 (source (origin
2842 (method url-fetch)
2843 (uri (string-append
2844 "https://github.com/tkf/emacs-request/archive/v"
2845 version ".tar.gz"))
2846 (file-name (string-append name "-" version ".tar.gz"))
2847 (sha256
2848 (base32 "0sll9g9x15jxrdr58pdxx4iz74rnjd43q521iqm890i6hmkrgwap"))))
2849 (build-system emacs-build-system)
2850 (home-page "https://github.com/tkf/emacs-request")
2851 (synopsis "Package for speaking HTTP in Emacs Lisp")
2852 (description "This package provides a HTTP request library with multiple
2853 backends. It supports url.el which is shipped with Emacs and the curl command
2854 line program.")
2855 (license license:gpl3+)))
2856
2857 (define-public emacs-rudel
2858 (package
2859 (name "emacs-rudel")
2860 (version "0.3.1")
2861 (source
2862 (origin
2863 (method url-fetch)
2864 (uri (string-append "http://elpa.gnu.org/packages/rudel-"
2865 version ".tar"))
2866 (sha256
2867 (base32
2868 "0glqa68g509p0s2vcc0i8kzlddnc9brd9jqhnm5rzxz4i050cvnz"))))
2869 (build-system emacs-build-system)
2870 (home-page "http://rudel.sourceforge.net/")
2871 (synopsis "Collaborative editing framework")
2872 (description
2873 "Rudel is a collaborative editing environment for GNU Emacs. Its purpose
2874 is to share buffers with other users in order to edit the contents of those
2875 buffers collaboratively. Rudel supports multiple backends to enable
2876 communication with other collaborative editors using different protocols,
2877 though currently Obby (for use with the Gobby editor) is the only
2878 fully-functional one.")
2879 (license license:gpl3+)))
2880
2881 (define-public emacs-hydra
2882 (package
2883 (name "emacs-hydra")
2884 (version "0.13.6")
2885 (source
2886 (origin
2887 (method url-fetch)
2888 (uri (string-append "https://github.com/abo-abo/hydra/archive/"
2889 version ".tar.gz"))
2890 (file-name (string-append name "-" version ".tar.gz"))
2891 (sha256
2892 (base32
2893 "0575vh858gm35p57s49dy6pc2ij46dmj9zaa4z0cp98sqra3j3l0"))))
2894 (build-system emacs-build-system)
2895 (home-page "https://github.com/abo-abo/hydra")
2896 (synopsis "Make Emacs bindings that stick around")
2897 (description
2898 "This package can be used to tie related commands into a family of short
2899 bindings with a common prefix---a Hydra. Once you summon the Hydra (through
2900 the prefixed binding), all the heads can be called in succession with only a
2901 short extension. Any binding that isn't the Hydra's head vanquishes the
2902 Hydra. Note that the final binding, besides vanquishing the Hydra, will still
2903 serve its original purpose, calling the command assigned to it. This makes
2904 the Hydra very seamless; it's like a minor mode that disables itself
2905 automatically.")
2906 (license license:gpl3+)))
2907
2908 (define-public emacs-ivy
2909 (package
2910 (name "emacs-ivy")
2911 (version "0.9.1")
2912 (source
2913 (origin
2914 (method url-fetch)
2915 (uri (string-append "https://github.com/abo-abo/swiper/archive/"
2916 version ".tar.gz"))
2917 (file-name (string-append name "-" version ".tar.gz"))
2918 (sha256
2919 (base32
2920 "1abi1rvjarwfxxylpx8qlhck0kbavnj0nmlaaizk9q5zr02xfx1j"))))
2921 (build-system emacs-build-system)
2922 (propagated-inputs
2923 `(("emacs-hydra" ,emacs-hydra)))
2924 (home-page "http://oremacs.com/swiper/")
2925 (synopsis "Incremental vertical completion for Emacs")
2926 (description
2927 "This package provides @code{ivy-read} as an alternative to
2928 @code{completing-read} and similar functions. No attempt is made to determine
2929 the best candidate. Instead, the user can navigate candidates with
2930 @code{ivy-next-line} and @code{ivy-previous-line}. The matching is done by
2931 splitting the input text by spaces and re-building it into a regular
2932 expression.")
2933 (license license:gpl3+)))
2934
2935 (define-public emacs-avy
2936 (package
2937 (name "emacs-avy")
2938 (version "0.4.0")
2939 (source
2940 (origin
2941 (method url-fetch)
2942 (uri (string-append "https://github.com/abo-abo/avy/archive/"
2943 version ".tar.gz"))
2944 (file-name (string-append name "-" version ".tar.gz"))
2945 (sha256
2946 (base32
2947 "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
2948 (build-system emacs-build-system)
2949 (home-page "https://github.com/abo-abo/avy")
2950 (synopsis "Tree-based completion for Emacs")
2951 (description
2952 "This package provides a generic completion method based on building a
2953 balanced decision tree with each candidate being a leaf. To traverse the tree
2954 from the root to a desired leaf, typically a sequence of @code{read-key} can
2955 be used.
2956
2957 In order for @code{read-key} to make sense, the tree needs to be visualized
2958 appropriately, with a character at each branch node. So this completion
2959 method works only for things that you can see on your screen, all at once,
2960 such as the positions of characters, words, line beginnings, links, or
2961 windows.")
2962 (license license:gpl3+)))
2963
2964 (define-public emacs-ace-window
2965 (package
2966 (name "emacs-ace-window")
2967 (version "0.9.0")
2968 (source
2969 (origin
2970 (method url-fetch)
2971 (uri (string-append "https://github.com/abo-abo/ace-window/archive/"
2972 version ".tar.gz"))
2973 (file-name (string-append name "-" version ".tar.gz"))
2974 (sha256
2975 (base32
2976 "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn"))))
2977 (build-system emacs-build-system)
2978 (propagated-inputs
2979 `(("emacs-avy" ,emacs-avy)))
2980 (home-page "https://github.com/abo-abo/ace-window")
2981 (synopsis "Quickly switch windows in Emacs")
2982 (description
2983 "@code{ace-window} is meant to replace @code{other-window}.
2984 In fact, when there are only two windows present, @code{other-window} is
2985 called. If there are more, each window will have its first character
2986 highlighted. Pressing that character will switch to that window.")
2987 (license license:gpl3+)))
2988
2989 (define-public emacs-iedit
2990 (package
2991 (name "emacs-iedit")
2992 (version "0.9.9.9")
2993 (source
2994 (origin
2995 (method url-fetch)
2996 (uri (string-append "https://github.com/victorhge/iedit/archive/v"
2997 version ".tar.gz"))
2998 (file-name (string-append name "-" version ".tar.gz"))
2999 (sha256
3000 (base32
3001 "1hv8q6pr85ss9g3158l1fqv3m62vsq8rslsi86jicr2dcxyascr0"))))
3002 (build-system emacs-build-system)
3003 (home-page "http://www.emacswiki.org/emacs/Iedit")
3004 (synopsis "Edit multiple regions in the same way simultaneously")
3005 (description
3006 "This package is an Emacs minor mode and allows you to edit one
3007 occurrence of some text in a buffer (possibly narrowed) or region, and
3008 simultaneously have other occurrences edited in the same way.
3009
3010 You can also use Iedit mode as a quick way to temporarily show only the buffer
3011 lines that match the current text being edited. This gives you the effect of
3012 a temporary @code{keep-lines} or @code{occur}.")
3013 (license license:gpl3+)))
3014
3015 (define-public emacs-lispy
3016 (package
3017 (name "emacs-lispy")
3018 (version "0.26.0")
3019 (source
3020 (origin
3021 (method url-fetch)
3022 (uri (string-append "https://github.com/abo-abo/lispy/archive/"
3023 version ".tar.gz"))
3024 (file-name (string-append name "-" version ".tar.gz"))
3025 (sha256
3026 (base32
3027 "15gig95cvamw5zlw99cxggd27c18b9scznjj97gvjn2zbljcaqzl"))))
3028 (build-system emacs-build-system)
3029 (propagated-inputs
3030 `(("emacs-ace-window" ,emacs-ace-window)
3031 ("emacs-iedit" ,emacs-iedit)
3032 ("emacs-ivy" ,emacs-ivy)
3033 ("emacs-hydra" ,emacs-hydra)))
3034 (home-page "https://github.com/abo-abo/lispy")
3035 (synopsis "Modal S-expression editing")
3036 (description
3037 "Due to the structure of Lisp syntax it's very rare for the programmer to
3038 want to insert characters right before \"(\" or right after \")\". Thus
3039 unprefixed printable characters can be used to call commands when the point is
3040 at one of these special locations. Lispy provides unprefixed keybindings for
3041 S-expression editing when point is at the beginning or end of an
3042 S-expression.")
3043 (license license:gpl3+)))
3044
3045 (define-public emacs-clojure-mode
3046 (package
3047 (name "emacs-clojure-mode")
3048 (version "5.4.0")
3049 (source (origin
3050 (method url-fetch)
3051 (uri (string-append
3052 "https://github.com/clojure-emacs/clojure-mode/archive/"
3053 version ".tar.gz"))
3054 (file-name (string-append name "-" version ".tar.gz"))
3055 (sha256
3056 (base32
3057 "117mvjqh4nm8mvmwmmvy4qmkdg23ldlzk08y91g8b8ac8kxwqg81"))))
3058 (build-system emacs-build-system)
3059 (native-inputs
3060 `(("emacs-dash" ,emacs-dash)
3061 ("emacs-s" ,emacs-s)
3062 ("ert-runner" ,ert-runner)))
3063 (arguments
3064 `(#:phases
3065 (modify-phases %standard-phases
3066 (add-after 'install 'check
3067 (lambda _
3068 (zero? (system* "ert-runner")))))))
3069 (home-page "https://github.com/clojure-emacs/clojure-mode")
3070 (synopsis "Major mode for Clojure code")
3071 (description
3072 "This Emacs package provides font-lock, indentation, navigation and basic
3073 refactoring for the @uref{http://clojure.org, Clojure programming language}.
3074 It is recommended to use @code{clojure-mode} with paredit or smartparens.")
3075 (license license:gpl3+)))
3076
3077 (define-public emacs-epl
3078 (package
3079 (name "emacs-epl")
3080 (version "0.8")
3081 (source (origin
3082 (method url-fetch)
3083 (uri (string-append
3084 "https://github.com/cask/epl/archive/"
3085 version ".tar.gz"))
3086 (sha256
3087 (base32
3088 "1511n3a3f5gvaf2b4nh018by61ciyzi3y3603fzqma7p9hrckarc"))))
3089 (build-system emacs-build-system)
3090 (home-page "https://github.com/cask/epl")
3091 (synopsis "Emacs Package Library")
3092 (description
3093 "A package management library for Emacs, based on @code{package.el}.
3094
3095 The purpose of this library is to wrap all the quirks and hassle of
3096 @code{package.el} into a sane API.")
3097 (license license:gpl3+)))
3098
3099 (define-public emacs-queue
3100 (package
3101 (name "emacs-queue")
3102 (version "0.1.1")
3103 (source (origin
3104 (method url-fetch)
3105 (uri (string-append "https://elpa.gnu.org/packages/queue-"
3106 version ".el"))
3107 (sha256
3108 (base32
3109 "0jw24fxqnf9qcaf2nh09cnds1kqfk7hal35dw83x1ari95say391"))))
3110 (build-system emacs-build-system)
3111 (home-page "http://www.dr-qubit.org/tags/computing-code-emacs.html")
3112 (synopsis "Queue data structure for Emacs")
3113 (description
3114 "This Emacs library provides queue data structure. These queues can be
3115 used both as a first-in last-out (FILO) and as a first-in first-out (FIFO)
3116 stack, i.e. elements can be added to the front or back of the queue, and can
3117 be removed from the front. This type of data structure is sometimes called an
3118 \"output-restricted deque\".")
3119 (license license:gpl3+)))
3120
3121 (define-public emacs-pkg-info
3122 (package
3123 (name "emacs-pkg-info")
3124 (version "0.6")
3125 (source (origin
3126 (method url-fetch)
3127 (uri (string-append
3128 "https://github.com/lunaryorn/pkg-info.el/archive/"
3129 version ".tar.gz"))
3130 (file-name (string-append name "-" version ".tar.gz"))
3131 (sha256
3132 (base32
3133 "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5"))))
3134 (build-system emacs-build-system)
3135 (propagated-inputs `(("emacs-epl" ,emacs-epl)))
3136 (home-page "https://github.com/lunaryorn/pkg-info.el")
3137 (synopsis "Information about Emacs packages")
3138 (description
3139 "This library extracts information from the installed Emacs packages.")
3140 (license license:gpl3+)))
3141
3142 (define-public emacs-spinner
3143 (package
3144 (name "emacs-spinner")
3145 (version "1.7.3")
3146 (source (origin
3147 (method url-fetch)
3148 (uri (string-append "https://elpa.gnu.org/packages/spinner-"
3149 version ".el"))
3150 (sha256
3151 (base32
3152 "19kp1mmndbmw11sgvv2ggfjl4pyf5zrsbh3871f0965pw9z8vahd"))))
3153 (build-system emacs-build-system)
3154 (home-page "https://github.com/Malabarba/spinner.el")
3155 (synopsis "Emacs mode-line spinner for operations in progress")
3156 (description
3157 "This Emacs package adds spinners and progress-bars to the mode-line for
3158 ongoing operations.")
3159 (license license:gpl3+)))
3160
3161 (define-public emacs-sparql-mode
3162 (package
3163 (name "emacs-sparql-mode")
3164 (version "2.0.1")
3165 (source (origin
3166 (method url-fetch)
3167 (uri (string-append "https://github.com/ljos/sparql-mode/archive/"
3168 "v" version ".tar.gz"))
3169 (file-name (string-append name "-" version ".tar.gz"))
3170 (sha256
3171 (base32
3172 "1s93mkllxnhy7fw616cnnc2danacdlarys0g3cn89drh0llh53cv"))))
3173 (build-system emacs-build-system)
3174 (home-page "https://github.com/ljos/sparql-mode")
3175 (synopsis "SPARQL mode for Emacs")
3176 (description "This package provides a major mode for Emacs that provides
3177 syntax highlighting for SPARQL. It also provides a way to execute queries
3178 against a SPARQL HTTP endpoint, such as is provided by Fuseki. It is also
3179 possible to query other endpoints like DBPedia.")
3180 (license license:gpl3+)))
3181
3182 (define-public emacs-better-defaults
3183 (package
3184 (name "emacs-better-defaults")
3185 (version "0.1.3")
3186 (source
3187 (origin
3188 (method url-fetch)
3189 (uri (string-append "https://github.com/technomancy/better-defaults"
3190 "/archive/" version ".tar.gz"))
3191 (file-name (string-append name "-" version ".tar.gz"))
3192 (sha256
3193 (base32
3194 "08fg4zslzlxbvyil5g4gwvwd22fh4zsgqprs5wh9hv1rgc6757m2"))))
3195 (build-system emacs-build-system)
3196 (home-page "https://github.com/technomancy/better-defaults")
3197 (synopsis "Better defaults for Emacs")
3198 (description
3199 "Better defaults attempts to address the most obvious deficiencies of the
3200 Emacs default configuration in uncontroversial ways that nearly everyone can
3201 agree upon.")
3202 (license license:gpl3+)))
3203
3204 (define-public emacs-eprime
3205 (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
3206 (package
3207 (name "emacs-eprime")
3208 (version (string-append "20140513-" (string-take commit 7)))
3209 (source (origin
3210 (method url-fetch)
3211 (uri (string-append "https://raw.githubusercontent.com"
3212 "/AndrewHynes/eprime-mode/"
3213 commit "/eprime-mode.el"))
3214 (file-name (string-append "eprime-" version ".el"))
3215 (sha256
3216 (base32
3217 "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d"))))
3218 (build-system emacs-build-system)
3219 (home-page "https://github.com/AndrewHynes/eprime-mode")
3220 (synopsis "E-prime checking mode for Emacs")
3221 (description "This package provides an E-prime checking mode for Emacs
3222 that highlights non-conforming text. The subset of the English language called
3223 E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
3224 (license license:gpl3+))))
3225
3226 (define-public emacs-ess
3227 (package
3228 (name "emacs-ess")
3229 (version "16.04")
3230 (source (origin
3231 (method url-fetch)
3232 (uri (string-append "http://ess.r-project.org/downloads/ess/ess-"
3233 version ".tgz"))
3234 (sha256
3235 (base32
3236 "0w7mbbajn377gdmvnd21mpyr368b2ia46gq6cb99y4y5rspf9pcg"))))
3237 (build-system gnu-build-system)
3238 (arguments
3239 (let ((base-directory "/share/emacs/site-lisp/guix.d/ess"))
3240 `(#:tests? #f ; There is no test suite.
3241 #:make-flags (list (string-append "PREFIX=" %output)
3242 (string-append "ETCDIR=" %output "/"
3243 ,base-directory "/etc")
3244 (string-append "LISPDIR=" %output "/"
3245 ,base-directory))
3246 #:phases
3247 (modify-phases %standard-phases
3248 (delete 'configure)
3249 (add-before 'build 'more-shebang-patching
3250 (lambda* (#:key inputs #:allow-other-keys)
3251 (substitute* "Makeconf"
3252 (("SHELL = /bin/sh")
3253 (string-append "SHELL = " (which "sh"))))))
3254 ;; FIXME: the texlive-union insists on regenerating fonts. It stores
3255 ;; them in HOME, so it needs to be writeable.
3256 (add-before 'build 'set-HOME
3257 (lambda _ (setenv "HOME" "/tmp") #t))))))
3258 (inputs
3259 `(("emacs" ,emacs-minimal)
3260 ("r-minimal" ,r-minimal)))
3261 (native-inputs
3262 `(("perl" ,perl)
3263 ("texinfo" ,texinfo)
3264 ("texlive" ,(texlive-union (list texlive-latex-natbib
3265 texlive-latex-seminar
3266 texlive-latex-hyperref
3267 texlive-tex-texinfo)))))
3268 (home-page "http://ess.r-project.org/")
3269 (synopsis "Emacs mode for statistical analysis programs")
3270 (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
3271 Emacs. It is designed to support editing of scripts and interaction with
3272 various statistical analysis programs such as R and OpenBUGS.")
3273 (license license:gpl2+)))
3274
3275 (define-public emacs-smex
3276 (package
3277 (name "emacs-smex")
3278 (version "3.0")
3279 (source (origin
3280 (method url-fetch)
3281 (uri (string-append "https://raw.githubusercontent.com"
3282 "/nonsequitur/smex/" version "/smex.el"))
3283 (file-name (string-append "smex-" version ".el"))
3284 (sha256
3285 (base32
3286 "0ar310zx9k5y4i1vl2rawvi712xj9gx77160860jbs691p77cxqp"))))
3287 (build-system emacs-build-system)
3288 (home-page "https://github.com/nonsequitur/smex/")
3289 (synopsis "M-x interface with Ido-style fuzzy matching")
3290 (description
3291 "Smex is a M-x enhancement for Emacs. Built on top of Ido, it provides a
3292 convenient interface to your recently and most frequently used commands. And
3293 to all the other commands, too.")
3294 (license license:gpl3+)))
3295
3296 (define-public emacs-js2-mode
3297 (package
3298 (name "emacs-js2-mode")
3299 (version "20150909")
3300 (source (origin
3301 (method url-fetch)
3302 (uri (string-append "https://github.com/mooz/js2-mode/archive/"
3303 version ".tar.gz"))
3304 (file-name (string-append name "-" version ".tar.gz"))
3305 (sha256
3306 (base32
3307 "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0"))))
3308 (build-system emacs-build-system)
3309 (home-page "https://github.com/mooz/js2-mode/")
3310 (synopsis "Improved JavaScript editing mode for Emacs")
3311 (description
3312 "Js2-mode provides a JavaScript major mode for Emacs that is more
3313 advanced than the built-in javascript-mode. Features include accurate syntax
3314 highlighting using a recursive-descent parser, on-the-fly reporting of syntax
3315 errors and strict-mode warnings, smart line-wrapping within comments and
3316 strings, and code folding.")
3317 (license license:gpl3+)))
3318
3319 (define-public emacs-markdown-mode
3320 (package
3321 (name "emacs-markdown-mode")
3322 (version "2.2")
3323 (source (origin
3324 (method url-fetch)
3325 (uri (string-append "https://raw.githubusercontent.com/jrblevin"
3326 "/markdown-mode/v" version
3327 "/markdown-mode.el"))
3328 (file-name (string-append "markdown-mode-" version ".el"))
3329 (sha256
3330 (base32
3331 "04isd2sdnms9acpmkd6n7b7y7j0x2kank2kry0zwbxs3bwdavgav"))))
3332 (build-system emacs-build-system)
3333 (home-page "http://jblevins.org/projects/markdown-mode/")
3334 (synopsis "Emacs Major mode for Markdown files")
3335 (description
3336 "Markdown-mode is a major mode for editing Markdown-formatted text files
3337 in Emacs.")
3338 (license license:gpl3+)))
3339
3340 (define-public emacs-projectile
3341 (package
3342 (name "emacs-projectile")
3343 (version "0.14.0")
3344 (source (origin
3345 (method url-fetch)
3346 (uri (string-append "https://raw.githubusercontent.com/bbatsov"
3347 "/projectile/v" version "/projectile.el"))
3348 (file-name (string-append "projectile-" version ".el"))
3349 (sha256
3350 (base32
3351 "1ql1wnzhblbwnv66hf2y0wq45g71hh6s9inc090lmhm1vgylbd1f"))))
3352 (build-system emacs-build-system)
3353 (propagated-inputs
3354 `(("emacs-dash" ,emacs-dash)
3355 ("emacs-pkg-info" ,emacs-pkg-info)))
3356 (home-page "https://github.com/bbatsov/projectile")
3357 (synopsis "Manage and navigate projects in Emacs easily")
3358 (description
3359 "This library provides easy project management and navigation. The
3360 concept of a project is pretty basic - just a folder containing special file.
3361 Currently git, mercurial and bazaar repos are considered projects by default.
3362 If you want to mark a folder manually as a project just create an empty
3363 .projectile file in it.")
3364 (license license:gpl3+)))
3365
3366 (define-public emacs-elfeed
3367 (package
3368 (name "emacs-elfeed")
3369 (version "2.1.1")
3370 (source (origin
3371 (method url-fetch)
3372 (uri (string-append "https://github.com/skeeto/elfeed/archive/"
3373 version ".tar.gz"))
3374 (file-name (string-append name "-" version ".tar.gz"))
3375 (sha256
3376 (base32
3377 "1wlwc8fbkg6w1c8p856ikc20xm72f51clnzz419p0g8cavy27npw"))))
3378 (build-system emacs-build-system)
3379 (arguments
3380 `(#:phases
3381 (modify-phases %standard-phases
3382 (add-before 'install 'check
3383 (lambda _
3384 (zero? (system* "make" "test")))))))
3385 (home-page "https://github.com/skeeto/elfeed")
3386 (synopsis "Atom/RSS feed reader for Emacs")
3387 (description
3388 "Elfeed is an extensible web feed reader for Emacs, supporting both Atom
3389 and RSS, with a user interface inspired by notmuch.")
3390 (license license:gpl3+)))
3391
3392 (define-public emacs-rainbow-delimiters
3393 (package
3394 (name "emacs-rainbow-delimiters")
3395 (version "2.1.3")
3396 (source (origin
3397 (method url-fetch)
3398 (uri (string-append "https://raw.githubusercontent.com/Fanael"
3399 "/rainbow-delimiters/" version
3400 "/rainbow-delimiters.el"))
3401 (file-name (string-append "rainbow-delimiters-" version ".el"))
3402 (sha256
3403 (base32
3404 "1b3kampwsjabhcqdp0khgff13wc5jqhy3rbvaa12vnv7qy22l9ck"))))
3405 (build-system emacs-build-system)
3406 (home-page "https://github.com/Fanael/rainbow-delimiters")
3407 (synopsis "Highlight brackets according to their depth")
3408 (description
3409 "Rainbow-delimiters is a \"rainbow parentheses\"-like mode for Emacs which
3410 highlights parentheses, brackets, and braces according to their depth. Each
3411 successive level is highlighted in a different color, making it easy to spot
3412 matching delimiters, orient yourself in the code, and tell which statements
3413 are at a given level.")
3414 (license license:gpl3+)))
3415
3416 (define-public emacs-rainbow-identifiers
3417 (package
3418 (name "emacs-rainbow-identifiers")
3419 (version "0.2.2")
3420 (source (origin
3421 (method url-fetch)
3422 (uri (string-append "https://raw.githubusercontent.com/Fanael"
3423 "/rainbow-identifiers/" version
3424 "/rainbow-identifiers.el"))
3425 (file-name (string-append "rainbow-identifiers-" version ".el"))
3426 (sha256
3427 (base32
3428 "0325abxj47k0g1i8nqrq70w2wr6060ckhhf92krv1s072b3jzm31"))))
3429 (build-system emacs-build-system)
3430 (home-page "https://github.com/Fanael/rainbow-identifiers")
3431 (synopsis "Highlight identifiers in source code")
3432 (description
3433 "Rainbow identifiers mode is an Emacs minor mode providing highlighting of
3434 identifiers based on their names. Each identifier gets a color based on a hash
3435 of its name.")
3436 (license license:bsd-2)))
3437
3438 (define-public emacs-rainbow-mode
3439 (package
3440 (name "emacs-rainbow-mode")
3441 (version "0.13")
3442 (source (origin
3443 (method url-fetch)
3444 (uri (string-append
3445 "http://elpa.gnu.org/packages/rainbow-mode-" version ".el"))
3446 (sha256
3447 (base32
3448 "1d3aamx6qgqqpqijwsr02ggwrh67gfink1bir0692alfkm3zdddl"))))
3449 (build-system emacs-build-system)
3450 (home-page "http://elpa.gnu.org/packages/rainbow-mode.html")
3451 (synopsis "Colorize color names in buffers")
3452 (description
3453 "This minor mode sets background color to strings that match color
3454 names, e.g. #0000ff is displayed in white with a blue background.")
3455 (license license:gpl3+)))
3456
3457 (define-public emacs-visual-fill-column
3458 (package
3459 (name "emacs-visual-fill-column")
3460 (version "1.7")
3461 (source (origin
3462 (method url-fetch)
3463 (uri (string-append "https://codeload.github.com/joostkremers/"
3464 "visual-fill-column/tar.gz/" version))
3465 (file-name (string-append name "-" version ".tar.gz"))
3466 (sha256
3467 (base32
3468 "12vn7kdq2mpz9hgibbn1vhpf23lcm7c26k3fkz8nidhygwl5x5lq"))))
3469 (build-system emacs-build-system)
3470 (home-page "https://github.com/joostkremers/visual-fill-column")
3471 (synopsis "Fill-column for visual-line-mode")
3472 (description
3473 "@code{visual-fill-column-mode} is a small Emacs minor mode that mimics
3474 the effect of @code{fill-column} in @code{visual-line-mode}. Instead of
3475 wrapping lines at the window edge, which is the standard behaviour of
3476 @code{visual-line-mode}, it wraps lines at @code{fill-column}. If
3477 @code{fill-column} is too large for the window, the text is wrapped at the
3478 window edge.")
3479 (license license:gpl3+)))
3480
3481 (define-public emacs-ido-completing-read+
3482 (package
3483 (name "emacs-ido-completing-read+")
3484 (version "3.12")
3485 (source (origin
3486 (method url-fetch)
3487 (uri (string-append "https://raw.githubusercontent.com"
3488 "/DarwinAwardWinner/ido-ubiquitous/v"
3489 version "/ido-completing-read+.el"))
3490 (file-name (string-append "ido-completing-read+-" version ".el"))
3491 (sha256
3492 (base32
3493 "1cyalb0p7nfsm4n6n9q6rjmvn6adqc0fq8ybnlj3n41n289dkfjf"))))
3494 (build-system emacs-build-system)
3495 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
3496 (synopsis "Replacement for completing-read using ido")
3497 (description
3498 "The ido-completing-read+ function is a wrapper for ido-completing-read.
3499 Importantly, it detects edge cases that ordinary ido cannot handle and either
3500 adjusts them so ido can handle them, or else simply falls back to the standard
3501 Emacs completion function instead.")
3502 (license license:gpl3+)))
3503
3504 (define-public emacs-ido-ubiquitous
3505 (package
3506 (name "emacs-ido-ubiquitous")
3507 (version "3.12")
3508 (source (origin
3509 (method url-fetch)
3510 (uri (string-append "https://raw.githubusercontent.com"
3511 "/DarwinAwardWinner/ido-ubiquitous/v"
3512 version "/ido-ubiquitous.el"))
3513 (file-name (string-append "ido-ubiquitous-" version ".el"))
3514 (sha256
3515 (base32
3516 "197ypji0fb6jsdcq40rpnknwlh3imas6s6jbsvkfm0pz9988c3q2"))))
3517 (build-system emacs-build-system)
3518 (propagated-inputs
3519 `(("emacs-ido-completing-read+" ,emacs-ido-completing-read+)))
3520 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
3521 (synopsis "Use ido (nearly) everywhere")
3522 (description
3523 "Ido-ubiquitous enables ido-style completion for almost every function
3524 that uses the standard completion function completing-read.")
3525 (license license:gpl3+)))
3526
3527 (define-public emacs-yaml-mode
3528 (package
3529 (name "emacs-yaml-mode")
3530 (version "0.0.13")
3531 (source (origin
3532 (method url-fetch)
3533 (uri (string-append "https://raw.githubusercontent.com/yoshiki"
3534 "/yaml-mode/v" version "/yaml-mode.el"))
3535 (file-name (string-append "yaml-mode-" version ".el"))
3536 (sha256
3537 (base32
3538 "0im88sk9dqw03x6d6zaspgvg9i0pfpgb8f2zygrmbifh2w4pwmvj"))))
3539 (build-system emacs-build-system)
3540 (home-page "https://github.com/yoshiki/yaml-mode")
3541 (synopsis "Major mode for editing YAML files")
3542 (description
3543 "Yaml-mode is an Emacs major mode for editing files in the YAML data
3544 serialization format. It was initially developed by Yoshiki Kurihara and many
3545 features were added by Marshall Vandegrift. As YAML and Python share the fact
3546 that indentation determines structure, this mode provides indentation and
3547 indentation command behavior very similar to that of python-mode.")
3548 (license license:gpl3+)))
3549
3550 (define-public emacs-web-mode
3551 (package
3552 (name "emacs-web-mode")
3553 (version "14")
3554 (source (origin
3555 (method url-fetch)
3556 (uri (string-append "https://raw.githubusercontent.com/fxbois"
3557 "/web-mode/v" version "/web-mode.el"))
3558 (file-name (string-append "web-mode-" version ".el"))
3559 (sha256
3560 (base32
3561 "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5"))))
3562 (build-system emacs-build-system)
3563 (synopsis "Major mode for editing web templates")
3564 (description "Web-mode is an Emacs major mode for editing web templates
3565 aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by
3566 client/server side engines). Web-mode is compatible with many template
3567 engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker,
3568 Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template,
3569 Dust.js, React/JSX, Angularjs, ejs, etc.")
3570 (home-page "http://web-mode.org/")
3571 (license license:gpl3+)))
3572
3573 (define-public emacs-wgrep
3574 (package
3575 (name "emacs-wgrep")
3576 (version "2.1.10")
3577 (source (origin
3578 (method url-fetch)
3579 (uri (string-append
3580 "https://github.com/mhayashi1120/Emacs-wgrep/archive/"
3581 version ".tar.gz"))
3582 (file-name (string-append name "-" version ".tar.gz"))
3583 (sha256
3584 (base32
3585 "1r2bpypar70xg6dsx12x1k74f39ww930rday7rgqpyknzsx1k4l1"))))
3586 (build-system emacs-build-system)
3587 (home-page "https://github.com/mhayashi1120/Emacs-wgrep")
3588 (synopsis "Edit a grep buffer and apply those changes to the files")
3589 (description
3590 "Emacs wgrep allows you to edit a grep buffer and apply those changes to
3591 the file buffer.")
3592 (license license:gpl3+)))
3593
3594 (define-public emacs-helm
3595 (package
3596 (name "emacs-helm")
3597 (version "2.7.1")
3598 (source (origin
3599 (method url-fetch)
3600 (uri (string-append
3601 "https://github.com/" name "/helm/archive/v"
3602 version ".tar.gz"))
3603 (file-name (string-append name "-" version ".tar.gz"))
3604 (sha256
3605 (base32
3606 "0pay8pi3fszykgskfbxsp4byad497cgfz4m886mxnkba1naxf6h7"))))
3607 (build-system emacs-build-system)
3608 (propagated-inputs
3609 `(("emacs-async" ,emacs-async)
3610 ("emacs-popup" ,emacs-popup)))
3611 (home-page "https://emacs-helm.github.io/helm/")
3612 (synopsis "Incremental completion and selection narrowing
3613 framework for Emacs")
3614 (description "Helm is incremental completion and selection narrowing
3615 framework for Emacs. It will help steer you in the right direction when
3616 you're looking for stuff in Emacs (like buffers, files, etc). Helm is a fork
3617 of @code{anything.el} originally written by Tamas Patrovic and can be
3618 considered to be its successor. Helm sets out to clean up the legacy code in
3619 @code{anything.el} and provide a cleaner, leaner and more modular tool, that's
3620 not tied in the trap of backward compatibility.")
3621 (license license:gpl3+)))
3622
3623 (define-public emacs-helm-swoop
3624 (package
3625 (name "emacs-helm-swoop")
3626 (version "1.7.2")
3627 (source (origin
3628 (method url-fetch)
3629 (uri (string-append
3630 "https://github.com/ShingoFukuyama/helm-swoop/archive/"
3631 version
3632 ".tar.gz"))
3633 (file-name (string-append name "-" version ".tar.gz"))
3634 (sha256
3635 (base32
3636 "1z34pfi0gsk054pxr906ilaalaw0xz3s536163gf9ykkwmc2356d"))))
3637 (build-system emacs-build-system)
3638 (propagated-inputs
3639 `(("emacs-helm" ,emacs-helm)))
3640 (home-page "https://github.com/ShingoFukuyama/helm-swoop")
3641 (synopsis "Filter and jump to lines in an Emacs buffer using Helm")
3642 (description
3643 "This package builds on the Helm interface to provide several commands
3644 for search-based navigation of buffers.")
3645 (license license:gpl2+)))
3646
3647 (define-public emacs-helm-projectile
3648 (package
3649 (name "emacs-helm-projectile")
3650 (version "0.14.0")
3651 (source (origin
3652 (method url-fetch)
3653 (uri (string-append
3654 "https://github.com/bbatsov/helm-projectile/archive/v"
3655 version
3656 ".tar.gz"))
3657 (file-name (string-append name "-" version ".tar.gz"))
3658 (sha256
3659 (base32
3660 "19cfmilqh8kbab3b2hmx6lyrj73q6vfmn3p730x95g23iz16mnd5"))))
3661 (build-system emacs-build-system)
3662 (propagated-inputs
3663 `(("emacs-dash" ,emacs-dash)
3664 ("emacs-helm" ,emacs-helm)
3665 ("emacs-projectile" ,emacs-projectile)))
3666 (home-page "https://github.com/bbatsov/helm-projectile")
3667 (synopsis "Helm integration for Projectile")
3668 (description
3669 "This Emacs library provides a Helm interface for Projectile.")
3670 (license license:gpl3+)))
3671
3672 (define-public emacs-cider
3673 (package
3674 (name "emacs-cider")
3675 (version "0.15.0")
3676 (source (origin
3677 (method url-fetch)
3678 (uri (string-append
3679 "https://github.com/clojure-emacs/cider/archive/v"
3680 version ".tar.gz"))
3681 (file-name (string-append name "-" version ".tar.gz"))
3682 (sha256
3683 (base32
3684 "0j7qjcslh8mnxrr2m8qrscyq9ry240j5jd9dysbvih126lxisf12"))))
3685 (build-system emacs-build-system)
3686 (arguments
3687 '(#:exclude ; Don't exclude 'cider-test.el'.
3688 '("^\\.dir-locals\\.el$" "^test/")))
3689 (propagated-inputs
3690 `(("emacs-clojure-mode" ,emacs-clojure-mode)
3691 ("emacs-spinner" ,emacs-spinner)
3692 ("emacs-pkg-info" ,emacs-pkg-info)
3693 ("emacs-queue" ,emacs-queue)))
3694 (home-page "https://cider.readthedocs.org/")
3695 (synopsis "Clojure development environment for Emacs")
3696 (description
3697 "CIDER (Clojure Interactive Development Environment that Rocks) aims to
3698 provide an interactive development experience similar to the one you'd get
3699 when programming in Emacs Lisp, Common Lisp (with SLIME or Sly), Scheme (with
3700 Geiser) and Smalltalk.
3701
3702 CIDER is the successor to the now deprecated combination of using SLIME +
3703 swank-clojure for Clojure development.
3704
3705 There are plenty of differences between CIDER and SLIME, but the core ideas
3706 are pretty much the same (and SLIME served as the principle inspiration for
3707 CIDER).")
3708 (license license:gpl3+)))
3709
3710 (define-public emacs-lua-mode
3711 (let ((commit "652e299cb967fccca827dda381d61a9c144d97de")
3712 (revision "1"))
3713 (package
3714 (name "emacs-lua-mode")
3715 (version (string-append "20151025." revision "-" (string-take commit 9)))
3716 (home-page "https://github.com/immerrr/lua-mode/")
3717 (source (origin
3718 (method git-fetch)
3719 (uri (git-reference
3720 (url home-page)
3721 (commit commit)))
3722 (file-name (string-append name "-" version ".checkout"))
3723 (sha256
3724 (base32
3725 "053025k930wh0lak6rc1973ynfrmm8zsyzfqhhd39x7abkl41hc9"))))
3726 (build-system emacs-build-system)
3727 (synopsis "Major mode for lua")
3728 (description
3729 "This Emacs package provides a mode for @uref{https://www.lua.org/,
3730 Lua programing language}.")
3731 (license license:gpl2+))))
3732
3733 (define-public emacs-ebuild-mode
3734 (package
3735 (name "emacs-ebuild-mode")
3736 (version "1.37")
3737 (source (origin
3738 (method url-fetch)
3739 (uri (string-append
3740 "https://dev.gentoo.org/~ulm/emacs/ebuild-mode"
3741 "-" version ".tar.xz"))
3742 (file-name (string-append name "-" version ".tar.xz"))
3743 (sha256
3744 (base32
3745 "07dzrdjjczkxdfdgi60h4jjkvzi4p0k9rij2wpfp8s03ay3qldpp"))))
3746 (build-system emacs-build-system)
3747 (home-page "https://devmanual.gentoo.org")
3748 (synopsis "Major modes for Gentoo package files")
3749 (description
3750 "This Emacs package provides modes for ebuild, eclass, eblit, GLEP42
3751 news items, openrc and runscripts.")
3752 (license license:gpl2+)))
3753
3754 (define-public emacs-evil
3755 (package
3756 (name "emacs-evil")
3757 (version "1.2.12")
3758 (source
3759 (origin
3760 (method url-fetch)
3761 (uri (string-append "https://bitbucket.org/lyro/evil/get/"
3762 version ".tar.bz2"))
3763 (file-name (string-append name "-" version ".tar.bz2"))
3764 (sha256
3765 (base32
3766 "17cda9fnbq3gmjcxs3lyq64gxswrf37y864bm53rldwsk3khq2yi"))))
3767 (build-system emacs-build-system)
3768 (propagated-inputs
3769 `(("emacs-undo-tree" ,emacs-undo-tree)
3770 ("emacs-goto-chg" ,emacs-goto-chg)))
3771 (home-page "https://bitbucket.com/lyro/evil")
3772 (synopsis "Extensible Vi layer for Emacs")
3773 (description
3774 "Evil is an extensible vi layer for Emacs. It emulates the
3775 main features of Vim, and provides facilities for writing custom
3776 extensions.")
3777 (license license:gpl3+)))
3778
3779 (define-public emacs-goto-chg
3780 (package
3781 (name "emacs-goto-chg")
3782 (version "1.6")
3783 (source
3784 (origin
3785 (method url-fetch)
3786 ;; There is no versioned source.
3787 (uri "https://www.emacswiki.org/emacs/download/goto-chg.el")
3788 (file-name (string-append "goto-chg-" version ".el"))
3789 (sha256
3790 (base32
3791 "078d6p4br5vips7b9x4v6cy0wxf6m5ij9gpqd4g33bryn22gnpij"))))
3792 (build-system emacs-build-system)
3793 ;; There is no other home page.
3794 (home-page "https://www.emacswiki.org/emacs/goto-chg.el")
3795 (synopsis "Go to the last change in the Emacs buffer")
3796 (description
3797 "This package provides @code{M-x goto-last-change} command that goes to
3798 the point of the most recent edit in the current Emacs buffer. When repeated,
3799 go to the second most recent edit, etc. Negative argument, @kbd{C-u -}, is
3800 used for reverse direction.")
3801 (license license:gpl2+)))
3802
3803 (define-public emacs-monroe
3804 (package
3805 (name "emacs-monroe")
3806 (version "0.3.1")
3807 (source
3808 (origin
3809 (method url-fetch)
3810 (uri (string-append "https://github.com/sanel/monroe/archive/"
3811 version ".tar.gz"))
3812 (file-name (string-append name "-" version ".tar.gz"))
3813 (sha256
3814 (base32
3815 "0icdx8shkd951phlnmcq1vqaxp1l667q5rjscskc5r22aylakh4w"))))
3816 (build-system emacs-build-system)
3817 (home-page "https://github.com/sanel/monroe")
3818 (synopsis "Clojure nREPL client for Emacs")
3819 (description
3820 "Monroe is a nREPL client for Emacs, focused on simplicity and easy
3821 distribution, primarily targeting Clojure users")
3822 (license license:gpl3+)))
3823
3824 (define-public emacs-writegood-mode
3825 (package
3826 (name "emacs-writegood-mode")
3827 (version "2.0.2")
3828 (home-page "https://github.com/bnbeckwith/writegood-mode")
3829 (source (origin
3830 (method git-fetch)
3831 (uri (git-reference
3832 (url home-page)
3833 (commit (string-append "v" version))))
3834 (sha256
3835 (base32
3836 "1nnjn1r669hvvzfycllwap4w04m8rfsk4nzcg8057m1f263kj31b"))
3837 (file-name (string-append name "-checkout"))))
3838 (build-system emacs-build-system)
3839 (synopsis "Polish up poor writing on the fly")
3840 (description
3841 "This minor mode tries to find and highlight problems with your writing
3842 in English as you type. It primarily detects \"weasel words\" and abuse of
3843 passive voice.")
3844 (license license:gpl3+)))
3845
3846 (define-public emacs-neotree
3847 (package
3848 (name "emacs-neotree")
3849 (version "0.2.1")
3850 (home-page "https://github.com/jaypei/emacs-neotree")
3851 (source (origin
3852 (method url-fetch)
3853 (uri (string-append
3854 "https://github.com/jaypei/" name
3855 "/archive/v" version ".tar.gz"))
3856 (sha256
3857 (base32
3858 "0cr37pdkwjgfijfws5bjskfh1rq9rfngxblcj6v5383vpmn83q7s"))
3859 (file-name (string-append name "-" version ".tar.gz"))))
3860 (build-system emacs-build-system)
3861 (synopsis "Folder tree view for Emacs")
3862 (description "This Emacs package provides a folder tree view.")
3863 (license license:gpl3+)))
3864
3865 (define-public emacs-org
3866 (package
3867 (name "emacs-org")
3868 (version "20170906")
3869 (source (origin
3870 (method url-fetch)
3871 (uri (string-append "http://elpa.gnu.org/packages/org-"
3872 version ".tar"))
3873 (sha256
3874 (base32
3875 "12i1h1ncbv0lhcg8w1b48psm69hhhb1f0phh1v3vfyn8xi82ppxz"))))
3876 (build-system emacs-build-system)
3877 (home-page "http://orgmode.org/")
3878 (synopsis "Outline-based notes management and organizer")
3879 (description "Org is an Emacs mode for keeping notes, maintaining TODO
3880 lists, and project planning with a fast and effective plain-text system. It
3881 also is an authoring system with unique support for literate programming and
3882 reproducible research.")
3883 (license license:gpl3+)))
3884
3885 (define-public emacs-flx
3886 (package
3887 (name "emacs-flx")
3888 (version "0.6.1")
3889 (source
3890 (origin
3891 (method url-fetch)
3892 (uri (string-append "https://github.com/lewang/"
3893 "flx/archive/v" version ".tar.gz"))
3894 (sha256
3895 (base32
3896 "0bkcpnf1j4i2fcc2rllwbz62l00sw2mcia6rm5amgwvlkqavmkv6"))
3897 (file-name (string-append name "-" version ".tar.gz"))))
3898 (build-system emacs-build-system)
3899 (home-page "https://github.com/lewang/flx")
3900 (synopsis "Fuzzy matching for Emacs")
3901 (description
3902 "Flx provides fuzzy matching for emacs a la sublime text.
3903 The sorting algorithm is a balance between word beginnings (abbreviation)
3904 and contiguous matches (substring). The longer the substring match,
3905 the higher it scores. This maps well to how we think about matching.
3906 Flx has support for ido (interactively do things) through flx-ido.")
3907 (license license:gpl3+)))
3908
3909 (define-public emacs-cyberpunk-theme
3910 (package
3911 (name "emacs-cyberpunk-theme")
3912 (version "1.18")
3913 (source
3914 (origin
3915 (method url-fetch)
3916 (uri (string-append "https://github.com/n3mo/cyberpunk-theme.el/"
3917 "archive/" version ".tar.gz"))
3918 (sha256
3919 (base32
3920 "0pxzbw0qjxgkhhs3gn3k9qy41kl1a4pfzbw83dk24l4b3nxd24wg"))
3921 (file-name (string-append name "-" version ".tar.gz"))))
3922 (build-system emacs-build-system)
3923 (home-page "https://github.com/n3mo/cyberpunk-theme.el")
3924 (synopsis "Cyberpunk theme for emacs built-in color theme support")
3925 (description
3926 "Cyberpunk color theme for the emacs 24+ built-in color theme support
3927 known loosely as deftheme. Many mode-specific customizations are included.")
3928 (license license:gpl3+)))
3929
3930 (define-public emacs-danneskjold-theme
3931 (let* ((commit "8733d2fe8743e8a01826ea6d4430ef376c727e57")
3932 (revision "1"))
3933 (package
3934 (name "emacs-danneskjold-theme")
3935 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
3936 (home-page "https://github.com/rails-to-cosmos/danneskjold-theme")
3937 (source
3938 (origin
3939 (method git-fetch)
3940 (uri (git-reference
3941 (url home-page)
3942 (commit commit)))
3943 (file-name (string-append name "-" version "-checkout"))
3944 (sha256
3945 (base32
3946 "0s6rbsb0y8i8m5b9xm4gw1p1cxsxdqnqxqqb638pygz9f76mbir1"))))
3947 (build-system emacs-build-system)
3948 (arguments
3949 `(#:phases
3950 (modify-phases %standard-phases
3951 (add-after 'unpack 'delete-screenshots
3952 (lambda _
3953 (delete-file-recursively "screenshots") #t)))))
3954 (synopsis "High-contrast Emacs theme")
3955 (description
3956 "@code{danneskjold-theme} is a high-contrast theme for Emacs.")
3957 (license license:gpl3+))))
3958
3959 (define-public emacs-dream-theme
3960 (let* ((commit "107a11d74365046f28a1802a2bdb5e69e4a7488b")
3961 (revision "1"))
3962 (package
3963 (name "emacs-dream-theme")
3964 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
3965 (source
3966 (origin
3967 (method git-fetch)
3968 (uri (git-reference
3969 (url "https://github.com/djcb/dream-theme")
3970 (commit commit)))
3971 (file-name (string-append name "-" version "-checkout"))
3972 (sha256
3973 (base32
3974 "0za18nfkq4xqm35k6006vsixcbmvmxqgma4iw5sw37h8vmcsdylk"))))
3975 (build-system emacs-build-system)
3976 (home-page "https://github.com/djcb/dream-theme")
3977 (synopsis "High-contrast Emacs theme")
3978 (description
3979 "@code{dream-theme} is a dark, clean theme for Emacs. It is inspired
3980 by zenburn, sinburn and similar themes, but slowly diverging from them.")
3981 (license license:gpl3+))))
3982
3983 (define-public emacs-auto-complete
3984 (package
3985 (name "emacs-auto-complete")
3986 (version "1.5.1")
3987 (source
3988 (origin
3989 (method url-fetch)
3990 (uri (string-append "https://github.com/auto-complete/"
3991 "auto-complete/archive/v" version ".tar.gz"))
3992 (sha256
3993 (base32
3994 "1jvq4lj00hwml75lpmlciazy8f3bbg13gffsfnl835p4qd8l7yqv"))
3995 (file-name (string-append name "-" version ".tar.gz"))))
3996 (build-system emacs-build-system)
3997 (propagated-inputs
3998 `(("emacs-popup" ,emacs-popup)))
3999 (home-page "https://github.com/auto-complete/auto-complete")
4000 (synopsis "Intelligent auto-completion extension for Emacs")
4001 (description
4002 "Auto-Complete is an intelligent auto-completion extension for Emacs.
4003 It extends the standard Emacs completion interface and provides an environment
4004 that allows users to concentrate more on their own work. Its features are:
4005 a visual interface, reduce overhead of completion by using statistic method,
4006 extensibility.")
4007 (license license:gpl3+)))
4008
4009 (define-public m17n-db
4010 (package
4011 (name "m17n-db")
4012 (version "1.7.0")
4013 (source
4014 (origin
4015 (method url-fetch)
4016 (uri (string-append "mirror://savannah/m17n/m17n-db-"
4017 version ".tar.gz"))
4018 (sha256
4019 (base32 "1w08hnsbknrcjlzp42c99bgwc9hzsnf5m4apdv0dacql2s09zfm2"))))
4020 (build-system gnu-build-system)
4021 (inputs
4022 `(("gettext" ,gettext-minimal)))
4023 (arguments
4024 `(#:configure-flags
4025 (list (string-append "--with-charmaps="
4026 (assoc-ref %build-inputs "libc")
4027 "/share/i18n/charmaps"))))
4028 ;; With `guix lint' the home-page URI returns a small page saying
4029 ;; that your browser does not handle frames. This triggers the "URI
4030 ;; returns suspiciously small file" warning.
4031 (home-page "http://www.nongnu.org/m17n/")
4032 (synopsis "Multilingual text processing library (database)")
4033 (description "The m17n library realizes multilingualization of
4034 many aspects of applications. The m17n library represents
4035 multilingual text as an object named M-text. M-text is a string with
4036 attributes called text properties, and designed to substitute for
4037 string in C. Text properties carry any information required to input,
4038 display and edit the text.
4039
4040 This package contains the library database.")
4041 (license license:lgpl2.1+)))
4042
4043 (define-public m17n-lib
4044 (package
4045 (name "m17n-lib")
4046 (version "1.7.0")
4047 (source
4048 (origin
4049 (method url-fetch)
4050 (uri (string-append "mirror://savannah/m17n/m17n-lib-"
4051 version ".tar.gz"))
4052 (sha256
4053 (base32 "10yv730i25g1rpzv6q49m6xn4p8fjm7jdwvik2h70sn8w3hm7f4f"))))
4054 (build-system gnu-build-system)
4055 (inputs
4056 `(("fribidi" ,fribidi)
4057 ("gd" ,gd)
4058 ("libotf" ,libotf)
4059 ("libxft" ,libxft)
4060 ("libxml2" ,libxml2)
4061 ("m17n-db" ,m17n-db)))
4062 (arguments
4063 `(#:parallel-build? #f))
4064 ;; With `guix lint' the home-page URI returns a small page saying
4065 ;; that your browser does not handle frames. This triggers the "URI
4066 ;; returns suspiciously small file" warning.
4067 (home-page "http://www.nongnu.org/m17n/")
4068 (synopsis "Multilingual text processing library (runtime)")
4069 (description "The m17n library realizes multilingualization of
4070 many aspects of applications. The m17n library represents
4071 multilingual text as an object named M-text. M-text is a string with
4072 attributes called text properties, and designed to substitute for
4073 string in C. Text properties carry any information required to input,
4074 display and edit the text.
4075
4076 This package contains the library runtime.")
4077 (license license:lgpl2.1+)))
4078
4079 (define-public emacs-nginx-mode
4080 (package
4081 (name "emacs-nginx-mode")
4082 (version "1.1.4")
4083 (source
4084 (origin
4085 (method url-fetch)
4086 (uri (string-append
4087 "https://github.com/ajc/nginx-mode/archive/v"
4088 version ".tar.gz"))
4089 (file-name (string-append name "-" version ".tar.gz"))
4090 (sha256
4091 (base32
4092 "1lvkj07kq0jkskr2f61vqb5rlrbnaz9a76ikq40w6925i2r970rr"))))
4093 (build-system emacs-build-system)
4094 (home-page "https://github.com/ajc/nginx-mode")
4095 (synopsis "Emacs major mode for editing nginx config files")
4096 (description "This package provides an Emacs major mode for
4097 editing nginx config files.")
4098 (license license:gpl2+)))
4099
4100 (define-public emacs-stream
4101 (package
4102 (name "emacs-stream")
4103 (version "2.2.0")
4104 (home-page "https://github.com/NicolasPetton/stream")
4105 (source
4106 (origin
4107 (method url-fetch)
4108 (file-name (string-append name "-" version ".tar.gz"))
4109 (uri (string-append home-page "/archive/"version ".tar.gz"))
4110 (sha256
4111 (base32 "03ql4nqfz5pn55mjly6clhvc3g7x2d28kj7mrlqmigvjbql39xxc"))))
4112 (build-system emacs-build-system)
4113 (synopsis "Implementation of streams for Emacs")
4114 (description "This library provides an implementation of streams for Emacs.
4115 Streams are implemented as delayed evaluation of cons cells.")
4116 (license license:gpl3+)))
4117
4118 (define-public emacs-el-search
4119 (let ((commit "f26277bfbb3fc3fc74beea6592f294c439796bd4")
4120 (revision "1"))
4121 (package
4122 (name "emacs-el-search")
4123 ;; No ufficial release.
4124 (version (string-append "0.0-" revision "." (string-take commit 7)))
4125 (home-page "https://github.com/emacsmirror/el-search")
4126 (source
4127 (origin
4128 (method git-fetch)
4129 (file-name (string-append name "-" version ".tar.gz"))
4130 (uri (git-reference
4131 (commit commit)
4132 (url (string-append home-page ".git"))))
4133 (sha256
4134 (base32 "12xf40h9sb7xxg2r97gsia94q02543mgiiiw46fzh1ac7b7993g6"))))
4135 (build-system emacs-build-system)
4136 (inputs `(("emacs-stream" ,emacs-stream)))
4137 (synopsis "Expression based interactive search for emacs-lisp-mode")
4138 (description "This package provides expression based interactive search
4139 procedures for emacs-lisp-mode.")
4140 (license license:gpl3+))))
4141
4142 (define-public emacs-ht
4143 (package
4144 (name "emacs-ht")
4145 (version "2.1")
4146 (source
4147 (origin
4148 (method url-fetch)
4149 (uri (string-append
4150 "https://github.com/Wilfred/ht.el/archive/"
4151 version ".tar.gz"))
4152 (file-name (string-append name "-" version ".tar.gz"))
4153 (sha256
4154 (base32
4155 "1lpba36kzxcc966fvsbrfpy8ah9gnvay0yk26gbyjil0rggrbqzj"))))
4156 (build-system emacs-build-system)
4157 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
4158 (home-page "https://github.com/Wilfred/ht.el")
4159 (synopsis "Hash table library for Emacs")
4160 (description
4161 "This package simplifies the use of hash tables in elisp. It also
4162 provides functions to convert hash tables from and to alists and plists.")
4163 (license license:gpl3+)))
4164
4165 (define-public emacs-log4e
4166 (package
4167 (name "emacs-log4e")
4168 (version "0.3.0")
4169 (source
4170 (origin
4171 (method url-fetch)
4172 (uri (string-append
4173 "https://github.com/aki2o/log4e/archive/v"
4174 version ".tar.gz"))
4175 (file-name (string-append name "-" version ".tar.gz"))
4176 (sha256
4177 (base32
4178 "0nbdpbw353snda3v19l9hsm6gimppwnpxj18amm350bm81lyim2g"))))
4179 (build-system emacs-build-system)
4180 (arguments
4181 `(#:phases
4182 (modify-phases %standard-phases
4183 (add-after 'unpack 'remove-tests
4184 ;; Guile builder complains about null characters in some
4185 ;; strings of test files. Remove "test" directory (it is not
4186 ;; needed anyway).
4187 (lambda _
4188 (delete-file-recursively "test"))))))
4189 (home-page "https://github.com/aki2o/log4e")
4190 (synopsis "Logging framework for elisp")
4191 (description
4192 "This package provides a logging framework for elisp. It allows
4193 you to deal with multiple log levels.")
4194 (license license:gpl3+)))
4195
4196 (define-public emacs-gntp
4197 (package
4198 (name "emacs-gntp")
4199 (version "0.1")
4200 (source
4201 (origin
4202 (method url-fetch)
4203 (uri (string-append
4204 "https://github.com/tekai/gntp.el/archive/v"
4205 version ".tar.gz"))
4206 (file-name (string-append name "-" version ".tar.gz"))
4207 (sha256
4208 (base32
4209 "16c1dfkia9yhl206bdhjr3b8kfvqcqr38jl5lq8qsyrrzsnmghny"))))
4210 (build-system emacs-build-system)
4211 (home-page "https://github.com/tekai/gntp.el")
4212 (synopsis "Growl Notification Protocol for Emacs")
4213 (description
4214 "This package implements the Growl Notification Protocol GNTP
4215 described at @uref{http://www.growlforwindows.com/gfw/help/gntp.aspx}.
4216 It is incomplete as it only lets you send but not receive
4217 notifications.")
4218 (license license:bsd-3)))
4219
4220 (define-public emacs-alert
4221 (package
4222 (name "emacs-alert")
4223 (version "1.2")
4224 (source
4225 (origin
4226 (method url-fetch)
4227 (uri (string-append
4228 "https://github.com/jwiegley/alert/archive/v"
4229 version ".tar.gz"))
4230 (file-name (string-append name "-" version ".tar.gz"))
4231 (sha256
4232 (base32
4233 "1693kck3k2iz5zhpmxwqyafxm68hr6gzs60lkxd3j1wlp2c9fwyr"))))
4234 (build-system emacs-build-system)
4235 (propagated-inputs
4236 `(("emacs-gntp" ,emacs-gntp)
4237 ("emacs-log4e" ,emacs-log4e)))
4238 (home-page "https://github.com/jwiegley/alert")
4239 (synopsis "Growl-style notification system for Emacs")
4240 (description
4241 "Alert is a Growl-workalike for Emacs which uses a common notification
4242 interface and multiple, selectable \"styles\", whose use is fully
4243 customizable by the user.")
4244 (license license:gpl2+)))
4245
4246 (define-public emacs-mu4e-alert
4247 (package
4248 (name "emacs-mu4e-alert")
4249 (version "1.0")
4250 (source
4251 (origin
4252 (method url-fetch)
4253 (uri (string-append
4254 "https://github.com/iqbalansari/mu4e-alert/archive/v"
4255 version ".tar.gz"))
4256 (file-name (string-append name "-" version ".tar.gz"))
4257 (sha256
4258 (base32
4259 "07qc834qnxn8xi4bw5nawj8g91bmkzw0r0vahkgysp7r9xrf57gj"))))
4260 (build-system emacs-build-system)
4261 (propagated-inputs
4262 `(("emacs-alert" ,emacs-alert)
4263 ("emacs-s" ,emacs-s)
4264 ("emacs-ht" ,emacs-ht)))
4265 (home-page "https://github.com/iqbalansari/mu4e-alert")
4266 (synopsis "Desktop notification for mu4e")
4267 (description
4268 "This package provides desktop notifications for mu4e.
4269 Additionally it can display the number of unread emails in the
4270 mode-line.")
4271 (license license:gpl3+)))
4272
4273 (define-public emacs-pretty-mode
4274 (package
4275 (name "emacs-pretty-mode")
4276 (version "2.0.3")
4277 (source
4278 (origin
4279 (method url-fetch)
4280 (uri (string-append "https://github.com/akatov/pretty-mode/"
4281 "archive/" version ".tar.gz"))
4282 (file-name (string-append name "-" version ".tar.gz"))
4283 (sha256
4284 (base32
4285 "1fan7m4vnqs8kpg7r54kx3g7faadkpkf9kzarfv8n57kq8w157pl"))))
4286 (build-system emacs-build-system)
4287 (home-page "https://github.com/akatov/pretty-mode")
4288 (synopsis "Redisplay parts of the buffer as Unicode symbols")
4289 (description
4290 "Emacs minor mode for redisplaying parts of the buffer as pretty symbols.")
4291 (license license:gpl3+)))
4292
4293 (define-public emacs-yasnippet
4294 (package
4295 (name "emacs-yasnippet")
4296 (version "0.12.0")
4297 (source (origin
4298 (method url-fetch)
4299 (uri (string-append "https://github.com/joaotavora/yasnippet/"
4300 "archive/" version ".tar.gz"))
4301 (file-name (string-append name "-" version ".tar.gz"))
4302 (sha256
4303 (base32
4304 "1yqiprighgqz1hsslph50cy09xxqabc06jffrnjcsdf6nj70xlkc"))
4305 (modules '((guix build utils)))
4306 (snippet
4307 '(begin
4308 ;; YASnippet expects a "snippets" subdirectory in the same
4309 ;; directory as yasnippet.el, but we don't install it
4310 ;; because it's a git submodule pointing to an external
4311 ;; repository. Adjust `yas-snippet-dirs' to prevent
4312 ;; warnings about a missing directory.
4313 (substitute* "yasnippet.el"
4314 (("^ +'yas-installed-snippets-dir\\)\\)\n")
4315 "))\n"))))))
4316 (build-system emacs-build-system)
4317 (home-page "https://github.com/joaotavora/yasnippet")
4318 (synopsis "Yet another snippet extension for Emacs")
4319 (description
4320 "YASnippet is a template system for Emacs. It allows you to type an
4321 abbreviation and automatically expand it into function templates.")
4322 (license license:gpl3+)))
4323
4324 (define-public emacs-yasnippet-snippets
4325 (let ((commit "885050d34737e2fb36a3e7759d60c09347bd4ce0")
4326 (revision "1"))
4327 (package
4328 (name "emacs-yasnippet-snippets")
4329 (version (string-append "1-" revision "." (string-take commit 8)))
4330 (source
4331 (origin
4332 (method git-fetch)
4333 (uri (git-reference
4334 (url "https://github.com/AndreaCrotti/yasnippet-snippets")
4335 (commit commit)))
4336 (file-name (string-append name "-" version "-checkout"))
4337 (sha256
4338 (base32
4339 "1m935zgglw0iakzrixld5rcjz3wnj84f8wy2mvc3pggjri9l0qr9"))))
4340 (build-system trivial-build-system)
4341 (arguments
4342 `(#:modules ((ice-9 ftw)
4343 (ice-9 regex)
4344 (guix build utils))
4345 #:builder
4346 (begin
4347 (use-modules (ice-9 ftw)
4348 (ice-9 regex)
4349 (guix build utils))
4350 (with-directory-excursion (assoc-ref %build-inputs "source")
4351 (for-each (lambda (dir)
4352 (copy-recursively
4353 dir
4354 (string-append %output
4355 "/share/emacs/yasnippet-snippets/"
4356 dir)))
4357 (scandir "." (lambda (fname)
4358 (and (string-match "-mode$" fname)
4359 (directory-exists? fname)))))))))
4360 (home-page "https://github.com/AndreaCrotti/yasnippet-snippets")
4361 (synopsis "Collection of YASnippet snippets for many languages")
4362 (description
4363 "Provides Andrea Crotti's collection of YASnippet snippets. After installation,
4364 the snippets will be in \"~/.guix-profile/share/emacs/yasnippet-snippets/\".
4365 To make YASnippet aware of these snippets, add the above directory to
4366 @code{yas-snippet-dirs}.")
4367 (license license:expat))))
4368
4369 (define-public emacs-memoize
4370 (package
4371 (name "emacs-memoize")
4372 (version "20130421.b55eab0")
4373 (source
4374 (origin
4375 (method git-fetch)
4376 (uri (git-reference
4377 (url "https://github.com/skeeto/emacs-memoize")
4378 (commit "b55eab0cb6ab05d941e07b8c01f1655c0cf1dd75")))
4379 (file-name (string-append name "-" version ".tar.gz"))
4380 (sha256
4381 (base32
4382 "0fjwlrdm270qcrqffvarw5yhijk656q4lam79ybhaznzj0dq3xpw"))))
4383 (build-system emacs-build-system)
4384 (arguments
4385 `(#:phases
4386 (modify-phases %standard-phases
4387 (add-before 'install 'check
4388 (lambda _
4389 (zero? (system* "emacs" "-batch" "-l" "memoize.el"
4390 "-l" "memoize-test.el"
4391 "-f" "ert-run-tests-batch-and-exit")))))))
4392 (home-page "https://github.com/skeeto/emacs-memoize")
4393 (synopsis "Emacs lisp memoization library")
4394 (description "@code{emacs-memoize} is an Emacs library for
4395 memoizing functions.")
4396 (license license:unlicense)))
4397
4398 (define-public emacs-linum-relative
4399 (package
4400 (name "emacs-linum-relative")
4401 (version "0.5")
4402 (source
4403 (origin
4404 (method url-fetch)
4405 (uri (string-append
4406 "https://github.com/coldnew/linum-relative/archive/"
4407 version ".tar.gz"))
4408 (file-name (string-append name "-" version ".tar.gz"))
4409 (sha256
4410 (base32
4411 "0s4frvr27866lw1rn3jal9wj5rkz9fx4yiszqv7w06azsdgsqksv"))))
4412 (build-system emacs-build-system)
4413 (home-page "https://github.com/coldnew/linum-relative")
4414 (synopsis "Relative line numbering for Emacs")
4415 (description "@code{emacs-linum-relative} displays the relative line
4416 number on the left margin in Emacs.")
4417 (license license:gpl2+)))
4418
4419 (define-public emacs-idle-highlight
4420 (package
4421 (name "emacs-idle-highlight")
4422 (version "1.1.3")
4423 (source
4424 (origin
4425 (method url-fetch)
4426 (uri (string-append
4427 "https://github.com/nonsequitur/idle-highlight-mode/archive/"
4428 version ".tar.gz"))
4429 (file-name (string-append name "-" version ".tar.gz"))
4430 (sha256
4431 (base32
4432 "0kdv10hrgqpskjh0zvpnzwlkn5bccnqxas62gkws6njln57bf8nl"))))
4433 (build-system emacs-build-system)
4434 (home-page "https://www.emacswiki.org/emacs/IdleHighlight")
4435 (synopsis "Highlights all occurrences of the word the point is on")
4436 (description
4437 "This Emacs package provides @code{idle-highlight-mode} that sets
4438 an idle timer to highlight all occurrences in the buffer of the word under
4439 the point.")
4440 (license license:gpl3+)))
4441
4442 (define-public emacs-ox-twbs
4443 (package
4444 (name "emacs-ox-twbs")
4445 (version "1.1.1")
4446 (source
4447 (origin
4448 (method url-fetch)
4449 (uri (string-append
4450 "https://github.com/marsmining/ox-twbs/archive/v"
4451 version ".tar.gz"))
4452 (file-name (string-append name "-" version ".tar.gz"))
4453 (sha256
4454 (base32
4455 "1zaq8dczq5wijjk36114k2x3hfrqig3lyx6djril6wyk67vczyqs"))))
4456 (build-system emacs-build-system)
4457 (home-page "https://github.com/marsmining/ox-twbs")
4458 (synopsis "Export org-mode docs as HTML compatible with Twitter Bootstrap")
4459 (description
4460 "This Emacs package outputs your org-mode docs with a simple, clean and
4461 modern look. It implements a new HTML back-end for exporting org-mode docs as
4462 HTML compatible with Twitter Bootstrap. By default, HTML is exported with
4463 jQuery and Bootstrap resources included via osscdn.")
4464 (license license:gpl3+)))
4465
4466 (define-public emacs-highlight-sexp
4467 (package
4468 (name "emacs-highlight-sexp")
4469 (version "1.0")
4470 (source
4471 (origin
4472 (method url-fetch)
4473 (uri (string-append
4474 "https://github.com/daimrod/highlight-sexp/archive/v"
4475 version ".tar.gz"))
4476 (file-name (string-append name "-" version ".tar.gz"))
4477 (sha256
4478 (base32
4479 "0jwx87qkln1rg9wmv4qkgkml935fh2pkgrg5x4ca6n5dgb4q6rj1"))))
4480 (build-system emacs-build-system)
4481 (home-page "https://github.com/daimrod/highlight-sexp")
4482 (synopsis "Minor mode that highlights the s-exp at the current position")
4483 (description
4484 "This Emacs package highlights the s-exp at the current position.")
4485 (license license:gpl3+)))
4486
4487 (define-public emacspeak
4488 (package
4489 (name "emacspeak")
4490 (version "46.0")
4491 (source
4492 (origin
4493 (method url-fetch)
4494 (uri (string-append
4495 "https://github.com/tvraman/emacspeak/releases/download/"
4496 version "/emacspeak-" version ".tar.bz2"))
4497 (sha256
4498 (base32
4499 "15x4yfp3wl2fxm1nkx6pz3clw6zyw3argcsqxgcx6pa28sivlg2n"))
4500 (modules '((guix build utils)))
4501 (snippet
4502 ;; Delete the bundled byte-compiled elisp files.
4503 '(for-each delete-file (find-files "lisp" "\\.elc$")))))
4504 (build-system gnu-build-system)
4505 (arguments
4506 '(#:make-flags (list (string-append "prefix="
4507 (assoc-ref %outputs "out")))
4508 #:phases
4509 (modify-phases %standard-phases
4510 (replace 'configure
4511 (lambda _
4512 ;; Configure Emacspeak according to etc/install.org.
4513 (zero? (system* "make" "config"))))
4514 (add-after 'build 'build-espeak
4515 (lambda _
4516 (zero? (system* "make" "espeak"))))
4517 (replace 'install
4518 (lambda* (#:key outputs #:allow-other-keys)
4519 (let* ((out (assoc-ref outputs "out"))
4520 (bin (string-append out "/bin"))
4521 (lisp (string-append out "/share/emacs/site-lisp/emacspeak"))
4522 (info (string-append out "/share/info")))
4523 ;; According to etc/install.org, the Emacspeak directory should
4524 ;; be copied to its installation destination.
4525 (for-each
4526 (lambda (file)
4527 (copy-recursively file (string-append lisp "/" file)))
4528 '("etc" "info" "lisp" "media" "servers" "sounds" "stumpwm"
4529 "xsl"))
4530 ;; Make sure emacspeak is loaded from the correct directory.
4531 (substitute* "etc/emacspeak.sh"
4532 (("exec emacs.*$")
4533 (string-append "exec emacs -l " lisp
4534 "/lisp/emacspeak-setup.el $CL_ALL")))
4535 ;; Install the convenient startup script.
4536 (mkdir-p bin)
4537 (copy-file "etc/emacspeak.sh" (string-append bin "/emacspeak")))
4538 #t))
4539 (add-after 'install 'wrap-program
4540 (lambda* (#:key inputs outputs #:allow-other-keys)
4541 (let* ((out (assoc-ref outputs "out"))
4542 (emacspeak (string-append out "/bin/emacspeak"))
4543 (espeak (string-append (assoc-ref inputs "espeak")
4544 "/bin/espeak")))
4545 ;; The environment variable DTK_PROGRAM tells emacspeak what
4546 ;; program to use for speech.
4547 (wrap-program emacspeak
4548 `("DTK_PROGRAM" ":" prefix (,espeak)))
4549 #t))))
4550 #:tests? #f)) ; no check target
4551 (inputs
4552 `(("espeak" ,espeak)
4553 ("tcl" ,tcl)
4554 ("tclx" ,tclx)))
4555 (native-inputs `(("emacs" ,emacs-minimal)))
4556 (home-page "http://emacspeak.sourceforge.net")
4557 (synopsis "Audio desktop interface for Emacs")
4558 (description
4559 "Emacspeak is a speech interface that allows visually impaired users to
4560 interact independently and efficiently with the computer. Audio formatting
4561 --a technique pioneered by AsTeR-- and full support for W3C's Aural CSS (ACSS)
4562 allows Emacspeak to produce rich aural presentations of electronic information.
4563 By seamlessly blending all aspects of the Internet such as Web-surfing and
4564 messaging, Emacspeak speech-enables local and remote information via a
4565 consistent and well-integrated user interface.")
4566 (license license:gpl2+)))
4567
4568 (define-public emacs-adaptive-wrap
4569 (package
4570 (name "emacs-adaptive-wrap")
4571 (version "0.5")
4572 (source (origin
4573 (method url-fetch)
4574 (uri (string-append
4575 "http://elpa.gnu.org/packages/adaptive-wrap-"
4576 version ".el"))
4577 (sha256
4578 (base32
4579 "0frgmp8vrrml4iykm60j4d6cl9rbcivy9yh24q6kd10bcyx59ypy"))))
4580 (build-system emacs-build-system)
4581 (home-page "http://elpa.gnu.org/packages/adaptive-wrap.html")
4582 (synopsis "Smart line-wrapping with wrap-prefix")
4583 (description
4584 "This Emacs package provides the @code{adaptive-wrap-prefix-mode}
4585 minor mode which sets the wrap-prefix property on the fly so that
4586 single-long-line paragraphs get word-wrapped in a way similar to what
4587 you'd get with @kbd{M-q} using @code{adaptive-fill-mode}, but without
4588 actually changing the buffer's text.")
4589 (license license:gpl3+)))
4590
4591 (define-public emacs-diminish
4592 (package
4593 (name "emacs-diminish")
4594 (version "0.45")
4595 (source
4596 (origin
4597 (method url-fetch)
4598 (uri (string-append
4599 "https://github.com/myrjola/diminish.el/archive/v"
4600 version ".tar.gz"))
4601 (file-name (string-append name "-" version ".tar.gz"))
4602 (sha256
4603 (base32
4604 "0i3629sv5cfrrb00hcnmaqzgs8mk36yasc1ax3ry1ga09nr6rkj9"))))
4605 (build-system emacs-build-system)
4606 (home-page "https://github.com/myrjola/diminish.el")
4607 (synopsis "Diminish minor modes with no modeline display")
4608 (description "@code{emacs-diminish} implements hiding or
4609 abbreviation of the mode line displays (lighters) of minor modes.")
4610 (license license:gpl2+)))
4611
4612 (define-public emacs-use-package
4613 (package
4614 (name "emacs-use-package")
4615 (version "2.3")
4616 (source
4617 (origin
4618 (method url-fetch)
4619 (uri (string-append
4620 "https://github.com/jwiegley/use-package/archive/"
4621 version ".tar.gz"))
4622 (file-name (string-append name "-" version ".tar.gz"))
4623 (sha256
4624 (base32
4625 "0x4h136jb3imyli6zsh7dyzjrra6pv0v6b0yk94jdng3rdfcmsf5"))))
4626 (build-system emacs-build-system)
4627 (propagated-inputs
4628 `(("emacs-diminish" ,emacs-diminish)))
4629 (arguments
4630 `(#:phases
4631 (modify-phases %standard-phases
4632 (add-before 'install 'check
4633 (lambda _
4634 (zero? (system* "emacs" "--batch" "-L" "."
4635 "-l" "use-package-tests.el"
4636 "-f" "ert-run-tests-batch-and-exit"))
4637 ;; Tests fail in this release, but have been fixed in
4638 ;; upstream commit 7956d40eed57d6c06bef36ebc174cf57d934e30d
4639 #t)))))
4640 (home-page "https://github.com/jwiegley/use-package")
4641 (synopsis "Declaration for simplifying your .emacs")
4642 (description "The use-package macro allows you to isolate package
4643 configuration in your @file{.emacs} file in a way that is both
4644 performance-oriented and tidy.")
4645 (license license:gpl2+)))
4646
4647 (define-public emacs-strace-mode
4648 (let* ((commit "6a69b4b06db6797af56f33eda5cb28af94e59f11")
4649 (revision "1"))
4650 (package
4651 (name "emacs-strace-mode")
4652 (version (string-append "0.0.2-" revision "." (string-take commit 7)))
4653 (source (origin
4654 (method git-fetch)
4655 (uri (git-reference
4656 (url "https://github.com/pkmoore/strace-mode")
4657 (commit commit)))
4658 (file-name (string-append name "-" version "-checkout"))
4659 (sha256
4660 (base32
4661 "1lbk2kzdznf2bkfazizfbimaxxzfzv00lrz1ran9dc2zqbc0bj9f"))))
4662 (build-system emacs-build-system)
4663 (home-page "https://github.com/pkmoore/strace-mode")
4664 (synopsis "Emacs major mode to highlight strace outputs")
4665 (description "@code{emacs-strace-mode} provides an Emacs major mode
4666 highlighting strace outputs.")
4667 (license license:gpl3+))))
4668
4669 (define-public emacs-default-encrypt
4670 (package
4671 (name "emacs-default-encrypt")
4672 (version "4.3")
4673 (source
4674 (origin
4675 (method url-fetch)
4676 (uri (string-append
4677 "https://www.informationelle-selbstbestimmung-im-internet.de"
4678 "/emacs/jl-encrypt" version "/jl-encrypt.el"))
4679 (file-name (string-append "jl-encrypt-" version ".el"))
4680 (sha256
4681 (base32
4682 "16i3rlfp3jxlqvndn8idylhmczync3gwmy8a019v29vyr48rnnr0"))))
4683 (build-system emacs-build-system)
4684 (home-page "https://www.informationelle-selbstbestimmung-im-internet.de/Emacs.html")
4685 (synopsis "Automatically encrypt or sign Gnus messages in Emacs")
4686 (description
4687 "DefaultEncrypt is designed to be used with Gnus in Emacs. It
4688 automatically encrypts messages that you send (e.g., email) when public keys
4689 for all recipients are available, and it protects you from accidentally
4690 sending un-encrypted messages. It can also be configured to automatically
4691 sign messages that you send. For details and instructions on how to use
4692 DefaultEncrypt, please refer to the home page or read the comments in the
4693 source file, @file{jl-encrypt.el}.")
4694 (license license:gpl3+)))
4695
4696 (define-public emacs-htmlize
4697 (package
4698 (name "emacs-htmlize")
4699 (version "1.51")
4700 (source
4701 (origin
4702 (method url-fetch)
4703 (uri (string-append
4704 "https://github.com/hniksic/emacs-htmlize/archive/release/"
4705 version ".tar.gz"))
4706 (file-name (string-append name "-" version ".tar.gz"))
4707 (sha256
4708 (base32
4709 "1fy1lybzrxl8a8r88f6p19nz8ygmvcxhxbnymkxh7jqaz25viwld"))))
4710 (build-system emacs-build-system)
4711 (home-page "https://github.com/hniksic/emacs-htmlize")
4712 (synopsis "Convert buffer text and decorations to HTML")
4713 (description "@code{emacs-htmlize} converts the buffer text and
4714 the associated decorations to HTML. Output to CSS, inline CSS and
4715 fonts is supported.")
4716 (license license:gpl2+)))
4717
4718 (define-public emacs-xmlgen
4719 (package
4720 (name "emacs-xmlgen")
4721 (version "0.5")
4722 (source
4723 (origin
4724 (method url-fetch)
4725 (uri (string-append
4726 "https://github.com/philjackson/xmlgen/archive/"
4727 version ".tar.gz"))
4728 (file-name (string-append name "-" version ".tar.gz"))
4729 (sha256
4730 (base32
4731 "0zay490vjby3f7455r0vydmjg7q1gwc78hilpfb0rg4gwz224z8r"))))
4732 (build-system emacs-build-system)
4733 (arguments
4734 `(#:phases
4735 (modify-phases %standard-phases
4736 (add-before 'install 'check
4737 (lambda _
4738 (zero? (system* "emacs" "--batch" "-L" "."
4739 "-l" "xmlgen-test.el"
4740 "-f" "ert-run-tests-batch-and-exit")))))))
4741 (home-page "https://github.com/philjackson/xmlgen")
4742 (synopsis "S-expression to XML domain specific language (DSL) in
4743 Emacs Lisp")
4744 (description "@code{emacs-xmlgen} provides S-expression to XML
4745 conversion for Emacs Lisp.")
4746 (license license:gpl2+)))
4747
4748 (define-public emacs-cdlatex
4749 (package
4750 (name "emacs-cdlatex")
4751 (version "4.7")
4752 (source
4753 (origin
4754 (method url-fetch)
4755 (uri (string-append
4756 "https://github.com/cdominik/cdlatex/archive/"
4757 version ".tar.gz"))
4758 (file-name (string-append name "-" version ".tar.gz"))
4759 (sha256
4760 (base32
4761 "0pivapphmykc6vhvpx7hdyl55ls37vc4jcrxpvs4yk7jzcmwa9xp"))))
4762 (build-system emacs-build-system)
4763 (home-page "https://github.com/cdominik/cdlatex")
4764 (synopsis "Fast Emacs input methods for LaTeX environments and
4765 math")
4766 (description "CDLaTeX is an Emacs minor mode supporting fast
4767 insertion of environment templates and math in LaTeX. Similar
4768 commands are also offered as part of the AUCTeX package, but it is not
4769 the same - CDLaTeX focuses on speediness for inserting LaTeX
4770 constructs.")
4771 (license license:gpl3+)))
4772
4773 (define-public emacs-xelb
4774 (package
4775 (name "emacs-xelb")
4776 (version "0.12")
4777 (source (origin
4778 (method url-fetch)
4779 (uri (string-append "https://elpa.gnu.org/packages/xelb-"
4780 version ".tar"))
4781 (sha256
4782 (base32
4783 "0i9n0f3ibj4a5pwcsvwrah9m0fz32m0x6a9wsmjn3li20v8pcb81"))))
4784 (build-system emacs-build-system)
4785 ;; The following functions and variables needed by emacs-xelb are
4786 ;; not included in emacs-minimal:
4787 ;; x-display-screens, x-keysym-table, x-alt-keysym, x-meta-keysym
4788 ;; x-hyper-keysym, x-super-keysym, libxml-parse-xml-region
4789 ;; x-display-pixel-width, x-display-pixel-height
4790 (arguments
4791 `(#:emacs ,emacs
4792 #:phases
4793 (modify-phases %standard-phases
4794 (add-after 'unpack 'regenerate-el-files
4795 (lambda* (#:key inputs #:allow-other-keys)
4796 (zero? (system* "make"
4797 (string-append "PROTO_PATH="
4798 (assoc-ref inputs "xcb-proto")
4799 "/share/xcb")
4800 (string-append "EMACS_BIN="
4801 (assoc-ref inputs "emacs")
4802 "/bin/emacs -Q"))))))))
4803 (native-inputs `(("xcb-proto" ,xcb-proto)))
4804 (home-page "https://github.com/ch11ng/xelb")
4805 (synopsis "X protocol Emacs Lisp binding")
4806 (description "@code{emacs-xelb} is a pure Emacs Lisp implementation of the
4807 X11 protocol based on the XML description files from the XCB project. It
4808 features an object-oriented API and permits a certain degree of concurrency.
4809 It should enable you to implement low-level X11 applications.")
4810 (license license:gpl3+)))
4811
4812 (define-public emacs-exwm
4813 (package
4814 (name "emacs-exwm")
4815 (version "0.15")
4816 (synopsis "Emacs X window manager")
4817 (source (origin
4818 (method url-fetch)
4819 (uri (string-append "https://elpa.gnu.org/packages/exwm-"
4820 version ".tar"))
4821 (sha256
4822 (base32
4823 "1y7nqry9y0a99bsdqkk9f554vczfw4sz6raadw3138835qy697jg"))))
4824 (build-system emacs-build-system)
4825 (propagated-inputs
4826 `(("emacs-xelb" ,emacs-xelb)))
4827 (inputs
4828 `(("xhost" ,xhost)
4829 ("dbus" ,dbus)))
4830 ;; The following functions and variables needed by emacs-exwm are
4831 ;; not included in emacs-minimal:
4832 ;; scroll-bar-mode, fringe-mode
4833 ;; x-display-pixel-width, x-display-pixel-height
4834 (arguments
4835 `(#:emacs ,emacs
4836 #:phases
4837 (modify-phases %standard-phases
4838 (add-after 'build 'install-xsession
4839 (lambda* (#:key inputs outputs #:allow-other-keys)
4840 (let* ((out (assoc-ref outputs "out"))
4841 (xsessions (string-append out "/share/xsessions"))
4842 (bin (string-append out "/bin"))
4843 (exwm-executable (string-append bin "/exwm")))
4844 ;; Add a .desktop file to xsessions
4845 (mkdir-p xsessions)
4846 (mkdir-p bin)
4847 (with-output-to-file
4848 (string-append xsessions "/exwm.desktop")
4849 (lambda _
4850 (format #t "[Desktop Entry]~@
4851 Name=~a~@
4852 Comment=~a~@
4853 Exec=~a~@
4854 TryExec=~@*~a~@
4855 Type=Application~%" ,name ,synopsis exwm-executable)))
4856 ;; Add a shell wrapper to bin
4857 (with-output-to-file exwm-executable
4858 (lambda _
4859 (format #t "#!~a ~@
4860 ~a +SI:localuser:$USER ~@
4861 exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
4862 (string-append (assoc-ref inputs "bash") "/bin/sh")
4863 (string-append (assoc-ref inputs "xhost") "/bin/xhost")
4864 (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")
4865 (string-append (assoc-ref inputs "emacs") "/bin/emacs")
4866 '(cond
4867 ((file-exists-p "~/.exwm")
4868 (load-file "~/.exwm"))
4869 ((not (featurep 'exwm))
4870 (require 'exwm)
4871 (require 'exwm-config)
4872 (exwm-config-default)
4873 (message (concat "exwm configuration not found. "
4874 "Falling back to default configuration...")))))))
4875 (chmod exwm-executable #o555)
4876 #t))))))
4877 (home-page "https://github.com/ch11ng/exwm")
4878 (description "EXWM is a full-featured tiling X window manager for Emacs
4879 built on top of XELB.")
4880 (license license:gpl3+)))
4881
4882 (define-public emacs-switch-window
4883 (package
4884 (name "emacs-switch-window")
4885 (version "1.5.1")
4886 (source (origin
4887 (method url-fetch)
4888 (uri (string-append
4889 "https://github.com/dimitri/switch-window/archive/v"
4890 version ".tar.gz"))
4891 (file-name (string-append name "-" version ".tar.gz"))
4892 (sha256
4893 (base32
4894 "07f99apxscwvsp2bjxsbi462c433kcglrjh6xl0gyafs1nvvvnd8"))))
4895 (build-system emacs-build-system)
4896 (home-page "https://github.com/dimitri/switch-window")
4897 (synopsis "Emacs window switch tool")
4898 (description "Switch-window is an emacs window switch tool, which
4899 offer a visual way to choose a window to switch to, delete, split or
4900 other operations.")
4901 (license license:wtfpl2)))
4902
4903 (define-public emacs-exwm-x
4904 (package
4905 (name "emacs-exwm-x")
4906 (version "1.7.2")
4907 (synopsis "Derivative window manager based on EXWM")
4908 (source (origin
4909 (method url-fetch)
4910 (uri (string-append
4911 "https://github.com/tumashu/exwm-x/archive/v"
4912 version ".tar.gz"))
4913 (file-name (string-append name "-" version ".tar.gz"))
4914 (sha256
4915 (base32
4916 "1ny13i82fb72917jgl0ndwjg1x6l9f8gfhcx7cwlwhh5saq23mvy"))))
4917 (build-system emacs-build-system)
4918 (propagated-inputs
4919 `(("emacs-exwm" ,emacs-exwm)
4920 ("emacs-switch-window" ,emacs-switch-window)
4921 ("emacs-ivy" ,emacs-ivy)
4922 ("emacs-use-package" ,emacs-use-package)))
4923 (inputs
4924 `(("xhost" ,xhost)
4925 ("dbus" ,dbus)))
4926 ;; Need emacs instead of emacs-minimal,
4927 ;; for emacs's bin path will be inserted into bin/exwm-x file.
4928 (arguments
4929 `(#:emacs ,emacs
4930 #:phases
4931 (modify-phases %standard-phases
4932 (add-after 'build 'install-xsession
4933 (lambda* (#:key inputs outputs #:allow-other-keys)
4934 (let* ((out (assoc-ref outputs "out"))
4935 (xsessions (string-append out "/share/xsessions"))
4936 (bin (string-append out "/bin"))
4937 (exwm-executable (string-append bin "/exwm-x")))
4938 ;; Add a .desktop file to xsessions
4939 (mkdir-p xsessions)
4940 (mkdir-p bin)
4941 (with-output-to-file
4942 (string-append xsessions "/exwm-x.desktop")
4943 (lambda _
4944 (format #t "[Desktop Entry]~@
4945 Name=~a~@
4946 Comment=~a~@
4947 Exec=~a~@
4948 TryExec=~@*~a~@
4949 Type=Application~%" ,name ,synopsis exwm-executable)))
4950 ;; Add a shell wrapper to bin
4951 (with-output-to-file exwm-executable
4952 (lambda _
4953 (format #t "#!~a ~@
4954 ~a +SI:localuser:$USER ~@
4955 exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
4956 (string-append (assoc-ref inputs "bash") "/bin/sh")
4957 (string-append (assoc-ref inputs "xhost") "/bin/xhost")
4958 (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")
4959 (string-append (assoc-ref inputs "emacs") "/bin/emacs")
4960 '(require 'exwmx-loader))))
4961 (chmod exwm-executable #o555)
4962 #t))))))
4963 (home-page "https://github.com/tumashu/exwm-x")
4964 (description "EXWM-X is a derivative window manager based on EXWM, with focus
4965 on mouse-control.")
4966 (license license:gpl3+)))
4967
4968 (define-public emacs-gnuplot
4969 (package
4970 (name "emacs-gnuplot")
4971 (version "0.7.0")
4972 (source
4973 (origin
4974 (method url-fetch)
4975 (uri (string-append
4976 "https://github.com/bruceravel/gnuplot-mode/archive/"
4977 version ".tar.gz"))
4978 (file-name (string-append name "-" version ".tar.gz"))
4979 (sha256
4980 (base32
4981 "0glzymrn138lwig7p4cj17x4if5jisr6l4g6wcbxisqkqgc1h01i"))))
4982 (build-system gnu-build-system)
4983 (native-inputs `(("emacs" ,emacs-minimal)))
4984 (arguments
4985 (let ((elisp-dir (string-append "/share/emacs/site-lisp/guix.d"
4986 "/gnuplot-" version)))
4987 `(#:modules ((guix build gnu-build-system)
4988 (guix build utils)
4989 (guix build emacs-utils))
4990 #:imported-modules (,@%gnu-build-system-modules
4991 (guix build emacs-utils))
4992 #:configure-flags
4993 (list (string-append "EMACS=" (assoc-ref %build-inputs "emacs")
4994 "/bin/emacs")
4995 (string-append "--with-lispdir=" %output ,elisp-dir))
4996 #:phases
4997 (modify-phases %standard-phases
4998 (add-after 'install 'generate-autoloads
4999 (lambda* (#:key outputs #:allow-other-keys)
5000 (emacs-generate-autoloads
5001 "gnuplot"
5002 (string-append (assoc-ref outputs "out") ,elisp-dir))
5003 #t))))))
5004 (home-page "https://github.com/bruceravel/gnuplot-mode")
5005 (synopsis "Emacs major mode for interacting with gnuplot")
5006 (description "@code{emacs-gnuplot} is an emacs major mode for interacting
5007 with gnuplot.")
5008 (license license:gpl2+)))
5009
5010 (define-public emacs-transpose-frame
5011 (package
5012 (name "emacs-transpose-frame")
5013 (version "0.1.0")
5014 (source
5015 (origin
5016 (method url-fetch)
5017 (uri "http://www.emacswiki.org/emacs/download/transpose-frame.el")
5018 (file-name (string-append "transpose-frame-" version ".el"))
5019 (sha256
5020 (base32
5021 "1f67yksgw9s6j0033hmqzaxx2a93jm11sd5ys7cc3li5gfh680m4"))))
5022 (build-system emacs-build-system)
5023 (home-page "https://www.emacswiki.org/emacs/TransposeFrame")
5024 (synopsis "Transpose window arrangement in current frame")
5025 (description "@code{emacs-transpose-frame} provides some interactive
5026 functions which allows users to transpose windows arrangement in currently
5027 selected frame.")
5028 (license license:bsd-2)))
5029
5030 (define-public emacs-key-chord
5031 (package
5032 (name "emacs-key-chord")
5033 (version "0.6")
5034 (source
5035 (origin
5036 (method url-fetch)
5037 (uri "https://www.emacswiki.org/emacs/download/key-chord.el")
5038 (file-name (string-append "key-chord-" version ".el"))
5039 (sha256
5040 (base32
5041 "03m44pqggfrd53nh9dvpdjgm0rvca34qxmd30hr33hzprzjambxg"))))
5042 (build-system emacs-build-system)
5043 (home-page "https://www.emacswiki.org/emacs/key-chord.el")
5044 (synopsis "Map pairs of simultaneously pressed keys to Emacs commands")
5045 (description "@code{emacs-key-chord} provides @code{key-chord-mode}, a
5046 mode for binding key chords to commands. A key chord is defined as two keys
5047 pressed simultaneously or a single key quickly pressed twice.")
5048 (license license:gpl2+)))
5049
5050 (define-public emacs-evil-surround
5051 (package
5052 (name "emacs-evil-surround")
5053 (version "1.0.0")
5054 (source
5055 (origin
5056 (method url-fetch)
5057 (uri (string-append
5058 "https://github.com/timcharper/evil-surround/archive/v"
5059 version ".tar.gz"))
5060 (file-name (string-append name "-" version ".tar.gz"))
5061 (sha256
5062 (base32
5063 "0p572jgic3q1ia1nz37kclir729ay6i2f4sa7wnaapyxly2lwb3r"))))
5064 (build-system emacs-build-system)
5065 (propagated-inputs
5066 `(("emacs-evil" ,emacs-evil)))
5067 (home-page "https://github.com/timcharper/evil-surround")
5068 (synopsis "Easily modify surrounding parantheses and quotes")
5069 (description "@code{emacs-evil-surround} allows easy deletion, change and
5070 addition of surrounding pairs, such as parantheses and quotes, in evil mode.")
5071 (license license:gpl3+)))
5072
5073 (define-public emacs-evil-commentary
5074 (package
5075 (name "emacs-evil-commentary")
5076 (version "2.1.1")
5077 (source
5078 (origin
5079 (method url-fetch)
5080 (uri (string-append
5081 "https://github.com/linktohack/evil-commentary/archive/v"
5082 version ".tar.gz"))
5083 (file-name (string-append name "-" version ".tar.gz"))
5084 (sha256
5085 (base32
5086 "1jdya0i921nwskwrzdsj0vrr3m7gm49dy6f6pk9p5nxaarfxk230"))))
5087 (build-system emacs-build-system)
5088 (propagated-inputs
5089 `(("emacs-evil" ,emacs-evil)))
5090 (home-page "https://github.com/linktohack/evil-commentary")
5091 (synopsis "Comment out code in evil mode")
5092 (description "@code{emacs-evil-commentary} adds keybindings to easily
5093 comment out lines of code in evil mode. It provides @code{gcc} to comment out
5094 lines, and @code{gc} to comment out the target of a motion.")
5095 (license license:gpl3+)))
5096
5097 ;; Tests for emacs-ansi have a circular dependency with ert-runner, and
5098 ;; therefore cannot be run
5099 (define-public emacs-ansi
5100 (package
5101 (name "emacs-ansi")
5102 (version "0.4.1")
5103 (source
5104 (origin
5105 (method url-fetch)
5106 (uri (string-append "https://github.com/rejeep/ansi.el/archive/v"
5107 version ".tar.gz"))
5108 (file-name (string-append name "-" version ".tar.gz"))
5109 (sha256
5110 (base32
5111 "13jj4vbi98j3p17hs99bmy7g21jd5h4v3wpxk4pkvhylm3bfwjw8"))))
5112 (build-system emacs-build-system)
5113 (propagated-inputs
5114 `(("emacs-dash" ,emacs-dash)
5115 ("emacs-s" ,emacs-s)))
5116 (home-page "https://github.com/rejeep/ansi.el")
5117 (synopsis "Convert strings to ANSI")
5118 (description "@code{emacs-ansi} defines functions that turns simple
5119 strings to ANSI strings. Turning a string into an ANSI string can be to add
5120 color to a text, add color in the background of a text or adding a style, such
5121 as bold, underscore or italic.")
5122 (license license:gpl3+)))
5123
5124 ;; Tests for emacs-commander have a circular dependency with ert-runner, and
5125 ;; therefore cannot be run
5126 (define-public emacs-commander
5127 (package
5128 (name "emacs-commander")
5129 (version "0.7.0")
5130 (source
5131 (origin
5132 (method url-fetch)
5133 (uri (string-append "https://github.com/rejeep/commander.el/archive/v"
5134 version ".tar.gz"))
5135 (file-name (string-append name "-" version ".tar.gz"))
5136 (sha256
5137 (base32
5138 "196s2i15z7gwxa97l1wkxvjnfmj5n38wwm6d3g4zz15l2vqggc2y"))))
5139 (build-system emacs-build-system)
5140 (propagated-inputs
5141 `(("emacs-dash" ,emacs-dash)
5142 ("emacs-f" ,emacs-f)
5143 ("emacs-s" ,emacs-s)))
5144 (home-page "https://github.com/rejeep/commander.el")
5145 (synopsis "Emacs command line parser")
5146 (description "@code{emacs-commander} provides command line parsing for
5147 Emacs.")
5148 (license license:gpl3+)))
5149
5150 ;; Tests for ert-runner have a circular dependency with ecukes, and therefore
5151 ;; cannot be run
5152 (define-public ert-runner
5153 (let ((dependencies
5154 `(("emacs-ansi" ,emacs-ansi)
5155 ("emacs-commander" ,emacs-commander)
5156 ("emacs-dash" ,emacs-dash)
5157 ("emacs-f" ,emacs-f)
5158 ("emacs-s" ,emacs-s)
5159 ("emacs-shut-up" ,emacs-shut-up))))
5160 (package
5161 (name "ert-runner")
5162 (version "0.7.0")
5163 (source
5164 (origin
5165 (method url-fetch)
5166 (uri (string-append "https://github.com/rejeep/ert-runner.el/archive/v"
5167 version ".tar.gz"))
5168 (file-name (string-append name "-" version ".tar.gz"))
5169 (sha256
5170 (base32
5171 "1657nck9i96a4xgl8crfqq0s8gflzp21pkkzwg6m3z5npjxklgwp"))))
5172 (build-system emacs-build-system)
5173 (inputs dependencies)
5174 (arguments
5175 `(#:phases
5176 (modify-phases %standard-phases
5177 (add-after 'install 'install-executable
5178 (lambda* (#:key inputs outputs #:allow-other-keys)
5179 (let ((out (assoc-ref outputs "out")))
5180 (substitute* "bin/ert-runner"
5181 (("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)")
5182 (string-append "ERT_RUNNER=\"" out
5183 "/share/emacs/site-lisp/guix.d/"
5184 ,name "-" ,version)))
5185 (install-file "bin/ert-runner" (string-append out "/bin"))
5186 (wrap-program (string-append out "/bin/ert-runner")
5187 (list "EMACSLOADPATH" ":" '=
5188 (append
5189 ,(match dependencies
5190 (((labels packages) ...)
5191 `(map (lambda (label package version)
5192 (string-append (assoc-ref inputs label)
5193 "/share/emacs/site-lisp/guix.d/"
5194 (string-drop package 6)
5195 "-" version))
5196 ',labels
5197 ',(map package-name packages)
5198 ',(map package-version packages))))
5199 ;; empty element to include the default load path as
5200 ;; determined by emacs' standard initialization
5201 ;; procedure
5202 (list ""))))
5203 #t))))
5204 #:include (cons* "^reporters/.*\\.el$" %default-include)))
5205 (home-page "https://github.com/rejeep/ert-runner.el")
5206 (synopsis "Opinionated Ert testing workflow")
5207 (description "@code{ert-runner} is a tool for Emacs projects tested
5208 using ERT. It assumes a certain test structure setup and can therefore make
5209 running tests easier.")
5210 (license license:gpl3+))))
5211
5212 (define-public emacs-disable-mouse
5213 (package
5214 (name "emacs-disable-mouse")
5215 (version "0.2")
5216 (source
5217 (origin
5218 (method url-fetch)
5219 (uri (string-append
5220 "https://github.com/purcell/disable-mouse/archive/"
5221 version ".tar.gz"))
5222 (file-name (string-append name "-" version ".tar.gz"))
5223 (sha256
5224 (base32
5225 "0haqpq23r1wx04lsqrrg3p5visg9hx5i36dg55ab003wfsrlrzbc"))))
5226 (build-system emacs-build-system)
5227 (home-page "https://github.com/purcell/disable-mouse")
5228 (synopsis "Disable mouse commands globally")
5229 (description
5230 "Provides @code{disable-mouse-mode} and @code{global-disable-mouse-mode},
5231 pair of minor modes which suppress all mouse events by intercepting them and
5232 running a customisable handler command (@code{ignore} by default). ")
5233 (license license:gpl3+)))
5234
5235 (define-public emacs-restclient
5236 (let ((commit "07a3888bb36d0e29608142ebe743b4362b800f40")
5237 (revision "1")) ;Guix package revision,
5238 ;upstream doesn't have official releases
5239 (package
5240 (name "emacs-restclient")
5241 (version (string-append revision "."
5242 (string-take commit 7)))
5243 (source (origin
5244 (method git-fetch)
5245 (uri (git-reference
5246 (url "https://github.com/pashky/restclient.el.git")
5247 (commit commit)))
5248 (sha256
5249 (base32
5250 "00lmjhb5im1kgrp54yipf1h9pshxzgjlg71yf2rq5n973gvb0w0q"))
5251 (file-name (git-file-name name version))))
5252 (build-system emacs-build-system)
5253 (propagated-inputs
5254 `(("emacs-helm" ,emacs-helm)))
5255 (home-page "https://github.com/pashky/restclient.el")
5256 (synopsis "Explore and test HTTP REST webservices")
5257 (description
5258 "This tool allows for testing and exploration of HTTP REST Web services
5259 from within Emacs. Restclient runs queries from a plan-text query sheet,
5260 displays results pretty-printed in XML or JSON with @code{restclient-mode}")
5261 (license license:public-domain))))
5262
5263 (define-public emacs-dired-hacks
5264 (let ((commit "eda68006ce73bbf6b9b995bfd70d08bec8cade36")
5265 (revision "1"))
5266 (package
5267 (name "emacs-dired-hacks")
5268 (version (string-append "0.0.1-" revision "."
5269 (string-take commit 7)))
5270 (source (origin
5271 (method git-fetch)
5272 (uri (git-reference
5273 (url "https://github.com/Fuco1/dired-hacks.git")
5274 (commit commit)))
5275 (file-name (string-append name "-" version "-checkout"))
5276 (sha256
5277 (base32
5278 "1w7ssl9zssn5rcha6apf4h8drkd02k4xgvs203bdbqyqp9wz9brx"))))
5279 (build-system emacs-build-system)
5280 (propagated-inputs
5281 `(("emacs-dash" ,emacs-dash)
5282 ("emacs-f" ,emacs-f)
5283 ("emacs-s" ,emacs-s)))
5284 (home-page "https://github.com/Fuco1/dired-hacks")
5285 (synopsis
5286 "Collection of useful dired additions")
5287 (description
5288 "Collection of Emacs dired mode additions:
5289 @itemize
5290 @item dired-avfs
5291 @item dired-columns
5292 @item dired-filter
5293 @item dired-hacks-utils
5294 @item dired-images
5295 @item dired-list
5296 @item dired-narrow
5297 @item dired-open
5298 @item dired-rainbow
5299 @item dired-ranger
5300 @item dired-subtree
5301 @item dired-tagsistant
5302 @end itemize\n")
5303 (license license:gpl3+))))
5304
5305 (define-public emacs-which-key
5306 (package
5307 (name "emacs-which-key")
5308 (version "3.0.1")
5309 (source
5310 (origin
5311 (method url-fetch)
5312 (uri (string-append
5313 "https://github.com/justbur/emacs-which-key/archive/v"
5314 version ".tar.gz"))
5315 (sha256
5316 (base32
5317 "0zc9yivdkbxmcllhlbbcvsbj8g8nzzgs0xib488s08p4s0l7xs8m"))
5318 (file-name (string-append name "-" version ".tar.gz"))))
5319 (build-system emacs-build-system)
5320 (arguments
5321 `(#:phases
5322 (modify-phases %standard-phases
5323 (add-before 'install 'check
5324 (lambda _
5325 (zero? (system* "emacs" "--batch" "-L" "."
5326 "-l" "which-key-tests.el"
5327 "-f" "ert-run-tests-batch-and-exit")))))))
5328 (home-page "https://github.com/justbur/emacs-which-key")
5329 (synopsis "Display available key bindings in popup")
5330 (description
5331 "@code{emacs-which-key} is a minor mode for Emacs that displays the key
5332 bindings following your currently entered incomplete command (a prefix) in a
5333 popup. For example, after enabling the minor mode if you enter C-x and wait
5334 for the default of 1 second, the minibuffer will expand with all of the
5335 available key bindings that follow C-x (or as many as space allows given your
5336 settings).")
5337 (license license:gpl3+)))
5338
5339 (define-public emacs-org-edit-latex
5340 (package
5341 (name "emacs-org-edit-latex")
5342 (version "0.8.0")
5343 (source
5344 (origin
5345 (method url-fetch)
5346 (uri (string-append
5347 "https://github.com/et2010/org-edit-latex/archive/v"
5348 version ".tar.gz"))
5349 (file-name (string-append name "-" version ".tar.gz"))
5350 (sha256
5351 (base32
5352 "1y4h6wrs8286h9pbsv4d8fr67a885vz8b2k80qgv5qddipi2i78p"))))
5353 (build-system emacs-build-system)
5354 (propagated-inputs
5355 `(("emacs-auctex" ,emacs-auctex)
5356 ;; The version of org in Emacs 25.2 is not sufficient, because the
5357 ;; `org-latex-make-preamble' function is required.
5358 ("emacs-org" ,emacs-org)))
5359 (home-page "https://github.com/et2010/org-edit-latex")
5360 (synopsis "Edit a latex fragment just like editing a src block")
5361 (description "@code{emacs-org-edit-latex} is an extension for org-mode.
5362 It lets you edit a latex fragment in a dedicated buffer just like editing a
5363 src block.")
5364 (license license:gpl3+)))
5365
5366 (define-public emacs-emamux
5367 (package
5368 (name "emacs-emamux")
5369 (version "0.14")
5370 (source (origin
5371 (method url-fetch)
5372 (uri (string-append
5373 "https://github.com/syohex/emacs-emamux/archive/"
5374 version ".tar.gz"))
5375 (file-name (string-append name "-" version ".tar.gz"))
5376 (sha256
5377 (base32
5378 "0wlqg4icy037bj70b0qmhvwvmiwhagpnx6pnxhq6gzy1hvwlilkx"))))
5379 (build-system emacs-build-system)
5380 (home-page "https://github.com/syohex/emacs-emamux")
5381 (synopsis "Manipulate Tmux from Emacs")
5382 (description
5383 "@code{emacs-emamux} lets Emacs interact with the @code{tmux} terminal
5384 multiplexer.")
5385 (license license:gpl3+)))
5386
5387 (define-public emacs-rpm-spec-mode
5388 (package
5389 (name "emacs-rpm-spec-mode")
5390 (version "0.16")
5391 (source
5392 (origin
5393 (method url-fetch)
5394 ;; URI has the Fedora release number instead of the version
5395 ;; number. This will have to updated manually every new release.
5396 (uri (string-append
5397 "https://src.fedoraproject.org/cgit/rpms"
5398 "/emacs-rpm-spec-mode.git/snapshot"
5399 "/emacs-rpm-spec-mode-f26.tar.gz"))
5400 (sha256
5401 (base32
5402 "17dz80lhjrc89fj17pysl8slahzrqdkxgcjdk55zls6jizkr6kz3"))))
5403 (build-system emacs-build-system)
5404 (home-page "http://pkgs.fedoraproject.org/cgit/rpms/emacs-rpm-spec-mode.git")
5405 (synopsis "Emacs major mode for editing RPM spec files")
5406 (description "@code{emacs-rpm-spec-mode} provides an Emacs major mode for
5407 editing RPM spec files.")
5408 (license license:gpl2+)))
5409
5410 (define-public emacs-git-messenger
5411 (package
5412 (name "emacs-git-messenger")
5413 (version "0.18")
5414 (source
5415 (origin
5416 (method url-fetch)
5417 (uri (string-append
5418 "https://github.com/syohex/emacs-git-messenger/archive/"
5419 version ".tar.gz"))
5420 (file-name (string-append name "-" version ".tar.gz"))
5421 (sha256
5422 (base32
5423 "17mqki6g0wx46fn7dcbcc2pjxik7vvrcb1j9jzxim8b9psbsbnp9"))))
5424 (build-system emacs-build-system)
5425 (propagated-inputs
5426 `(("emacs-popup" ,emacs-popup)))
5427 (arguments
5428 `(#:phases
5429 (modify-phases %standard-phases
5430 (add-before 'install 'check
5431 (lambda* (#:key inputs #:allow-other-keys)
5432 (zero? (system* "emacs" "--batch" "-L" "."
5433 "-L" (string-append
5434 (assoc-ref inputs "emacs-popup")
5435 "/share/emacs/site-lisp/guix.d/popup-"
5436 ,(package-version emacs-popup))
5437 "-l" "test/test.el"
5438 "-f" "ert-run-tests-batch-and-exit")))))))
5439 (home-page "https://github.com/syohex/emacs-git-messenger")
5440 (synopsis "Popup commit message at current line")
5441 (description "@code{emacs-git-messenger} provides
5442 @code{git-messenger:popup-message}, a function that when called, will popup
5443 the last git commit message for the current line. This uses git-blame
5444 internally.")
5445 (license license:gpl3+)))
5446
5447 (define-public emacs-gitpatch
5448 (package
5449 (name "emacs-gitpatch")
5450 (version "0.5.0")
5451 (source
5452 (origin
5453 (method url-fetch)
5454 (uri (string-append "https://github.com/tumashu/gitpatch/archive/"
5455 "v" version ".tar.gz"))
5456 (file-name (string-append name "-" version ".tar.gz"))
5457 (sha256
5458 (base32
5459 "1yj6pmic541lcnscjin300k380qp9xdfprs55xg1q57jrkq6f6k7"))))
5460 (build-system emacs-build-system)
5461 (home-page "https://github.com/tumashu/gitpatch")
5462 (synopsis "Mail git patch from Emacs")
5463 (description "@code{emacs-gitpatch} lets users easily send git patches,
5464 created by @code{git format-patch}, from @code{magit}, @code{dired} and
5465 @code{ibuffer} buffers.")
5466 (license license:gpl3+)))
5467
5468 (define-public emacs-erc-hl-nicks
5469 (package
5470 (name "emacs-erc-hl-nicks")
5471 (version "1.3.2")
5472 (source
5473 (origin
5474 (method url-fetch)
5475 (uri (string-append "https://github.com/leathekd/erc-hl-nicks"
5476 "/archive/" version ".tar.gz"))
5477 (file-name (string-append name "-" version ".tar.gz"))
5478 (sha256
5479 (base32
5480 "01svpl9bps5kx4y1wnymakxya2cznqmlynvqv2r500wpnbxczrbs"))))
5481 (build-system emacs-build-system)
5482 (synopsis "Nickname highlighting for Emacs ERC")
5483 (description "@code{erc-hl-nicks} highlights nicknames in ERC, an IRC
5484 client for Emacs. The main features are:
5485 @itemize
5486 @item Auto-colorizes nicknames without having to specify colors
5487 @item Ignores certain characters that IRC clients add to nicknames to avoid
5488 duplicates (nickname, nickname’, nickname\", etc.)
5489 @item Attempts to produce colors with a sufficient amount of contrast between
5490 the nick color and the background color
5491 @end itemize\n")
5492 (home-page "https://github.com/leathekd/erc-hl-nicks")
5493 (license license:gpl3+)))
5494
5495 (define-public emacs-engine-mode
5496 (package
5497 (name "emacs-engine-mode")
5498 (version "2.0.0")
5499 (source
5500 (origin
5501 (method url-fetch)
5502 (uri (string-append "https://github.com/hrs/engine-mode/archive/"
5503 "v" version ".tar.gz"))
5504 (file-name (string-append name "-" version ".tar.gz"))
5505 (sha256
5506 (base32
5507 "1vm4p7pcp1vnwwxvps1bhm7i7hkabqqxl898knxf2hqvxys76684"))))
5508 (build-system emacs-build-system)
5509 (synopsis "Minor mode for defining and querying search engines")
5510 (description "@code{engine-mode} is a global minor mode for Emacs. It
5511 enables you to easily define search engines, bind them to keybindings, and
5512 query them from the comfort of your editor.")
5513 (home-page "https://github.com/hrs/engine-mode")
5514 (license license:gpl3+)))
5515
5516 (define-public emacs-prop-menu
5517 (package
5518 (name "emacs-prop-menu")
5519 (version "0.1.2")
5520 (source
5521 (origin
5522 (method url-fetch)
5523 (uri (string-append
5524 "http://stable.melpa.org/packages/prop-menu-"
5525 version ".el"))
5526 (sha256
5527 (base32
5528 "01bk4sjafzz7gqrkv9jg0pa85qr34vbk3q8ga2b0m61bndywzgpr"))))
5529 (build-system emacs-build-system)
5530 (home-page
5531 "https://github.com/david-christiansen/prop-menu-el")
5532 (synopsis
5533 "Create and display a context menu based on text and overlay properties")
5534 (description
5535 "This is a library for computing context menus based on text
5536 properties and overlays. The intended use is to have tools that
5537 annotate source code and others that use these annotations, without
5538 requiring a direct coupling between them, but maintaining
5539 discoverability.
5540
5541 Major modes that wish to use this library should first define an
5542 appropriate value for @code{prop-menu-item-functions}. Then, they should
5543 bind @code{prop-menu-by-completing-read} to an appropriate
5544 key. Optionally, a mouse pop-up can be added by binding
5545 @code{prop-menu-show-menu} to a mouse event.")
5546 (license license:gpl3+)))
5547
5548 (define-public emacs-idris-mode
5549 (package
5550 (name "emacs-idris-mode")
5551 (version "0.9.19")
5552 (source
5553 (origin
5554 (method url-fetch)
5555 (uri (string-append
5556 "http://stable.melpa.org/packages/idris-mode-"
5557 version ".tar"))
5558 (sha256
5559 (base32
5560 "0ld4kfwnyyhlsnj5f6cbn4is4mpxdqalk2aifkw02r00mbr9n294"))))
5561 (build-system emacs-build-system)
5562 (propagated-inputs
5563 `(("emacs-prop-menu" ,emacs-prop-menu)))
5564 (home-page
5565 "https://github.com/idris-hackers/idris-mode")
5566 (synopsis "Major mode for editing Idris code")
5567 (description
5568 "This is an Emacs mode for editing Idris code. It requires the latest
5569 version of Idris, and some features may rely on the latest Git version of
5570 Idris.")
5571 (license license:gpl3+)))
5572
5573 (define-public emacs-browse-at-remote
5574 (let ((commit "b5cff7971ca8bbb966e3acd9b7e5c4c007f94215")
5575 (revision "1"))
5576 (package
5577 (name "emacs-browse-at-remote")
5578 (version (string-append "0.9.0-" revision "."
5579 (string-take commit 7)))
5580 (source (origin
5581 (method git-fetch)
5582 (uri (git-reference
5583 (url "https://github.com/rmuslimov/browse-at-remote.git")
5584 (commit commit)))
5585 (file-name (string-append name "-" version "-checkout"))
5586 (sha256
5587 (base32
5588 "16ms9703m15dfxg6ap4mdw7msf8z5rzsdhba51dwivfpjxg7n52c"))))
5589 (build-system emacs-build-system)
5590 (propagated-inputs
5591 `(("emacs-f" ,emacs-f)
5592 ("emacs-s" ,emacs-s)))
5593 (native-inputs
5594 `(("ert-runner" ,ert-runner)))
5595 (arguments
5596 `(#:phases
5597 (modify-phases %standard-phases
5598 (add-before 'install 'check
5599 (lambda _
5600 (zero? (system* "ert-runner")))))))
5601 (home-page "https://github.com/rmuslimov/browse-at-remote")
5602 (synopsis "Open github/gitlab/bitbucket/stash page from Emacs")
5603 (description
5604 "This Emacs package allows you to open a target page on
5605 github/gitlab (or bitbucket) by calling @code{browse-at-remote} command.
5606 It supports dired buffers and opens them in tree mode at destination.")
5607 (license license:gpl3+))))
5608
5609 (define-public emacs-tiny
5610 (package
5611 (name "emacs-tiny")
5612 (version "0.1.1")
5613 (source
5614 (origin
5615 (method url-fetch)
5616 (uri (string-append "http://elpa.gnu.org/packages/tiny-" version ".tar"))
5617 (sha256
5618 (base32
5619 "1nhg8375qdn457wj0xmfaj72s87xbabk2w1nl6q7rjvwxv08yyn7"))))
5620 (build-system emacs-build-system)
5621 (home-page "https://github.com/abo-abo/tiny")
5622 (synopsis "Quickly generate linear ranges in Emacs")
5623 (description
5624 "The main command of the @code{tiny} extension for Emacs is @code{tiny-expand}.
5625 It is meant to quickly generate linear ranges, e.g. 5, 6, 7, 8. Some elisp
5626 proficiency is an advantage, since you can transform your numeric range with
5627 an elisp expression.")
5628 (license license:gpl3+)))
5629
5630 (define-public emacs-bash-completion
5631 (package
5632 (name "emacs-bash-completion")
5633 (version "2.0.0")
5634 (source
5635 (origin
5636 (method url-fetch)
5637 (uri (string-append
5638 "https://github.com/szermatt/emacs-bash-completion/archive/v"
5639 version ".tar.gz"))
5640 (file-name (string-append name "-" version ".tar.gz"))
5641 (sha256
5642 (base32
5643 "0mkci4a1fy8z4cmry8mx5vsx4f16a8r454slnh7lqzidnhfi63hj"))))
5644 (inputs `(("bash" ,bash)))
5645 (build-system emacs-build-system)
5646 (arguments
5647 `(#:phases
5648 (modify-phases %standard-phases
5649 (add-before 'install 'configure
5650 (lambda* (#:key inputs #:allow-other-keys)
5651 (let ((bash (assoc-ref inputs "bash")))
5652 (emacs-substitute-variables "bash-completion.el"
5653 ("bash-completion-prog" (string-append bash "/bin/bash"))))
5654 #t)))))
5655 (home-page "https://github.com/szermatt/emacs-bash-completion")
5656 (synopsis "BASH completion for the shell buffer")
5657 (description
5658 "@code{bash-completion} defines dynamic completion hooks for shell-mode
5659 and shell-command prompts that are based on bash completion.")
5660 (license license:gpl2+)))