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