1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
3 ;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
8 ;;; Copyright © 2016 Nils Gillmann <niasterisk@grrlz.net>
9 ;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com>
11 ;;; This file is part of GNU Guix.
13 ;;; GNU Guix is free software; you can redistribute it and/or modify it
14 ;;; under the terms of the GNU General Public License as published by
15 ;;; the Free Software Foundation; either version 3 of the License, or (at
16 ;;; your option) any later version.
18 ;;; GNU Guix is distributed in the hope that it will be useful, but
19 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ;;; GNU General Public License for more details.
23 ;;; You should have received a copy of the GNU General Public License
24 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
26 (define-module (gnu packages emacs)
27 #:use-module ((guix licenses) #:prefix license:)
28 #:use-module (guix packages)
29 #:use-module (guix download)
30 #:use-module (guix git-download)
31 #:use-module (guix gexp)
32 #:use-module (guix monads)
33 #:use-module (guix store)
34 #:use-module (guix build-system gnu)
35 #:use-module (guix build-system emacs)
36 #:use-module (guix build-system glib-or-gtk)
37 #:use-module (guix build-system trivial)
38 #:use-module (gnu packages)
39 #:use-module (gnu packages guile)
40 #:use-module (gnu packages gtk)
41 #:use-module (gnu packages gnome)
42 #:use-module (gnu packages ncurses)
43 #:use-module (gnu packages texinfo)
44 #:use-module (gnu packages tls)
45 #:use-module (gnu packages pkg-config)
46 #:use-module (gnu packages xorg)
47 #:use-module (gnu packages lesstif)
48 #:use-module (gnu packages image)
49 #:use-module (gnu packages linux)
50 #:use-module (gnu packages version-control)
51 #:use-module (gnu packages imagemagick)
52 #:use-module (gnu packages w3m)
53 #:use-module (gnu packages wget)
54 #:use-module (gnu packages autotools)
55 #:use-module (gnu packages base)
56 #:use-module (gnu packages compression)
57 #:use-module (gnu packages xml)
58 #:use-module (gnu packages glib)
59 #:use-module (gnu packages acl)
60 #:use-module (gnu packages package-management)
61 #:use-module (gnu packages perl)
62 #:use-module (gnu packages pdf)
63 #:use-module (gnu packages scheme)
64 #:use-module (gnu packages xiph)
65 #:use-module (gnu packages mp3)
66 #:use-module (guix utils)
67 #:use-module (srfi srfi-1))
75 (uri (string-append "mirror://gnu/emacs/emacs-"
79 "0kn3rzm91qiswi0cql89kbv6mqn27rwsyjfb8xmwy9m5s8fxfiyx"))
80 (patches (search-patches "emacs-exec-path.patch"
81 "emacs-source-date-epoch.patch"))))
82 (build-system glib-or-gtk-build-system)
85 (modify-phases %standard-phases
86 (add-before 'configure 'fix-/bin/pwd
88 ;; Use `pwd', not `/bin/pwd'.
89 (substitute* (find-files "." "^Makefile\\.in$")
92 (add-after 'install 'remove-info.info
93 (lambda* (#:key outputs #:allow-other-keys)
94 ;; Remove 'info.info', which is provided by Texinfo <= 6.0.
95 ;; TODO: Remove this phase when we switch to Texinfo 6.1.
96 (let ((out (assoc-ref outputs "out")))
98 (string-append out "/share/info/info.info.gz"))
100 (add-after 'install 'install-site-start
101 ;; Copy guix-emacs.el from Guix and add it to site-start.el. This
102 ;; way, Emacs packages provided by Guix and installed in
103 ;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are
104 ;; automatically found.
105 (lambda* (#:key inputs outputs #:allow-other-keys)
106 (let* ((guix-src (assoc-ref inputs "guix-src"))
107 (out (assoc-ref outputs "out"))
108 (lisp-dir (string-append out "/share/emacs/"
109 ,(version-major+minor version)
111 (unpack (assoc-ref %standard-phases 'unpack)))
113 (with-directory-excursion "guix"
114 (apply unpack (list #:source guix-src))
115 (install-file "emacs/guix-emacs.el" lisp-dir))
116 (with-output-to-file (string-append lisp-dir "/site-start.el")
118 (display "(require 'guix-emacs nil t)")))
124 ;; TODO: Add the optional dependencies.
130 ("libjpeg" ,libjpeg-8)
133 ;; When looking for libpng `configure' links with `-lpng -lz', so we
134 ;; must also provide zlib as an input.
143 ("alsa-lib" ,alsa-lib)
145 ("guix-src" ,(package-source guix))))
147 `(("pkg-config" ,pkg-config)
148 ("texinfo" ,texinfo)))
151 (list (search-path-specification
152 (variable "INFOPATH")
153 (files '("share/info")))))
155 (home-page "http://www.gnu.org/software/emacs/")
156 (synopsis "The extensible, customizable, self-documenting text editor")
158 "GNU Emacs is an extensible and highly customizable text editor. It is
159 based on an Emacs Lisp interpreter with extensions for text editing. Emacs
160 has been extended in essentially all areas of computing, giving rise to a
161 vast array of packages supporting, e.g., email, IRC and XMPP messaging,
162 spreadsheets, remote server editing, and much more. Emacs includes extensive
163 documentation on all aspects of the system, from basic editing to writing
164 large Lisp programs. It has full Unicode support for nearly all human
166 (license license:gpl3+)))
168 (define-public emacs-no-x
169 ;; This is the version that you should use as an input to packages that just
170 ;; need to byte-compile .el files.
171 (package (inherit emacs)
173 (synopsis "The extensible, customizable, self-documenting text
174 editor (console only)")
175 (build-system gnu-build-system)
176 (inputs (fold alist-delete
177 (package-inputs emacs)
178 '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
179 "libpng" "librsvg" "libxpm" "libice" "libsm"
181 ;; D-Bus depends on libx11, so remove it as well.
184 (define-public emacs-no-x-toolkit
185 (package (inherit emacs)
186 (name "emacs-no-x-toolkit")
187 (synopsis "The extensible, customizable, self-documenting text
188 editor (without an X toolkit)" )
189 (build-system gnu-build-system)
190 (inputs (append `(("inotify-tools" ,inotify-tools))
191 (alist-delete "gtk+" (package-inputs emacs))))
192 (arguments (append '(#:configure-flags '("--with-x-toolkit=no"))
193 (package-arguments emacs)))))
195 (define-public guile-emacs
196 (package (inherit emacs)
198 (version "20150512.41120e0")
202 (url "git://git.hcoop.net/git/bpt/emacs.git")
203 (commit "41120e0f595b16387eebfbf731fff70481de1b4b")))
206 "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6"))))
208 `(("autoconf" ,autoconf)
209 ("automake" ,automake)
210 ("guile" ,guile-for-guile-emacs)
211 ,@(package-native-inputs emacs)))
213 (substitute-keyword-arguments `(;; Build fails if we allow parallel build.
215 ;; Tests aren't passing for now.
217 ,@(package-arguments emacs))
219 `(modify-phases ,phases
220 (add-after 'unpack 'autogen
222 (zero? (system* "sh" "autogen.sh"))))))))))
229 (define-public geiser
235 (uri (string-append "mirror://savannah/geiser/" version
236 "/geiser-" version ".tar.gz"))
239 "163zh8qf1q8l485d94a51a9xixirj8r2xvrbgxyw06vkaqrz5qvc"))))
240 (build-system gnu-build-system)
242 '(#:phases (alist-cons-after
243 'install 'post-install
244 (lambda* (#:key outputs #:allow-other-keys)
245 (symlink "geiser-install.el"
246 (string-append (assoc-ref outputs "out")
247 "/share/emacs/site-lisp/"
248 "geiser-autoloads.el")))
250 (inputs `(("guile" ,guile-2.0)
251 ("emacs" ,emacs-no-x)))
252 (home-page "http://nongnu.org/geiser/")
253 (synopsis "Collection of Emacs modes for Guile and Racket hacking")
255 "Geiser is a collection of Emacs major and minor modes that conspire with
256 one or more Scheme implementations to keep the Lisp Machine Spirit alive. The
257 continuously running Scheme interpreter takes the center of the stage in
258 Geiser. A bundle of Elisp shims orchestrates the dialog between the Scheme
259 implementation, Emacs and, ultimately, the schemer, giving them access to live
261 (license license:bsd-3)))
263 (define-public paredit
269 (uri (string-append "http://mumble.net/~campbell/emacs/paredit-"
273 "0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
274 (build-system trivial-build-system)
275 (inputs `(("emacs" ,emacs-no-x)))
277 `(#:modules ((guix build utils)
278 (guix build emacs-utils))
281 (use-modules (guix build utils))
282 (use-modules (guix build emacs-utils))
284 (let* ((emacs (string-append (assoc-ref %build-inputs "emacs")
286 (source (assoc-ref %build-inputs "source"))
287 (lisp-dir (string-append %output
288 "/share/emacs/site-lisp"))
289 (target (string-append lisp-dir "/paredit.el")))
291 (copy-file source target)
292 (with-directory-excursion lisp-dir
293 (parameterize ((%emacs emacs))
294 (emacs-generate-autoloads ,name lisp-dir)
295 (emacs-batch-eval '(byte-compile-file "paredit.el"))))))))
296 (home-page "http://mumble.net/~campbell/emacs/paredit/")
297 (synopsis "Emacs minor mode for editing parentheses")
299 "ParEdit (paredit.el) is a minor mode for performing structured editing
300 of S-expression data. The typical example of this would be Lisp or Scheme
303 ParEdit helps **keep parentheses balanced** and adds many keys for moving
304 S-expressions and moving around in S-expressions. Its behavior can be jarring
305 for those who may want transient periods of unbalanced parentheses, such as
306 when typing parentheses directly or commenting out code line by line.")
307 (license license:gpl3+)))
309 (define-public git-modes
316 "https://github.com/magit/git-modes/archive/"
318 (file-name (string-append name "-" version ".tar.gz"))
321 "0gb9c18jib8rpm14vig9774104lwmd8353ps0259m861syf6664d"))))
322 (build-system gnu-build-system)
324 `(#:modules ((guix build gnu-build-system)
325 (guix build emacs-utils)
327 #:imported-modules (,@%gnu-build-system-modules
328 (guix build emacs-utils))
330 #:make-flags (list (string-append "PREFIX="
331 (assoc-ref %outputs "out"))
332 ;; Don't put .el files in a 'git-modes'
334 (string-append "LISPDIR="
335 (assoc-ref %outputs "out")
336 "/share/emacs/site-lisp"))
337 #:tests? #f ; no check target
338 #:phases (modify-phases %standard-phases
340 (add-after 'install 'emacs-autoloads
341 (lambda* (#:key outputs #:allow-other-keys)
342 (let* ((out (assoc-ref outputs "out"))
344 out "/share/emacs/site-lisp/")))
345 (emacs-generate-autoloads ,name lisp)))))))
346 (native-inputs `(("emacs" ,emacs-no-x)))
347 (home-page "https://github.com/magit/git-modes")
348 (synopsis "Emacs major modes for Git configuration files")
350 "This package provides Emacs major modes for editing various Git
351 configuration files, such as .gitattributes, .gitignore, and .git/config.")
352 (license license:gpl3+)))
354 (define-public emacs-with-editor
356 (name "emacs-with-editor")
361 "https://github.com/magit/with-editor/archive/v"
363 (file-name (string-append name "-" version ".tar.gz"))
366 "1lqm0msc9lzb05ys96bsx8bf2y1qrw27dh5h6qz8lf5i4cbhflw2"))))
367 (build-system emacs-build-system)
369 `(("emacs-dash" ,emacs-dash)))
370 (home-page "https://github.com/magit/with-editor")
371 (synopsis "Emacs library for using Emacsclient as EDITOR")
373 "This package provides an Emacs library to use the Emacsclient as
374 @code{$EDITOR} of child processes, making sure they know how to call home.
375 For remote processes a substitute is provided, which communicates with Emacs
376 on stdout instead of using a socket as the Emacsclient does.")
377 (license license:gpl3+)))
386 "https://github.com/magit/magit/releases/download/"
387 version "/" name "-" version ".tar.gz"))
390 "1gjyb78jcfv57l9nz06n56f16qf8732a3krbqy5m7xwmilb12aml"))))
391 (build-system gnu-build-system)
392 (native-inputs `(("texinfo" ,texinfo)
393 ("emacs" ,emacs-no-x)))
394 (inputs `(("git" ,git)))
396 `(("dash" ,emacs-dash)
397 ("with-editor" ,emacs-with-editor)))
399 `(#:modules ((guix build gnu-build-system)
401 (guix build emacs-utils))
402 #:imported-modules (,@%gnu-build-system-modules
403 (guix build emacs-utils))
406 #:tests? #f ; tests are not included in the release
409 (list (string-append "PREFIX=" %output)
410 ;; Don't put .el files in a sub-directory.
411 (string-append "lispdir=" %output "/share/emacs/site-lisp")
412 (string-append "DASH_DIR="
413 (assoc-ref %build-inputs "dash")
414 "/share/emacs/site-lisp/guix.d/dash-"
415 ,(package-version emacs-dash))
416 (string-append "WITH_EDITOR_DIR="
417 (assoc-ref %build-inputs "with-editor")
418 "/share/emacs/site-lisp/guix.d/with-editor-"
419 ,(package-version emacs-with-editor)))
422 (modify-phases %standard-phases
425 'build 'patch-exec-paths
426 (lambda* (#:key inputs #:allow-other-keys)
427 (let ((git (assoc-ref inputs "git")))
428 (emacs-substitute-variables "lisp/magit-git.el"
429 ("magit-git-executable" (string-append git "/bin/git")))
431 (home-page "http://magit.github.io/")
432 (synopsis "Emacs interface for the Git version control system")
434 "With Magit, you can inspect and modify your Git repositories with Emacs.
435 You can review and commit the changes you have made to the tracked files, for
436 example, and you can browse the history of past changes. There is support for
437 cherry picking, reverting, merging, rebasing, and other common Git
439 (license license:gpl3+)))
441 (define-public magit-svn
448 "https://github.com/magit/magit-svn/archive/"
450 (file-name (string-append name "-" version ".tar.gz"))
453 "04y88j7q9h8xjbx5dbick6n5nr1522sn9i1znp0qwk3vjb4b5mzz"))))
454 (build-system trivial-build-system)
455 (native-inputs `(("emacs" ,emacs-no-x)
458 (propagated-inputs `(("dash" ,emacs-dash)
461 `(#:modules ((guix build utils)
462 (guix build emacs-utils))
466 (use-modules (guix build utils)
467 (guix build emacs-utils))
469 (let* ((tar (string-append (assoc-ref %build-inputs "tar")
471 (PATH (string-append (assoc-ref %build-inputs "gzip")
473 (emacs (string-append (assoc-ref %build-inputs "emacs")
475 (magit (string-append (assoc-ref %build-inputs "magit")
476 "/share/emacs/site-lisp"))
477 (dash (string-append (assoc-ref %build-inputs "dash")
478 "/share/emacs/site-lisp/guix.d/dash-"
479 ,(package-version emacs-dash)))
480 (source (assoc-ref %build-inputs "source"))
481 (lisp-dir (string-append %output "/share/emacs/site-lisp")))
483 (system* tar "xvf" source)
485 (install-file (string-append ,name "-" ,version "/magit-svn.el")
488 (with-directory-excursion lisp-dir
489 (parameterize ((%emacs emacs))
490 (emacs-generate-autoloads ,name lisp-dir)
491 (setenv "EMACSLOADPATH"
492 (string-append ":" magit ":" dash))
493 (emacs-batch-eval '(byte-compile-file "magit-svn.el"))))))))
494 (home-page "https://github.com/magit/magit-svn")
495 (synopsis "Git-SVN extension to Magit")
497 "This package is an extension to Magit, the Git Emacs mode, providing
498 support for Git-SVN.")
499 (license license:gpl3+)))
501 (define-public haskell-mode
503 (name "haskell-mode")
507 (file-name (string-append name "-" version ".tar.gz"))
509 "https://github.com/haskell/haskell-mode/archive/v"
512 (base32 "1kxc2yj8vb122dv91r68h7c5ladcryx963fr16plfhg71fv7f9av"))))
513 (inputs `(("emacs" ,emacs-no-x)))
515 `(("texinfo" ,texinfo)))
516 (build-system gnu-build-system)
518 `(#:make-flags (list (string-append "EMACS="
519 (assoc-ref %build-inputs "emacs")
522 (modify-phases %standard-phases
526 (lambda* (#:key inputs #:allow-other-keys)
527 (let ((sh (string-append (assoc-ref inputs "bash") "/bin/sh")))
528 (setenv "SHELL" "sh")
529 (substitute* (find-files "." "\\.el") (("/bin/sh") sh))
533 (lambda* (#:key outputs #:allow-other-keys)
534 (let* ((out (assoc-ref outputs "out"))
535 (el-dir (string-append out "/share/emacs/site-lisp"))
537 out "/share/doc/haskell-mode-" ,version))
538 (info (string-append out "/share/info")))
539 (define (copy-to-dir dir files)
540 (for-each (lambda (f)
541 (install-file f dir))
544 (with-directory-excursion "doc"
545 (unless (zero? (system* "makeinfo" "haskell-mode.texi"))
546 (error "makeinfo failed"))
547 (install-file "haskell-mode.info" info))
548 (copy-to-dir doc '("CONTRIBUTING.md" "NEWS" "README.md"))
549 (copy-to-dir el-dir (find-files "." "\\.elc?"))
550 ;; these are now distributed with emacs
551 (with-directory-excursion el-dir
552 (for-each delete-file '("cl-lib.el" "ert.el")))
554 (home-page "https://github.com/haskell/haskell-mode")
555 (synopsis "Haskell mode for Emacs")
557 "This is an Emacs mode for editing, debugging and developing Haskell
559 (license license:gpl3+)))
561 (define-public let-alist
563 (name "emacs-let-alist")
567 (uri (string-append "http://elpa.gnu.org/packages/let-alist-"
571 "07312bvvyz86lf64vdkxg2l1wgfjl25ljdjwlf1bdzj01c4hm88x"))))
572 (build-system trivial-build-system)
574 `(#:modules ((guix build utils)
575 (guix build emacs-utils))
578 (use-modules (guix build emacs-utils)
581 (let* ((out (assoc-ref %outputs "out"))
582 (lispdir (string-append out
583 "/share/emacs/site-lisp/"
586 (emacs (assoc-ref %build-inputs "emacs")))
589 (copy-file (assoc-ref %build-inputs "source")
590 (string-append lispdir "/let-alist.el"))
592 (setenv "PATH" (string-append emacs "/bin"))
593 (emacs-byte-compile-directory lispdir)
595 (native-inputs `(("emacs" ,emacs-no-x)))
596 (home-page "http://elpa.gnu.org/packages/let-alist.html")
597 (synopsis "Easily let-bind values of an assoc-list by their names")
599 "This package offers a single Emacs Lisp macro, @code{let-alist}. This
600 macro takes a first argument, whose value must be an alist (association list),
603 The macro expands to a let form containing the body, where each dotted symbol
604 inside body is let-bound to their cdrs in the alist. Only those present in
605 the body are let-bound and this search is done at compile time.")
606 (license license:gpl3+)))
608 (define-public flycheck
610 (name "emacs-flycheck")
615 "https://github.com/flycheck/flycheck/releases/download/"
616 version "/flycheck-" version ".tar"))
619 "1n2cifzsl5dbv42l82bi3y1vk6q33msi8dd4bj7b9nvnl9jfjj5b"))))
620 (build-system emacs-build-system)
622 `(("emacs-dash" ,emacs-dash)
623 ("emacs-let-alist" ,let-alist)))
624 (home-page "https://www.flycheck.org")
625 (synopsis "On-the-fly syntax checking")
627 "This package provides on-the-fly syntax checking for GNU Emacs. It is a
628 replacement for the older Flymake extension which is part of GNU Emacs, with
629 many improvements and additional features.
631 Flycheck provides fully-automatic, fail-safe, on-the-fly background syntax
632 checking for over 30 programming and markup languages with more than 70
633 different tools. It highlights errors and warnings inline in the buffer, and
634 provides an optional IDE-like error list.")
635 (license license:gpl3+))) ;+GFDLv1.3+ for the manual
642 (define-public emacs-w3m
645 (version "1.4.538+0.20141022")
648 (uri (string-append "mirror://debian/pool/main/w/w3m-el/w3m-el_"
649 version ".orig.tar.gz"))
652 "0zfxmq86pwk64yv0426gnjrvhjrgrjqn08sdcdhmmjmfpmqvm79y"))))
653 (build-system gnu-build-system)
654 (native-inputs `(("autoconf" ,autoconf)))
655 (inputs `(("w3m" ,w3m)
656 ("imagemagick" ,imagemagick)
657 ("emacs" ,emacs-no-x)))
659 `(#:modules ((guix build gnu-build-system)
661 (guix build emacs-utils))
662 #:imported-modules (,@%gnu-build-system-modules
663 (guix build emacs-utils))
665 (let ((out (assoc-ref %outputs "out")))
666 (list (string-append "--with-lispdir="
667 out "/share/emacs/site-lisp")
668 (string-append "--with-icondir="
669 out "/share/images/emacs-w3m")
670 ;; Leave .el files uncompressed, otherwise GC can't
671 ;; identify run-time dependencies. See
672 ;; <http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00208.html>
673 "--without-compress-install"))
674 #:tests? #f ; no check target
676 (modify-phases %standard-phases
677 (add-after 'unpack 'autoconf
679 (zero? (system* "autoconf"))))
680 (add-before 'build 'patch-exec-paths
681 (lambda* (#:key inputs outputs #:allow-other-keys)
682 (let ((out (assoc-ref outputs "out"))
683 (w3m (assoc-ref inputs "w3m"))
684 (imagemagick (assoc-ref inputs "imagemagick"))
685 (coreutils (assoc-ref inputs "coreutils")))
686 (emacs-substitute-variables "w3m.el"
687 ("w3m-command" (string-append w3m "/bin/w3m"))
689 (string-append coreutils "/bin/touch"))
691 (string-append imagemagick "/bin/display"))
692 ("w3m-icon-directory"
693 (string-append out "/share/images/emacs-w3m")))
694 (emacs-substitute-variables "w3m-image.el"
695 ("w3m-imagick-convert-program"
696 (string-append imagemagick "/bin/convert"))
697 ("w3m-imagick-identify-program"
698 (string-append imagemagick "/bin/identify")))
701 (lambda* (#:key outputs #:allow-other-keys)
702 (and (zero? (system* "make" "install" "install-icons"))
703 (with-directory-excursion
704 (string-append (assoc-ref outputs "out")
705 "/share/emacs/site-lisp")
706 (for-each delete-file '("ChangeLog" "ChangeLog.1"))
707 (symlink "w3m-load.el" "w3m-autoloads.el")
709 (home-page "http://emacs-w3m.namazu.org/")
710 (synopsis "Simple Web browser for Emacs based on w3m")
712 "Emacs-w3m is an emacs interface for the w3m web browser.")
713 (license license:gpl2+)))
715 (define-public emacs-wget
721 (uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_"
722 version ".orig.tar.gz"))
724 (base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff"))))
725 (build-system gnu-build-system)
726 (inputs `(("wget" ,wget)
727 ("emacs" ,emacs-no-x)))
729 `(#:modules ((guix build gnu-build-system)
731 (guix build emacs-utils))
732 #:imported-modules (,@%gnu-build-system-modules
733 (guix build emacs-utils))
734 #:tests? #f ; no check target
738 (lambda* (#:key outputs #:allow-other-keys)
739 (substitute* "Makefile"
740 (("/usr/local") (assoc-ref outputs "out"))
741 (("/site-lisp/emacs-wget") "/site-lisp")))
743 'build 'patch-exec-paths
744 (lambda* (#:key inputs outputs #:allow-other-keys)
745 (let ((wget (assoc-ref inputs "wget")))
746 (emacs-substitute-variables "wget.el"
747 ("wget-command" (string-append wget "/bin/wget")))))
749 'install 'post-install
750 (lambda* (#:key outputs #:allow-other-keys)
751 (emacs-generate-autoloads
752 "wget" (string-append (assoc-ref outputs "out")
753 "/share/emacs/site-lisp/")))
754 %standard-phases)))))
755 (home-page "http://www.emacswiki.org/emacs/EmacsWget")
756 (synopsis "Simple file downloader for Emacs based on wget")
758 "Emacs-wget is an emacs interface for the wget file downloader.")
759 (license license:gpl2+)))
772 (uri (string-append "mirror://gnu/emms/emms-"
776 "1q0n3iwva8bvai2rl9sm49sdjmk0wi7vajz4knz01l7g67nrp87l"))
777 (modules '((guix build utils)))
779 '(substitute* "Makefile"
780 (("/usr/bin/install-info")
781 ;; No need to use 'install-info' since it would create a
782 ;; useless 'dir' file.
785 ;; Install Info files to $out/share/info, not $out/info.
786 "INFODIR := $(PREFIX)/share/info\n")
788 ;; Install directly in share/emacs/site-lisp, not in a
791 (("^all: (.*)\n" _ rest)
792 ;; Build 'emms-print-metadata'.
793 (string-append "all: " rest " emms-print-metadata\n"))))))
794 (build-system gnu-build-system)
796 `(#:modules ((guix build gnu-build-system)
798 (guix build emacs-utils))
799 #:imported-modules (,@%gnu-build-system-modules
800 (guix build emacs-utils))
802 #:phases (alist-replace
804 (lambda* (#:key inputs outputs #:allow-other-keys)
805 (let ((out (assoc-ref outputs "out"))
806 (vorbis (assoc-ref inputs "vorbis-tools"))
807 (alsa (assoc-ref inputs "alsa-utils"))
808 (mpg321 (assoc-ref inputs "mpg321"))
809 (mp3info (assoc-ref inputs "mp3info")))
810 ;; Specify the installation directory.
811 (substitute* "Makefile"
813 (string-append "PREFIX := " out "\n")))
815 (setenv "SHELL" (which "sh"))
818 ;; Specify the absolute file names of the various
819 ;; programs so that everything works out-of-the-box.
820 (with-directory-excursion "lisp"
821 (emacs-substitute-variables
822 "emms-player-mpg321-remote.el"
823 ("emms-player-mpg321-remote-command"
824 (string-append mpg321 "/bin/mpg321")))
825 (substitute* "emms-player-simple.el"
827 (string-append "\"" vorbis "/bin/ogg123\"")))
828 (emacs-substitute-variables "emms-info-ogginfo.el"
829 ("emms-info-ogginfo-program-name"
830 (string-append vorbis "/bin/ogginfo")))
831 (emacs-substitute-variables "emms-info-libtag.el"
832 ("emms-info-libtag-program-name"
833 (string-append out "/bin/emms-print-metadata")))
834 (emacs-substitute-variables "emms-info-mp3info.el"
835 ("emms-info-mp3info-program-name"
836 (string-append mp3info "/bin/mp3info")))
837 (substitute* "emms-volume-amixer.el"
839 (string-append "\"" alsa "/bin/amixer\"")))
840 (substitute* "emms-tag-editor.el"
842 (string-append "\"" mp3info "/bin/mp3info\""))))))
844 'install 'pre-install
845 (lambda* (#:key outputs #:allow-other-keys)
846 ;; The 'install' rule expects the target directory to
848 (let* ((out (assoc-ref outputs "out"))
849 (man1 (string-append out "/share/man/man1")))
853 'install 'post-install
854 (lambda* (#:key outputs #:allow-other-keys)
855 (let* ((out (assoc-ref outputs "out"))
856 (target (string-append
857 out "/bin/emms-print-metadata")))
858 (symlink "emms-auto.el"
859 (string-append out "/share/emacs/site-lisp/"
860 "emms-autoloads.el"))
861 (mkdir-p (dirname target))
862 (copy-file "src/emms-print-metadata" target)
863 (chmod target #o555)))
866 (native-inputs `(("emacs" ,emacs-no-x) ;for (guix build emacs-utils)
867 ("texinfo" ,texinfo)))
868 (inputs `(("alsa-utils" ,alsa-utils)
869 ("vorbis-tools" ,vorbis-tools)
872 ("mp3info" ,mp3info)))
873 (synopsis "Emacs Multimedia System")
875 "EMMS is the Emacs Multimedia System. It is a small front-end which
876 can control one of the supported external players. Thus, it supports
877 whatever formats are supported by your music player. It also
878 supports tagging and playlist management, all behind a clean and
879 light user interface.")
880 (home-page "http://www.gnu.org/software/emms/")
881 (license license:gpl3+)))
894 (uri (string-append "mirror://savannah/bbdb/bbdb-"
898 "1gs16bbpiiy01w9pyg12868r57kx1v3hnw04gmqsmpc40l1hyy05"))
899 (modules '((guix build utils)))
901 ;; We don't want to build and install the PDF.
902 '(substitute* "doc/Makefile.in"
905 (build-system gnu-build-system)
907 '(#:phases (alist-cons-after
908 'install 'post-install
909 (lambda* (#:key outputs #:allow-other-keys)
910 ;; Add an autoloads file with the right name for guix.el.
911 (let* ((out (assoc-ref outputs "out"))
912 (site (string-append out "/share/emacs/site-lisp")))
913 (with-directory-excursion site
914 (symlink "bbdb-loaddefs.el" "bbdb-autoloads.el"))))
916 (native-inputs `(("emacs" ,emacs-no-x)))
917 (home-page "http://savannah.nongnu.org/projects/bbdb/")
918 (synopsis "Contact management utility for Emacs")
920 "BBDB is the Insidious Big Brother Database for GNU Emacs. It provides
921 an address book for email and snail mail addresses, phone numbers and the
922 like. It can be linked with various Emacs mail clients (Message and Mail
923 mode, Rmail, Gnus, MH-E, and VM). BBDB is fully customizable.")
924 (license license:gpl3+)))
926 (define-public emacs-async
932 (uri (string-append "http://elpa.gnu.org/packages/async-"
936 "17psvz75n42x33my967wkgi7r0blx46n3jdv510j0z5jswv66039"))))
937 (build-system emacs-build-system)
938 (home-page "http://elpa.gnu.org/packages/async.html")
939 (synopsis "Asynchronous processing in Emacs")
941 "This package provides the ability to call asynchronous functions and
942 processes. For example, it can be used to run dired commands (for copying,
943 moving, etc.) asynchronously using @code{dired-async-mode}. Also it is used
944 as a library for other Emacs packages.")
945 (license license:gpl3+)))
947 (define-public emacs-auctex
949 (name "emacs-auctex")
955 "http://elpa.gnu.org/packages/auctex-"
960 "1pmki8hdjjikxlvip3pzi350bln3gcimr27yjf0xfwjvnp5hh9nc"))))
961 (build-system emacs-build-system)
964 (home-page "http://www.gnu.org/software/auctex/")
965 (synopsis "Integrated environment for TeX")
967 "AUCTeX is a comprehensive customizable integrated environment for
968 writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs
970 (license license:gpl3+)))
972 (define-public emacs-mmm-mode
974 (name "emacs-mmm-mode")
980 "https://github.com/purcell/mmm-mode/archive/"
982 (file-name (string-append name "-" version ".tar.gz"))
985 "10kwslnflbjqm62wkrq420crqzdqalzfflp9pqk1i12zm6dm4mfv"))))
986 (build-system gnu-build-system)
989 (modify-phases %standard-phases
990 (add-after 'unpack 'autogen
992 (zero? (system* "sh" "autogen.sh")))))))
994 `(("autoconf" ,autoconf)
995 ("automake" ,automake)
996 ("emacs" ,emacs-no-x)
997 ("texinfo" ,texinfo)))
998 (home-page "https://github.com/purcell/mmm-mode")
999 (synopsis "Allow multiple major modes in an Emacs buffer")
1001 "MMM Mode is a minor mode that allows multiple major modes to coexist in a
1003 (license license:gpl3+)))
1005 (define-public emacs-pdf-tools
1007 (name "emacs-pdf-tools")
1012 "https://github.com/politza/pdf-tools/archive/v"
1014 (file-name (string-append name "-" version ".tar.gz"))
1017 "1m0api6wiawswyk46bdsyk6r5rg3b86a4paar6nassm6x6c6vr77"))))
1018 (build-system gnu-build-system)
1020 `(#:tests? #f ; there are no tests
1021 #:modules ((guix build gnu-build-system)
1022 ((guix build emacs-build-system) #:prefix emacs:)
1024 (guix build emacs-utils))
1025 #:imported-modules (,@%gnu-build-system-modules
1026 (guix build emacs-build-system)
1027 (guix build emacs-utils))
1029 (modify-phases %standard-phases
1030 ;; Build server side using 'gnu-build-system'.
1031 (add-after 'unpack 'enter-server-dir
1032 (lambda _ (chdir "server") #t))
1033 (add-before 'configure 'autogen
1035 (zero? (system* "bash" "autogen.sh"))))
1037 ;; Build emacs side using 'emacs-build-system'.
1038 (add-after 'compress-documentation 'enter-lisp-dir
1039 (lambda _ (chdir "../lisp") #t))
1040 (add-after 'enter-lisp-dir 'emacs-patch-variables
1041 (lambda* (#:key outputs #:allow-other-keys)
1042 ;; Set path to epdfinfo program.
1043 (emacs-substitute-variables "pdf-info.el"
1044 ("pdf-info-epdfinfo-program"
1045 (string-append (assoc-ref outputs "out")
1047 ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto
1048 ;; upgrading" that pdf-tools tries to perform.
1049 (emacs-substitute-variables "pdf-tools.el"
1050 ("pdf-tools-handle-upgrades" '()))))
1051 (add-after 'emacs-patch-variables 'emacs-install
1052 (assoc-ref emacs:%standard-phases 'install))
1053 (add-after 'emacs-install 'emacs-build
1054 (assoc-ref emacs:%standard-phases 'build))
1055 (add-after 'emacs-install 'emacs-make-autoloads
1056 (assoc-ref emacs:%standard-phases 'make-autoloads)))))
1057 (native-inputs `(("autoconf" ,autoconf)
1058 ("automake" ,automake)
1059 ("pkg-config" ,pkg-config)
1060 ("emacs" ,emacs-no-x)))
1062 `(("let-alist" ,let-alist)))
1063 (inputs `(("poppler" ,poppler)
1068 (synopsis "Emacs support library for PDF files")
1070 "PDF Tools is, among other things, a replacement of DocView for PDF
1071 files. The key difference is that pages are not pre-rendered by
1072 e.g. ghostscript and stored in the file-system, but rather created on-demand
1073 and stored in memory.")
1074 (home-page "https://github.com/politza/pdf-tools")
1075 (license license:gpl3+)))
1077 (define-public emacs-dash
1084 "https://github.com/magnars/dash.el/archive/"
1086 (file-name (string-append name "-" version ".tar.gz"))
1089 "082jl7mp4x063bpj5ad2pc5125k0d6p7rb89gcj7ny3lma9h2ij1"))))
1090 (build-system emacs-build-system)
1093 (modify-phases %standard-phases
1094 (add-before 'install 'check
1096 (zero? (system* "./run-tests.sh")))))))
1097 (home-page "https://github.com/magnars/dash.el")
1098 (synopsis "Modern list library for Emacs")
1099 (description "This package provides a modern list API library for Emacs.")
1100 (license license:gpl3+)))
1102 (define-public emacs-undo-tree
1104 (name "emacs-undo-tree")
1109 (url "http://dr-qubit.org/git/undo-tree.git")
1110 (commit "release/0.6.4")))
1111 (file-name (string-append name "-" version "-checkout"))
1114 "0b6hnv6bq1g5np5q2yw9r9aj1cxpp14akm21br7vpb7wp01fv4b3"))))
1115 (build-system emacs-build-system)
1116 (home-page "http://www.dr-qubit.org/emacs.php")
1117 (synopsis "Treat undo history as a tree")
1118 (description "Tree-like interface to Emacs undo system, providing
1119 graphical tree presentation of all previous states of buffer that
1120 allows easily move between them.")
1121 (license license:gpl3+)))
1123 (define-public emacs-s
1130 "https://github.com/magnars/s.el/archive/"
1132 (file-name (string-append name "-" version ".tar.gz"))
1135 "1gah2k577gvnmxlpw7zrz0jr571vghzhdv2hbgchlgah07czd091"))))
1136 (build-system emacs-build-system)
1139 (modify-phases %standard-phases
1140 (add-before 'install 'check
1142 (zero? (system* "./run-tests.sh")))))))
1143 (home-page "https://github.com/magnars/s.el")
1144 (synopsis "Emacs string manipulation library")
1145 (description "This package provides an Emacs library for manipulating
1147 (license license:gpl3+)))
1149 (define-public emacs-f
1156 "https://github.com/rejeep/f.el/archive/v"
1158 (file-name (string-append name "-" version ".tar.gz"))
1161 "1n5gcldf43wmkr7jxgs519v21zavwr0yn8048iv6gvgfwicnyjlx"))))
1162 (build-system emacs-build-system)
1164 `(("emacs-s" ,emacs-s)
1165 ("emacs-dash" ,emacs-dash)))
1166 (home-page "http://github.com/rejeep/f.el")
1167 (synopsis "Emacs API for working with files and directories")
1168 (description "This package provides an Emacs library for working with
1169 files and directories.")
1170 (license license:gpl3+)))
1172 (define-public emacs-ob-ipython
1174 (name "emacs-ob-ipython")
1175 (version "20150704.8807064693")
1179 (commit "8807064693")
1180 (url "https://github.com/gregsexton/ob-ipython.git")))
1183 "1scf25snbds9ymagpny30ijbsg479r3nm0ih01dy4m9d0g7qryb7"))))
1184 (build-system emacs-build-system)
1186 `(("emacs-f" ,emacs-f)))
1187 (home-page "http://www.gregsexton.org")
1188 (synopsis "Org-Babel functions for IPython evaluation")
1189 (description "This package adds support to Org-Babel for evaluating Python
1190 source code using IPython.")
1191 (license license:gpl3+)))
1193 (define-public emacs-debbugs
1195 (name "emacs-debbugs")
1199 (uri (string-append "http://elpa.gnu.org/packages/debbugs-"
1203 "1wc6kw7hihqqdx8qyl01akygycnan44x400hwrcf54m3hb4isa0k"))))
1204 (build-system emacs-build-system)
1206 `(("emacs-async" ,emacs-async)))
1207 (home-page "http://elpa.gnu.org/packages/debbugs.html")
1208 (synopsis "Access the Debbugs bug tracker in Emacs")
1210 "This package lets you access the @uref{http://bugs.gnu.org,GNU Bug
1211 Tracker} from within Emacs.
1213 For instance, it defines the command @code{M-x debbugs-gnu} for listing bugs,
1214 and the command @code{M-x debbugs-gnu-search} for bug searching. If you
1215 prefer the listing of bugs as TODO items of @code{org-mode}, you could use
1216 @code{M-x debbugs-org} and related commands.
1218 A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug
1219 Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.")
1220 (license license:gpl3+)))
1222 (define-public emacs-deferred
1224 (name "emacs-deferred")
1226 (home-page "https://github.com/kiwanami/emacs-deferred")
1231 (commit (string-append "v" version))))
1234 "0059jy01ni5irpgrj9fa81ayd9j25nvmjjm79ms3210ysx4pgqdr"))
1235 (file-name (string-append name "-" version))))
1236 (build-system emacs-build-system)
1237 ;; FIXME: Would need 'el-expectations' to actually run tests.
1238 (synopsis "Simple asynchronous functions for Emacs Lisp")
1240 "The @code{deferred.el} library provides support for asynchronous tasks.
1241 The API is almost the same as that of
1242 @uref{https://github.com/cho45/jsdeferred, JSDeferred}, a JavaScript library
1243 for asynchronous tasks.")
1244 (license license:gpl3+)))
1246 (define-public butler
1248 (name "emacs-butler")
1250 (home-page "https://github.com/AshtonKem/Butler")
1258 "1pii9dw4skq7nr4na6qxqasl36av8cwjp71bf1fgppqpcd9z8skj"))
1259 (file-name (string-append name "-" version))))
1260 (build-system emacs-build-system)
1262 `(("emacs-deferred" ,emacs-deferred)))
1263 (synopsis "Emacs client for Jenkins")
1265 "Butler provides an interface to connect to Jenkins continuous
1266 integration servers. Users can specify a list of server in the
1267 @code{butler-server-list} variable and then use @code{M-x butler-status} to
1268 view the build status of those servers' build jobs, and possibly to trigger
1270 (license license:gpl3+)))
1276 (home-page "https://github.com/jorgenschaefer/typoel")
1281 (commit (string-append "v" version))))
1284 "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2"))
1285 (file-name (string-append name "-" version))))
1286 (build-system emacs-build-system)
1287 (synopsis "Minor mode for typographic editing")
1289 "This package provides two Emacs modes, @code{typo-mode} and
1290 @code{typo-global-mode}. These modes automatically insert Unicode characters
1291 for quotation marks, dashes, and ellipses. For example, typing @kbd{\"}
1292 automatically inserts a Unicode opening or closing quotation mark, depending
1294 (license license:gpl3+)))
1296 (define-public emacs-scheme-complete
1297 (let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5"))
1299 (name "emacs-scheme-complete")
1300 (version (string-append "20151223." (string-take commit 8)))
1303 (file-name (string-append name "-" version))
1306 (url "https://github.com/ashinn/scheme-complete.git")
1310 "141wn9l0m33w0g3dqmx8nxbfdny1r5xbr6ak61rsz21bk0qafs7x"))
1312 (search-patches "emacs-scheme-complete-scheme-r5rs-info.patch"))))
1313 (build-system emacs-build-system)
1314 (home-page "https://github.com/ashinn/scheme-complete")
1315 (synopsis "Smart tab completion for Scheme in Emacs")
1317 "This file provides a single function, @code{scheme-smart-complete},
1318 which you can use for intelligent, context-sensitive completion for any Scheme
1319 implementation in Emacs. To use it just load this file and bind that function
1320 to a key in your preferred mode.")
1321 (license license:public-domain))))
1323 (define-public emacs-mit-scheme-doc
1325 (name "emacs-mit-scheme-doc")
1326 (version "20140203")
1329 (modules '((guix build utils)))
1331 ;; keep only file of interest
1333 (for-each delete-file '("dot-emacs.el" "Makefile"))
1334 (copy-file "6.945-config/mit-scheme-doc.el" "mit-scheme-doc.el")
1335 (delete-file-recursively "6.945-config")))
1336 (file-name (string-append name "-" version ".tar.bz2"))
1338 (uri (string-append "http://groups.csail.mit.edu/mac/users/gjs/"
1339 "6.945/dont-panic/emacs-basic-config.tar.bz2"))
1342 "0dqidg2bd66pawqfarvwca93w5gqf9mikn1k2a2rmd9ymfjpziq1"))))
1343 (build-system emacs-build-system)
1344 (inputs `(("mit-scheme" ,mit-scheme)))
1347 (modify-phases %standard-phases
1348 (add-after 'unpack 'configure-doc
1349 (lambda* (#:key inputs #:allow-other-keys)
1350 (let* ((mit-scheme-dir (assoc-ref inputs "mit-scheme"))
1351 (doc-dir (string-append mit-scheme-dir "/share/doc/"
1353 ,(package-version mit-scheme))))
1354 (substitute* "mit-scheme-doc.el"
1355 (("http://www\\.gnu\\.org/software/mit-scheme/documentation/mit-scheme-ref/")
1356 (string-append "file:" doc-dir "/mit-scheme-ref/")))))))))
1357 (home-page "http://groups.csail.mit.edu/mac/users/gjs/6.945/dont-panic/")
1358 (synopsis "MIT-Scheme documentation lookup for Emacs")
1360 "This package provides a set of Emacs functions to search definitions of
1361 identifiers in the MIT-Scheme documentation.")
1362 (license license:gpl2+)))
1364 ;;; XXX: move this procedure to an utility module
1365 (define* (uncompressed-file-fetch url hash-algo hash
1367 #:key (system (%current-system))
1368 (guile (default-guile)))
1369 (mlet %store-monad ((drv (url-fetch url hash-algo hash name
1372 (gexp->derivation (or name (basename url))
1376 (string-append #$gzip "/bin"))
1378 (copy-file #$drv (basename #$url))))))
1380 (define-public emacs-constants
1382 (name "emacs-constants")
1386 (file-name (string-append name "-" version ".el"))
1387 (method uncompressed-file-fetch)
1388 (uri "https://staff.fnwi.uva.nl/c.dominik/Tools/constants/constants.el")
1389 (patches (search-patches "emacs-constants-lisp-like.patch"))
1392 "14q094aphsjhq8gklv7i5a7byl0ygz63cv3n6b5p8ji2jy0mnnw3"))))
1393 (build-system emacs-build-system)
1394 (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
1395 (synopsis "Enter definition of constants into an Emacs buffer")
1397 "This package provides functions for inserting the definition of natural
1398 constants and units into an Emacs buffer.")
1399 (license license:gpl2+)))
1401 (define-public emacs-slime
1403 (name "emacs-slime")
1407 (file-name (string-append name "-" version ".tar.gz"))
1410 "https://github.com/slime/slime/archive/v"
1414 "0l2z6l2xm78mhh0nczkrmzh2ddb1n911ij9xb6q40zwvx4f8blds"))))
1415 (build-system emacs-build-system)
1417 `(("texinfo" ,texinfo)))
1420 (modify-phases %standard-phases
1421 (add-before 'install 'configure
1423 (emacs-substitute-variables "slime.el"
1424 ("inferior-lisp-program" "sbcl"))
1426 (add-before 'install 'install-doc
1427 (lambda* (#:key outputs #:allow-other-keys)
1428 (let* ((out (assoc-ref outputs "out"))
1429 (info-dir (string-append out "/share/info"))
1430 (doc-dir (string-append out "/share/doc/"
1431 ,name "-" ,version))
1432 (doc-files '("doc/slime-refcard.pdf"
1433 "README.md" "NEWS" "PROBLEMS"
1434 "CONTRIBUTING.md")))
1435 (with-directory-excursion "doc"
1436 (substitute* "Makefile"
1437 (("infodir=/usr/local/info")
1438 (string-append "infodir=" info-dir)))
1439 (system* "make" "html/index.html")
1440 (system* "make" "slime.info")
1441 (install-file "slime.info" info-dir)
1442 (copy-recursively "html" (string-append doc-dir "/html")))
1443 (for-each (lambda (f)
1444 (install-file f doc-dir)
1447 (delete-file-recursively "doc")
1449 (home-page "https://github.com/slime/slime")
1450 (synopsis "Superior Lisp Interaction Mode for Emacs")
1452 "SLIME extends Emacs with support for interactive programming in
1453 Common Lisp. The features are centered around @{slime-mode}, an Emacs
1454 minor mode that complements the standard @{lisp-mode}. While lisp-mode
1455 supports editing Lisp source files, @{slime-mode} adds support for
1456 interacting with a running Common Lisp process for compilation,
1457 debugging, documentation lookup, and so on.")
1458 (license license:gpl2+)))
1460 (define-public emacs-popup
1462 (name "emacs-popup")
1467 "https://github.com/auto-complete/popup-el/archive/v"
1469 (file-name (string-append name "-" version ".tar.gz"))
1472 "1yrgfj8y69xmcb6kwgplhq68ndm9410qwh7sd2knnd1gchpphdc0"))))
1473 (build-system emacs-build-system)
1475 `(("emacs" ,emacs-no-x)))
1476 (home-page "https://github.com/auto-complete/popup-el")
1477 (synopsis "Visual Popup User Interface for Emacs")
1479 "Popup.el is a visual popup user interface library for Emacs.
1480 This provides a basic API and common UI widgets such as popup tooltips
1482 (license license:gpl3+)))
1484 (define-public emacs-god-mode
1485 (let ((commit "6cf0807b6555eb6fcf8387a4e3b667071ef38964")
1488 (name "emacs-god-mode")
1489 (version (string-append "20151005.925."
1490 revision "-" (string-take commit 9)))
1495 (url "https://github.com/chrisdone/god-mode.git")
1497 (file-name (string-append name "-" version "-checkout"))
1500 "1am415k4xxcva6y3vbvyvknzc6bma49pq3p85zmpjsdmsp18qdix"))))
1501 (build-system emacs-build-system)
1502 (home-page "https://github.com/chrisdone/god-mode")
1503 (synopsis "Minor mode for entering commands without modifier keys")
1505 "This package provides a global minor mode for entering Emacs commands
1506 without modifier keys. It's similar to Vim's separation of commands and
1507 insertion mode. When enabled all keys are implicitly prefixed with
1508 @samp{C-} (among other helpful shortcuts).")
1509 (license license:gpl3+))))
1511 (define-public emacs-rfcview
1513 (name "emacs-rfcview")
1515 (home-page "http://www.loveshack.ukfsn.org/emacs")
1517 (method uncompressed-file-fetch)
1518 (uri "http://www.loveshack.ukfsn.org/emacs/rfcview.el")
1521 "0ympj5rxig383zl2jf0pzdsa80nnq0dpvjiriq0ivfi98fj7kxbz"))))
1522 (build-system emacs-build-system)
1524 `(("emacs" ,emacs-no-x)))
1525 (synopsis "Prettify Request for Comments (RFC) documents")
1526 (description "The Internet Engineering Task Force (IETF) and the Internet
1527 Society (ISOC) publish various Internet-related protocols and specifications
1528 as \"Request for Comments\" (RFC) documents and Internet Standard (STD)
1529 documents. RFCs and STDs are published in a simple text form. This package
1530 provides an Emacs major mode, rfcview-mode, which makes it more pleasant to
1531 read these documents in Emacs. It prettifies the text and adds
1532 hyperlinks/menus for easier navigation. It also provides functions for
1533 browsing the index of RFC documents and fetching them from remote servers or
1534 local directories.")
1535 (license license:gpl3+)))
1537 (define-public emacs-ffap-rfc-space
1539 (name "emacs-ffap-rfc-space")
1541 (home-page "http://user42.tuxfamily.org/ffap-rfc-space/index.html")
1543 (method uncompressed-file-fetch)
1544 (uri "http://download.tuxfamily.org/user42/ffap-rfc-space.el")
1547 "1iv61dv57a73mdps7rn6zmgz7nqh14v0ninidyrasy45b1nv6gck"))))
1548 (build-system emacs-build-system)
1550 `(("emacs" ,emacs-no-x)))
1551 (synopsis "Make ffap recognize an RFC with a space before its number")
1552 (description "The Internet Engineering Task Force (IETF) and the
1553 Internet Society (ISOC) publish various Internet-related protocols and
1554 specifications as \"Request for Comments\" (RFC) documents. The
1555 built-in Emacs module \"ffap\" (Find File at Point) has the ability to
1556 recognize names at point which look like \"RFC1234\" and \"RFC-1234\"
1557 and load the appropriate RFC from a remote server. However, it fails
1558 to recognize a name like \"RFC 1234\". This package enhances ffap so
1559 that it correctly finds RFCs even when a space appears before the
1561 (license license:gpl3+)))