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