Revert "Merge branch 'core-updates'"
[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 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
8 ;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com>
9 ;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org>
10 ;;; Copyright © 2016 humanitiesNerd <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 ng0 <ng0@we.make.ritual.n0.is>
16 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
17 ;;;
18 ;;; This file is part of GNU Guix.
19 ;;;
20 ;;; GNU Guix is free software; you can redistribute it and/or modify it
21 ;;; under the terms of the GNU General Public License as published by
22 ;;; the Free Software Foundation; either version 3 of the License, or (at
23 ;;; your option) any later version.
24 ;;;
25 ;;; GNU Guix is distributed in the hope that it will be useful, but
26 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
27 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 ;;; GNU General Public License for more details.
29 ;;;
30 ;;; You should have received a copy of the GNU General Public License
31 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
32
33 (define-module (gnu packages emacs)
34 #:use-module ((guix licenses) #:prefix license:)
35 #:use-module (guix packages)
36 #:use-module (guix download)
37 #:use-module (guix git-download)
38 #:use-module (guix gexp)
39 #:use-module (guix monads)
40 #:use-module (guix store)
41 #:use-module (guix build-system gnu)
42 #:use-module (guix build-system emacs)
43 #:use-module (guix build-system glib-or-gtk)
44 #:use-module (guix build-system trivial)
45 #:use-module (gnu packages)
46 #:use-module (gnu packages guile)
47 #:use-module (gnu packages gtk)
48 #:use-module (gnu packages gnome)
49 #:use-module (gnu packages ncurses)
50 #:use-module (gnu packages tex)
51 #:use-module (gnu packages texinfo)
52 #:use-module (gnu packages tls)
53 #:use-module (gnu packages pkg-config)
54 #:use-module (gnu packages xorg)
55 #:use-module (gnu packages lesstif)
56 #:use-module (gnu packages image)
57 #:use-module (gnu packages linux)
58 #:use-module (gnu packages version-control)
59 #:use-module (gnu packages imagemagick)
60 #:use-module (gnu packages w3m)
61 #:use-module (gnu packages wget)
62 #:use-module (gnu packages autotools)
63 #:use-module (gnu packages base)
64 #:use-module (gnu packages compression)
65 #:use-module (gnu packages xml)
66 #:use-module (gnu packages glib)
67 #:use-module (gnu packages acl)
68 #:use-module (gnu packages package-management)
69 #:use-module (gnu packages perl)
70 #:use-module (gnu packages pdf)
71 #:use-module (gnu packages scheme)
72 #:use-module (gnu packages statistics)
73 #:use-module (gnu packages xiph)
74 #:use-module (gnu packages mp3)
75 #:use-module (guix utils)
76 #:use-module (srfi srfi-1))
77
78 (define-public emacs
79 (package
80 (name "emacs")
81 (version "24.5")
82 (source (origin
83 (method url-fetch)
84 (uri (string-append "mirror://gnu/emacs/emacs-"
85 version ".tar.xz"))
86 (sha256
87 (base32
88 "0kn3rzm91qiswi0cql89kbv6mqn27rwsyjfb8xmwy9m5s8fxfiyx"))
89 (patches (search-patches "emacs-exec-path.patch"
90 "emacs-fix-scheme-indent-function.patch"
91 "emacs-source-date-epoch.patch"))
92 (modules '((guix build utils)))
93 (snippet
94 ;; Delete the bundled byte-compiled elisp files and
95 ;; generated autoloads.
96 '(with-directory-excursion "lisp"
97 (for-each delete-file
98 (append (find-files "." "\\.elc$")
99 (find-files "." "loaddefs\\.el$")
100 ;; This is the only "autoloads" file that
101 ;; does not have "*loaddefs.el" name.
102 '("eshell/esh-groups.el")))))))
103 (build-system glib-or-gtk-build-system)
104 (arguments
105 `(#:phases
106 (modify-phases %standard-phases
107 (add-before 'configure 'fix-/bin/pwd
108 (lambda _
109 ;; Use `pwd', not `/bin/pwd'.
110 (substitute* (find-files "." "^Makefile\\.in$")
111 (("/bin/pwd")
112 "pwd"))))
113 (add-after 'install 'remove-info.info
114 (lambda* (#:key outputs #:allow-other-keys)
115 ;; Remove 'info.info', which is provided by Texinfo <= 6.0.
116 ;; TODO: Remove this phase when we switch to Texinfo 6.1.
117 (let ((out (assoc-ref outputs "out")))
118 (delete-file
119 (string-append out "/share/info/info.info.gz"))
120 #t)))
121 (add-after 'install 'install-site-start
122 ;; Copy guix-emacs.el from Guix and add it to site-start.el. This
123 ;; way, Emacs packages provided by Guix and installed in
124 ;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are
125 ;; automatically found.
126 (lambda* (#:key inputs outputs #:allow-other-keys)
127 (let* ((guix-src (assoc-ref inputs "guix-src"))
128 (out (assoc-ref outputs "out"))
129 (lisp-dir (string-append out "/share/emacs/site-lisp"))
130 (unpack (assoc-ref %standard-phases 'unpack)))
131 (mkdir "guix")
132 (with-directory-excursion "guix"
133 (apply unpack (list #:source guix-src))
134 (install-file "emacs/guix-emacs.el" lisp-dir))
135 (with-output-to-file (string-append lisp-dir "/site-start.el")
136 (lambda ()
137 (display "(require 'guix-emacs nil t)")))
138 #t))))))
139 (inputs
140 `(("gnutls" ,gnutls)
141 ("ncurses" ,ncurses)
142
143 ;; TODO: Add the optional dependencies.
144 ("libx11" ,libx11)
145 ("gtk+" ,gtk+)
146 ("libxft" ,libxft)
147 ("libtiff" ,libtiff)
148 ("giflib" ,giflib)
149 ("libjpeg" ,libjpeg-8)
150 ("acl" ,acl)
151
152 ;; When looking for libpng `configure' links with `-lpng -lz', so we
153 ;; must also provide zlib as an input.
154 ("libpng" ,libpng)
155 ("zlib" ,zlib)
156
157 ("librsvg" ,librsvg)
158 ("libxpm" ,libxpm)
159 ("libxml2" ,libxml2)
160 ("libice" ,libice)
161 ("libsm" ,libsm)
162 ("alsa-lib" ,alsa-lib)
163 ("dbus" ,dbus)
164 ("guix-src" ,(package-source guix))))
165 (native-inputs
166 `(("pkg-config" ,pkg-config)
167 ("texinfo" ,texinfo)))
168
169 (native-search-paths
170 (list (search-path-specification
171 (variable "INFOPATH")
172 (files '("share/info")))))
173
174 (home-page "http://www.gnu.org/software/emacs/")
175 (synopsis "The extensible, customizable, self-documenting text editor")
176 (description
177 "GNU Emacs is an extensible and highly customizable text editor. It is
178 based on an Emacs Lisp interpreter with extensions for text editing. Emacs
179 has been extended in essentially all areas of computing, giving rise to a
180 vast array of packages supporting, e.g., email, IRC and XMPP messaging,
181 spreadsheets, remote server editing, and much more. Emacs includes extensive
182 documentation on all aspects of the system, from basic editing to writing
183 large Lisp programs. It has full Unicode support for nearly all human
184 languages.")
185 (license license:gpl3+)))
186
187 (define-public emacs-minimal
188 ;; This is the version that you should use as an input to packages that just
189 ;; need to byte-compile .el files.
190 (package (inherit emacs)
191 (name "emacs-minimal")
192 (synopsis "The extensible text editor (used only for byte-compilation)")
193 (build-system gnu-build-system)
194 (arguments
195 (substitute-keyword-arguments (package-arguments emacs)
196 ((#:phases phases)
197 `(modify-phases ,phases
198 (delete 'install-site-start)))))
199 (inputs
200 `(("ncurses" ,ncurses)))
201 (native-inputs
202 `(("pkg-config" ,pkg-config)))))
203
204 (define-public emacs-no-x
205 (package (inherit emacs)
206 (name "emacs-no-x")
207 (synopsis "The extensible, customizable, self-documenting text
208 editor (console only)")
209 (build-system gnu-build-system)
210 (inputs (fold alist-delete
211 (package-inputs emacs)
212 '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
213 "libpng" "librsvg" "libxpm" "libice" "libsm"
214
215 ;; D-Bus depends on libx11, so remove it as well.
216 "dbus")))))
217
218 (define-public emacs-no-x-toolkit
219 (package (inherit emacs)
220 (name "emacs-no-x-toolkit")
221 (synopsis "The extensible, customizable, self-documenting text
222 editor (without an X toolkit)" )
223 (build-system gnu-build-system)
224 (inputs (append `(("inotify-tools" ,inotify-tools))
225 (alist-delete "gtk+" (package-inputs emacs))))
226 (arguments (append '(#:configure-flags '("--with-x-toolkit=no"))
227 (package-arguments emacs)))))
228
229 (define-public guile-emacs
230 (package (inherit emacs)
231 (name "guile-emacs")
232 (version "20150512.41120e0")
233 (source (origin
234 (method git-fetch)
235 (uri (git-reference
236 (url "git://git.hcoop.net/git/bpt/emacs.git")
237 (commit "41120e0f595b16387eebfbf731fff70481de1b4b")))
238 (sha256
239 (base32
240 "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6"))))
241 (native-inputs
242 `(("autoconf" ,autoconf)
243 ("automake" ,automake)
244 ("guile" ,guile-for-guile-emacs)
245 ,@(package-native-inputs emacs)))
246 (arguments
247 (substitute-keyword-arguments `(;; Build fails if we allow parallel build.
248 #:parallel-build? #f
249 ;; Tests aren't passing for now.
250 #:tests? #f
251 ,@(package-arguments emacs))
252 ((#:phases phases)
253 `(modify-phases ,phases
254 (add-after 'unpack 'autogen
255 (lambda _
256 (zero? (system* "sh" "autogen.sh"))))))))))
257
258 \f
259 ;;;
260 ;;; Emacs hacking.
261 ;;;
262
263 (define-public geiser
264 (package
265 (name "geiser")
266 (version "0.8.1")
267 (source (origin
268 (method url-fetch)
269 (uri (string-append "mirror://savannah/geiser/" version
270 "/geiser-" version ".tar.gz"))
271 (sha256
272 (base32
273 "163zh8qf1q8l485d94a51a9xixirj8r2xvrbgxyw06vkaqrz5qvc"))))
274 (build-system gnu-build-system)
275 (arguments
276 '(#:phases (alist-cons-after
277 'install 'post-install
278 (lambda* (#:key outputs #:allow-other-keys)
279 (symlink "geiser-install.el"
280 (string-append (assoc-ref outputs "out")
281 "/share/emacs/site-lisp/"
282 "geiser-autoloads.el")))
283 %standard-phases)))
284 (inputs `(("guile" ,guile-2.0)))
285 (native-inputs `(("emacs" ,emacs-minimal)))
286 (home-page "http://nongnu.org/geiser/")
287 (synopsis "Collection of Emacs modes for Guile and Racket hacking")
288 (description
289 "Geiser is a collection of Emacs major and minor modes that conspire with
290 one or more Scheme implementations to keep the Lisp Machine Spirit alive. The
291 continuously running Scheme interpreter takes the center of the stage in
292 Geiser. A bundle of Elisp shims orchestrates the dialog between the Scheme
293 implementation, Emacs and, ultimately, the schemer, giving them access to live
294 metadata.")
295 (license license:bsd-3)))
296
297 (define-public geiser-next
298 ;; Geiser's upcoming version supports guile-next, and 0.8.1 does not.
299 ;; When the next Geiser release comes out, we can remove this.
300 (let ((commit "2e335695fc1a4a0b520b50deb761b958194cbec4"))
301 (package
302 (inherit geiser)
303 (name "geiser-next")
304 (version (string-append "0.8.1-1"
305 (string-take commit 7)))
306 (source (origin
307 (method git-fetch)
308 (uri (git-reference
309 (url "git://git.sv.gnu.org/geiser.git")
310 (commit commit)))
311 (sha256
312 (base32
313 "00rmpn8zncq1fiah5m12l26z0s28bh7ql63kxdvksqdgfrisnmgf"))))
314 (native-inputs
315 `(("autoconf" ,autoconf)
316 ("automake" ,automake)
317 ("texinfo" ,texinfo)
318 ,@(package-native-inputs geiser)))
319 (arguments
320 (substitute-keyword-arguments (package-arguments geiser)
321 ((#:phases phases)
322 `(modify-phases ,phases
323 (add-after 'unpack 'autogen
324 (lambda _
325 (zero? (system* "sh" "autogen.sh")))))))))))
326
327 (define-public paredit
328 (package
329 (name "paredit")
330 (version "24")
331 (source (origin
332 (method url-fetch)
333 (uri (string-append "http://mumble.net/~campbell/emacs/paredit-"
334 version ".el"))
335 (sha256
336 (base32
337 "0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
338 (build-system trivial-build-system)
339 (native-inputs `(("emacs" ,emacs-minimal)))
340 (arguments
341 `(#:modules ((guix build utils)
342 (guix build emacs-utils))
343 #:builder
344 (begin
345 (use-modules (guix build utils))
346 (use-modules (guix build emacs-utils))
347
348 (let* ((emacs (string-append (assoc-ref %build-inputs "emacs")
349 "/bin/emacs"))
350 (source (assoc-ref %build-inputs "source"))
351 (lisp-dir (string-append %output
352 "/share/emacs/site-lisp"))
353 (target (string-append lisp-dir "/paredit.el")))
354 (mkdir-p lisp-dir)
355 (copy-file source target)
356 (with-directory-excursion lisp-dir
357 (parameterize ((%emacs emacs))
358 (emacs-generate-autoloads ,name lisp-dir)
359 (emacs-batch-eval '(byte-compile-file "paredit.el"))))))))
360 (home-page "http://mumble.net/~campbell/emacs/paredit/")
361 (synopsis "Emacs minor mode for editing parentheses")
362 (description
363 "ParEdit (paredit.el) is a minor mode for performing structured editing
364 of S-expression data. The typical example of this would be Lisp or Scheme
365 source code.
366
367 ParEdit helps **keep parentheses balanced** and adds many keys for moving
368 S-expressions and moving around in S-expressions. Its behavior can be jarring
369 for those who may want transient periods of unbalanced parentheses, such as
370 when typing parentheses directly or commenting out code line by line.")
371 (license license:gpl3+)))
372
373 (define-public git-modes
374 (package
375 (name "git-modes")
376 (version "1.2.2")
377 (source (origin
378 (method url-fetch)
379 (uri (string-append
380 "https://github.com/magit/git-modes/archive/"
381 version ".tar.gz"))
382 (file-name (string-append name "-" version ".tar.gz"))
383 (sha256
384 (base32
385 "0gb9c18jib8rpm14vig9774104lwmd8353ps0259m861syf6664d"))))
386 (build-system gnu-build-system)
387 (arguments
388 `(#:modules ((guix build gnu-build-system)
389 (guix build emacs-utils)
390 (guix build utils))
391 #:imported-modules (,@%gnu-build-system-modules
392 (guix build emacs-utils))
393
394 #:make-flags (list (string-append "PREFIX="
395 (assoc-ref %outputs "out"))
396 ;; Don't put .el files in a 'git-modes'
397 ;; sub-directory.
398 (string-append "LISPDIR="
399 (assoc-ref %outputs "out")
400 "/share/emacs/site-lisp"))
401 #:tests? #f ; no check target
402 #:phases (modify-phases %standard-phases
403 (delete 'configure)
404 (add-after 'install 'emacs-autoloads
405 (lambda* (#:key outputs #:allow-other-keys)
406 (let* ((out (assoc-ref outputs "out"))
407 (lisp (string-append
408 out "/share/emacs/site-lisp/")))
409 (emacs-generate-autoloads ,name lisp)))))))
410 (native-inputs `(("emacs" ,emacs-minimal)))
411 (home-page "https://github.com/magit/git-modes")
412 (synopsis "Emacs major modes for Git configuration files")
413 (description
414 "This package provides Emacs major modes for editing various Git
415 configuration files, such as .gitattributes, .gitignore, and .git/config.")
416 (license license:gpl3+)))
417
418 (define-public emacs-with-editor
419 (package
420 (name "emacs-with-editor")
421 (version "2.5.1")
422 (source (origin
423 (method url-fetch)
424 (uri (string-append
425 "https://github.com/magit/with-editor/archive/v"
426 version ".tar.gz"))
427 (file-name (string-append name "-" version ".tar.gz"))
428 (sha256
429 (base32
430 "1lqm0msc9lzb05ys96bsx8bf2y1qrw27dh5h6qz8lf5i4cbhflw2"))))
431 (build-system emacs-build-system)
432 (propagated-inputs
433 `(("emacs-dash" ,emacs-dash)))
434 (home-page "https://github.com/magit/with-editor")
435 (synopsis "Emacs library for using Emacsclient as EDITOR")
436 (description
437 "This package provides an Emacs library to use the Emacsclient as
438 @code{$EDITOR} of child processes, making sure they know how to call home.
439 For remote processes a substitute is provided, which communicates with Emacs
440 on stdout instead of using a socket as the Emacsclient does.")
441 (license license:gpl3+)))
442
443 (define-public magit
444 (package
445 (name "magit")
446 (version "2.7.0")
447 (source (origin
448 (method url-fetch)
449 (uri (string-append
450 "https://github.com/magit/magit/releases/download/"
451 version "/" name "-" version ".tar.gz"))
452 (sha256
453 (base32
454 "1kzd8k2n0lcr04jvn5b6d29zf765mxgshfhzflkzndwmvyxmlqpl"))))
455 (build-system gnu-build-system)
456 (native-inputs `(("texinfo" ,texinfo)
457 ("emacs" ,emacs-minimal)))
458 (inputs
459 `(("git" ,git)
460 ("perl" ,perl)))
461 (propagated-inputs
462 `(("dash" ,emacs-dash)
463 ("with-editor" ,emacs-with-editor)))
464 (arguments
465 `(#:modules ((guix build gnu-build-system)
466 (guix build utils)
467 (guix build emacs-utils))
468 #:imported-modules (,@%gnu-build-system-modules
469 (guix build emacs-utils))
470
471 #:test-target "test"
472 #:tests? #f ; tests are not included in the release
473
474 #:make-flags
475 (list (string-append "PREFIX=" %output)
476 ;; Don't put .el files in a sub-directory.
477 (string-append "lispdir=" %output "/share/emacs/site-lisp")
478 (string-append "DASH_DIR="
479 (assoc-ref %build-inputs "dash")
480 "/share/emacs/site-lisp/guix.d/dash-"
481 ,(package-version emacs-dash))
482 (string-append "WITH_EDITOR_DIR="
483 (assoc-ref %build-inputs "with-editor")
484 "/share/emacs/site-lisp/guix.d/with-editor-"
485 ,(package-version emacs-with-editor)))
486
487 #:phases
488 (modify-phases %standard-phases
489 (delete 'configure)
490 (add-before
491 'build 'patch-exec-paths
492 (lambda* (#:key inputs #:allow-other-keys)
493 (let ((git (assoc-ref inputs "git"))
494 (perl (assoc-ref inputs "perl")))
495 (emacs-substitute-variables "lisp/magit-git.el"
496 ("magit-git-executable" (string-append git "/bin/git")))
497 (substitute* "lisp/magit-sequence.el"
498 (("perl") (string-append perl "/bin/perl")))
499 #t))))))
500 (home-page "http://magit.github.io/")
501 (synopsis "Emacs interface for the Git version control system")
502 (description
503 "With Magit, you can inspect and modify your Git repositories with Emacs.
504 You can review and commit the changes you have made to the tracked files, for
505 example, and you can browse the history of past changes. There is support for
506 cherry picking, reverting, merging, rebasing, and other common Git
507 operations.")
508 (license license:gpl3+)))
509
510 (define-public magit-svn
511 (package
512 (name "magit-svn")
513 (version "2.1.1")
514 (source (origin
515 (method url-fetch)
516 (uri (string-append
517 "https://github.com/magit/magit-svn/archive/"
518 version ".tar.gz"))
519 (file-name (string-append name "-" version ".tar.gz"))
520 (sha256
521 (base32
522 "04y88j7q9h8xjbx5dbick6n5nr1522sn9i1znp0qwk3vjb4b5mzz"))))
523 (build-system trivial-build-system)
524 (native-inputs `(("emacs" ,emacs-minimal)
525 ("tar" ,tar)
526 ("gzip" ,gzip)))
527 (propagated-inputs `(("dash" ,emacs-dash)
528 ("magit" ,magit)))
529 (arguments
530 `(#:modules ((guix build utils)
531 (guix build emacs-utils))
532
533 #:builder
534 (begin
535 (use-modules (guix build utils)
536 (guix build emacs-utils))
537
538 (let* ((tar (string-append (assoc-ref %build-inputs "tar")
539 "/bin/tar"))
540 (PATH (string-append (assoc-ref %build-inputs "gzip")
541 "/bin"))
542 (emacs (string-append (assoc-ref %build-inputs "emacs")
543 "/bin/emacs"))
544 (magit (string-append (assoc-ref %build-inputs "magit")
545 "/share/emacs/site-lisp"))
546 (dash (string-append (assoc-ref %build-inputs "dash")
547 "/share/emacs/site-lisp/guix.d/dash-"
548 ,(package-version emacs-dash)))
549 (source (assoc-ref %build-inputs "source"))
550 (lisp-dir (string-append %output "/share/emacs/site-lisp")))
551 (setenv "PATH" PATH)
552 (system* tar "xvf" source)
553
554 (install-file (string-append ,name "-" ,version "/magit-svn.el")
555 lisp-dir)
556
557 (with-directory-excursion lisp-dir
558 (parameterize ((%emacs emacs))
559 (emacs-generate-autoloads ,name lisp-dir)
560 (setenv "EMACSLOADPATH"
561 (string-append ":" magit ":" dash))
562 (emacs-batch-eval '(byte-compile-file "magit-svn.el"))))))))
563 (home-page "https://github.com/magit/magit-svn")
564 (synopsis "Git-SVN extension to Magit")
565 (description
566 "This package is an extension to Magit, the Git Emacs mode, providing
567 support for Git-SVN.")
568 (license license:gpl3+)))
569
570 (define-public emacs-magit-popup
571 (package
572 (name "emacs-magit-popup")
573 (version (package-version magit))
574 (source (origin
575 (method url-fetch)
576 (uri (string-append
577 "https://raw.githubusercontent.com/magit/magit/"
578 version "/lisp/magit-popup.el"))
579 (file-name (string-append "magit-popup-" version ".el"))
580 (sha256
581 (base32
582 "144nl7j5mn86ccan6qxgg40bsxpkbc83vwnhd5y657gqki74972r"))))
583 (build-system emacs-build-system)
584 (propagated-inputs
585 `(("emacs-dash" ,emacs-dash)))
586 (home-page "https://github.com/magit/magit")
587 (synopsis "Define prefix-infix-suffix command combos")
588 (description
589 "This library implements a generic interface for toggling switches and
590 setting options and then invoking an Emacs command which does something with
591 these arguments. The prototypical use is for the command to call an external
592 process, passing on the arguments as command line arguments.")
593 (license license:gpl3+)))
594
595 (define-public haskell-mode
596 (package
597 (name "haskell-mode")
598 (version "13.14.2")
599 (source (origin
600 (method url-fetch)
601 (file-name (string-append name "-" version ".tar.gz"))
602 (uri (string-append
603 "https://github.com/haskell/haskell-mode/archive/v"
604 version ".tar.gz"))
605 (sha256
606 (base32 "1kxc2yj8vb122dv91r68h7c5ladcryx963fr16plfhg71fv7f9av"))))
607 (native-inputs
608 `(("emacs" ,emacs-minimal)
609 ("texinfo" ,texinfo)))
610 (build-system gnu-build-system)
611 (arguments
612 `(#:make-flags (list (string-append "EMACS="
613 (assoc-ref %build-inputs "emacs")
614 "/bin/emacs"))
615 #:phases
616 (modify-phases %standard-phases
617 (delete 'configure)
618 (add-before
619 'build 'pre-build
620 (lambda* (#:key inputs #:allow-other-keys)
621 (let ((sh (string-append (assoc-ref inputs "bash") "/bin/sh")))
622 (setenv "SHELL" "sh")
623 (substitute* (find-files "." "\\.el") (("/bin/sh") sh))
624 #t)))
625 (replace
626 'install
627 (lambda* (#:key outputs #:allow-other-keys)
628 (let* ((out (assoc-ref outputs "out"))
629 (el-dir (string-append out "/share/emacs/site-lisp"))
630 (doc (string-append
631 out "/share/doc/haskell-mode-" ,version))
632 (info (string-append out "/share/info")))
633 (define (copy-to-dir dir files)
634 (for-each (lambda (f)
635 (install-file f dir))
636 files))
637
638 (with-directory-excursion "doc"
639 (unless (zero? (system* "makeinfo" "haskell-mode.texi"))
640 (error "makeinfo failed"))
641 (install-file "haskell-mode.info" info))
642 (copy-to-dir doc '("CONTRIBUTING.md" "NEWS" "README.md"))
643 (copy-to-dir el-dir (find-files "." "\\.elc?"))
644 ;; these are now distributed with emacs
645 (with-directory-excursion el-dir
646 (for-each delete-file '("cl-lib.el" "ert.el")))
647 #t))))))
648 (home-page "https://github.com/haskell/haskell-mode")
649 (synopsis "Haskell mode for Emacs")
650 (description
651 "This is an Emacs mode for editing, debugging and developing Haskell
652 programs.")
653 (license license:gpl3+)))
654
655 (define-public let-alist
656 (package
657 (name "emacs-let-alist")
658 (version "1.0.4")
659 (source (origin
660 (method url-fetch)
661 (uri (string-append "http://elpa.gnu.org/packages/let-alist-"
662 version ".el"))
663 (sha256
664 (base32
665 "07312bvvyz86lf64vdkxg2l1wgfjl25ljdjwlf1bdzj01c4hm88x"))))
666 (build-system trivial-build-system)
667 (arguments
668 `(#:modules ((guix build utils)
669 (guix build emacs-utils))
670
671 #:builder (begin
672 (use-modules (guix build emacs-utils)
673 (guix build utils))
674
675 (let* ((out (assoc-ref %outputs "out"))
676 (lispdir (string-append out
677 "/share/emacs/site-lisp/"
678 "guix.d/let-alist-"
679 ,version))
680 (emacs (assoc-ref %build-inputs "emacs")))
681
682 (mkdir-p lispdir)
683 (copy-file (assoc-ref %build-inputs "source")
684 (string-append lispdir "/let-alist.el"))
685
686 (setenv "PATH" (string-append emacs "/bin"))
687 (emacs-byte-compile-directory lispdir)
688 #t))))
689 (native-inputs `(("emacs" ,emacs-minimal)))
690 (home-page "http://elpa.gnu.org/packages/let-alist.html")
691 (synopsis "Easily let-bind values of an assoc-list by their names")
692 (description
693 "This package offers a single Emacs Lisp macro, @code{let-alist}. This
694 macro takes a first argument, whose value must be an alist (association list),
695 and a body.
696
697 The macro expands to a let form containing the body, where each dotted symbol
698 inside body is let-bound to their cdrs in the alist. Only those present in
699 the body are let-bound and this search is done at compile time.")
700 (license license:gpl3+)))
701
702 (define-public flycheck
703 (package
704 (name "emacs-flycheck")
705 (version "28")
706 (source (origin
707 (method url-fetch)
708 (uri (string-append
709 "https://github.com/flycheck/flycheck/releases/download/"
710 version "/flycheck-" version ".tar"))
711 (sha256
712 (base32
713 "1yjxivk11d7w39zfhj2xr4h6xhwx1aj6yhyzd63rjrad7xpjfl86"))))
714 (build-system emacs-build-system)
715 (propagated-inputs
716 `(("emacs-dash" ,emacs-dash)
717 ("emacs-let-alist" ,let-alist)
718 ("emacs-seq" ,emacs-seq)))
719 (home-page "https://www.flycheck.org")
720 (synopsis "On-the-fly syntax checking")
721 (description
722 "This package provides on-the-fly syntax checking for GNU Emacs. It is a
723 replacement for the older Flymake extension which is part of GNU Emacs, with
724 many improvements and additional features.
725
726 Flycheck provides fully-automatic, fail-safe, on-the-fly background syntax
727 checking for over 30 programming and markup languages with more than 70
728 different tools. It highlights errors and warnings inline in the buffer, and
729 provides an optional IDE-like error list.")
730 (license license:gpl3+))) ;+GFDLv1.3+ for the manual
731
732 \f
733 ;;;
734 ;;; Web browsing.
735 ;;;
736
737 (define-public emacs-w3m
738 (package
739 (name "emacs-w3m")
740 (version "1.4.538+0.20141022")
741 (source (origin
742 (method url-fetch)
743 (uri (string-append "mirror://debian/pool/main/w/w3m-el/w3m-el_"
744 version ".orig.tar.gz"))
745 (sha256
746 (base32
747 "0zfxmq86pwk64yv0426gnjrvhjrgrjqn08sdcdhmmjmfpmqvm79y"))))
748 (build-system gnu-build-system)
749 (native-inputs `(("autoconf" ,autoconf)
750 ("emacs" ,emacs-minimal)))
751 (inputs `(("w3m" ,w3m)
752 ("imagemagick" ,imagemagick)))
753 (arguments
754 `(#:modules ((guix build gnu-build-system)
755 (guix build utils)
756 (guix build emacs-utils))
757 #:imported-modules (,@%gnu-build-system-modules
758 (guix build emacs-utils))
759 #:configure-flags
760 (let ((out (assoc-ref %outputs "out")))
761 (list (string-append "--with-lispdir="
762 out "/share/emacs/site-lisp")
763 (string-append "--with-icondir="
764 out "/share/images/emacs-w3m")
765 ;; Leave .el files uncompressed, otherwise GC can't
766 ;; identify run-time dependencies. See
767 ;; <http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00208.html>
768 "--without-compress-install"))
769 #:tests? #f ; no check target
770 #:phases
771 (modify-phases %standard-phases
772 (add-after 'unpack 'autoconf
773 (lambda _
774 (zero? (system* "autoconf"))))
775 (add-before 'build 'patch-exec-paths
776 (lambda* (#:key inputs outputs #:allow-other-keys)
777 (let ((out (assoc-ref outputs "out"))
778 (w3m (assoc-ref inputs "w3m"))
779 (imagemagick (assoc-ref inputs "imagemagick"))
780 (coreutils (assoc-ref inputs "coreutils")))
781 (emacs-substitute-variables "w3m.el"
782 ("w3m-command" (string-append w3m "/bin/w3m"))
783 ("w3m-touch-command"
784 (string-append coreutils "/bin/touch"))
785 ("w3m-image-viewer"
786 (string-append imagemagick "/bin/display"))
787 ("w3m-icon-directory"
788 (string-append out "/share/images/emacs-w3m")))
789 (emacs-substitute-variables "w3m-image.el"
790 ("w3m-imagick-convert-program"
791 (string-append imagemagick "/bin/convert"))
792 ("w3m-imagick-identify-program"
793 (string-append imagemagick "/bin/identify")))
794 #t)))
795 (replace 'install
796 (lambda* (#:key outputs #:allow-other-keys)
797 (and (zero? (system* "make" "install" "install-icons"))
798 (with-directory-excursion
799 (string-append (assoc-ref outputs "out")
800 "/share/emacs/site-lisp")
801 (for-each delete-file '("ChangeLog" "ChangeLog.1"))
802 (symlink "w3m-load.el" "w3m-autoloads.el")
803 #t)))))))
804 (home-page "http://emacs-w3m.namazu.org/")
805 (synopsis "Simple Web browser for Emacs based on w3m")
806 (description
807 "Emacs-w3m is an emacs interface for the w3m web browser.")
808 (license license:gpl2+)))
809
810 (define-public emacs-wget
811 (package
812 (name "emacs-wget")
813 (version "0.5.0")
814 (source (origin
815 (method url-fetch)
816 (uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_"
817 version ".orig.tar.gz"))
818 (sha256
819 (base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff"))))
820 (build-system gnu-build-system)
821 (inputs `(("wget" ,wget)))
822 (native-inputs `(("emacs" ,emacs-minimal)))
823 (arguments
824 `(#:modules ((guix build gnu-build-system)
825 (guix build utils)
826 (guix build emacs-utils))
827 #:imported-modules (,@%gnu-build-system-modules
828 (guix build emacs-utils))
829 #:tests? #f ; no check target
830 #:phases
831 (alist-replace
832 'configure
833 (lambda* (#:key outputs #:allow-other-keys)
834 (substitute* "Makefile"
835 (("/usr/local") (assoc-ref outputs "out"))
836 (("/site-lisp/emacs-wget") "/site-lisp")))
837 (alist-cons-before
838 'build 'patch-exec-paths
839 (lambda* (#:key inputs outputs #:allow-other-keys)
840 (let ((wget (assoc-ref inputs "wget")))
841 (emacs-substitute-variables "wget.el"
842 ("wget-command" (string-append wget "/bin/wget")))))
843 (alist-cons-after
844 'install 'post-install
845 (lambda* (#:key outputs #:allow-other-keys)
846 (emacs-generate-autoloads
847 "wget" (string-append (assoc-ref outputs "out")
848 "/share/emacs/site-lisp/")))
849 %standard-phases)))))
850 (home-page "http://www.emacswiki.org/emacs/EmacsWget")
851 (synopsis "Simple file downloader for Emacs based on wget")
852 (description
853 "Emacs-wget is an emacs interface for the wget file downloader.")
854 (license license:gpl2+)))
855
856 \f
857 ;;;
858 ;;; Multimedia.
859 ;;;
860
861 (define-public emms
862 (package
863 (name "emacs-emms")
864 (version "4.1")
865 (source (origin
866 (method url-fetch)
867 (uri (string-append "mirror://gnu/emms/emms-"
868 version ".tar.gz"))
869 (sha256
870 (base32
871 "0ay6631p3dr6xnhkm7skwn0gp317r1mxbip28m126w4zqf05cbh3"))
872 (modules '((guix build utils)))
873 (snippet
874 '(substitute* "Makefile"
875 (("/usr/bin/install-info")
876 ;; No need to use 'install-info' since it would create a
877 ;; useless 'dir' file.
878 "true")
879 (("^INFODIR=.*")
880 ;; Install Info files to $out/share/info, not $out/info.
881 "INFODIR := $(PREFIX)/share/info\n")
882 (("/site-lisp/emms")
883 ;; Install directly in share/emacs/site-lisp, not in a
884 ;; sub-directory.
885 "/site-lisp")
886 (("^all: (.*)\n" _ rest)
887 ;; Build 'emms-print-metadata'.
888 (string-append "all: " rest " emms-print-metadata\n"))))))
889 (build-system gnu-build-system)
890 (arguments
891 `(#:modules ((guix build gnu-build-system)
892 (guix build utils)
893 (guix build emacs-utils))
894 #:imported-modules (,@%gnu-build-system-modules
895 (guix build emacs-utils))
896
897 #:phases
898 (modify-phases %standard-phases
899 (replace 'configure
900 (lambda* (#:key inputs outputs #:allow-other-keys)
901 (let ((out (assoc-ref outputs "out"))
902 (vorbis (assoc-ref inputs "vorbis-tools"))
903 (alsa (assoc-ref inputs "alsa-utils"))
904 (mpg321 (assoc-ref inputs "mpg321"))
905 (mp3info (assoc-ref inputs "mp3info")))
906 ;; Specify the installation directory.
907 (substitute* "Makefile"
908 (("PREFIX=.*$")
909 (string-append "PREFIX := " out "\n")))
910
911 (setenv "SHELL" (which "sh"))
912 (setenv "CC" "gcc")
913
914 ;; Specify the absolute file names of the various
915 ;; programs so that everything works out-of-the-box.
916 (with-directory-excursion "lisp"
917 (emacs-substitute-variables
918 "emms-player-mpg321-remote.el"
919 ("emms-player-mpg321-remote-command"
920 (string-append mpg321 "/bin/mpg321")))
921 (substitute* "emms-player-simple.el"
922 (("\"ogg123\"")
923 (string-append "\"" vorbis "/bin/ogg123\"")))
924 (emacs-substitute-variables "emms-info-ogginfo.el"
925 ("emms-info-ogginfo-program-name"
926 (string-append vorbis "/bin/ogginfo")))
927 (emacs-substitute-variables "emms-info-libtag.el"
928 ("emms-info-libtag-program-name"
929 (string-append out "/bin/emms-print-metadata")))
930 (emacs-substitute-variables "emms-info-mp3info.el"
931 ("emms-info-mp3info-program-name"
932 (string-append mp3info "/bin/mp3info")))
933 (substitute* "emms-volume-amixer.el"
934 (("\"amixer\"")
935 (string-append "\"" alsa "/bin/amixer\"")))
936 (substitute* "emms-tag-editor.el"
937 (("\"mp3info\"")
938 (string-append "\"" mp3info "/bin/mp3info\"")))))))
939 (add-before 'install 'pre-install
940 (lambda* (#:key outputs #:allow-other-keys)
941 ;; The 'install' rule expects the target directory to exist.
942 (let* ((out (assoc-ref outputs "out"))
943 (man1 (string-append out "/share/man/man1")))
944 (mkdir-p man1)
945 #t)))
946 (add-after 'install 'post-install
947 (lambda* (#:key outputs #:allow-other-keys)
948 (let* ((out (assoc-ref outputs "out"))
949 (target (string-append
950 out "/bin/emms-print-metadata")))
951 (symlink "emms-auto.el"
952 (string-append out "/share/emacs/site-lisp/"
953 "emms-autoloads.el"))
954 (mkdir-p (dirname target))
955 (copy-file "src/emms-print-metadata" target)
956 (chmod target #o555)))))
957 #:tests? #f))
958 (native-inputs `(("emacs" ,emacs-minimal) ;for (guix build emacs-utils)
959 ("texinfo" ,texinfo)))
960 (inputs `(("alsa-utils" ,alsa-utils)
961 ("vorbis-tools" ,vorbis-tools)
962 ("mpg321" ,mpg321)
963 ("taglib" ,taglib)
964 ("mp3info" ,mp3info)))
965 (synopsis "Emacs Multimedia System")
966 (description
967 "EMMS is the Emacs Multimedia System. It is a small front-end which
968 can control one of the supported external players. Thus, it supports
969 whatever formats are supported by your music player. It also
970 supports tagging and playlist management, all behind a clean and
971 light user interface.")
972 (home-page "http://www.gnu.org/software/emms/")
973 (license license:gpl3+)))
974
975 (define-public emacs-emms-player-mpv
976 (package
977 (name "emacs-emms-player-mpv")
978 (version "0.0.8")
979 (source
980 (origin
981 (method url-fetch)
982 (uri (string-append "https://github.com/dochang/emms-player-mpv/archive/"
983 version ".tar.gz"))
984 (file-name (string-append name "-" version ".tar.gz"))
985 (sha256
986 (base32
987 "01wj410dpx25b3i8781i2j9c6nlvzvvphy9qgh7zfpmyz6a3wsm4"))))
988 (build-system emacs-build-system)
989 (propagated-inputs
990 `(("emms" ,emms)))
991 (home-page "https://github.com/dochang/emms-player-mpv/")
992 (synopsis "Mpv support for EMMS")
993 (description
994 "This package provides an EMMS player that uses mpv. It supports pause
995 and seeking.")
996 (license license:gpl3+)))
997
998 \f
999 ;;;
1000 ;;; Miscellaneous.
1001 ;;;
1002
1003 (define-public bbdb
1004 (package
1005 (name "bbdb")
1006 (version "3.1.2")
1007 (source (origin
1008 (method url-fetch)
1009 (uri (string-append "mirror://savannah/bbdb/bbdb-"
1010 version ".tar.gz"))
1011 (sha256
1012 (base32
1013 "1gs16bbpiiy01w9pyg12868r57kx1v3hnw04gmqsmpc40l1hyy05"))
1014 (modules '((guix build utils)))
1015 (snippet
1016 ;; We don't want to build and install the PDF.
1017 '(substitute* "doc/Makefile.in"
1018 (("^doc_DATA = .*$")
1019 "doc_DATA =\n")))))
1020 (build-system gnu-build-system)
1021 (arguments
1022 '(#:phases (alist-cons-after
1023 'install 'post-install
1024 (lambda* (#:key outputs #:allow-other-keys)
1025 ;; Add an autoloads file with the right name for guix.el.
1026 (let* ((out (assoc-ref outputs "out"))
1027 (site (string-append out "/share/emacs/site-lisp")))
1028 (with-directory-excursion site
1029 (symlink "bbdb-loaddefs.el" "bbdb-autoloads.el"))))
1030 %standard-phases)))
1031 (native-inputs `(("emacs" ,emacs-minimal)))
1032 (home-page "http://savannah.nongnu.org/projects/bbdb/")
1033 (synopsis "Contact management utility for Emacs")
1034 (description
1035 "BBDB is the Insidious Big Brother Database for GNU Emacs. It provides
1036 an address book for email and snail mail addresses, phone numbers and the
1037 like. It can be linked with various Emacs mail clients (Message and Mail
1038 mode, Rmail, Gnus, MH-E, and VM). BBDB is fully customizable.")
1039 (license license:gpl3+)))
1040
1041 (define-public emacs-async
1042 (package
1043 (name "emacs-async")
1044 (version "1.9")
1045 (source (origin
1046 (method url-fetch)
1047 (uri (string-append "http://elpa.gnu.org/packages/async-"
1048 version ".tar"))
1049 (sha256
1050 (base32
1051 "1ip5nc8xyln5szvqwp6wqva9xr84pn8ssn3nnphrszr19y4js2bm"))))
1052 (build-system emacs-build-system)
1053 (home-page "http://elpa.gnu.org/packages/async.html")
1054 (synopsis "Asynchronous processing in Emacs")
1055 (description
1056 "This package provides the ability to call asynchronous functions and
1057 processes. For example, it can be used to run dired commands (for copying,
1058 moving, etc.) asynchronously using @code{dired-async-mode}. Also it is used
1059 as a library for other Emacs packages.")
1060 (license license:gpl3+)))
1061
1062 (define-public emacs-auctex
1063 (package
1064 (name "emacs-auctex")
1065 (version "11.88.6")
1066 (source
1067 (origin
1068 (method url-fetch)
1069 (uri (string-append
1070 "http://elpa.gnu.org/packages/auctex-"
1071 version
1072 ".tar"))
1073 (sha256
1074 (base32
1075 "1pmki8hdjjikxlvip3pzi350bln3gcimr27yjf0xfwjvnp5hh9nc"))))
1076 (build-system emacs-build-system)
1077 ;; We use 'emacs' because AUCTeX requires dbus at compile time
1078 ;; ('emacs-minimal' does not provide dbus).
1079 (arguments `(#:emacs ,emacs))
1080 (native-inputs
1081 `(("perl" ,perl)))
1082 (home-page "http://www.gnu.org/software/auctex/")
1083 (synopsis "Integrated environment for TeX")
1084 (description
1085 "AUCTeX is a comprehensive customizable integrated environment for
1086 writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs
1087 or XEmacs.")
1088 (license license:gpl3+)))
1089
1090 (define-public emacs-mmm-mode
1091 (package
1092 (name "emacs-mmm-mode")
1093 (version "0.5.4")
1094 (source
1095 (origin
1096 (method url-fetch)
1097 (uri (string-append
1098 "https://github.com/purcell/mmm-mode/archive/"
1099 version ".tar.gz"))
1100 (file-name (string-append name "-" version ".tar.gz"))
1101 (sha256
1102 (base32
1103 "10kwslnflbjqm62wkrq420crqzdqalzfflp9pqk1i12zm6dm4mfv"))))
1104 (build-system gnu-build-system)
1105 (arguments
1106 '(#:phases
1107 (modify-phases %standard-phases
1108 (add-after 'unpack 'autogen
1109 (lambda _
1110 (zero? (system* "sh" "autogen.sh")))))))
1111 (native-inputs
1112 `(("autoconf" ,autoconf)
1113 ("automake" ,automake)
1114 ("emacs" ,emacs-minimal)
1115 ("texinfo" ,texinfo)))
1116 (home-page "https://github.com/purcell/mmm-mode")
1117 (synopsis "Allow multiple major modes in an Emacs buffer")
1118 (description
1119 "MMM Mode is a minor mode that allows multiple major modes to coexist in a
1120 single buffer.")
1121 (license license:gpl3+)))
1122
1123 (define-public emacs-pdf-tools
1124 (package
1125 (name "emacs-pdf-tools")
1126 (version "0.70")
1127 (source (origin
1128 (method url-fetch)
1129 (uri (string-append
1130 "https://github.com/politza/pdf-tools/archive/v"
1131 version ".tar.gz"))
1132 (file-name (string-append name "-" version ".tar.gz"))
1133 (sha256
1134 (base32
1135 "1m0api6wiawswyk46bdsyk6r5rg3b86a4paar6nassm6x6c6vr77"))))
1136 (build-system gnu-build-system)
1137 (arguments
1138 `(#:tests? #f ; there are no tests
1139 #:modules ((guix build gnu-build-system)
1140 ((guix build emacs-build-system) #:prefix emacs:)
1141 (guix build utils)
1142 (guix build emacs-utils))
1143 #:imported-modules (,@%gnu-build-system-modules
1144 (guix build emacs-build-system)
1145 (guix build emacs-utils))
1146 #:phases
1147 (modify-phases %standard-phases
1148 ;; Build server side using 'gnu-build-system'.
1149 (add-after 'unpack 'enter-server-dir
1150 (lambda _ (chdir "server") #t))
1151 (add-before 'configure 'autogen
1152 (lambda _
1153 (zero? (system* "bash" "autogen.sh"))))
1154
1155 ;; Build emacs side using 'emacs-build-system'.
1156 (add-after 'compress-documentation 'enter-lisp-dir
1157 (lambda _ (chdir "../lisp") #t))
1158 (add-after 'enter-lisp-dir 'emacs-patch-variables
1159 (lambda* (#:key outputs #:allow-other-keys)
1160 ;; Set path to epdfinfo program.
1161 (emacs-substitute-variables "pdf-info.el"
1162 ("pdf-info-epdfinfo-program"
1163 (string-append (assoc-ref outputs "out")
1164 "/bin/epdfinfo")))
1165 ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto
1166 ;; upgrading" that pdf-tools tries to perform.
1167 (emacs-substitute-variables "pdf-tools.el"
1168 ("pdf-tools-handle-upgrades" '()))))
1169 (add-after 'emacs-patch-variables 'emacs-install
1170 (assoc-ref emacs:%standard-phases 'install))
1171 (add-after 'emacs-install 'emacs-build
1172 (assoc-ref emacs:%standard-phases 'build))
1173 (add-after 'emacs-install 'emacs-make-autoloads
1174 (assoc-ref emacs:%standard-phases 'make-autoloads)))))
1175 (native-inputs `(("autoconf" ,autoconf)
1176 ("automake" ,automake)
1177 ("pkg-config" ,pkg-config)
1178 ("emacs" ,emacs-minimal)))
1179 (propagated-inputs
1180 `(("let-alist" ,let-alist)))
1181 (inputs `(("poppler" ,poppler)
1182 ("cairo" ,cairo)
1183 ("glib" ,glib)
1184 ("libpng" ,libpng)
1185 ("zlib" ,zlib)))
1186 (synopsis "Emacs support library for PDF files")
1187 (description
1188 "PDF Tools is, among other things, a replacement of DocView for PDF
1189 files. The key difference is that pages are not pre-rendered by
1190 e.g. ghostscript and stored in the file-system, but rather created on-demand
1191 and stored in memory.")
1192 (home-page "https://github.com/politza/pdf-tools")
1193 (license license:gpl3+)))
1194
1195 (define-public emacs-dash
1196 (package
1197 (name "emacs-dash")
1198 (version "2.12.1")
1199 (source (origin
1200 (method url-fetch)
1201 (uri (string-append
1202 "https://github.com/magnars/dash.el/archive/"
1203 version ".tar.gz"))
1204 (file-name (string-append name "-" version ".tar.gz"))
1205 (sha256
1206 (base32
1207 "082jl7mp4x063bpj5ad2pc5125k0d6p7rb89gcj7ny3lma9h2ij1"))))
1208 (build-system emacs-build-system)
1209 (arguments
1210 `(#:phases
1211 (modify-phases %standard-phases
1212 (add-before 'install 'check
1213 (lambda _
1214 (zero? (system* "./run-tests.sh")))))))
1215 (home-page "https://github.com/magnars/dash.el")
1216 (synopsis "Modern list library for Emacs")
1217 (description "This package provides a modern list API library for Emacs.")
1218 (license license:gpl3+)))
1219
1220 (define-public emacs-undo-tree
1221 (package
1222 (name "emacs-undo-tree")
1223 (version "0.6.4")
1224 (source (origin
1225 (method git-fetch)
1226 (uri (git-reference
1227 (url "http://dr-qubit.org/git/undo-tree.git")
1228 (commit "release/0.6.4")))
1229 (file-name (string-append name "-" version "-checkout"))
1230 (sha256
1231 (base32
1232 "0b6hnv6bq1g5np5q2yw9r9aj1cxpp14akm21br7vpb7wp01fv4b3"))))
1233 (build-system emacs-build-system)
1234 (home-page "http://www.dr-qubit.org/emacs.php")
1235 (synopsis "Treat undo history as a tree")
1236 (description "Tree-like interface to Emacs undo system, providing
1237 graphical tree presentation of all previous states of buffer that
1238 allows easily move between them.")
1239 (license license:gpl3+)))
1240
1241 (define-public emacs-s
1242 (package
1243 (name "emacs-s")
1244 (version "1.9.0")
1245 (source (origin
1246 (method url-fetch)
1247 (uri (string-append
1248 "https://github.com/magnars/s.el/archive/"
1249 version ".tar.gz"))
1250 (file-name (string-append name "-" version ".tar.gz"))
1251 (sha256
1252 (base32
1253 "1gah2k577gvnmxlpw7zrz0jr571vghzhdv2hbgchlgah07czd091"))))
1254 (build-system emacs-build-system)
1255 (arguments
1256 `(#:phases
1257 (modify-phases %standard-phases
1258 (add-before 'install 'check
1259 (lambda _
1260 (zero? (system* "./run-tests.sh")))))))
1261 (home-page "https://github.com/magnars/s.el")
1262 (synopsis "Emacs string manipulation library")
1263 (description "This package provides an Emacs library for manipulating
1264 strings.")
1265 (license license:gpl3+)))
1266
1267 (define-public emacs-f
1268 (package
1269 (name "emacs-f")
1270 (version "0.17.2")
1271 (source (origin
1272 (method url-fetch)
1273 (uri (string-append
1274 "https://github.com/rejeep/f.el/archive/v"
1275 version ".tar.gz"))
1276 (file-name (string-append name "-" version ".tar.gz"))
1277 (sha256
1278 (base32
1279 "1n5gcldf43wmkr7jxgs519v21zavwr0yn8048iv6gvgfwicnyjlx"))))
1280 (build-system emacs-build-system)
1281 (propagated-inputs
1282 `(("emacs-s" ,emacs-s)
1283 ("emacs-dash" ,emacs-dash)))
1284 (home-page "http://github.com/rejeep/f.el")
1285 (synopsis "Emacs API for working with files and directories")
1286 (description "This package provides an Emacs library for working with
1287 files and directories.")
1288 (license license:gpl3+)))
1289
1290 (define-public emacs-el-mock
1291 (package
1292 (name "emacs-el-mock")
1293 (version "1.25.1")
1294 (source
1295 (origin
1296 (method url-fetch)
1297 (uri (string-append "https://github.com/rejeep/el-mock.el/"
1298 "archive/v" version ".tar.gz"))
1299 (file-name (string-append name "-" version ".tar.gz"))
1300 (sha256
1301 (base32
1302 "16xw94n58xxn3zvgyj72bmzs0k5lkvswjmzs79ws9n7rzdivb38b"))))
1303 (build-system emacs-build-system)
1304 (home-page "http://github.com/rejeep/el-mock.el")
1305 (synopsis "Tiny mock and stub framework in Emacs Lisp")
1306 (description
1307 "Emacs Lisp Mock is a library for mocking and stubbing using readable
1308 syntax. Most commonly Emacs Lisp Mock is used in conjunction with Emacs Lisp
1309 Expectations, but it can be used in other contexts.")
1310 (license license:gpl3+)))
1311
1312 (define-public emacs-espuds
1313 (package
1314 (name "emacs-espuds")
1315 (version "0.3.3")
1316 (source
1317 (origin
1318 (method url-fetch)
1319 (uri (string-append "https://github.com/ecukes/espuds/"
1320 "archive/v" version ".tar.gz"))
1321 (file-name (string-append name "-" version ".tar.gz"))
1322 (sha256
1323 (base32
1324 "0xv551376pbmh735a3zjwc9z4qdx6ngj1vpq3xqjpn0a1rwjyn4k"))))
1325 (build-system emacs-build-system)
1326 (propagated-inputs
1327 `(("emacs-s" ,emacs-s)
1328 ("emacs-dash" ,emacs-dash)
1329 ("emacs-f" ,emacs-f)))
1330 (home-page "http://github.com/ecukes/espuds")
1331 (synopsis "Common step definitions for Ecukes")
1332 (description "Espuds is a collection of the most commonly used step
1333 definitions for testing with the Ecukes framework.")
1334 (license license:gpl3+)))
1335
1336 (define-public emacs-expand-region
1337 (package
1338 (name "emacs-expand-region")
1339 (version "0.10.0")
1340 (source
1341 (origin
1342 (method url-fetch)
1343 (uri (string-append "https://github.com/magnars/expand-region.el"
1344 "/archive/" version ".tar.gz"))
1345 (file-name (string-append name "-" version ".tar.gz"))
1346 (sha256
1347 (base32
1348 "1zfiaqyb3zqiyqjkpqsjw660j09805nqsg25q6ars2h8gs0rnvxb"))))
1349 (build-system emacs-build-system)
1350 (home-page "https://github.com/magnars/expand-region.el")
1351 (synopsis "Increase selected region by semantic units")
1352 (description
1353 "Expand region increases the selected region by semantic units. Just
1354 keep pressing the key until it selects what you want. There's also
1355 @code{er/contract-region} if you expand too far.")
1356 (license license:gpl3+)))
1357
1358 (define-public emacs-fill-column-indicator
1359 (package
1360 (name "emacs-fill-column-indicator")
1361 (version "1.81")
1362 (source
1363 (origin
1364 (method url-fetch)
1365 (uri (string-append "https://github.com/alpaker/Fill-Column-Indicator"
1366 "/archive/v" version ".tar.gz"))
1367 (file-name (string-append name "-" version ".tar.gz"))
1368 (sha256
1369 (base32
1370 "1xwyqbjbbicmvhlb85vg4j5snwy1vd7rfk89ws4viws5ljkhhyg8"))))
1371 (build-system emacs-build-system)
1372 (home-page "https://www.emacswiki.org/emacs/FillColumnIndicator")
1373 (synopsis "Graphically indicate the fill column")
1374 (description
1375 "Fill-column-indicator graphically indicates the location of the fill
1376 column by drawing a thin line down the length of the editing window.")
1377 (license license:gpl3+)))
1378
1379 (define-public emacs-znc
1380 (package
1381 (name "emacs-znc")
1382 (version "0.0.2")
1383 (source
1384 (origin
1385 (method url-fetch)
1386 (uri (string-append "https://marmalade-repo.org/packages/znc-"
1387 version ".el"))
1388 (sha256
1389 (base32
1390 "1d8lqvybgyazin5z0g1c4l3rg1vzrrvf0saqs53jr1zcdg0lianh"))))
1391 (build-system emacs-build-system)
1392 (home-page "https://github.com/sshirokov/ZNC.el")
1393 (synopsis "Make ERC and ZNC get along better")
1394 (description
1395 "This is a thin wrapper around @code{erc} that enables one to use the ZNC
1396 IRC bouncer with ERC.")
1397 (license license:expat)))
1398
1399 (define-public emacs-shut-up
1400 (package
1401 (name "emacs-shut-up")
1402 (version "0.3.2")
1403 (source
1404 (origin
1405 (method url-fetch)
1406 (uri (string-append "https://github.com/cask/shut-up/"
1407 "archive/v" version ".tar.gz"))
1408 (file-name (string-append name "-" version ".tar.gz"))
1409 (sha256
1410 (base32
1411 "09kzrjdkb569iviyg7ydwq44yh84m3f9hkl7jizfrlk0w4gz67d1"))))
1412 (build-system emacs-build-system)
1413 (home-page "https://github.com/cask/shut-up")
1414 (synopsis "Silence Emacs")
1415 (description "This package silences most output of Emacs when running an
1416 Emacs shell script.")
1417 (license license:expat)))
1418
1419 (define-public emacs-undercover
1420 (package
1421 (name "emacs-undercover")
1422 (version "0.6.0")
1423 (source
1424 (origin
1425 (method url-fetch)
1426 (uri (string-append "https://github.com/sviridov/undercover.el/"
1427 "archive/v" version ".tar.gz"))
1428 (file-name (string-append name "-" version ".tar.gz"))
1429 (sha256
1430 (base32
1431 "0f48fi0xnbsqs382rgh85m9mq1wdnr0yib7as9xhwzvq0hsr5m0a"))))
1432 (build-system emacs-build-system)
1433 (propagated-inputs
1434 `(("emacs-dash" ,emacs-dash)
1435 ("emacs-shut-up" ,emacs-shut-up)))
1436 (home-page "https://github.com/sviridov/undercover.el")
1437 (synopsis "Test coverage library for Emacs Lisp")
1438 (description
1439 "Undercover is a test coverage library for software written in Emacs
1440 Lisp.")
1441 (license license:expat)))
1442
1443 (define-public emacs-paren-face
1444 (package
1445 (name "emacs-paren-face")
1446 (version "1.0.0")
1447 (source
1448 (origin
1449 (method url-fetch)
1450 (uri (string-append "https://github.com/tarsius/paren-face/archive/"
1451 version ".tar.gz"))
1452 (file-name (string-append name "-" version ".tar.gz"))
1453 (sha256
1454 (base32
1455 "0y4qrhxa9332vsvr999jg7qj1ymnfgwpf591yi4a4jgg90pm7qnn"))))
1456 (build-system emacs-build-system)
1457 (home-page "http://github.com/tarsius/paren-face")
1458 (synopsis "Face for parentheses in lisp modes")
1459 (description
1460 "This library defines a face named @code{parenthesis} used just for
1461 parentheses. The intended purpose of this face is to make parentheses less
1462 visible in Lisp code by dimming them. Lispers probably don't need to be
1463 constantly made aware of the existence of the parentheses. Dimming them might
1464 be even more useful for people new to lisp who have not yet learned to
1465 subconsciously blend out the parentheses.")
1466 (license license:gpl3+)))
1467
1468 (define-public emacs-page-break-lines
1469 (package
1470 (name "emacs-page-break-lines")
1471 (version "0.11")
1472 (source
1473 (origin
1474 (method url-fetch)
1475 (uri (string-append "https://github.com/purcell/page-break-lines/"
1476 "archive/" version ".tar.gz"))
1477 (file-name (string-append name "-" version ".tar.gz"))
1478 (sha256
1479 (base32
1480 "1zzhziq5kbrm9rxk30kx2glz455fp1blqxg8cpcf6l8xl3w8z4pg"))))
1481 (build-system emacs-build-system)
1482 (home-page "https://github.com/purcell/page-break-lines")
1483 (synopsis "Display page breaks as tidy horizontal lines")
1484 (description
1485 "This library provides a global mode which displays form feed characters
1486 as horizontal rules.")
1487 (license license:gpl3+)))
1488
1489 (define-public emacs-simple-httpd
1490 (package
1491 (name "emacs-simple-httpd")
1492 (version "1.4.6")
1493 (source
1494 (origin
1495 (method url-fetch)
1496 (uri (string-append "https://github.com/skeeto/emacs-web-server/"
1497 "archive/" version ".tar.gz"))
1498 (file-name (string-append name "-" version ".tar.gz"))
1499 (sha256
1500 (base32
1501 "01r7h3imnj4qx1m53a2wjafvbylcyz5f9r2rg2cs7ky3chlg220r"))))
1502 (build-system emacs-build-system)
1503 (home-page "https://github.com/skeeto/emacs-http-server")
1504 (synopsis "HTTP server in pure Emacs Lisp")
1505 (description
1506 "This package provides a simple HTTP server written in Emacs Lisp to
1507 serve files and directory listings.")
1508 (license license:unlicense)))
1509
1510 (define-public emacs-skewer-mode
1511 (package
1512 (name "emacs-skewer-mode")
1513 (version "1.6.2")
1514 (source
1515 (origin
1516 (method url-fetch)
1517 (uri (string-append "https://github.com/skeeto/skewer-mode/archive/"
1518 version ".tar.gz"))
1519 (file-name (string-append name "-" version ".tar.gz"))
1520 (sha256
1521 (base32
1522 "07jpz374j0j964szy3zznrkyja2kpdl3xa87wh7349mzxivqxdx0"))))
1523 (build-system emacs-build-system)
1524 (propagated-inputs
1525 `(("emacs-simple-httpd" ,emacs-simple-httpd)
1526 ("emacs-js2-mode" ,emacs-js2-mode)))
1527 (home-page "https://github.com/skeeto/skewer-mode")
1528 (synopsis "Live web development in Emacs")
1529 (description
1530 "Skewer-mode provides live interaction with JavaScript, CSS, and HTML in
1531 a web browser. Expressions are sent on-the-fly from an editing buffer to be
1532 evaluated in the browser, just like Emacs does with an inferior Lisp process
1533 in Lisp modes.")
1534 (license license:unlicense)))
1535
1536 (define-public emacs-rich-minority
1537 (package
1538 (name "emacs-rich-minority")
1539 (version "1.0.1")
1540 (source
1541 (origin
1542 (method url-fetch)
1543 (uri (string-append "https://github.com/Malabarba/rich-minority/"
1544 "archive/" version ".tar.gz"))
1545 (file-name (string-append name "-" version ".tar.gz"))
1546 (sha256
1547 (base32
1548 "1l0cb0q7kyi88nwfqd542psnkgwnjklpzc5rx32gzd3lkwkrbr8v"))))
1549 (build-system emacs-build-system)
1550 (home-page "https://github.com/Malabarba/rich-minority")
1551 (synopsis "Clean-up and beautify the list of minor modes")
1552 (description
1553 "This Emacs package hides and/or highlights minor modes in the
1554 mode-line.")
1555 (license license:gpl2+)))
1556
1557 (define-public emacs-smart-mode-line
1558 (package
1559 (name "emacs-smart-mode-line")
1560 (version "2.10.1")
1561 (source
1562 (origin
1563 (method url-fetch)
1564 (uri (string-append "https://github.com/Malabarba/smart-mode-line/"
1565 "archive/" version ".tar.gz"))
1566 (file-name (string-append name "-" version ".tar.gz"))
1567 (sha256
1568 (base32
1569 "0i9wajabrrsjzwd842q0m2611kf0q31p9hg1pdj81177gynkw8l8"))))
1570 (build-system emacs-build-system)
1571 (propagated-inputs
1572 `(("emacs-rich-minority" ,emacs-rich-minority)))
1573 (home-page "http://github.com/Malabarba/smart-mode-line")
1574 (synopsis "Color-coded smart mode-line")
1575 (description
1576 "Smart Mode Line is a mode-line theme for Emacs. It aims to be easy to
1577 read from small to large monitors by using colors, a prefix feature, and smart
1578 truncation.")
1579 (license license:gpl2+)))
1580
1581 (define-public emacs-shell-switcher
1582 (package
1583 (name "emacs-shell-switcher")
1584 (version "1.0.1")
1585 (source
1586 (origin
1587 (method url-fetch)
1588 (uri (string-append "https://github.com/DamienCassou/shell-switcher"
1589 "/archive/v" version ".tar.gz"))
1590 (file-name (string-append name "-" version ".tar.gz"))
1591 (sha256
1592 (base32
1593 "1c23mfkdqz2g9rixd9smm323vzlvhzz3ng34ambcqjfq309qb2nz"))))
1594 (build-system emacs-build-system)
1595 (home-page "https://github.com/DamienCassou/shell-switcher")
1596 (synopsis "Provide fast switching between shell buffers")
1597 (description
1598 "This package provides commands to quickly switch between shell buffers.")
1599 (license license:gpl3+)))
1600
1601 (define-public emacs-ob-ipython
1602 (package
1603 (name "emacs-ob-ipython")
1604 (version "20150704.8807064693")
1605 (source (origin
1606 (method git-fetch)
1607 (uri (git-reference
1608 (commit "880706469338ab59b5bb7dbe8460016f89755364")
1609 (url "https://github.com/gregsexton/ob-ipython.git")))
1610 (sha256
1611 (base32
1612 "1scf25snbds9ymagpny30ijbsg479r3nm0ih01dy4m9d0g7qryb7"))))
1613 (build-system emacs-build-system)
1614 (propagated-inputs
1615 `(("emacs-f" ,emacs-f)))
1616 (home-page "http://www.gregsexton.org")
1617 (synopsis "Org-Babel functions for IPython evaluation")
1618 (description "This package adds support to Org-Babel for evaluating Python
1619 source code using IPython.")
1620 (license license:gpl3+)))
1621
1622 (define-public emacs-debbugs
1623 (package
1624 (name "emacs-debbugs")
1625 (version "0.9")
1626 (source (origin
1627 (method url-fetch)
1628 (uri (string-append "http://elpa.gnu.org/packages/debbugs-"
1629 version ".tar"))
1630 (sha256
1631 (base32
1632 "1wc6kw7hihqqdx8qyl01akygycnan44x400hwrcf54m3hb4isa0k"))))
1633 (build-system emacs-build-system)
1634 (propagated-inputs
1635 `(("emacs-async" ,emacs-async)))
1636 (home-page "http://elpa.gnu.org/packages/debbugs.html")
1637 (synopsis "Access the Debbugs bug tracker in Emacs")
1638 (description
1639 "This package lets you access the @uref{http://bugs.gnu.org,GNU Bug
1640 Tracker} from within Emacs.
1641
1642 For instance, it defines the command @code{M-x debbugs-gnu} for listing bugs,
1643 and the command @code{M-x debbugs-gnu-search} for bug searching. If you
1644 prefer the listing of bugs as TODO items of @code{org-mode}, you could use
1645 @code{M-x debbugs-org} and related commands.
1646
1647 A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug
1648 Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.")
1649 (license license:gpl3+)))
1650
1651 (define-public emacs-deferred
1652 (package
1653 (name "emacs-deferred")
1654 (version "0.3.2")
1655 (home-page "https://github.com/kiwanami/emacs-deferred")
1656 (source (origin
1657 (method git-fetch)
1658 (uri (git-reference
1659 (url home-page)
1660 (commit (string-append "v" version))))
1661 (sha256
1662 (base32
1663 "0059jy01ni5irpgrj9fa81ayd9j25nvmjjm79ms3210ysx4pgqdr"))
1664 (file-name (string-append name "-" version))))
1665 (build-system emacs-build-system)
1666 ;; FIXME: Would need 'el-expectations' to actually run tests.
1667 (synopsis "Simple asynchronous functions for Emacs Lisp")
1668 (description
1669 "The @code{deferred.el} library provides support for asynchronous tasks.
1670 The API is almost the same as that of
1671 @uref{https://github.com/cho45/jsdeferred, JSDeferred}, a JavaScript library
1672 for asynchronous tasks.")
1673 (license license:gpl3+)))
1674
1675 (define-public butler
1676 (package
1677 (name "emacs-butler")
1678 (version "0.2.4")
1679 (home-page "https://github.com/AshtonKem/Butler")
1680 (source (origin
1681 (method git-fetch)
1682 (uri (git-reference
1683 (url home-page)
1684 (commit version)))
1685 (sha256
1686 (base32
1687 "1pii9dw4skq7nr4na6qxqasl36av8cwjp71bf1fgppqpcd9z8skj"))
1688 (file-name (string-append name "-" version))))
1689 (build-system emacs-build-system)
1690 (propagated-inputs
1691 `(("emacs-deferred" ,emacs-deferred)))
1692 (synopsis "Emacs client for Jenkins")
1693 (description
1694 "Butler provides an interface to connect to Jenkins continuous
1695 integration servers. Users can specify a list of server in the
1696 @code{butler-server-list} variable and then use @code{M-x butler-status} to
1697 view the build status of those servers' build jobs, and possibly to trigger
1698 build jobs.")
1699 (license license:gpl3+)))
1700
1701 (define-public emacs-company
1702 (package
1703 (name "emacs-company")
1704 (version "0.8.12")
1705 (source
1706 (origin
1707 (method url-fetch)
1708 (uri (string-append "https://github.com/company-mode/company-mode/archive/"
1709 version ".tar.gz"))
1710 (file-name (string-append name "-" version ".tar.gz"))
1711 (sha256
1712 (base32
1713 "1vwmbqm7h4lrszv2qxy6fqzznm9raigi84cadx982c9m7shp0zzz"))))
1714 (build-system emacs-build-system)
1715 (home-page "http://company-mode.github.io/")
1716 (synopsis "Modular text completion framework")
1717 (description
1718 "Company is a modular completion mechanism. Modules for retrieving
1719 completion candidates are called back-ends, modules for displaying them are
1720 front-ends. Company comes with many back-ends, e.g. @code{company-elisp}.
1721 These are distributed in separate files and can be used individually.")
1722 (license license:gpl3+)))
1723
1724 (define-public emacs-multiple-cursors
1725 (package
1726 (name "emacs-multiple-cursors")
1727 (version "1.4.0")
1728 (source
1729 (origin
1730 (method url-fetch)
1731 (uri (string-append "https://github.com/magnars/multiple-cursors.el/"
1732 "archive/" version ".tar.gz"))
1733 (file-name (string-append name "-" version ".tar.gz"))
1734 (sha256
1735 (base32
1736 "0hihihlvcvzayg5fnqzcg45fhvlmq6xlq58syy00rjwbry9w389k"))))
1737 (build-system emacs-build-system)
1738 (home-page "https://github.com/magnars/multiple-cursors.el")
1739 (synopsis "Multiple cursors for Emacs")
1740 (description
1741 "This package adds support to Emacs for editing text with multiple
1742 simultaneous cursors.")
1743 (license license:gpl3+)))
1744
1745 (define-public typo
1746 (package
1747 (name "emacs-typo")
1748 (version "1.1")
1749 (home-page "https://github.com/jorgenschaefer/typoel")
1750 (source (origin
1751 (method git-fetch)
1752 (uri (git-reference
1753 (url home-page)
1754 (commit (string-append "v" version))))
1755 (sha256
1756 (base32
1757 "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2"))
1758 (file-name (string-append name "-" version))))
1759 (build-system emacs-build-system)
1760 (synopsis "Minor mode for typographic editing")
1761 (description
1762 "This package provides two Emacs modes, @code{typo-mode} and
1763 @code{typo-global-mode}. These modes automatically insert Unicode characters
1764 for quotation marks, dashes, and ellipses. For example, typing @kbd{\"}
1765 automatically inserts a Unicode opening or closing quotation mark, depending
1766 on context.")
1767 (license license:gpl3+)))
1768
1769 (define-public emacs-scheme-complete
1770 (let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5"))
1771 (package
1772 (name "emacs-scheme-complete")
1773 (version (string-append "20151223." (string-take commit 8)))
1774 (source
1775 (origin
1776 (file-name (string-append name "-" version))
1777 (method git-fetch)
1778 (uri (git-reference
1779 (url "https://github.com/ashinn/scheme-complete.git")
1780 (commit commit)))
1781 (sha256
1782 (base32
1783 "141wn9l0m33w0g3dqmx8nxbfdny1r5xbr6ak61rsz21bk0qafs7x"))
1784 (patches
1785 (search-patches "emacs-scheme-complete-scheme-r5rs-info.patch"))))
1786 (build-system emacs-build-system)
1787 (home-page "https://github.com/ashinn/scheme-complete")
1788 (synopsis "Smart tab completion for Scheme in Emacs")
1789 (description
1790 "This file provides a single function, @code{scheme-smart-complete},
1791 which you can use for intelligent, context-sensitive completion for any Scheme
1792 implementation in Emacs. To use it just load this file and bind that function
1793 to a key in your preferred mode.")
1794 (license license:public-domain))))
1795
1796 (define-public emacs-mit-scheme-doc
1797 (package
1798 (name "emacs-mit-scheme-doc")
1799 (version "20140203")
1800 (source
1801 (origin
1802 (modules '((guix build utils)))
1803 (snippet
1804 ;; keep only file of interest
1805 '(begin
1806 (for-each delete-file '("dot-emacs.el" "Makefile"))
1807 (copy-file "6.945-config/mit-scheme-doc.el" "mit-scheme-doc.el")
1808 (delete-file-recursively "6.945-config")))
1809 (file-name (string-append name "-" version ".tar.bz2"))
1810 (method url-fetch)
1811 (uri (string-append "http://groups.csail.mit.edu/mac/users/gjs/"
1812 "6.945/dont-panic/emacs-basic-config.tar.bz2"))
1813 (sha256
1814 (base32
1815 "0dqidg2bd66pawqfarvwca93w5gqf9mikn1k2a2rmd9ymfjpziq1"))))
1816 (build-system emacs-build-system)
1817 (inputs `(("mit-scheme" ,mit-scheme)))
1818 (arguments
1819 `(#:phases
1820 (modify-phases %standard-phases
1821 (add-after 'unpack 'configure-doc
1822 (lambda* (#:key inputs #:allow-other-keys)
1823 (let* ((mit-scheme-dir (assoc-ref inputs "mit-scheme"))
1824 (doc-dir (string-append mit-scheme-dir "/share/doc/"
1825 "mit-scheme-"
1826 ,(package-version mit-scheme))))
1827 (substitute* "mit-scheme-doc.el"
1828 (("http://www\\.gnu\\.org/software/mit-scheme/documentation/mit-scheme-ref/")
1829 (string-append "file:" doc-dir "/mit-scheme-ref/")))))))))
1830 (home-page "http://groups.csail.mit.edu/mac/users/gjs/6.945/dont-panic/")
1831 (synopsis "MIT-Scheme documentation lookup for Emacs")
1832 (description
1833 "This package provides a set of Emacs functions to search definitions of
1834 identifiers in the MIT-Scheme documentation.")
1835 (license license:gpl2+)))
1836
1837 (define-public emacs-constants
1838 (package
1839 (name "emacs-constants")
1840 (version "2.6")
1841 (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
1842 (source
1843 (origin
1844 (file-name (string-append name "-" version ".tar.gz"))
1845 (method url-fetch)
1846 (uri (string-append "https://github.com/fedeinthemix/emacs-constants"
1847 "/archive/v" version ".tar.gz"))
1848 (sha256
1849 (base32
1850 "0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n"))))
1851 (build-system emacs-build-system)
1852 (synopsis "Enter definition of constants into an Emacs buffer")
1853 (description
1854 "This package provides functions for inserting the definition of natural
1855 constants and units into an Emacs buffer.")
1856 (license license:gpl2+)))
1857
1858 (define-public emacs-tagedit
1859 (package
1860 (name "emacs-tagedit")
1861 (version "1.4.0")
1862 (source
1863 (origin
1864 (method url-fetch)
1865 (uri (string-append "https://github.com/magnars/tagedit/"
1866 "archive/" version ".tar.gz"))
1867 (file-name (string-append name "-" version ".tar.gz"))
1868 (sha256
1869 (base32
1870 "1apfnann4qklfdsmdi7icjsj18x7gwx8d83iqr4z25clszz95xfq"))))
1871 (build-system emacs-build-system)
1872 (propagated-inputs
1873 `(("emacs-s" ,emacs-s)
1874 ("emacs-dash" ,emacs-dash)))
1875 (home-page "https://github.com/magnars/tagedit")
1876 (synopsis "Some paredit-like features for html-mode")
1877 (description
1878 "This package provides a collection of paredit-like functions for editing
1879 in @code{html-mode}.")
1880 (license license:gpl3+)))
1881
1882 (define-public emacs-slime
1883 (package
1884 (name "emacs-slime")
1885 (version "2.18")
1886 (source
1887 (origin
1888 (file-name (string-append name "-" version ".tar.gz"))
1889 (method url-fetch)
1890 (uri (string-append
1891 "https://github.com/slime/slime/archive/v"
1892 version ".tar.gz"))
1893 (sha256
1894 (base32
1895 "146avwbwr6mw0nmgyihx8gkr0mv6al7a73igzxvysj62000cqvlj"))))
1896 (build-system emacs-build-system)
1897 (native-inputs
1898 `(("texinfo" ,texinfo)))
1899 (arguments
1900 `(#:phases
1901 (modify-phases %standard-phases
1902 (add-before 'install 'configure
1903 (lambda* _
1904 (emacs-substitute-variables "slime.el"
1905 ("inferior-lisp-program" "sbcl"))
1906 #t))
1907 (add-before 'install 'install-doc
1908 (lambda* (#:key outputs #:allow-other-keys)
1909 (let* ((out (assoc-ref outputs "out"))
1910 (info-dir (string-append out "/share/info"))
1911 (doc-dir (string-append out "/share/doc/"
1912 ,name "-" ,version))
1913 (doc-files '("doc/slime-refcard.pdf"
1914 "README.md" "NEWS" "PROBLEMS"
1915 "CONTRIBUTING.md")))
1916 (with-directory-excursion "doc"
1917 (substitute* "Makefile"
1918 (("infodir=/usr/local/info")
1919 (string-append "infodir=" info-dir)))
1920 (system* "make" "html/index.html")
1921 (system* "make" "slime.info")
1922 (install-file "slime.info" info-dir)
1923 (copy-recursively "html" (string-append doc-dir "/html")))
1924 (for-each (lambda (f)
1925 (install-file f doc-dir)
1926 (delete-file f))
1927 doc-files)
1928 (delete-file-recursively "doc")
1929 #t))))))
1930 (home-page "https://github.com/slime/slime")
1931 (synopsis "Superior Lisp Interaction Mode for Emacs")
1932 (description
1933 "SLIME extends Emacs with support for interactive programming in
1934 Common Lisp. The features are centered around @{slime-mode}, an Emacs
1935 minor mode that complements the standard @{lisp-mode}. While lisp-mode
1936 supports editing Lisp source files, @{slime-mode} adds support for
1937 interacting with a running Common Lisp process for compilation,
1938 debugging, documentation lookup, and so on.")
1939 (license license:gpl2+)))
1940
1941 (define-public emacs-popup
1942 (package
1943 (name "emacs-popup")
1944 (version "0.5.3")
1945 (source (origin
1946 (method url-fetch)
1947 (uri (string-append
1948 "https://github.com/auto-complete/popup-el/archive/v"
1949 version ".tar.gz"))
1950 (file-name (string-append name "-" version ".tar.gz"))
1951 (sha256
1952 (base32
1953 "1yrgfj8y69xmcb6kwgplhq68ndm9410qwh7sd2knnd1gchpphdc0"))))
1954 (build-system emacs-build-system)
1955 (home-page "https://github.com/auto-complete/popup-el")
1956 (synopsis "Visual Popup User Interface for Emacs")
1957 (description
1958 "Popup.el is a visual popup user interface library for Emacs.
1959 This provides a basic API and common UI widgets such as popup tooltips
1960 and popup menus.")
1961 (license license:gpl3+)))
1962
1963 (define-public emacs-god-mode
1964 (let ((commit "6cf0807b6555eb6fcf8387a4e3b667071ef38964")
1965 (revision "1"))
1966 (package
1967 (name "emacs-god-mode")
1968 (version (string-append "20151005.925."
1969 revision "-" (string-take commit 9)))
1970 (source
1971 (origin
1972 (method git-fetch)
1973 (uri (git-reference
1974 (url "https://github.com/chrisdone/god-mode.git")
1975 (commit commit)))
1976 (file-name (string-append name "-" version "-checkout"))
1977 (sha256
1978 (base32
1979 "1am415k4xxcva6y3vbvyvknzc6bma49pq3p85zmpjsdmsp18qdix"))))
1980 (build-system emacs-build-system)
1981 (home-page "https://github.com/chrisdone/god-mode")
1982 (synopsis "Minor mode for entering commands without modifier keys")
1983 (description
1984 "This package provides a global minor mode for entering Emacs commands
1985 without modifier keys. It's similar to Vim's separation of commands and
1986 insertion mode. When enabled all keys are implicitly prefixed with
1987 @samp{C-} (among other helpful shortcuts).")
1988 (license license:gpl3+))))
1989
1990 (define-public emacs-rfcview
1991 (package
1992 (name "emacs-rfcview")
1993 (version "0.13")
1994 (home-page "http://www.loveshack.ukfsn.org/emacs")
1995 (source (origin
1996 (method url-fetch)
1997 (uri "http://www.loveshack.ukfsn.org/emacs/rfcview.el")
1998 (sha256
1999 (base32
2000 "0ympj5rxig383zl2jf0pzdsa80nnq0dpvjiriq0ivfi98fj7kxbz"))))
2001 (build-system emacs-build-system)
2002 (synopsis "Prettify Request for Comments (RFC) documents")
2003 (description "The Internet Engineering Task Force (IETF) and the Internet
2004 Society (ISOC) publish various Internet-related protocols and specifications
2005 as \"Request for Comments\" (RFC) documents and Internet Standard (STD)
2006 documents. RFCs and STDs are published in a simple text form. This package
2007 provides an Emacs major mode, rfcview-mode, which makes it more pleasant to
2008 read these documents in Emacs. It prettifies the text and adds
2009 hyperlinks/menus for easier navigation. It also provides functions for
2010 browsing the index of RFC documents and fetching them from remote servers or
2011 local directories.")
2012 (license license:gpl3+)))
2013
2014 (define-public emacs-ffap-rfc-space
2015 (package
2016 (name "emacs-ffap-rfc-space")
2017 (version "12")
2018 (home-page "http://user42.tuxfamily.org/ffap-rfc-space/index.html")
2019 (source (origin
2020 (method url-fetch)
2021 (uri "http://download.tuxfamily.org/user42/ffap-rfc-space.el")
2022 (sha256
2023 (base32
2024 "1iv61dv57a73mdps7rn6zmgz7nqh14v0ninidyrasy45b1nv6gck"))))
2025 (build-system emacs-build-system)
2026 (synopsis "Make ffap recognize an RFC with a space before its number")
2027 (description "The Internet Engineering Task Force (IETF) and the
2028 Internet Society (ISOC) publish various Internet-related protocols and
2029 specifications as \"Request for Comments\" (RFC) documents. The
2030 built-in Emacs module \"ffap\" (Find File at Point) has the ability to
2031 recognize names at point which look like \"RFC1234\" and \"RFC-1234\"
2032 and load the appropriate RFC from a remote server. However, it fails
2033 to recognize a name like \"RFC 1234\". This package enhances ffap so
2034 that it correctly finds RFCs even when a space appears before the
2035 number.")
2036 (license license:gpl3+)))
2037
2038 (define-public emacs-org-bullets
2039 (package
2040 (name "emacs-org-bullets")
2041 (version "0.2.4")
2042 (source
2043 (origin
2044 (method url-fetch)
2045 (uri (string-append "https://github.com/sabof/org-bullets/archive/"
2046 version ".tar.gz"))
2047 (file-name (string-append name "-" version ".tar.gz"))
2048 (sha256
2049 (base32
2050 "1dyxvpb73vj80v8br2q9rf255hfphrgaw91fbvwdcd735np9pcnh"))))
2051 (build-system emacs-build-system)
2052 (home-page "https://github.com/sabof/org-bullets")
2053 (synopsis "Show bullets in org-mode as UTF-8 characters")
2054 (description
2055 "This package provides an Emacs minor mode causing bullets in
2056 @code{org-mode} to be rendered as UTF-8 characters.")
2057 (license license:gpl3+)))
2058
2059 (define-public emacs-zenburn-theme
2060 (package
2061 (name "emacs-zenburn-theme")
2062 (version "2.4")
2063 (source (origin
2064 (method url-fetch)
2065 (uri (string-append
2066 "https://github.com/bbatsov/zenburn-emacs/archive/v"
2067 version ".tar.gz"))
2068 (file-name (string-append name "-" version ".tar.gz"))
2069 (sha256
2070 (base32
2071 "0lyi84bm8sa7vj40n6zg6rlbsmi53mi1y9xn6gkjj29s5zbcnlg7"))))
2072 (build-system emacs-build-system)
2073 (home-page "http://github.com/bbatsov/zenburn-emacs")
2074 (synopsis "Low contrast color theme for Emacs")
2075 (description
2076 "Zenburn theme is a port of the popular Vim Zenburn theme for Emacs.
2077 It is built on top of the custom theme support in Emacs 24 or later.")
2078 (license license:gpl3+)))
2079
2080 (define-public emacs-solarized-theme
2081 (package
2082 (name "emacs-solarized-theme")
2083 (version "1.2.2")
2084 (source (origin
2085 (method url-fetch)
2086 (uri (string-append "https://github.com/bbatsov/solarized-emacs/"
2087 "archive/v" version ".tar.gz"))
2088 (file-name (string-append name "-" version ".tar.gz"))
2089 (sha256
2090 (base32
2091 "1ha3slc6d9wi9ilkhmwrzkvf308n6ph7b0k69pk369s9304awxzx"))))
2092 (build-system emacs-build-system)
2093 (propagated-inputs
2094 `(("emacs-dash" ,emacs-dash)))
2095 (home-page "http://github.com/bbatsov/solarized-emacs")
2096 (synopsis "Port of the Solarized theme for Emacs")
2097 (description
2098 "Solarized for Emacs is a port of the Solarized theme for Vim. This
2099 package provides a light and a dark variant.")
2100 (license license:gpl3+)))
2101
2102 (define-public emacs-smartparens
2103 (package
2104 (name "emacs-smartparens")
2105 (version "1.7.1")
2106 (source (origin
2107 (method url-fetch)
2108 (uri (string-append
2109 "https://github.com/Fuco1/smartparens/archive/"
2110 version ".tar.gz"))
2111 (file-name (string-append name "-" version ".tar.gz"))
2112 (sha256
2113 (base32
2114 "1b47ppkzsj8j8a2p0bmvq05rhm2d2lsm3wlc0sg542r4zr6nji8s"))))
2115 (build-system emacs-build-system)
2116 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
2117 (home-page "https://github.com/Fuco1/smartparens")
2118 (synopsis "Paredit-like insertion, wrapping and navigation with user
2119 defined pairs")
2120 (description
2121 "Smartparens is a minor mode for Emacs that deals with parens pairs
2122 and tries to be smart about it. It started as a unification effort to
2123 combine functionality of several existing packages in a single,
2124 compatible and extensible way to deal with parentheses, delimiters, tags
2125 and the like. Some of these packages include autopair, textmate,
2126 wrap-region, electric-pair-mode, paredit and others. With the basic
2127 features found in other packages it also brings many improvements as
2128 well as completely new features.")
2129 (license license:gpl3+)))
2130
2131 (define-public emacs-hl-todo
2132 (package
2133 (name "emacs-hl-todo")
2134 (version "1.7.0")
2135 (source (origin
2136 (method url-fetch)
2137 (uri (string-append
2138 "https://raw.githubusercontent.com/tarsius/hl-todo/"
2139 version "/hl-todo.el"))
2140 (sha256
2141 (base32
2142 "18zydm43zajlglhgr0bhdkd4pln27amd063k2ql6p1mvyam3j8ia"))))
2143 (build-system emacs-build-system)
2144 (home-page "https://github.com/tarsius/hl-todo")
2145 (synopsis "Emacs mode to highlight TODO and similar keywords")
2146 (description
2147 "This package provides an Emacs mode to highlight TODO and similar
2148 keywords in comments and strings. This package also provides commands for
2149 moving to the next or previous keyword and to invoke @code{occur} with a
2150 regexp that matches all known keywords.")
2151 (license license:gpl3+)))
2152
2153 (define-public emacs-perspective
2154 (package
2155 (name "emacs-perspective")
2156 (version "1.12")
2157 (source
2158 (origin
2159 (method url-fetch)
2160 (uri (string-append "https://github.com/nex3/perspective-el/"
2161 "archive/" version ".tar.gz"))
2162 (file-name (string-append name "-" version ".tar.gz"))
2163 (sha256
2164 (base32
2165 "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic"))))
2166 (build-system emacs-build-system)
2167 (home-page "http://github.com/nex3/perspective-el")
2168 (synopsis "Switch between named \"perspectives\"")
2169 (description
2170 "This package provides tagged workspaces in Emacs, similar to workspaces in
2171 windows managers such as Awesome and XMonad. @code{perspective.el} provides
2172 multiple workspaces (or \"perspectives\") for each Emacs frame. Each
2173 perspective is composed of a window configuration and a set of buffers.
2174 Switching to a perspective activates its window configuration, and when in a
2175 perspective only its buffers are available by default.")
2176 ;; This package is released under the same license as Emacs (GPLv3+) or
2177 ;; the Expat license.
2178 (license license:gpl3+)))
2179
2180 (define-public emacs-hydra
2181 (package
2182 (name "emacs-hydra")
2183 (version "0.13.0")
2184 (source
2185 (origin
2186 (method url-fetch)
2187 (uri (string-append "https://github.com/abo-abo/hydra/archive/"
2188 version ".tar.gz"))
2189 (file-name (string-append name "-" version ".tar.gz"))
2190 (sha256
2191 (base32
2192 "19ynkjlg3jj7x90xxbz885324h6nkxmzlb2c2c95xkr20zckn0lk"))))
2193 (build-system emacs-build-system)
2194 (home-page "https://github.com/abo-abo/hydra")
2195 (synopsis "Make Emacs bindings that stick around")
2196 (description
2197 "This package can be used to tie related commands into a family of short
2198 bindings with a common prefix---a Hydra. Once you summon the Hydra (through
2199 the prefixed binding), all the heads can be called in succession with only a
2200 short extension. Any binding that isn't the Hydra's head vanquishes the
2201 Hydra. Note that the final binding, besides vanquishing the Hydra, will still
2202 serve its original purpose, calling the command assigned to it. This makes
2203 the Hydra very seamless; it's like a minor mode that disables itself
2204 automatically.")
2205 (license license:gpl3+)))
2206
2207 (define-public emacs-ivy
2208 (package
2209 (name "emacs-ivy")
2210 (version "0.8.0")
2211 (source
2212 (origin
2213 (method url-fetch)
2214 (uri (string-append "https://github.com/abo-abo/swiper/archive/"
2215 version ".tar.gz"))
2216 (file-name (string-append name "-" version ".tar.gz"))
2217 (sha256
2218 (base32
2219 "18nqwl05is71dzswnvpfhlg7b0v3apvbsfxrwab9c0apwavi892q"))))
2220 (build-system emacs-build-system)
2221 (propagated-inputs
2222 `(("emacs-hydra" ,emacs-hydra)))
2223 (home-page "http://oremacs.com/swiper/")
2224 (synopsis "Incremental vertical completion for Emacs")
2225 (description
2226 "This package provides @code{ivy-read} as an alternative to
2227 @code{completing-read} and similar functions. No attempt is made to determine
2228 the best candidate. Instead, the user can navigate candidates with
2229 @code{ivy-next-line} and @code{ivy-previous-line}. The matching is done by
2230 splitting the input text by spaces and re-building it into a regular
2231 expression.")
2232 (license license:gpl3+)))
2233
2234 (define-public emacs-avy
2235 (package
2236 (name "emacs-avy")
2237 (version "0.4.0")
2238 (source
2239 (origin
2240 (method url-fetch)
2241 (uri (string-append "https://github.com/abo-abo/avy/archive/"
2242 version ".tar.gz"))
2243 (file-name (string-append name "-" version ".tar.gz"))
2244 (sha256
2245 (base32
2246 "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
2247 (build-system emacs-build-system)
2248 (home-page "https://github.com/abo-abo/avy")
2249 (synopsis "Tree-based completion for Emacs")
2250 (description
2251 "This package provides a generic completion method based on building a
2252 balanced decision tree with each candidate being a leaf. To traverse the tree
2253 from the root to a desired leaf, typically a sequence of @code{read-key} can
2254 be used.
2255
2256 In order for @code{read-key} to make sense, the tree needs to be visualized
2257 appropriately, with a character at each branch node. So this completion
2258 method works only for things that you can see on your screen, all at once,
2259 such as the positions of characters, words, line beginnings, links, or
2260 windows.")
2261 (license license:gpl3+)))
2262
2263 (define-public emacs-ace-window
2264 (package
2265 (name "emacs-ace-window")
2266 (version "0.9.0")
2267 (source
2268 (origin
2269 (method url-fetch)
2270 (uri (string-append "https://github.com/abo-abo/ace-window/archive/"
2271 version ".tar.gz"))
2272 (file-name (string-append name "-" version ".tar.gz"))
2273 (sha256
2274 (base32
2275 "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn"))))
2276 (build-system emacs-build-system)
2277 (propagated-inputs
2278 `(("emacs-avy" ,emacs-avy)))
2279 (home-page "https://github.com/abo-abo/ace-window")
2280 (synopsis "Quickly switch windows in Emacs")
2281 (description
2282 "@code{ace-window} is meant to replace @code{other-window}.
2283 In fact, when there are only two windows present, @code{other-window} is
2284 called. If there are more, each window will have its first character
2285 highlighted. Pressing that character will switch to that window.")
2286 (license license:gpl3+)))
2287
2288 (define-public emacs-iedit
2289 (package
2290 (name "emacs-iedit")
2291 (version "0.9.9")
2292 (source
2293 (origin
2294 (method url-fetch)
2295 (uri (string-append "https://github.com/victorhge/iedit/archive/v"
2296 version ".tar.gz"))
2297 (file-name (string-append name "-" version ".tar.gz"))
2298 (sha256
2299 (base32
2300 "00v86zllcsivmiibigbr91qij2zdf1lr9db8z8again1sn63wkdj"))))
2301 (build-system emacs-build-system)
2302 (home-page "http://www.emacswiki.org/emacs/Iedit")
2303 (synopsis "Edit multiple regions in the same way simultaneously")
2304 (description
2305 "This package is an Emacs minor mode and allows you to edit one
2306 occurrence of some text in a buffer (possibly narrowed) or region, and
2307 simultaneously have other occurrences edited in the same way.
2308
2309 You can also use Iedit mode as a quick way to temporarily show only the buffer
2310 lines that match the current text being edited. This gives you the effect of
2311 a temporary @code{keep-lines} or @code{occur}.")
2312 (license license:gpl3+)))
2313
2314 (define-public emacs-lispy
2315 (package
2316 (name "emacs-lispy")
2317 (version "0.26.0")
2318 (source
2319 (origin
2320 (method url-fetch)
2321 (uri (string-append "https://github.com/abo-abo/lispy/archive/"
2322 version ".tar.gz"))
2323 (file-name (string-append name "-" version ".tar.gz"))
2324 (sha256
2325 (base32
2326 "15gig95cvamw5zlw99cxggd27c18b9scznjj97gvjn2zbljcaqzl"))))
2327 (build-system emacs-build-system)
2328 (propagated-inputs
2329 `(("emacs-ace-window" ,emacs-ace-window)
2330 ("emacs-iedit" ,emacs-iedit)
2331 ("emacs-ivy" ,emacs-ivy)
2332 ("emacs-hydra" ,emacs-hydra)))
2333 (home-page "https://github.com/abo-abo/lispy")
2334 (synopsis "Modal S-expression editing")
2335 (description
2336 "Due to the structure of Lisp syntax it's very rare for the programmer to
2337 want to insert characters right before \"(\" or right after \")\". Thus
2338 unprefixed printable characters can be used to call commands when the point is
2339 at one of these special locations. Lispy provides unprefixed keybindings for
2340 S-expression editing when point is at the beginning or end of an
2341 S-expression.")
2342 (license license:gpl3+)))
2343
2344 (define-public emacs-clojure-mode
2345 (package
2346 (name "emacs-clojure-mode")
2347 (version "5.3.0")
2348 (source (origin
2349 (method url-fetch)
2350 (uri (string-append
2351 "https://github.com/clojure-emacs/clojure-mode/archive/"
2352 version ".tar.gz"))
2353 (file-name (string-append name "-" version ".tar.gz"))
2354 (sha256
2355 (base32
2356 "0gi8ra3ap5m3mz4qh1yxp2cldn7z9xcxvypznr6rrlc6a9l8s5a6"))))
2357 (build-system emacs-build-system)
2358 (home-page "http://github.com/clojure-emacs/clojure-mode")
2359 (synopsis "Major mode for Clojure code")
2360 (description
2361 "This Emacs package provides font-lock, indentation, navigation and basic
2362 refactoring for the @uref{http://clojure.org, Clojure programming language}.
2363 It is recommended to use @code{clojure-mode} with paredit or smartparens.")
2364 (license license:gpl3+)))
2365
2366 (define-public emacs-epl
2367 (package
2368 (name "emacs-epl")
2369 (version "0.8")
2370 (source (origin
2371 (method url-fetch)
2372 (uri (string-append
2373 "https://github.com/cask/epl/archive/"
2374 version ".tar.gz"))
2375 (sha256
2376 (base32
2377 "1511n3a3f5gvaf2b4nh018by61ciyzi3y3603fzqma7p9hrckarc"))))
2378 (build-system emacs-build-system)
2379 (home-page "http://github.com/cask/epl")
2380 (synopsis "Emacs Package Library")
2381 (description
2382 "A package management library for Emacs, based on @code{package.el}.
2383
2384 The purpose of this library is to wrap all the quirks and hassle of
2385 @code{package.el} into a sane API.")
2386 (license license:gpl3+)))
2387
2388 (define-public emacs-queue
2389 (package
2390 (name "emacs-queue")
2391 (version "0.1.1")
2392 (source (origin
2393 (method url-fetch)
2394 (uri (string-append "http://elpa.gnu.org/packages/queue-"
2395 version ".el"))
2396 (sha256
2397 (base32
2398 "0jw24fxqnf9qcaf2nh09cnds1kqfk7hal35dw83x1ari95say391"))))
2399 (build-system emacs-build-system)
2400 (home-page "http://www.dr-qubit.org/tags/computing-code-emacs.html")
2401 (synopsis "Queue data structure for Emacs")
2402 (description
2403 "This Emacs library provides queue data structure. These queues can be
2404 used both as a first-in last-out (FILO) and as a first-in first-out (FIFO)
2405 stack, i.e. elements can be added to the front or back of the queue, and can
2406 be removed from the front. This type of data structure is sometimes called an
2407 \"output-restricted deque\".")
2408 (license license:gpl3+)))
2409
2410 (define-public emacs-pkg-info
2411 (package
2412 (name "emacs-pkg-info")
2413 (version "0.6")
2414 (source (origin
2415 (method url-fetch)
2416 (uri (string-append
2417 "https://github.com/lunaryorn/pkg-info.el/archive/"
2418 version ".tar.gz"))
2419 (file-name (string-append name "-" version ".tar.gz"))
2420 (sha256
2421 (base32
2422 "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5"))))
2423 (build-system emacs-build-system)
2424 (propagated-inputs `(("emacs-epl" ,emacs-epl)))
2425 (home-page "https://github.com/lunaryorn/pkg-info.el")
2426 (synopsis "Information about Emacs packages")
2427 (description
2428 "This library extracts information from the installed Emacs packages.")
2429 (license license:gpl3+)))
2430
2431 (define-public emacs-spinner
2432 (package
2433 (name "emacs-spinner")
2434 (version "1.7.1")
2435 (source (origin
2436 (method url-fetch)
2437 (uri (string-append "http://elpa.gnu.org/packages/spinner-"
2438 version ".el"))
2439 (sha256
2440 (base32
2441 "1fmwzdih0kbyvs8bn38mpm4sbs2mikqy2vdykfy9g20wpa8vb681"))))
2442 (build-system emacs-build-system)
2443 (home-page "https://github.com/Malabarba/spinner.el")
2444 (synopsis "Emacs mode-line spinner for operations in progress")
2445 (description
2446 "This Emacs package adds spinners and progress-bars to the mode-line for
2447 ongoing operations.")
2448 (license license:gpl3+)))
2449
2450 (define-public emacs-seq
2451 (package
2452 (name "emacs-seq")
2453 (version "2.15")
2454 (source (origin
2455 (method url-fetch)
2456 (uri (string-append "http://elpa.gnu.org/packages/seq-"
2457 version ".tar"))
2458 (sha256
2459 (base32
2460 "09wi1765bmn7i8fg6ajjfaxgs4ipc42d58zx2fdqpidrdg9c7q73"))))
2461 (build-system emacs-build-system)
2462 (home-page "http://elpa.gnu.org/packages/seq.html")
2463 (synopsis "Sequence manipulation functions for Emacs")
2464 (description
2465 "This Emacs library provides sequence-manipulation functions that
2466 complement basic functions provided by @code{subr.el}. All provided functions
2467 work on lists, strings and vectors.")
2468 (license license:gpl3+)))
2469
2470 (define-public emacs-better-defaults
2471 (package
2472 (name "emacs-better-defaults")
2473 (version "0.1.3")
2474 (source
2475 (origin
2476 (method url-fetch)
2477 (uri (string-append "https://github.com/technomancy/better-defaults"
2478 "/archive/" version ".tar.gz"))
2479 (file-name (string-append name "-" version ".tar.gz"))
2480 (sha256
2481 (base32
2482 "08fg4zslzlxbvyil5g4gwvwd22fh4zsgqprs5wh9hv1rgc6757m2"))))
2483 (build-system emacs-build-system)
2484 (home-page "https://github.com/technomancy/better-defaults")
2485 (synopsis "Better defaults for Emacs")
2486 (description
2487 "Better defaults attempts to address the most obvious deficiencies of the
2488 Emacs default configuration in uncontroversial ways that nearly everyone can
2489 agree upon.")
2490 (license license:gpl3+)))
2491
2492 (define-public emacs-eprime
2493 (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
2494 (package
2495 (name "emacs-eprime")
2496 (version (string-append "20140513-" (string-take commit 7)))
2497 (source (origin
2498 (method url-fetch)
2499 (uri (string-append "https://raw.githubusercontent.com"
2500 "/AndrewHynes/eprime-mode/"
2501 commit "/eprime-mode.el"))
2502 (file-name (string-append "eprime-" version ".el"))
2503 (sha256
2504 (base32
2505 "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d"))))
2506 (build-system emacs-build-system)
2507 (home-page "https://github.com/AndrewHynes/eprime-mode")
2508 (synopsis "E-prime checking mode for Emacs")
2509 (description "This package provides an E-prime checking mode for Emacs
2510 that highlights non-conforming text. The subset of the English language called
2511 E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
2512 (license license:gpl3+))))
2513
2514 (define-public emacs-ess
2515 (package
2516 (name "emacs-ess")
2517 (version "16.04")
2518 (source (origin
2519 (method url-fetch)
2520 (uri (string-append "http://ess.r-project.org/downloads/ess/ess-"
2521 version ".tgz"))
2522 (sha256
2523 (base32
2524 "0w7mbbajn377gdmvnd21mpyr368b2ia46gq6cb99y4y5rspf9pcg"))))
2525 (build-system gnu-build-system)
2526 (arguments
2527 `(#:tests? #f ; There is no test suite.
2528 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2529 #:phases
2530 (modify-phases %standard-phases
2531 (delete 'configure)
2532 (add-before 'build 'more-shebang-patching
2533 (lambda* (#:key inputs #:allow-other-keys)
2534 (substitute* "Makeconf"
2535 (("SHELL = /bin/sh")
2536 (string-append "SHELL = " (which "sh")))))))))
2537 (inputs
2538 `(("emacs" ,emacs-minimal)
2539 ("r" ,r)))
2540 (native-inputs
2541 `(("perl" ,perl)
2542 ("texinfo" ,texinfo)
2543 ("texlive" ,texlive)))
2544 (home-page "http://ess.r-project.org/")
2545 (synopsis "Emacs mode for statistical analysis programs")
2546 (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
2547 Emacs. It is designed to support editing of scripts and interaction with
2548 various statistical analysis programs such as R and OpenBUGS.")
2549 (license license:gpl2+)))
2550
2551 (define-public emacs-smex
2552 (package
2553 (name "emacs-smex")
2554 (version "3.0")
2555 (source (origin
2556 (method url-fetch)
2557 (uri (string-append "https://raw.githubusercontent.com"
2558 "/nonsequitur/smex/" version "/smex.el"))
2559 (file-name (string-append "smex-" version ".el"))
2560 (sha256
2561 (base32
2562 "0ar310zx9k5y4i1vl2rawvi712xj9gx77160860jbs691p77cxqp"))))
2563 (build-system emacs-build-system)
2564 (home-page "http://github.com/nonsequitur/smex/")
2565 (synopsis "M-x interface with Ido-style fuzzy matching")
2566 (description
2567 "Smex is a M-x enhancement for Emacs. Built on top of Ido, it provides a
2568 convenient interface to your recently and most frequently used commands. And
2569 to all the other commands, too.")
2570 (license license:gpl3+)))
2571
2572 (define-public emacs-js2-mode
2573 (package
2574 (name "emacs-js2-mode")
2575 (version "20150909")
2576 (source (origin
2577 (method url-fetch)
2578 (uri (string-append "https://github.com/mooz/js2-mode/archive/"
2579 version ".tar.gz"))
2580 (file-name (string-append name "-" version ".tar.gz"))
2581 (sha256
2582 (base32
2583 "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0"))))
2584 (build-system emacs-build-system)
2585 (home-page "https://github.com/mooz/js2-mode/")
2586 (synopsis "Improved JavaScript editing mode for Emacs")
2587 (description
2588 "Js2-mode provides a JavaScript major mode for Emacs that is more
2589 advanced than the built-in javascript-mode. Features include accurate syntax
2590 highlighting using a recursive-descent parser, on-the-fly reporting of syntax
2591 errors and strict-mode warnings, smart line-wrapping within comments and
2592 strings, and code folding.")
2593 (license license:gpl3+)))
2594
2595 (define-public emacs-markdown-mode
2596 (package
2597 (name "emacs-markdown-mode")
2598 (version "2.1")
2599 (source (origin
2600 (method url-fetch)
2601 (uri (string-append "https://raw.githubusercontent.com/jrblevin"
2602 "/markdown-mode/v" version
2603 "/markdown-mode.el"))
2604 (file-name (string-append "markdown-mode-" version ".el"))
2605 (sha256
2606 (base32
2607 "1faibar32jnjia9202swblw91q6z1g5s4k9xmypwjahfh8yznl6w"))))
2608 (build-system emacs-build-system)
2609 (home-page "http://jblevins.org/projects/markdown-mode/")
2610 (synopsis "Emacs Major mode for Markdown files")
2611 (description
2612 "Markdown-mode is a major mode for editing Markdown-formatted text files
2613 in Emacs.")
2614 (license license:gpl3+)))
2615
2616 (define-public emacs-projectile
2617 (package
2618 (name "emacs-projectile")
2619 (version "0.13.0")
2620 (source (origin
2621 (method url-fetch)
2622 (uri (string-append "https://raw.githubusercontent.com/bbatsov"
2623 "/projectile/v" version "/projectile.el"))
2624 (file-name (string-append "projectile-" version ".el"))
2625 (sha256
2626 (base32
2627 "1pc6xb61hzxzc5hkqkli1ab0s7wz0rfgx4kcn9y30ksvhw18smbz"))))
2628 (build-system emacs-build-system)
2629 (propagated-inputs
2630 `(("emacs-dash" ,emacs-dash)
2631 ("emacs-pkg-info" ,emacs-pkg-info)))
2632 (home-page "https://github.com/bbatsov/projectile")
2633 (synopsis "Manage and navigate projects in Emacs easily")
2634 (description
2635 "This library provides easy project management and navigation. The
2636 concept of a project is pretty basic - just a folder containing special file.
2637 Currently git, mercurial and bazaar repos are considered projects by default.
2638 If you want to mark a folder manually as a project just create an empty
2639 .projectile file in it.")
2640 (license license:gpl3+)))
2641
2642 (define-public emacs-elfeed
2643 (package
2644 (name "emacs-elfeed")
2645 (version "1.4.1")
2646 (source (origin
2647 (method url-fetch)
2648 (uri (string-append "https://github.com/skeeto/elfeed/archive/"
2649 version ".tar.gz"))
2650 (file-name (string-append name "-" version ".tar.gz"))
2651 (sha256
2652 (base32
2653 "0i75r8x9ypbfjlnym04h16ikcrlks86p7wsgawrx7mh1lk4inp89"))))
2654 (build-system emacs-build-system)
2655 (home-page "https://github.com/skeeto/elfeed")
2656 (synopsis "Atom/RSS feed reader for Emacs")
2657 (description
2658 "Elfeed is an extensible web feed reader for Emacs, supporting both Atom
2659 and RSS, with a user interface inspired by notmuch.")
2660 (license license:gpl3+)))
2661
2662 (define-public emacs-rainbow-delimiters
2663 (package
2664 (name "emacs-rainbow-delimiters")
2665 (version "2.1.3")
2666 (source (origin
2667 (method url-fetch)
2668 (uri (string-append "https://raw.githubusercontent.com/Fanael"
2669 "/rainbow-delimiters/" version
2670 "/rainbow-delimiters.el"))
2671 (file-name (string-append "rainbow-delimiters-" version ".el"))
2672 (sha256
2673 (base32
2674 "1b3kampwsjabhcqdp0khgff13wc5jqhy3rbvaa12vnv7qy22l9ck"))))
2675 (build-system emacs-build-system)
2676 (home-page "https://github.com/Fanael/rainbow-delimiters")
2677 (synopsis "Highlight brackets according to their depth")
2678 (description
2679 "Rainbow-delimiters is a \"rainbow parentheses\"-like mode for Emacs which
2680 highlights parentheses, brackets, and braces according to their depth. Each
2681 successive level is highlighted in a different color, making it easy to spot
2682 matching delimiters, orient yourself in the code, and tell which statements
2683 are at a given level.")
2684 (license license:gpl3+)))
2685
2686 (define-public emacs-rainbow-identifiers
2687 (package
2688 (name "emacs-rainbow-identifiers")
2689 (version "0.2.2")
2690 (source (origin
2691 (method url-fetch)
2692 (uri (string-append "https://raw.githubusercontent.com/Fanael"
2693 "/rainbow-identifiers/" version
2694 "/rainbow-identifiers.el"))
2695 (file-name (string-append "rainbow-identifiers-" version ".el"))
2696 (sha256
2697 (base32
2698 "0325abxj47k0g1i8nqrq70w2wr6060ckhhf92krv1s072b3jzm31"))))
2699 (build-system emacs-build-system)
2700 (home-page "https://github.com/Fanael/rainbow-identifiers")
2701 (synopsis "Highlight identifiers in source code")
2702 (description
2703 "Rainbow identifiers mode is an Emacs minor mode providing highlighting of
2704 identifiers based on their names. Each identifier gets a color based on a hash
2705 of its name.")
2706 (license license:bsd-2)))
2707
2708 (define-public emacs-visual-fill-column
2709 (package
2710 (name "emacs-visual-fill-column")
2711 (version "1.7")
2712 (source (origin
2713 (method url-fetch)
2714 (uri (string-append "https://codeload.github.com/joostkremers/"
2715 "visual-fill-column/tar.gz/" version))
2716 (file-name (string-append name "-" version ".tar.gz"))
2717 (sha256
2718 (base32
2719 "12vn7kdq2mpz9hgibbn1vhpf23lcm7c26k3fkz8nidhygwl5x5lq"))))
2720 (build-system emacs-build-system)
2721 (home-page "https://github.com/joostkremers/visual-fill-column")
2722 (synopsis "Fill-column for visual-line-mode")
2723 (description
2724 "@code{visual-fill-column-mode} is a small Emacs minor mode that mimics
2725 the effect of @code{fill-column} in @code{visual-line-mode}. Instead of
2726 wrapping lines at the window edge, which is the standard behaviour of
2727 @code{visual-line-mode}, it wraps lines at @code{fill-column}. If
2728 @code{fill-column} is too large for the window, the text is wrapped at the
2729 window edge.")
2730 (license license:gpl3+)))
2731
2732 (define-public emacs-ido-completing-read+
2733 (package
2734 (name "emacs-ido-completing-read+")
2735 (version "3.12")
2736 (source (origin
2737 (method url-fetch)
2738 (uri (string-append "https://raw.githubusercontent.com"
2739 "/DarwinAwardWinner/ido-ubiquitous/v"
2740 version "/ido-completing-read+.el"))
2741 (file-name (string-append "ido-completing-read+-" version ".el"))
2742 (sha256
2743 (base32
2744 "1cyalb0p7nfsm4n6n9q6rjmvn6adqc0fq8ybnlj3n41n289dkfjf"))))
2745 (build-system emacs-build-system)
2746 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
2747 (synopsis "Replacement for completing-read using ido")
2748 (description
2749 "The ido-completing-read+ function is a wrapper for ido-completing-read.
2750 Importantly, it detects edge cases that ordinary ido cannot handle and either
2751 adjusts them so ido can handle them, or else simply falls back to the standard
2752 Emacs completion function instead.")
2753 (license license:gpl3+)))
2754
2755 (define-public emacs-ido-ubiquitous
2756 (package
2757 (name "emacs-ido-ubiquitous")
2758 (version "3.12")
2759 (source (origin
2760 (method url-fetch)
2761 (uri (string-append "https://raw.githubusercontent.com"
2762 "/DarwinAwardWinner/ido-ubiquitous/v"
2763 version "/ido-ubiquitous.el"))
2764 (file-name (string-append "ido-ubiquitous-" version ".el"))
2765 (sha256
2766 (base32
2767 "197ypji0fb6jsdcq40rpnknwlh3imas6s6jbsvkfm0pz9988c3q2"))))
2768 (build-system emacs-build-system)
2769 (propagated-inputs
2770 `(("emacs-ido-completing-read+" ,emacs-ido-completing-read+)))
2771 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
2772 (synopsis "Use ido (nearly) everywhere")
2773 (description
2774 "Ido-ubiquitous enables ido-style completion for almost every function
2775 that uses the standard completion function completing-read.")
2776 (license license:gpl3+)))
2777
2778 (define-public emacs-yaml-mode
2779 (package
2780 (name "emacs-yaml-mode")
2781 (version "0.0.12")
2782 (source (origin
2783 (method url-fetch)
2784 (uri (string-append "https://raw.githubusercontent.com/yoshiki"
2785 "/yaml-mode/v" version "/yaml-mode.el"))
2786 (file-name (string-append "yaml-mode-" version ".el"))
2787 (sha256
2788 (base32
2789 "17wq433ycli0qx4gdhgrmb392qblm6y2dwcyn38j5ja1lasfb0ax"))))
2790 (build-system emacs-build-system)
2791 (home-page "https://github.com/yoshiki/yaml-mode")
2792 (synopsis "Major mode for editing YAML files")
2793 (description
2794 "Yaml-mode is an Emacs major mode for editing files in the YAML data
2795 serialization format. It was initially developed by Yoshiki Kurihara and many
2796 features were added by Marshall Vandegrift. As YAML and Python share the fact
2797 that indentation determines structure, this mode provides indentation and
2798 indentation command behavior very similar to that of python-mode.")
2799 (license license:gpl3+)))
2800
2801 (define-public emacs-web-mode
2802 (package
2803 (name "emacs-web-mode")
2804 (version "14")
2805 (source (origin
2806 (method url-fetch)
2807 (uri (string-append "https://raw.githubusercontent.com/fxbois"
2808 "/web-mode/v" version "/web-mode.el"))
2809 (file-name (string-append "web-mode-" version ".el"))
2810 (sha256
2811 (base32
2812 "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5"))))
2813 (build-system emacs-build-system)
2814 (synopsis "Major mode for editing web templates")
2815 (description "Web-mode is an Emacs major mode for editing web templates
2816 aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by
2817 client/server side engines). Web-mode is compatible with many template
2818 engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker,
2819 Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template,
2820 Dust.js, React/JSX, Angularjs, ejs, etc.")
2821 (home-page "http://web-mode.org/")
2822 (license license:gpl3+)))
2823
2824 (define-public emacs-helm
2825 (package
2826 (name "emacs-helm")
2827 (version "1.9.8")
2828 (source (origin
2829 (method url-fetch)
2830 (uri (string-append
2831 "https://github.com/" name "/helm/archive/v"
2832 version ".tar.gz"))
2833 (file-name (string-append name "-" version ".tar.gz"))
2834 (sha256
2835 (base32
2836 "019dpzr6l83k1fgxn40aqxjvrpz4dl5d9vi7fc5wjnifmxaqxia6"))))
2837 (build-system emacs-build-system)
2838 (propagated-inputs
2839 `(("emacs-async" ,emacs-async)
2840 ("emacs-popup" ,emacs-popup)))
2841 (home-page "https://emacs-helm.github.io/helm/")
2842 (synopsis "Incremental completion and selection narrowing
2843 framework for Emacs")
2844 (description "Helm is incremental completion and selection narrowing
2845 framework for Emacs. It will help steer you in the right direction when
2846 you're looking for stuff in Emacs (like buffers, files, etc). Helm is a fork
2847 of @code{anything.el} originally written by Tamas Patrovic and can be
2848 considered to be its successor. Helm sets out to clean up the legacy code in
2849 @code{anything.el} and provide a cleaner, leaner and more modular tool, that's
2850 not tied in the trap of backward compatibility.")
2851 (license license:gpl3+)))
2852
2853 (define-public emacs-cider
2854 (package
2855 (name "emacs-cider")
2856 (version "0.12.0")
2857 (source (origin
2858 (method url-fetch)
2859 (uri (string-append
2860 "https://github.com/clojure-emacs/cider/archive/v"
2861 version ".tar.gz"))
2862 (file-name (string-append name "-" version ".tar.gz"))
2863 (sha256
2864 (base32
2865 "00qzbfjy3w6bcnki7gw0clmi0cc5yqjdrcyhgv4ymijjs79h9p5s"))))
2866 (build-system emacs-build-system)
2867 (propagated-inputs
2868 `(("emacs-clojure-mode" ,emacs-clojure-mode)
2869 ("emacs-spinner" ,emacs-spinner)
2870 ("emacs-pkg-info" ,emacs-pkg-info)
2871 ("emacs-queue" ,emacs-queue)
2872 ("emacs-seq" ,emacs-seq)))
2873 (home-page "https://cider.readthedocs.org/")
2874 (synopsis "Clojure development environment for Emacs")
2875 (description
2876 "CIDER (Clojure Interactive Development Environment that Rocks) aims to
2877 provide an interactive development experience similar to the one you'd get
2878 when programming in Emacs Lisp, Common Lisp (with SLIME or Sly), Scheme (with
2879 Geiser) and Smalltalk.
2880
2881 CIDER is the successor to the now deprecated combination of using SLIME +
2882 swank-clojure for Clojure development.
2883
2884 There are plenty of differences between CIDER and SLIME, but the core ideas
2885 are pretty much the same (and SLIME served as the principle inspiration for
2886 CIDER).")
2887 (license license:gpl3+)))
2888
2889 (define-public emacs-lua-mode
2890 (package
2891 (name "emacs-lua-mode")
2892 (version "20151025")
2893 (source (origin
2894 (method url-fetch)
2895 (uri (string-append
2896 "https://github.com/immerrr/lua-mode/archive/v"
2897 version ".tar.gz"))
2898 (file-name (string-append name "-" version ".tar.gz"))
2899 (sha256
2900 (base32
2901 "0sbhfny5ib65cnx6xcy6h9bbw27mw034s8m9cca00bhxqaqi6p4v"))))
2902 (build-system emacs-build-system)
2903 (home-page "http://github.com/immerrr/lua-mode/")
2904 (synopsis "Major mode for lua")
2905 (description
2906 "This Emacs package provides a mode for @uref{https://www.lua.org/,
2907 Lua programing language}.")
2908 (license license:gpl2+)))
2909
2910 (define-public emacs-ebuild-mode
2911 (package
2912 (name "emacs-ebuild-mode")
2913 (version "1.30")
2914 (source (origin
2915 (method url-fetch)
2916 (uri (string-append
2917 "https://dev.gentoo.org/~ulm/emacs/ebuild-mode"
2918 "-" version ".tar.xz"))
2919 (file-name (string-append name "-" version ".tar.xz"))
2920 (sha256
2921 (base32
2922 "0vp7lq1kvmh1b2bms2x1kf2k76dy9m02d7cirkxpiglwaxa0h9vz"))))
2923 (build-system emacs-build-system)
2924 (home-page "https://devmanual.gentoo.org")
2925 (synopsis "Major modes for Gentoo package files")
2926 (description
2927 "This Emacs package provides modes for ebuild, eclass, eblit, GLEP42
2928 news items, openrc and runscripts.")
2929 (license license:gpl2+)))
2930
2931 (define-public emacs-writegood-mode
2932 (package
2933 (name "emacs-writegood-mode")
2934 (version "2.0.2")
2935 (home-page "http://github.com/bnbeckwith/writegood-mode")
2936 (source (origin
2937 (method git-fetch)
2938 (uri (git-reference
2939 (url home-page)
2940 (commit (string-append "v" version))))
2941 (sha256
2942 (base32
2943 "1nnjn1r669hvvzfycllwap4w04m8rfsk4nzcg8057m1f263kj31b"))
2944 (file-name (string-append name "-checkout"))))
2945 (build-system emacs-build-system)
2946 (synopsis "Polish up poor writing on the fly")
2947 (description
2948 "This minor mode tries to find and highlight problems with your writing
2949 in English as you type. It primarily detects \"weasel words\" and abuse of
2950 passive voice.")
2951 (license license:gpl3+)))