summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-emacs
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/actionscript-mode/Manifest2
-rw-r--r--app-emacs/actionscript-mode/actionscript-mode-7.2.2_p20120405.ebuild27
-rw-r--r--app-emacs/actionscript-mode/actionscript-mode-7.2.2_p20140605.ebuild27
-rw-r--r--app-emacs/actionscript-mode/files/50actionscript-mode-gentoo.el5
-rw-r--r--app-emacs/actionscript-mode/metadata.xml8
-rw-r--r--app-emacs/analog/Manifest1
-rw-r--r--app-emacs/analog/analog-1.9.99.ebuild18
-rw-r--r--app-emacs/analog/files/50analog-gentoo.el2
-rw-r--r--app-emacs/analog/metadata.xml14
-rw-r--r--app-emacs/anything/Manifest1
-rw-r--r--app-emacs/anything/anything-1.3.2.ebuild40
-rw-r--r--app-emacs/anything/files/50anything-gentoo.el2
-rw-r--r--app-emacs/anything/metadata.xml8
-rw-r--r--app-emacs/apache-mode/Manifest1
-rw-r--r--app-emacs/apache-mode/apache-mode-1.1.ebuild18
-rw-r--r--app-emacs/apache-mode/files/50apache-mode-gentoo.el8
-rw-r--r--app-emacs/apache-mode/metadata.xml5
-rw-r--r--app-emacs/apel/Manifest2
-rw-r--r--app-emacs/apel/apel-10.8-r1.ebuild52
-rw-r--r--app-emacs/apel/files/50apel-gentoo.el1
-rw-r--r--app-emacs/apel/files/apel-10.8-010_ikazuhiro.patch189
-rw-r--r--app-emacs/apel/files/apel-10.8-020_Prevent-fontset-error.patch32
-rw-r--r--app-emacs/apel/files/apel-10.8-040_make-temp-file-for-Emacs-24.3.50.patch27
-rw-r--r--app-emacs/apel/metadata.xml5
-rw-r--r--app-emacs/auctex/Manifest2
-rw-r--r--app-emacs/auctex/auctex-11.87-r1.ebuild66
-rw-r--r--app-emacs/auctex/auctex-11.88.ebuild65
-rw-r--r--app-emacs/auctex/files/50auctex-gentoo.el8
-rw-r--r--app-emacs/auctex/files/60auctex-gentoo.el4
-rw-r--r--app-emacs/auctex/files/auctex-11.87-jit-lock.patch31
-rw-r--r--app-emacs/auctex/metadata.xml19
-rw-r--r--app-emacs/auto-complete/Manifest1
-rw-r--r--app-emacs/auto-complete/auto-complete-1.3.1.ebuild34
-rw-r--r--app-emacs/auto-complete/files/50auto-complete-gentoo.el3
-rw-r--r--app-emacs/auto-complete/metadata.xml8
-rw-r--r--app-emacs/autoconf-mode/Manifest1
-rw-r--r--app-emacs/autoconf-mode/autoconf-mode-2.69.ebuild18
-rw-r--r--app-emacs/autoconf-mode/files/50autoconf-mode-gentoo.el9
-rw-r--r--app-emacs/autoconf-mode/metadata.xml5
-rw-r--r--app-emacs/bbdb/Manifest4
-rw-r--r--app-emacs/bbdb/bbdb-2.35-r1.ebuild68
-rw-r--r--app-emacs/bbdb/bbdb-3.1.2.ebuild60
-rw-r--r--app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el2
-rw-r--r--app-emacs/bbdb/files/50bbdb-gentoo.el4
-rw-r--r--app-emacs/bbdb/files/bbdb-3.1.2-no-init.patch126
-rw-r--r--app-emacs/bbdb/metadata.xml14
-rw-r--r--app-emacs/binclock/Manifest1
-rw-r--r--app-emacs/binclock/binclock-1.7-r1.ebuild18
-rw-r--r--app-emacs/binclock/files/50binclock-gentoo.el2
-rw-r--r--app-emacs/binclock/metadata.xml5
-rw-r--r--app-emacs/bison-mode/Manifest1
-rw-r--r--app-emacs/bison-mode/bison-mode-0.3.ebuild18
-rw-r--r--app-emacs/bison-mode/files/50bison-mode-gentoo.el3
-rw-r--r--app-emacs/bison-mode/metadata.xml12
-rw-r--r--app-emacs/blogmax/Manifest1
-rw-r--r--app-emacs/blogmax/blogmax-20110305.ebuild44
-rw-r--r--app-emacs/blogmax/files/50blogmax-gentoo.el4
-rw-r--r--app-emacs/blogmax/files/README.Gentoo8
-rw-r--r--app-emacs/blogmax/metadata.xml8
-rw-r--r--app-emacs/bm/Manifest1
-rw-r--r--app-emacs/bm/bm-1.32_p20140214.ebuild22
-rw-r--r--app-emacs/bm/files/50bm-gentoo.el4
-rw-r--r--app-emacs/bm/metadata.xml9
-rw-r--r--app-emacs/bongo/Manifest2
-rw-r--r--app-emacs/bongo/bongo-20110621.ebuild41
-rw-r--r--app-emacs/bongo/files/50bongo-gentoo.el4
-rw-r--r--app-emacs/bongo/files/bongo-20070619-fix-require.patch11
-rw-r--r--app-emacs/bongo/files/bongo-20110621-texinfo-5.patch12
-rw-r--r--app-emacs/bongo/metadata.xml33
-rw-r--r--app-emacs/boxquote/Manifest1
-rw-r--r--app-emacs/boxquote/boxquote-1.23.ebuild23
-rw-r--r--app-emacs/boxquote/files/50boxquote-gentoo.el2
-rw-r--r--app-emacs/boxquote/metadata.xml19
-rw-r--r--app-emacs/browse-kill-ring/Manifest2
-rw-r--r--app-emacs/browse-kill-ring/browse-kill-ring-1.3.ebuild20
-rw-r--r--app-emacs/browse-kill-ring/browse-kill-ring-1.3c.ebuild20
-rw-r--r--app-emacs/browse-kill-ring/files/50browse-kill-ring-gentoo.el5
-rw-r--r--app-emacs/browse-kill-ring/metadata.xml15
-rw-r--r--app-emacs/bubblet/Manifest1
-rw-r--r--app-emacs/bubblet/bubblet-0.74-r1.ebuild17
-rw-r--r--app-emacs/bubblet/files/50bubblet-gentoo.el2
-rw-r--r--app-emacs/bubblet/metadata.xml5
-rw-r--r--app-emacs/calfw/Manifest1
-rw-r--r--app-emacs/calfw/calfw-1.3.ebuild30
-rw-r--r--app-emacs/calfw/files/50calfw-gentoo.el2
-rw-r--r--app-emacs/calfw/metadata.xml15
-rw-r--r--app-emacs/chess/Manifest4
-rw-r--r--app-emacs/chess/chess-2.0.4.ebuild42
-rw-r--r--app-emacs/chess/chess-2.0_beta6-r2.ebuild41
-rw-r--r--app-emacs/chess/files/2.0_beta6-chess-common-handler-gentoo.patch18
-rw-r--r--app-emacs/chess/files/2.0_beta6-chess-pos-move-gentoo.patch12
-rw-r--r--app-emacs/chess/files/2.0_beta6-texinfo-5.patch14
-rw-r--r--app-emacs/chess/files/50chess-gentoo-2.0.4.el36
-rw-r--r--app-emacs/chess/files/50chess-gentoo.el33
-rw-r--r--app-emacs/chess/metadata.xml26
-rw-r--r--app-emacs/circe/Manifest1
-rw-r--r--app-emacs/circe/circe-1.3.ebuild20
-rw-r--r--app-emacs/circe/files/50circe-gentoo.el2
-rw-r--r--app-emacs/circe/metadata.xml8
-rw-r--r--app-emacs/cldoc/Manifest1
-rw-r--r--app-emacs/cldoc/cldoc-1.16.ebuild20
-rw-r--r--app-emacs/cldoc/files/50cldoc-gentoo.el13
-rw-r--r--app-emacs/cldoc/metadata.xml14
-rw-r--r--app-emacs/cmail/Manifest1
-rw-r--r--app-emacs/cmail/cmail-2.62-r1.ebuild50
-rw-r--r--app-emacs/cmail/files/70cmail-gentoo.el5
-rw-r--r--app-emacs/cmail/metadata.xml8
-rw-r--r--app-emacs/color-browser/Manifest1
-rw-r--r--app-emacs/color-browser/color-browser-0.3-r1.ebuild21
-rw-r--r--app-emacs/color-browser/files/0.3-gentoo.patch80
-rw-r--r--app-emacs/color-browser/files/60color-browser-gentoo.el6
-rw-r--r--app-emacs/color-browser/metadata.xml13
-rw-r--r--app-emacs/color-moccur/Manifest1
-rw-r--r--app-emacs/color-moccur/color-moccur-2.73.ebuild19
-rw-r--r--app-emacs/color-moccur/files/50color-moccur-gentoo.el12
-rw-r--r--app-emacs/color-moccur/metadata.xml5
-rw-r--r--app-emacs/color-theme/Manifest1
-rw-r--r--app-emacs/color-theme/color-theme-6.6.0-r1.ebuild34
-rw-r--r--app-emacs/color-theme/files/50color-theme-gentoo.el109
-rw-r--r--app-emacs/color-theme/files/color-theme-6.6.0-replace-in-string.patch30
-rw-r--r--app-emacs/color-theme/metadata.xml5
-rw-r--r--app-emacs/company-mode/Manifest2
-rw-r--r--app-emacs/company-mode/company-mode-0.6.14.ebuild38
-rw-r--r--app-emacs/company-mode/company-mode-0.7.ebuild38
-rw-r--r--app-emacs/company-mode/files/50company-mode-gentoo.el2
-rw-r--r--app-emacs/company-mode/metadata.xml12
-rw-r--r--app-emacs/crontab-mode/Manifest1
-rw-r--r--app-emacs/crontab-mode/crontab-mode-1.20.ebuild17
-rw-r--r--app-emacs/crontab-mode/files/50crontab-mode-gentoo.el3
-rw-r--r--app-emacs/crontab-mode/metadata.xml5
-rw-r--r--app-emacs/crypt++/Manifest2
-rw-r--r--app-emacs/crypt++/crypt++-2.92.ebuild18
-rw-r--r--app-emacs/crypt++/crypt++-2.94_pre20080430.ebuild18
-rw-r--r--app-emacs/crypt++/files/50crypt++-gentoo.el2
-rw-r--r--app-emacs/crypt++/metadata.xml13
-rw-r--r--app-emacs/csharp-mode/Manifest1
-rw-r--r--app-emacs/csharp-mode/csharp-mode-0.7.0-r1.ebuild18
-rw-r--r--app-emacs/csharp-mode/files/50csharp-mode-gentoo.el3
-rw-r--r--app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch14
-rw-r--r--app-emacs/csharp-mode/metadata.xml5
-rw-r--r--app-emacs/css-mode/Manifest1
-rw-r--r--app-emacs/css-mode/css-mode-0.11-r1.ebuild29
-rw-r--r--app-emacs/css-mode/files/50css-mode-gentoo.el3
-rw-r--r--app-emacs/css-mode/files/css-mode-0.11-no-compat-kbd.patch24
-rw-r--r--app-emacs/css-mode/metadata.xml5
-rw-r--r--app-emacs/csv-mode/Manifest1
-rw-r--r--app-emacs/csv-mode/csv-mode-1.50.ebuild17
-rw-r--r--app-emacs/csv-mode/files/50csv-mode-gentoo.el4
-rw-r--r--app-emacs/csv-mode/metadata.xml5
-rw-r--r--app-emacs/d-mode/Manifest1
-rw-r--r--app-emacs/d-mode/d-mode-2.0.6.ebuild20
-rw-r--r--app-emacs/d-mode/files/50d-mode-gentoo.el3
-rw-r--r--app-emacs/d-mode/files/d-mode-2.0.6-emacs-24.4.patch13
-rw-r--r--app-emacs/d-mode/metadata.xml8
-rw-r--r--app-emacs/ddskk/Manifest3
-rw-r--r--app-emacs/ddskk/ddskk-14.3.ebuild60
-rw-r--r--app-emacs/ddskk/ddskk-14.4.ebuild60
-rw-r--r--app-emacs/ddskk/ddskk-15.1.ebuild61
-rw-r--r--app-emacs/ddskk/files/50ddskk-gentoo.el7
-rw-r--r--app-emacs/ddskk/files/ddskk-15.1-skk-mk.patch12
-rw-r--r--app-emacs/ddskk/metadata.xml6
-rw-r--r--app-emacs/develock/Manifest1
-rw-r--r--app-emacs/develock/develock-0.45.ebuild19
-rw-r--r--app-emacs/develock/files/50develock-gentoo.el3
-rw-r--r--app-emacs/develock/metadata.xml5
-rw-r--r--app-emacs/df-mode/Manifest1
-rw-r--r--app-emacs/df-mode/df-mode-20050509.ebuild19
-rw-r--r--app-emacs/df-mode/files/50df-mode-gentoo.el2
-rw-r--r--app-emacs/df-mode/metadata.xml5
-rw-r--r--app-emacs/dictionary/Manifest1
-rw-r--r--app-emacs/dictionary/dictionary-1.10.ebuild19
-rw-r--r--app-emacs/dictionary/files/50dictionary-gentoo.el2
-rw-r--r--app-emacs/dictionary/metadata.xml5
-rw-r--r--app-emacs/dircolors/Manifest1
-rw-r--r--app-emacs/dircolors/dircolors-1.0-r2.ebuild17
-rw-r--r--app-emacs/dircolors/files/50dircolors-gentoo.el4
-rw-r--r--app-emacs/dircolors/metadata.xml5
-rw-r--r--app-emacs/dired-sort-menu/Manifest1
-rw-r--r--app-emacs/dired-sort-menu/dired-sort-menu-1.26.ebuild18
-rw-r--r--app-emacs/dired-sort-menu/files/50dired-sort-menu-gentoo.el3
-rw-r--r--app-emacs/dired-sort-menu/metadata.xml5
-rw-r--r--app-emacs/distel/Manifest1
-rw-r--r--app-emacs/distel/distel-4.0.6.ebuild39
-rw-r--r--app-emacs/distel/files/50distel-gentoo.el4
-rw-r--r--app-emacs/distel/metadata.xml9
-rw-r--r--app-emacs/doctest-mode/Manifest1
-rw-r--r--app-emacs/doctest-mode/doctest-mode-0.4.ebuild25
-rw-r--r--app-emacs/doctest-mode/files/60doctest-mode-gentoo.el4
-rw-r--r--app-emacs/doctest-mode/metadata.xml5
-rw-r--r--app-emacs/doxymacs/Manifest1
-rw-r--r--app-emacs/doxymacs/doxymacs-1.8.0-r3.ebuild35
-rw-r--r--app-emacs/doxymacs/files/50doxymacs-gentoo.el12
-rw-r--r--app-emacs/doxymacs/metadata.xml8
-rw-r--r--app-emacs/dropdown-list/Manifest1
-rw-r--r--app-emacs/dropdown-list/dropdown-list-20120329.ebuild18
-rw-r--r--app-emacs/dropdown-list/files/50dropdown-list-gentoo.el2
-rw-r--r--app-emacs/dropdown-list/files/dropdown-list-20090814-selection-face.patch13
-rw-r--r--app-emacs/dropdown-list/metadata.xml5
-rw-r--r--app-emacs/dts-mode/Manifest1
-rw-r--r--app-emacs/dts-mode/dts-mode-0.1.0_pre20141014.ebuild19
-rw-r--r--app-emacs/dts-mode/files/50dts-mode-gentoo.el6
-rw-r--r--app-emacs/dts-mode/metadata.xml8
-rw-r--r--app-emacs/ebuild-mode/Manifest1
-rw-r--r--app-emacs/ebuild-mode/ebuild-mode-1.27.ebuild21
-rw-r--r--app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el13
-rw-r--r--app-emacs/ebuild-mode/metadata.xml5
-rw-r--r--app-emacs/ecb/Manifest1
-rw-r--r--app-emacs/ecb/ecb-2.41_pre20140215-r1.ebuild52
-rw-r--r--app-emacs/ecb/files/70ecb-gentoo.el2
-rw-r--r--app-emacs/ecb/files/ecb-2.32-gentoo.patch73
-rw-r--r--app-emacs/ecb/metadata.xml32
-rw-r--r--app-emacs/edb/Manifest1
-rw-r--r--app-emacs/edb/edb-1.31.ebuild37
-rw-r--r--app-emacs/edb/files/50edb-gentoo.el4
-rw-r--r--app-emacs/edb/files/edb-1.31-skram-path.patch11
-rw-r--r--app-emacs/edb/metadata.xml5
-rw-r--r--app-emacs/edit-list/Manifest1
-rw-r--r--app-emacs/edit-list/edit-list-0.3.ebuild18
-rw-r--r--app-emacs/edit-list/files/50edit-list-gentoo.el3
-rw-r--r--app-emacs/edit-list/metadata.xml11
-rw-r--r--app-emacs/elib/Manifest1
-rw-r--r--app-emacs/elib/elib-1.0-r1.ebuild34
-rw-r--r--app-emacs/elib/files/50elib-gentoo.el1
-rw-r--r--app-emacs/elib/files/elib-1.0-texinfo-5.patch14
-rw-r--r--app-emacs/elib/metadata.xml5
-rw-r--r--app-emacs/elscreen/Manifest1
-rw-r--r--app-emacs/elscreen/elscreen-1.4.6-r1.ebuild34
-rw-r--r--app-emacs/elscreen/files/50elscreen-gentoo.el1
-rw-r--r--app-emacs/elscreen/files/elscreen-1.4.6-emacs-24.patch154
-rw-r--r--app-emacs/elscreen/files/elscreen-1.4.6-void-variable-argi.patch71
-rw-r--r--app-emacs/elscreen/metadata.xml19
-rw-r--r--app-emacs/emacs-common-gentoo/Manifest1
-rw-r--r--app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.5.ebuild123
-rw-r--r--app-emacs/emacs-common-gentoo/metadata.xml8
-rw-r--r--app-emacs/emacs-daemon/Manifest2
-rw-r--r--app-emacs/emacs-daemon/emacs-daemon-0.20.ebuild54
-rw-r--r--app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild54
-rw-r--r--app-emacs/emacs-daemon/metadata.xml5
-rw-r--r--app-emacs/emacs-jabber/Manifest1
-rw-r--r--app-emacs/emacs-jabber/emacs-jabber-0.8.92.ebuild23
-rw-r--r--app-emacs/emacs-jabber/files/50emacs-jabber-gentoo.el4
-rw-r--r--app-emacs/emacs-jabber/metadata.xml8
-rw-r--r--app-emacs/emacs-w3m/Manifest2
-rw-r--r--app-emacs/emacs-w3m/emacs-w3m-1.4.513_pre20130204.ebuild53
-rw-r--r--app-emacs/emacs-w3m/emacs-w3m-1.4.528_pre20140213.ebuild49
-rw-r--r--app-emacs/emacs-w3m/files/70emacs-w3m-gentoo.el3
-rw-r--r--app-emacs/emacs-w3m/metadata.xml5
-rw-r--r--app-emacs/emacs-wget/Manifest1
-rw-r--r--app-emacs/emacs-wget/emacs-wget-0.5.0-r1.ebuild27
-rw-r--r--app-emacs/emacs-wget/files/50emacs-wget-gentoo.el4
-rw-r--r--app-emacs/emacs-wget/metadata.xml5
-rw-r--r--app-emacs/emacs-wiki-blog/Manifest1
-rw-r--r--app-emacs/emacs-wiki-blog/emacs-wiki-blog-0.5.ebuild20
-rw-r--r--app-emacs/emacs-wiki-blog/files/0.4-gentoo.patch12
-rw-r--r--app-emacs/emacs-wiki-blog/files/90emacs-wiki-blog-gentoo.el19
-rw-r--r--app-emacs/emacs-wiki-blog/metadata.xml9
-rw-r--r--app-emacs/emacs-wiki/Manifest1
-rw-r--r--app-emacs/emacs-wiki/emacs-wiki-2.72-r2.ebuild42
-rw-r--r--app-emacs/emacs-wiki/files/50emacs-wiki-gentoo.el5
-rw-r--r--app-emacs/emacs-wiki/metadata.xml21
-rw-r--r--app-emacs/emhacks/Manifest1
-rw-r--r--app-emacs/emhacks/emhacks-20070920.ebuild39
-rw-r--r--app-emacs/emhacks/files/50emhacks-gentoo.el32
-rw-r--r--app-emacs/emhacks/metadata.xml19
-rw-r--r--app-emacs/emms/Manifest1
-rw-r--r--app-emacs/emms/emms-3.0-r1.ebuild41
-rw-r--r--app-emacs/emms/files/50emms-gentoo.el2
-rw-r--r--app-emacs/emms/files/emms-3.0-Makefile.patch11
-rw-r--r--app-emacs/emms/files/emms-3.0-texinfo-5.patch17
-rw-r--r--app-emacs/emms/metadata.xml16
-rw-r--r--app-emacs/erobot/Manifest1
-rw-r--r--app-emacs/erobot/erobot-2.1.0-r1.ebuild18
-rw-r--r--app-emacs/erobot/files/50erobot-gentoo.el4
-rw-r--r--app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch11
-rw-r--r--app-emacs/erobot/metadata.xml5
-rw-r--r--app-emacs/eselect-mode/Manifest1
-rw-r--r--app-emacs/eselect-mode/eselect-mode-1.4.4.ebuild19
-rw-r--r--app-emacs/eselect-mode/eselect-mode-9999.ebuild20
-rw-r--r--app-emacs/eselect-mode/files/50eselect-mode-gentoo.el3
-rw-r--r--app-emacs/eselect-mode/metadata.xml6
-rw-r--r--app-emacs/ess/Manifest3
-rw-r--r--app-emacs/ess/ess-13.09.ebuild45
-rw-r--r--app-emacs/ess/ess-14.09.ebuild44
-rw-r--r--app-emacs/ess/ess-15.03.1.ebuild46
-rw-r--r--app-emacs/ess/files/50ess-gentoo.el2
-rw-r--r--app-emacs/ess/metadata.xml5
-rw-r--r--app-emacs/evil/Manifest1
-rw-r--r--app-emacs/evil/evil-1.0.8.ebuild25
-rw-r--r--app-emacs/evil/files/50evil-gentoo.el2
-rw-r--r--app-emacs/evil/metadata.xml8
-rw-r--r--app-emacs/fff/Manifest1
-rw-r--r--app-emacs/fff/fff-20050517.ebuild19
-rw-r--r--app-emacs/fff/files/50fff-gentoo.el17
-rw-r--r--app-emacs/fff/metadata.xml13
-rw-r--r--app-emacs/filladapt/Manifest1
-rw-r--r--app-emacs/filladapt/files/50filladapt-gentoo.el1
-rw-r--r--app-emacs/filladapt/filladapt-2.12-r1.ebuild21
-rw-r--r--app-emacs/filladapt/metadata.xml5
-rw-r--r--app-emacs/flashcard/Manifest1
-rw-r--r--app-emacs/flashcard/files/50flashcard-gentoo.el5
-rw-r--r--app-emacs/flashcard/flashcard-2.3.3.ebuild18
-rw-r--r--app-emacs/flashcard/metadata.xml5
-rw-r--r--app-emacs/flim/Manifest1
-rw-r--r--app-emacs/flim/files/60flim-gentoo.el1
-rw-r--r--app-emacs/flim/files/flim-1.14.9-mel-q-ccl.patch31
-rw-r--r--app-emacs/flim/flim-1.14.9-r2.ebuild38
-rw-r--r--app-emacs/flim/metadata.xml5
-rw-r--r--app-emacs/folding/Manifest2
-rw-r--r--app-emacs/folding/files/50folding-gentoo.el4
-rw-r--r--app-emacs/folding/folding-2012.0226.1623.ebuild18
-rw-r--r--app-emacs/folding/folding-2013.0613.1821.ebuild18
-rw-r--r--app-emacs/folding/metadata.xml5
-rw-r--r--app-emacs/gnuplot-mode/Manifest1
-rw-r--r--app-emacs/gnuplot-mode/files/50gnuplot-mode-gentoo.el6
-rw-r--r--app-emacs/gnuplot-mode/gnuplot-mode-0.7.0.ebuild44
-rw-r--r--app-emacs/gnuplot-mode/metadata.xml8
-rw-r--r--app-emacs/gnuserv/Manifest1
-rw-r--r--app-emacs/gnuserv/files/50gnuserv-gentoo.el5
-rw-r--r--app-emacs/gnuserv/files/gnuclient.desktop13
-rw-r--r--app-emacs/gnuserv/gnuserv-3.12.8-r2.ebuild73
-rw-r--r--app-emacs/gnuserv/metadata.xml5
-rw-r--r--app-emacs/google-c-style/Manifest1
-rw-r--r--app-emacs/google-c-style/files/50google-c-style-gentoo.el5
-rw-r--r--app-emacs/google-c-style/google-c-style-20091009-r1.ebuild27
-rw-r--r--app-emacs/google-c-style/metadata.xml6
-rw-r--r--app-emacs/graphviz-dot-mode/Manifest1
-rw-r--r--app-emacs/graphviz-dot-mode/files/50graphviz-dot-mode-gentoo.el5
-rw-r--r--app-emacs/graphviz-dot-mode/graphviz-dot-mode-0.3.7.ebuild19
-rw-r--r--app-emacs/graphviz-dot-mode/metadata.xml5
-rw-r--r--app-emacs/h4x0r/Manifest1
-rw-r--r--app-emacs/h4x0r/files/50h4x0r-gentoo.el4
-rw-r--r--app-emacs/h4x0r/h4x0r-0.13-r1.ebuild17
-rw-r--r--app-emacs/h4x0r/metadata.xml5
-rw-r--r--app-emacs/haskell-mode/Manifest2
-rw-r--r--app-emacs/haskell-mode/files/50haskell-mode-gentoo.el1
-rw-r--r--app-emacs/haskell-mode/haskell-mode-13.07.ebuild45
-rw-r--r--app-emacs/haskell-mode/haskell-mode-2.9.1.ebuild41
-rw-r--r--app-emacs/haskell-mode/metadata.xml8
-rw-r--r--app-emacs/hexrgb/Manifest1
-rw-r--r--app-emacs/hexrgb/files/50hexrgb-gentoo.el1
-rw-r--r--app-emacs/hexrgb/hexrgb-0_p957.ebuild17
-rw-r--r--app-emacs/hexrgb/metadata.xml5
-rw-r--r--app-emacs/highline/Manifest1
-rw-r--r--app-emacs/highline/files/50highline-gentoo.el2
-rw-r--r--app-emacs/highline/highline-7.2.2.ebuild23
-rw-r--r--app-emacs/highline/metadata.xml5
-rw-r--r--app-emacs/howm/Manifest2
-rw-r--r--app-emacs/howm/files/50howm-gentoo.el2
-rw-r--r--app-emacs/howm/howm-1.3.9.1.ebuild43
-rw-r--r--app-emacs/howm/howm-1.3.9.2.ebuild43
-rw-r--r--app-emacs/howm/metadata.xml5
-rw-r--r--app-emacs/htmlize/Manifest2
-rw-r--r--app-emacs/htmlize/files/50htmlize-gentoo.el11
-rw-r--r--app-emacs/htmlize/htmlize-1.43.ebuild19
-rw-r--r--app-emacs/htmlize/htmlize-1.47.ebuild18
-rw-r--r--app-emacs/htmlize/metadata.xml5
-rw-r--r--app-emacs/httpd/Manifest1
-rw-r--r--app-emacs/httpd/files/50httpd-gentoo.el1
-rw-r--r--app-emacs/httpd/httpd-1.1.ebuild18
-rw-r--r--app-emacs/httpd/metadata.xml5
-rw-r--r--app-emacs/icicles/Manifest1
-rw-r--r--app-emacs/icicles/files/50icicles-gentoo.el3
-rw-r--r--app-emacs/icicles/icicles-2013.04.23.23400.ebuild17
-rw-r--r--app-emacs/icicles/metadata.xml8
-rw-r--r--app-emacs/identica-mode/Manifest1
-rw-r--r--app-emacs/identica-mode/files/50identica-mode-gentoo.el2
-rw-r--r--app-emacs/identica-mode/identica-mode-1.1-r1.ebuild26
-rw-r--r--app-emacs/identica-mode/metadata.xml5
-rw-r--r--app-emacs/igrep/Manifest1
-rw-r--r--app-emacs/igrep/files/50igrep-gentoo.el33
-rw-r--r--app-emacs/igrep/igrep-2.113.ebuild17
-rw-r--r--app-emacs/igrep/metadata.xml5
-rw-r--r--app-emacs/imaxima/Manifest1
-rw-r--r--app-emacs/imaxima/files/50imaxima-gentoo.el3
-rw-r--r--app-emacs/imaxima/files/imaxima-1.0-1.03.patch140
-rw-r--r--app-emacs/imaxima/files/imaxima-1.0-mlabel.patch26
-rw-r--r--app-emacs/imaxima/imaxima-1.0-r3.ebuild50
-rw-r--r--app-emacs/imaxima/metadata.xml15
-rw-r--r--app-emacs/inform-mode/Manifest2
-rw-r--r--app-emacs/inform-mode/files/50inform-mode-gentoo.el5
-rw-r--r--app-emacs/inform-mode/inform-mode-1.5.8.ebuild19
-rw-r--r--app-emacs/inform-mode/inform-mode-1.6.2.ebuild19
-rw-r--r--app-emacs/inform-mode/metadata.xml5
-rw-r--r--app-emacs/initsplit/Manifest1
-rw-r--r--app-emacs/initsplit/files/50initsplit-gentoo.el2
-rw-r--r--app-emacs/initsplit/initsplit-1.7_pre20140203.ebuild23
-rw-r--r--app-emacs/initsplit/metadata.xml5
-rw-r--r--app-emacs/jam-mode/Manifest1
-rw-r--r--app-emacs/jam-mode/files/50jam-mode-gentoo.el5
-rw-r--r--app-emacs/jam-mode/jam-mode-0.3.ebuild18
-rw-r--r--app-emacs/jam-mode/metadata.xml5
-rw-r--r--app-emacs/jasmin/Manifest1
-rw-r--r--app-emacs/jasmin/files/50jasmin-gentoo.el4
-rw-r--r--app-emacs/jasmin/jasmin-1.2-r2.ebuild17
-rw-r--r--app-emacs/jasmin/metadata.xml11
-rw-r--r--app-emacs/javascript/Manifest2
-rw-r--r--app-emacs/javascript/files/50javascript-gentoo.el4
-rw-r--r--app-emacs/javascript/javascript-2.0_beta8.ebuild18
-rw-r--r--app-emacs/javascript/javascript-2.2.1.ebuild18
-rw-r--r--app-emacs/javascript/metadata.xml5
-rw-r--r--app-emacs/jde/Manifest1
-rw-r--r--app-emacs/jde/files/70jde-gentoo.el10
-rw-r--r--app-emacs/jde/files/jde-2.4.0.1-classpath-gentoo.patch69
-rw-r--r--app-emacs/jde/files/jde-2.4.0.1-fix-paths-gentoo.patch218
-rw-r--r--app-emacs/jde/files/jde-2.4.1-doc-directory.patch53
-rw-r--r--app-emacs/jde/jde-2.4.1.ebuild75
-rw-r--r--app-emacs/jde/metadata.xml22
-rw-r--r--app-emacs/keywiz/Manifest1
-rw-r--r--app-emacs/keywiz/files/50keywiz-gentoo.el2
-rw-r--r--app-emacs/keywiz/keywiz-1.4.ebuild17
-rw-r--r--app-emacs/keywiz/metadata.xml5
-rw-r--r--app-emacs/limit/Manifest1
-rw-r--r--app-emacs/limit/files/60flim-gentoo.el1
-rw-r--r--app-emacs/limit/limit-1.14.10_pre200811252332.ebuild41
-rw-r--r--app-emacs/limit/metadata.xml5
-rw-r--r--app-emacs/lookup/Manifest1
-rw-r--r--app-emacs/lookup/files/50lookup-gentoo.el4
-rw-r--r--app-emacs/lookup/files/lookup-1.4.1-garbage-char.patch8
-rw-r--r--app-emacs/lookup/lookup-1.4.1.ebuild34
-rw-r--r--app-emacs/lookup/metadata.xml6
-rw-r--r--app-emacs/lua-mode/Manifest1
-rw-r--r--app-emacs/lua-mode/files/50lua-mode-gentoo.el4
-rw-r--r--app-emacs/lua-mode/lua-mode-20130419.ebuild19
-rw-r--r--app-emacs/lua-mode/metadata.xml8
-rw-r--r--app-emacs/lyskom-elisp-client/Manifest1
-rw-r--r--app-emacs/lyskom-elisp-client/files/50lyskom-elisp-client-gentoo.el2
-rw-r--r--app-emacs/lyskom-elisp-client/lyskom-elisp-client-0.48_p20131231.ebuild38
-rw-r--r--app-emacs/lyskom-elisp-client/metadata.xml5
-rw-r--r--app-emacs/magit/Manifest2
-rw-r--r--app-emacs/magit/files/50magit-gentoo.el2
-rw-r--r--app-emacs/magit/files/magit-1.2.0-delete-directory.patch33
-rw-r--r--app-emacs/magit/magit-1.2.0-r1.ebuild43
-rw-r--r--app-emacs/magit/magit-1.2.2.ebuild41
-rw-r--r--app-emacs/magit/metadata.xml21
-rw-r--r--app-emacs/mailcrypt/Manifest1
-rw-r--r--app-emacs/mailcrypt/files/50mailcrypt-gentoo.el1
-rw-r--r--app-emacs/mailcrypt/mailcrypt-3.5.9.ebuild42
-rw-r--r--app-emacs/mailcrypt/metadata.xml8
-rw-r--r--app-emacs/markdown-mode/Manifest2
-rw-r--r--app-emacs/markdown-mode/files/50markdown-mode-gentoo.el3
-rw-r--r--app-emacs/markdown-mode/markdown-mode-1.8.1-r1.ebuild22
-rw-r--r--app-emacs/markdown-mode/markdown-mode-2.0.ebuild21
-rw-r--r--app-emacs/markdown-mode/metadata.xml8
-rw-r--r--app-emacs/matlab/Manifest1
-rw-r--r--app-emacs/matlab/files/50matlab-gentoo.el2
-rw-r--r--app-emacs/matlab/matlab-3.3.2_pre20130829.ebuild19
-rw-r--r--app-emacs/matlab/metadata.xml5
-rw-r--r--app-emacs/mcomplete/Manifest2
-rw-r--r--app-emacs/mcomplete/files/50mcomplete-gentoo.el7
-rw-r--r--app-emacs/mcomplete/mcomplete-1.10.ebuild19
-rw-r--r--app-emacs/mcomplete/mcomplete-1.5-r1.ebuild19
-rw-r--r--app-emacs/mcomplete/metadata.xml5
-rw-r--r--app-emacs/mediawiki/Manifest1
-rw-r--r--app-emacs/mediawiki/files/50mediawiki-gentoo.el10
-rw-r--r--app-emacs/mediawiki/mediawiki-2.2.4.1.ebuild17
-rw-r--r--app-emacs/mediawiki/metadata.xml8
-rw-r--r--app-emacs/metadata.xml36
-rw-r--r--app-emacs/mew/Manifest2
-rw-r--r--app-emacs/mew/files/50mew-gentoo.el7
-rw-r--r--app-emacs/mew/metadata.xml5
-rw-r--r--app-emacs/mew/mew-6.5.ebuild48
-rw-r--r--app-emacs/mew/mew-6.6.ebuild46
-rw-r--r--app-emacs/mic-paren/Manifest1
-rw-r--r--app-emacs/mic-paren/files/50mic-paren-gentoo.el10
-rw-r--r--app-emacs/mic-paren/metadata.xml12
-rw-r--r--app-emacs/mic-paren/mic-paren-3.11.ebuild19
-rw-r--r--app-emacs/mldonkey/Manifest1
-rw-r--r--app-emacs/mldonkey/files/50mldonkey-gentoo.el18
-rw-r--r--app-emacs/mldonkey/files/mldonkey-0.0.4b-vd.patch121
-rw-r--r--app-emacs/mldonkey/metadata.xml5
-rw-r--r--app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild35
-rw-r--r--app-emacs/mmm-mode/Manifest1
-rw-r--r--app-emacs/mmm-mode/files/50mmm-mode-gentoo.el2
-rw-r--r--app-emacs/mmm-mode/metadata.xml8
-rw-r--r--app-emacs/mmm-mode/mmm-mode-0.5.1.ebuild32
-rw-r--r--app-emacs/moccur-edit/Manifest1
-rw-r--r--app-emacs/moccur-edit/files/60moccur-edit-gentoo.el3
-rw-r--r--app-emacs/moccur-edit/metadata.xml5
-rw-r--r--app-emacs/moccur-edit/moccur-edit-2.16.ebuild22
-rw-r--r--app-emacs/mode-compile/Manifest1
-rw-r--r--app-emacs/mode-compile/files/50mode-compile-gentoo.el5
-rw-r--r--app-emacs/mode-compile/metadata.xml8
-rw-r--r--app-emacs/mode-compile/mode-compile-2.29.1.ebuild18
-rw-r--r--app-emacs/mpg123-el/Manifest2
-rw-r--r--app-emacs/mpg123-el/files/50mpg123-el-gentoo.el3
-rw-r--r--app-emacs/mpg123-el/metadata.xml5
-rw-r--r--app-emacs/mpg123-el/mpg123-el-1.58.ebuild38
-rw-r--r--app-emacs/mpg123-el/mpg123-el-1.59.ebuild38
-rw-r--r--app-emacs/mu-cite/Manifest2
-rw-r--r--app-emacs/mu-cite/files/50mu-cite-gentoo.el3
-rw-r--r--app-emacs/mu-cite/metadata.xml6
-rw-r--r--app-emacs/mu-cite/mu-cite-8.1_p200709030413.ebuild28
-rw-r--r--app-emacs/mu-cite/mu-cite-8.1_p201202272330.ebuild28
-rw-r--r--app-emacs/multi-term/Manifest1
-rw-r--r--app-emacs/multi-term/files/50multi-term-gentoo.el7
-rw-r--r--app-emacs/multi-term/metadata.xml8
-rw-r--r--app-emacs/multi-term/multi-term-1.2.ebuild18
-rw-r--r--app-emacs/multiple-cursors/Manifest1
-rw-r--r--app-emacs/multiple-cursors/files/50multiple-cursors-gentoo.el2
-rw-r--r--app-emacs/multiple-cursors/metadata.xml8
-rw-r--r--app-emacs/multiple-cursors/multiple-cursors-1.3.0.ebuild24
-rw-r--r--app-emacs/muse/Manifest1
-rw-r--r--app-emacs/muse/files/50muse-gentoo.el2
-rw-r--r--app-emacs/muse/metadata.xml30
-rw-r--r--app-emacs/muse/muse-3.20.ebuild35
-rw-r--r--app-emacs/nagios-mode/Manifest1
-rw-r--r--app-emacs/nagios-mode/files/50nagios-mode-gentoo.el4
-rw-r--r--app-emacs/nagios-mode/metadata.xml5
-rw-r--r--app-emacs/nagios-mode/nagios-mode-0.3.ebuild19
-rw-r--r--app-emacs/navi2ch/Manifest2
-rw-r--r--app-emacs/navi2ch/files/50navi2ch-gentoo.el2
-rw-r--r--app-emacs/navi2ch/metadata.xml9
-rw-r--r--app-emacs/navi2ch/navi2ch-1.8.3-r1.ebuild51
-rw-r--r--app-emacs/navi2ch/navi2ch-1.8.4.ebuild51
-rw-r--r--app-emacs/nxml-docbook5-schemas/Manifest1
-rw-r--r--app-emacs/nxml-docbook5-schemas/files/60nxml-docbook5-schemas-gentoo.el5
-rw-r--r--app-emacs/nxml-docbook5-schemas/files/schemas.xml4
-rw-r--r--app-emacs/nxml-docbook5-schemas/metadata.xml8
-rw-r--r--app-emacs/nxml-docbook5-schemas/nxml-docbook5-schemas-20080922.ebuild28
-rw-r--r--app-emacs/nxml-gentoo-schemas/Manifest2
-rw-r--r--app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el5
-rw-r--r--app-emacs/nxml-gentoo-schemas/metadata.xml5
-rw-r--r--app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20111129.ebuild26
-rw-r--r--app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20150428.ebuild26
-rw-r--r--app-emacs/nxml-libvirt-schemas/Manifest2
-rw-r--r--app-emacs/nxml-libvirt-schemas/files/60nxml-libvirt-schemas-gentoo.el5
-rw-r--r--app-emacs/nxml-libvirt-schemas/files/Makefile-trang6
-rw-r--r--app-emacs/nxml-libvirt-schemas/files/schemas.xml12
-rw-r--r--app-emacs/nxml-libvirt-schemas/metadata.xml9
-rw-r--r--app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.9.7.ebuild55
-rw-r--r--app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-1.2.1.ebuild55
-rw-r--r--app-emacs/nxml-svg-schemas/Manifest1
-rw-r--r--app-emacs/nxml-svg-schemas/files/60nxml-svg-schemas-gentoo.el5
-rw-r--r--app-emacs/nxml-svg-schemas/files/Makefile-trang6
-rw-r--r--app-emacs/nxml-svg-schemas/files/schemas.xml13
-rw-r--r--app-emacs/nxml-svg-schemas/metadata.xml8
-rw-r--r--app-emacs/nxml-svg-schemas/nxml-svg-schemas-1.1.20081123.ebuild43
-rw-r--r--app-emacs/ocaml-mode/Manifest2
-rw-r--r--app-emacs/ocaml-mode/files/50ocaml-mode-gentoo-3.12.1.el10
-rw-r--r--app-emacs/ocaml-mode/files/50ocaml-mode-gentoo.el10
-rw-r--r--app-emacs/ocaml-mode/metadata.xml6
-rw-r--r--app-emacs/ocaml-mode/ocaml-mode-3.12.1-r1.ebuild20
-rw-r--r--app-emacs/ocaml-mode/ocaml-mode-3.12.1.ebuild22
-rw-r--r--app-emacs/ocaml-mode/ocaml-mode-4.00.1.ebuild20
-rw-r--r--app-emacs/org-mode/Manifest3
-rw-r--r--app-emacs/org-mode/files/50org-mode-gentoo.el2
-rw-r--r--app-emacs/org-mode/metadata.xml25
-rw-r--r--app-emacs/org-mode/org-mode-8.2.1.ebuild54
-rw-r--r--app-emacs/org-mode/org-mode-8.2.5h.ebuild54
-rw-r--r--app-emacs/org-mode/org-mode-8.2.6.ebuild54
-rw-r--r--app-emacs/outline-magic/Manifest1
-rw-r--r--app-emacs/outline-magic/files/50outline-magic-gentoo.el1
-rw-r--r--app-emacs/outline-magic/metadata.xml8
-rw-r--r--app-emacs/outline-magic/outline-magic-0.9.ebuild18
-rw-r--r--app-emacs/paredit/Manifest1
-rw-r--r--app-emacs/paredit/files/50paredit-gentoo.el10
-rw-r--r--app-emacs/paredit/metadata.xml5
-rw-r--r--app-emacs/paredit/paredit-23-r1.ebuild23
-rw-r--r--app-emacs/php-mode/Manifest1
-rw-r--r--app-emacs/php-mode/files/50php-mode-gentoo.el5
-rw-r--r--app-emacs/php-mode/metadata.xml8
-rw-r--r--app-emacs/php-mode/php-mode-1.5.0.ebuild19
-rw-r--r--app-emacs/planner/Manifest1
-rw-r--r--app-emacs/planner/files/80planner-gentoo.el4
-rw-r--r--app-emacs/planner/metadata.xml11
-rw-r--r--app-emacs/planner/planner-3.42.ebuild30
-rw-r--r--app-emacs/po-mode/Manifest3
-rw-r--r--app-emacs/po-mode/files/50po-mode-gentoo.el8
-rw-r--r--app-emacs/po-mode/metadata.xml5
-rw-r--r--app-emacs/po-mode/po-mode-0.18.3.2.ebuild19
-rw-r--r--app-emacs/po-mode/po-mode-0.19.3.ebuild19
-rw-r--r--app-emacs/po-mode/po-mode-0.19.4.ebuild19
-rw-r--r--app-emacs/popwin/Manifest1
-rw-r--r--app-emacs/popwin/files/50popwin-gentoo.el6
-rw-r--r--app-emacs/popwin/metadata.xml11
-rw-r--r--app-emacs/popwin/popwin-0.6.2.ebuild23
-rw-r--r--app-emacs/pov-mode/Manifest2
-rw-r--r--app-emacs/pov-mode/files/50pov-mode-gentoo.el9
-rw-r--r--app-emacs/pov-mode/metadata.xml8
-rw-r--r--app-emacs/pov-mode/pov-mode-3.2.ebuild32
-rw-r--r--app-emacs/pov-mode/pov-mode-3.3.ebuild29
-rw-r--r--app-emacs/prom-wl/Manifest1
-rw-r--r--app-emacs/prom-wl/files/50prom-wl-gentoo.el5
-rw-r--r--app-emacs/prom-wl/metadata.xml5
-rw-r--r--app-emacs/prom-wl/prom-wl-2.7.0-r1.ebuild19
-rw-r--r--app-emacs/proofgeneral/Manifest1
-rw-r--r--app-emacs/proofgeneral/files/50proofgeneral-gentoo.el2
-rw-r--r--app-emacs/proofgeneral/files/proofgeneral-4.2-bytecomp-warn.patch14
-rw-r--r--app-emacs/proofgeneral/metadata.xml5
-rw-r--r--app-emacs/proofgeneral/proofgeneral-4.2.ebuild56
-rw-r--r--app-emacs/protbuf/Manifest1
-rw-r--r--app-emacs/protbuf/files/50protbuf-gentoo.el12
-rw-r--r--app-emacs/protbuf/metadata.xml5
-rw-r--r--app-emacs/protbuf/protbuf-1.7-r1.ebuild18
-rw-r--r--app-emacs/psgml/Manifest1
-rw-r--r--app-emacs/psgml/files/50psgml-gentoo.el6
-rw-r--r--app-emacs/psgml/metadata.xml5
-rw-r--r--app-emacs/psgml/psgml-1.4.0.ebuild34
-rw-r--r--app-emacs/pymacs/Manifest2
-rw-r--r--app-emacs/pymacs/files/50pymacs-gentoo.el5
-rw-r--r--app-emacs/pymacs/metadata.xml9
-rw-r--r--app-emacs/pymacs/pymacs-0.23-r1.ebuild53
-rw-r--r--app-emacs/pymacs/pymacs-0.25-r1.ebuild45
-rw-r--r--app-emacs/python-mode/Manifest4
-rw-r--r--app-emacs/python-mode/files/50python-mode-gentoo.el11
-rw-r--r--app-emacs/python-mode/metadata.xml8
-rw-r--r--app-emacs/python-mode/python-mode-5.2.0.ebuild27
-rw-r--r--app-emacs/python-mode/python-mode-6.0.12.ebuild26
-rw-r--r--app-emacs/python-mode/python-mode-6.1.1.ebuild22
-rw-r--r--app-emacs/python-mode/python-mode-6.1.2.ebuild22
-rw-r--r--app-emacs/quack/Manifest1
-rw-r--r--app-emacs/quack/files/50quack-gentoo.el10
-rw-r--r--app-emacs/quack/metadata.xml5
-rw-r--r--app-emacs/quack/quack-0.47.ebuild17
-rw-r--r--app-emacs/quilt-el/Manifest1
-rw-r--r--app-emacs/quilt-el/files/50quilt-el-gentoo.el7
-rw-r--r--app-emacs/quilt-el/files/quilt-el-0.45.4-header-window.patch10
-rw-r--r--app-emacs/quilt-el/files/quilt-el-0.48.0-tramp-recursion.patch11
-rw-r--r--app-emacs/quilt-el/metadata.xml13
-rw-r--r--app-emacs/quilt-el/quilt-el-0.48.0.ebuild22
-rw-r--r--app-emacs/qwerty/Manifest1
-rw-r--r--app-emacs/qwerty/files/50qwerty-gentoo.el3
-rw-r--r--app-emacs/qwerty/metadata.xml5
-rw-r--r--app-emacs/qwerty/qwerty-1.1.ebuild18
-rw-r--r--app-emacs/redo+/Manifest1
-rw-r--r--app-emacs/redo+/files/50redo+-gentoo.el1
-rw-r--r--app-emacs/redo+/metadata.xml5
-rw-r--r--app-emacs/redo+/redo+-1.19.ebuild21
-rw-r--r--app-emacs/regress/Manifest1
-rw-r--r--app-emacs/regress/files/1.5.1-regress.el-gentoo.patch11
-rw-r--r--app-emacs/regress/files/50regress-gentoo.el5
-rw-r--r--app-emacs/regress/metadata.xml9
-rw-r--r--app-emacs/regress/regress-1.5.1.ebuild18
-rw-r--r--app-emacs/remember/Manifest1
-rw-r--r--app-emacs/remember/files/50remember-gentoo.el8
-rw-r--r--app-emacs/remember/files/remember-1.9-make-elc.patch11
-rw-r--r--app-emacs/remember/metadata.xml19
-rw-r--r--app-emacs/remember/remember-2.0.ebuild34
-rw-r--r--app-emacs/rfcview/Manifest1
-rw-r--r--app-emacs/rfcview/files/50rfcview-gentoo.el4
-rw-r--r--app-emacs/rfcview/metadata.xml5
-rw-r--r--app-emacs/rfcview/rfcview-0.13.ebuild19
-rw-r--r--app-emacs/riece/Manifest2
-rw-r--r--app-emacs/riece/files/50riece-gentoo.el2
-rw-r--r--app-emacs/riece/metadata.xml6
-rw-r--r--app-emacs/riece/riece-8.0.0.ebuild41
-rw-r--r--app-emacs/riece/riece-9.0.0.ebuild41
-rw-r--r--app-emacs/rnc-mode/Manifest1
-rw-r--r--app-emacs/rnc-mode/files/50rnc-mode-gentoo.el7
-rw-r--r--app-emacs/rnc-mode/metadata.xml5
-rw-r--r--app-emacs/rnc-mode/rnc-mode-1.0_beta3.ebuild21
-rw-r--r--app-emacs/rpm-spec-mode/Manifest1
-rw-r--r--app-emacs/rpm-spec-mode/files/50rpm-spec-mode-gentoo.el4
-rw-r--r--app-emacs/rpm-spec-mode/metadata.xml9
-rw-r--r--app-emacs/rpm-spec-mode/rpm-spec-mode-0.15.ebuild18
-rw-r--r--app-emacs/ruby-mode/Manifest5
-rw-r--r--app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.1.5.el12
-rw-r--r--app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.0.el12
-rw-r--r--app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.2.el12
-rw-r--r--app-emacs/ruby-mode/files/50ruby-mode-gentoo.el11
-rw-r--r--app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch22
-rw-r--r--app-emacs/ruby-mode/metadata.xml5
-rw-r--r--app-emacs/ruby-mode/ruby-mode-1.9.3_p429.ebuild21
-rw-r--r--app-emacs/ruby-mode/ruby-mode-2.0.0_p247.ebuild21
-rw-r--r--app-emacs/ruby-mode/ruby-mode-2.1.5.ebuild19
-rw-r--r--app-emacs/ruby-mode/ruby-mode-2.2.0.ebuild19
-rw-r--r--app-emacs/ruby-mode/ruby-mode-2.2.2.ebuild19
-rw-r--r--app-emacs/rudel/Manifest1
-rw-r--r--app-emacs/rudel/files/60rudel-gentoo.el13
-rw-r--r--app-emacs/rudel/metadata.xml13
-rw-r--r--app-emacs/rudel/rudel-0.3_pre20110721.ebuild48
-rw-r--r--app-emacs/rust-mode/Manifest1
-rw-r--r--app-emacs/rust-mode/files/50rust-mode-gentoo.el3
-rw-r--r--app-emacs/rust-mode/metadata.xml9
-rw-r--r--app-emacs/rust-mode/rust-mode-1_beta20150411.ebuild17
-rw-r--r--app-emacs/scala-mode/Manifest1
-rw-r--r--app-emacs/scala-mode/files/50scala-mode-gentoo.el2
-rw-r--r--app-emacs/scala-mode/metadata.xml5
-rw-r--r--app-emacs/scala-mode/scala-mode-2.10.3.ebuild22
-rw-r--r--app-emacs/scheme-complete/Manifest2
-rw-r--r--app-emacs/scheme-complete/files/60scheme-complete-gentoo.el4
-rw-r--r--app-emacs/scheme-complete/metadata.xml9
-rw-r--r--app-emacs/scheme-complete/scheme-complete-0.8.10.ebuild18
-rw-r--r--app-emacs/scheme-complete/scheme-complete-0.8.11.ebuild17
-rw-r--r--app-emacs/scim-bridge-el/Manifest1
-rw-r--r--app-emacs/scim-bridge-el/files/scim-bridge-el-0.8.2-im-agent.patch25
-rw-r--r--app-emacs/scim-bridge-el/metadata.xml14
-rw-r--r--app-emacs/scim-bridge-el/scim-bridge-el-0.8.2.ebuild24
-rw-r--r--app-emacs/scss-mode/Manifest2
-rw-r--r--app-emacs/scss-mode/files/50scss-mode-gentoo.el3
-rw-r--r--app-emacs/scss-mode/metadata.xml11
-rw-r--r--app-emacs/scss-mode/scss-mode-20130215.ebuild24
-rw-r--r--app-emacs/scss-mode/scss-mode-20150107.ebuild24
-rw-r--r--app-emacs/semi/Manifest1
-rw-r--r--app-emacs/semi/files/65semi-gentoo.el2
-rw-r--r--app-emacs/semi/files/semi-info.patch30
-rw-r--r--app-emacs/semi/metadata.xml5
-rw-r--r--app-emacs/semi/semi-1.14.6-r2.ebuild53
-rw-r--r--app-emacs/session/Manifest1
-rw-r--r--app-emacs/session/files/50session-gentoo.el1
-rw-r--r--app-emacs/session/metadata.xml8
-rw-r--r--app-emacs/session/session-2.3a.ebuild22
-rw-r--r--app-emacs/setnu/Manifest1
-rw-r--r--app-emacs/setnu/files/50setnu-gentoo.el3
-rw-r--r--app-emacs/setnu/metadata.xml5
-rw-r--r--app-emacs/setnu/setnu-1.06.ebuild18
-rw-r--r--app-emacs/slime/Manifest6
-rw-r--r--app-emacs/slime/files/2.0_p20110617/70slime-gentoo.el15
-rw-r--r--app-emacs/slime/files/2.0_p20110617/gentoo-dont-call-init.patch16
-rw-r--r--app-emacs/slime/files/2.0_p20110617/swank.asd98
-rw-r--r--app-emacs/slime/files/2.0_p20130214/gentoo-module-load.patch84
-rw-r--r--app-emacs/slime/files/2.11/dont-load-sbcl-pprint.patch13
-rw-r--r--app-emacs/slime/files/2.11/gentoo-changelog-date.patch20
-rw-r--r--app-emacs/slime/files/70slime-gentoo.el13
-rw-r--r--app-emacs/slime/files/swank-loader.lisp4
-rw-r--r--app-emacs/slime/metadata.xml37
-rw-r--r--app-emacs/slime/slime-2.0_p20080731-r1.ebuild79
-rw-r--r--app-emacs/slime/slime-2.0_p20080731.ebuild78
-rw-r--r--app-emacs/slime/slime-2.0_p20101103.ebuild82
-rw-r--r--app-emacs/slime/slime-2.11.ebuild122
-rw-r--r--app-emacs/slime/slime-2.12.ebuild122
-rw-r--r--app-emacs/sml-mode/Manifest3
-rw-r--r--app-emacs/sml-mode/files/50sml-mode-gentoo-6.1.el2
-rw-r--r--app-emacs/sml-mode/files/50sml-mode-gentoo.el1
-rw-r--r--app-emacs/sml-mode/metadata.xml5
-rw-r--r--app-emacs/sml-mode/sml-mode-5.0.ebuild26
-rw-r--r--app-emacs/sml-mode/sml-mode-6.1-r1.ebuild25
-rw-r--r--app-emacs/sml-mode/sml-mode-6.4.ebuild24
-rw-r--r--app-emacs/sokoban/Manifest1
-rw-r--r--app-emacs/sokoban/files/50sokoban-gentoo.el3
-rw-r--r--app-emacs/sokoban/metadata.xml5
-rw-r--r--app-emacs/sokoban/sokoban-1.4.ebuild25
-rw-r--r--app-emacs/ssh/Manifest1
-rw-r--r--app-emacs/ssh/files/50ssh-gentoo.el3
-rw-r--r--app-emacs/ssh/metadata.xml5
-rw-r--r--app-emacs/ssh/ssh-20120709.ebuild17
-rw-r--r--app-emacs/stripes/Manifest1
-rw-r--r--app-emacs/stripes/files/50stripes-gentoo.el3
-rw-r--r--app-emacs/stripes/metadata.xml10
-rw-r--r--app-emacs/stripes/stripes-0.2-r1.ebuild17
-rw-r--r--app-emacs/sumibi/Manifest1
-rw-r--r--app-emacs/sumibi/files/50sumibi-gentoo.el4
-rw-r--r--app-emacs/sumibi/metadata.xml9
-rw-r--r--app-emacs/sumibi/sumibi-0.5.2.ebuild31
-rw-r--r--app-emacs/tdtd/Manifest1
-rw-r--r--app-emacs/tdtd/files/50tdtd-gentoo.el28
-rw-r--r--app-emacs/tdtd/metadata.xml5
-rw-r--r--app-emacs/tdtd/tdtd-0.7.1-r1.ebuild21
-rw-r--r--app-emacs/teco/Manifest1
-rw-r--r--app-emacs/teco/files/50teco-gentoo.el4
-rw-r--r--app-emacs/teco/files/teco-7-emacs-24.patch47
-rw-r--r--app-emacs/teco/files/teco-7-minibuffer-prompt.patch76
-rw-r--r--app-emacs/teco/metadata.xml5
-rw-r--r--app-emacs/teco/teco-7-r1.ebuild24
-rw-r--r--app-emacs/template/Manifest1
-rw-r--r--app-emacs/template/files/50template-gentoo.el20
-rw-r--r--app-emacs/template/metadata.xml8
-rw-r--r--app-emacs/template/template-3.1c-r1.ebuild31
-rw-r--r--app-emacs/tempo-snippets/Manifest1
-rw-r--r--app-emacs/tempo-snippets/files/50tempo-snippets-gentoo.el2
-rw-r--r--app-emacs/tempo-snippets/metadata.xml5
-rw-r--r--app-emacs/tempo-snippets/tempo-snippets-0.1.5.ebuild18
-rw-r--r--app-emacs/thinks/Manifest1
-rw-r--r--app-emacs/thinks/files/50thinks-gentoo.el31
-rw-r--r--app-emacs/thinks/metadata.xml5
-rw-r--r--app-emacs/thinks/thinks-1.9.ebuild18
-rw-r--r--app-emacs/thumbs/Manifest1
-rw-r--r--app-emacs/thumbs/files/50thumbs-gentoo.el11
-rw-r--r--app-emacs/thumbs/metadata.xml5
-rw-r--r--app-emacs/thumbs/thumbs-2.0.ebuild20
-rw-r--r--app-emacs/tuareg-mode/Manifest2
-rw-r--r--app-emacs/tuareg-mode/files/50tuareg-mode-gentoo.el6
-rw-r--r--app-emacs/tuareg-mode/metadata.xml15
-rw-r--r--app-emacs/tuareg-mode/tuareg-mode-2.0.7.ebuild20
-rw-r--r--app-emacs/tuareg-mode/tuareg-mode-2.0.8.ebuild20
-rw-r--r--app-emacs/twittering-mode/Manifest2
-rw-r--r--app-emacs/twittering-mode/metadata.xml11
-rw-r--r--app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild43
-rw-r--r--app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild43
-rw-r--r--app-emacs/twittering-mode/twittering-mode-9999.ebuild43
-rw-r--r--app-emacs/typing/Manifest1
-rw-r--r--app-emacs/typing/files/50typing-gentoo.el2
-rw-r--r--app-emacs/typing/metadata.xml5
-rw-r--r--app-emacs/typing/typing-1.1.4.ebuild17
-rw-r--r--app-emacs/uboat/Manifest1
-rw-r--r--app-emacs/uboat/files/50uboat-gentoo.el2
-rw-r--r--app-emacs/uboat/metadata.xml5
-rw-r--r--app-emacs/uboat/uboat-1.2.ebuild18
-rw-r--r--app-emacs/undo-tree/Manifest2
-rw-r--r--app-emacs/undo-tree/files/50undo-tree-gentoo.el3
-rw-r--r--app-emacs/undo-tree/metadata.xml31
-rw-r--r--app-emacs/undo-tree/undo-tree-0.5.2.ebuild23
-rw-r--r--app-emacs/undo-tree/undo-tree-0.6.4.ebuild20
-rw-r--r--app-emacs/uptimes/Manifest1
-rw-r--r--app-emacs/uptimes/files/50uptimes-gentoo.el1
-rw-r--r--app-emacs/uptimes/metadata.xml5
-rw-r--r--app-emacs/uptimes/uptimes-2.3-r2.ebuild20
-rw-r--r--app-emacs/vhdl-mode/Manifest3
-rw-r--r--app-emacs/vhdl-mode/files/50vhdl-mode-gentoo.el3
-rw-r--r--app-emacs/vhdl-mode/files/vhdl-mode-info-dir-gentoo.patch14
-rw-r--r--app-emacs/vhdl-mode/metadata.xml5
-rw-r--r--app-emacs/vhdl-mode/vhdl-mode-3.34.2.ebuild25
-rw-r--r--app-emacs/vhdl-mode/vhdl-mode-3.35.1.ebuild25
-rw-r--r--app-emacs/vhdl-mode/vhdl-mode-3.38.1.ebuild25
-rw-r--r--app-emacs/visual-basic-mode/Manifest1
-rw-r--r--app-emacs/visual-basic-mode/files/50visual-basic-mode-gentoo.el5
-rw-r--r--app-emacs/visual-basic-mode/metadata.xml5
-rw-r--r--app-emacs/visual-basic-mode/visual-basic-mode-1.4.12.ebuild18
-rw-r--r--app-emacs/vm/Manifest2
-rw-r--r--app-emacs/vm/files/50vm-gentoo-8.0.el4
-rw-r--r--app-emacs/vm/files/50vm-gentoo.el2
-rw-r--r--app-emacs/vm/files/vm-8.0-no-pcrisis.patch21
-rw-r--r--app-emacs/vm/files/vm-8.2.0_beta-datadir.patch31
-rw-r--r--app-emacs/vm/files/vm-8.2.0_beta-texinfo-5.patch250
-rw-r--r--app-emacs/vm/metadata.xml18
-rw-r--r--app-emacs/vm/vm-8.1.2.ebuild50
-rw-r--r--app-emacs/vm/vm-8.2.0_beta.ebuild65
-rw-r--r--app-emacs/volume/Manifest1
-rw-r--r--app-emacs/volume/files/50volume-gentoo.el2
-rw-r--r--app-emacs/volume/files/volume-1.0-mode-line.patch14
-rw-r--r--app-emacs/volume/metadata.xml8
-rw-r--r--app-emacs/volume/volume-1.0-r1.ebuild23
-rw-r--r--app-emacs/w3mnav/Manifest1
-rw-r--r--app-emacs/w3mnav/files/75w3mnav-gentoo.el12
-rw-r--r--app-emacs/w3mnav/metadata.xml12
-rw-r--r--app-emacs/w3mnav/w3mnav-0.5-r3.ebuild25
-rw-r--r--app-emacs/wanderlust/Manifest3
-rw-r--r--app-emacs/wanderlust/files/50wanderlust-gentoo.el7
-rw-r--r--app-emacs/wanderlust/files/wanderlust-2.14.0-smtp-end-of-line.patch16
-rw-r--r--app-emacs/wanderlust/files/wanderlust-2.14.0-texinfo-garbage.patch11
-rw-r--r--app-emacs/wanderlust/metadata.xml12
-rw-r--r--app-emacs/wanderlust/wanderlust-2.14.0-r6.ebuild63
-rw-r--r--app-emacs/wanderlust/wanderlust-2.15.9_p20130619.ebuild58
-rw-r--r--app-emacs/wgrep/Manifest1
-rw-r--r--app-emacs/wgrep/files/50wgrep-gentoo.el1
-rw-r--r--app-emacs/wgrep/metadata.xml12
-rw-r--r--app-emacs/wgrep/wgrep-2.1.10.ebuild20
-rw-r--r--app-emacs/whine/Manifest1
-rw-r--r--app-emacs/whine/files/50whine-gentoo.el4
-rw-r--r--app-emacs/whine/metadata.xml12
-rw-r--r--app-emacs/whine/whine-20091222.ebuild17
-rw-r--r--app-emacs/wikipedia-mode/Manifest1
-rw-r--r--app-emacs/wikipedia-mode/files/50wikipedia-mode-gentoo.el7
-rw-r--r--app-emacs/wikipedia-mode/files/wikipedia-mode-0.5-require-outline-magic.patch6
-rw-r--r--app-emacs/wikipedia-mode/metadata.xml15
-rw-r--r--app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild25
-rw-r--r--app-emacs/xclip/Manifest2
-rw-r--r--app-emacs/xclip/files/50xclip-gentoo.el3
-rw-r--r--app-emacs/xclip/metadata.xml5
-rw-r--r--app-emacs/xclip/xclip-1.0.ebuild26
-rw-r--r--app-emacs/xclip/xclip-1.3.ebuild20
-rw-r--r--app-emacs/xrdb-mode/Manifest1
-rw-r--r--app-emacs/xrdb-mode/files/50xrdb-mode-gentoo.el5
-rw-r--r--app-emacs/xrdb-mode/metadata.xml8
-rw-r--r--app-emacs/xrdb-mode/xrdb-mode-3.0.ebuild19
-rw-r--r--app-emacs/xslide/Manifest1
-rw-r--r--app-emacs/xslide/files/50xslide-gentoo.el7
-rw-r--r--app-emacs/xslide/metadata.xml8
-rw-r--r--app-emacs/xslide/xslide-0.2.2.ebuild26
-rw-r--r--app-emacs/yaml-mode/Manifest2
-rw-r--r--app-emacs/yaml-mode/files/50yaml-mode-gentoo.el3
-rw-r--r--app-emacs/yaml-mode/metadata.xml11
-rw-r--r--app-emacs/yaml-mode/yaml-mode-0.0.8.ebuild18
-rw-r--r--app-emacs/yaml-mode/yaml-mode-0.0.9.ebuild19
-rw-r--r--app-emacs/yasnippet/Manifest6
-rw-r--r--app-emacs/yasnippet/files/50yasnippet-gentoo.el4
-rw-r--r--app-emacs/yasnippet/metadata.xml10
-rw-r--r--app-emacs/yasnippet/yasnippet-0.5.10.ebuild48
-rw-r--r--app-emacs/yasnippet/yasnippet-0.6.0c.ebuild47
-rw-r--r--app-emacs/yasnippet/yasnippet-0.6.1c.ebuild47
-rw-r--r--app-emacs/yatex/Manifest2
-rw-r--r--app-emacs/yatex/files/50yatex-gentoo.el15
-rw-r--r--app-emacs/yatex/files/yatex-1.76-direntry.patch60
-rw-r--r--app-emacs/yatex/files/yatex-1.76-gentoo.patch16
-rw-r--r--app-emacs/yatex/files/yatex-1.77-texinfo-5.patch86
-rw-r--r--app-emacs/yatex/metadata.xml13
-rw-r--r--app-emacs/yatex/yatex-1.76.ebuild51
-rw-r--r--app-emacs/yatex/yatex-1.77.ebuild52
-rw-r--r--app-emacs/yc/Manifest1
-rw-r--r--app-emacs/yc/files/50yc-gentoo.el4
-rw-r--r--app-emacs/yc/files/sample.dot.emacs-412
-rw-r--r--app-emacs/yc/files/sample.hosts.canna2
-rw-r--r--app-emacs/yc/metadata.xml6
-rw-r--r--app-emacs/yc/yc-4.0.13.ebuild56
-rw-r--r--app-emacs/zenburn/Manifest1
-rw-r--r--app-emacs/zenburn/files/50zenburn-gentoo.el4
-rw-r--r--app-emacs/zenburn/metadata.xml12
-rw-r--r--app-emacs/zenburn/zenburn-20110907.ebuild29
-rw-r--r--app-emacs/zenirc/Manifest1
-rw-r--r--app-emacs/zenirc/files/50zenirc-gentoo.el2
-rw-r--r--app-emacs/zenirc/metadata.xml15
-rw-r--r--app-emacs/zenirc/zenirc-2.112-r1.ebuild43
892 files changed, 14044 insertions, 0 deletions
diff --git a/app-emacs/actionscript-mode/Manifest b/app-emacs/actionscript-mode/Manifest
new file mode 100644
index 000000000000..bd2e60ef99df
--- /dev/null
+++ b/app-emacs/actionscript-mode/Manifest
@@ -0,0 +1,2 @@
+DIST actionscript-mode-7.2.2_p20120405.tar.gz 8226 SHA256 f752546eab05c5249187b79489b74dcce385f99814b5ec708a1e347aabc154c4 SHA512 79f59b5c6e53d8b7b5a765579629e956a90adadac65c8a46be883cb22813a15437cc63a0ec1a5c9b44e2034284f5d7c4405bbf3670861186f7a85af0a1e720fb WHIRLPOOL fa647438e5d0f7ad6ea6e83d67b42c753430f7d7e8d3217a65b5a0aa0b3a7b3f0b6714b60183f3c6d4d9be09a7ee38acb657d7ded43eebb63ea67d33ddeb9056
+DIST actionscript-mode-7.2.2_p20140605.tar.gz 8276 SHA256 c7131633c05fe78ed4a196b0fa21758bf3748ec03c532f6a5bfb9dfb63d6bb5e SHA512 05a3a0a0bc185bdbc96bf292a220912e8649acd20eb3f55dbfde04cd956da3e4f71daa10957bb2ba6e150589f626ec1059908e3b294a643b4034a6c08e507fb8 WHIRLPOOL bb0673e38c7a5579a1e3a6915f691965d445fa2345de17374d6e35671620986c4b0db09d12ba1afc0c0a54d0e5a3fb7de9459643c0819067cf3a8c3a6e90d0c8
diff --git a/app-emacs/actionscript-mode/actionscript-mode-7.2.2_p20120405.ebuild b/app-emacs/actionscript-mode/actionscript-mode-7.2.2_p20120405.ebuild
new file mode 100644
index 000000000000..c0c1fb9bd867
--- /dev/null
+++ b/app-emacs/actionscript-mode/actionscript-mode-7.2.2_p20120405.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+GITHUB_USER="austinhaas"
+GITHUB_PROJECT="${PN}"
+GITHUB_TAG="aa7e63d566a815152e7e652010becd46a406abb2"
+
+DESCRIPTION="A major mode for GNU Emacs for editing Actionscript 3 files"
+HOMEPAGE="https://github.com/austinhaas/actionscript-mode"
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/${GITHUB_TAG} -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS="README.txt"
+SITEFILE="50${PN}-gentoo.el"
+
+src_unpack() {
+ unpack ${A}
+ mv "${GITHUB_USER}-${GITHUB_PROJECT}"-* ${P} || die
+}
diff --git a/app-emacs/actionscript-mode/actionscript-mode-7.2.2_p20140605.ebuild b/app-emacs/actionscript-mode/actionscript-mode-7.2.2_p20140605.ebuild
new file mode 100644
index 000000000000..da33d39666fa
--- /dev/null
+++ b/app-emacs/actionscript-mode/actionscript-mode-7.2.2_p20140605.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+GITHUB_USER="austinhaas"
+GITHUB_PROJECT="${PN}"
+GITHUB_TAG="6822d0bfd5d7ff2c0b246ca90ef9480d3c528b97"
+
+DESCRIPTION="A major mode for GNU Emacs for editing Actionscript 3 files"
+HOMEPAGE="https://github.com/austinhaas/actionscript-mode"
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/${GITHUB_TAG} -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS="README.txt"
+SITEFILE="50${PN}-gentoo.el"
+
+src_unpack() {
+ unpack ${A}
+ mv "${GITHUB_USER}-${GITHUB_PROJECT}"-* ${P} || die
+}
diff --git a/app-emacs/actionscript-mode/files/50actionscript-mode-gentoo.el b/app-emacs/actionscript-mode/files/50actionscript-mode-gentoo.el
new file mode 100644
index 000000000000..7b6ca265923d
--- /dev/null
+++ b/app-emacs/actionscript-mode/files/50actionscript-mode-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'actionscript-mode "actionscript-mode"
+ "Major mode for editing Actionscript files." t)
+(add-to-list 'auto-mode-alist '("\\.as\\'" . actionscript-mode))
+(eval-after-load "actionscript-mode" '(load "actionscript-config"))
diff --git a/app-emacs/actionscript-mode/metadata.xml b/app-emacs/actionscript-mode/metadata.xml
new file mode 100644
index 000000000000..e6ac0b24adb7
--- /dev/null
+++ b/app-emacs/actionscript-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="github">austinhaas/actionscript-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/analog/Manifest b/app-emacs/analog/Manifest
new file mode 100644
index 000000000000..7eda8285e1f0
--- /dev/null
+++ b/app-emacs/analog/Manifest
@@ -0,0 +1 @@
+DIST analog-1.9.99.el.bz2 9626 SHA256 22c2744c29e7bda90203d014bb2caa234b66561f65e4fd4b602e374ad819e43e SHA512 c4ce5dcce93805cf4cbcd3316f044485adaa36e6479956f2a87c8bb6a6c1522e46a60cb8ef5a4bb3fd6a60187c4ed6760f74afe870c7491ba5c3e760ae2d6cc0 WHIRLPOOL fdc9aef16620ed7ee7b29d90dd54993361e6958b59201ed4637ae479096ca1631aed86de039961b45589a0ed27ba36441e916bcf35e9fdb2d8cbce208109cda2
diff --git a/app-emacs/analog/analog-1.9.99.ebuild b/app-emacs/analog/analog-1.9.99.ebuild
new file mode 100644
index 000000000000..185f4dc106d4
--- /dev/null
+++ b/app-emacs/analog/analog-1.9.99.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Monitor lists of files or command output"
+HOMEPAGE="http://mph-emacs-pkgs.alioth.debian.org/AnalogEl.html"
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/analog/files/50analog-gentoo.el b/app-emacs/analog/files/50analog-gentoo.el
new file mode 100644
index 000000000000..8dbac8378c82
--- /dev/null
+++ b/app-emacs/analog/files/50analog-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'analog "analog" "Start analog mode" t)
diff --git a/app-emacs/analog/metadata.xml b/app-emacs/analog/metadata.xml
new file mode 100644
index 000000000000..a055ee9b776d
--- /dev/null
+++ b/app-emacs/analog/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ Emacs mode to monitor lists of files or command output.
+
+ Features:
+ * Monitor files or the output from commands.
+ * Filter or highlight using regular expressions (regexps).
+ * Collect entries into groups.
+ * Easily visit files or view the complete output for commands.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/anything/Manifest b/app-emacs/anything/Manifest
new file mode 100644
index 000000000000..cdc44b832a14
--- /dev/null
+++ b/app-emacs/anything/Manifest
@@ -0,0 +1 @@
+DIST anything-1.3.2.tar.gz 2165646 SHA256 32a27ebd15ef4006af8f86957f541411e4567e9af716288252574c9422045e31 SHA512 aeeecb6ab9991e3b230005e0f7328cc436b0a3508001c18d46137b8bb6e1883308d2e0af25a57e92a8b980fa119fd7eb094d3f4abacc3f0b9a0a9c409b623960 WHIRLPOOL cc70c54c661d183e4ff7c487302f80af59df08335973126d19a5138bbdafa534be456d1edf0336dd78afd3bd3a5229e304c5c91391ea6cb109528b5414cc44fe
diff --git a/app-emacs/anything/anything-1.3.2.ebuild b/app-emacs/anything/anything-1.3.2.ebuild
new file mode 100644
index 000000000000..747646cec876
--- /dev/null
+++ b/app-emacs/anything/anything-1.3.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Open anything - QuickSilver-like candidate-selection framework"
+HOMEPAGE="http://www.emacswiki.org/emacs/Anything"
+# snapshot from http://repo.or.cz/w/anything-config.git
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="extensions"
+
+S="${WORKDIR}/anything-config"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ elisp-compile *.el || die
+ elisp-make-autoload-file || die
+
+ if use extensions; then
+ BYTECOMPFLAGS="-L . -L extensions" elisp-compile extensions/*.el || die
+ fi
+}
+
+src_install() {
+ elisp-install ${PN} *.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+
+ if use extensions; then
+ elisp-install ${PN} extensions/*.{el,elc} || die
+ fi
+
+ dodoc README doc/anything.pdf
+}
diff --git a/app-emacs/anything/files/50anything-gentoo.el b/app-emacs/anything/files/50anything-gentoo.el
new file mode 100644
index 000000000000..5ae22f3a672b
--- /dev/null
+++ b/app-emacs/anything/files/50anything-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "@SITELISP@/anything-autoloads" nil t)
diff --git a/app-emacs/anything/metadata.xml b/app-emacs/anything/metadata.xml
new file mode 100644
index 000000000000..1574e79ead43
--- /dev/null
+++ b/app-emacs/anything/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<use>
+ <flag name='extensions'>Install optional extensions</flag>
+</use>
+</pkgmetadata>
diff --git a/app-emacs/apache-mode/Manifest b/app-emacs/apache-mode/Manifest
new file mode 100644
index 000000000000..c816fc2bbe22
--- /dev/null
+++ b/app-emacs/apache-mode/Manifest
@@ -0,0 +1 @@
+DIST apache-mode-1.1.el.gz 3468 SHA256 1e3e708700f187d8a6a1c3638d80f8b9a8b0e0310fd30e0cbfd5f785e350e887 SHA512 4eb42a0b4db847026832f14473dfc6cfea6c436eaed5a52c2ca3ba27cc89b0b36b0e7be1472048e1c559f3b5d5a5e7e85b9e2cb9c5563bf781f241b540e141f1 WHIRLPOOL 77a2098df3015411ac688a97d387d70355510d4686bd6d0bd2424e77f586d6842d85e5ef3bbe933925718cab0622c4496f3470c46b0bae0f535d344976e1974f
diff --git a/app-emacs/apache-mode/apache-mode-1.1.ebuild b/app-emacs/apache-mode/apache-mode-1.1.ebuild
new file mode 100644
index 000000000000..9928888ce3ce
--- /dev/null
+++ b/app-emacs/apache-mode/apache-mode-1.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Major mode for editing Apache configuration files"
+HOMEPAGE="http://www.keelhaul.me.uk/linux/#apachemode"
+SRC_URI="mirror://gentoo/${P}.el.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/apache-mode/files/50apache-mode-gentoo.el b/app-emacs/apache-mode/files/50apache-mode-gentoo.el
new file mode 100644
index 000000000000..c8ceb9f8c080
--- /dev/null
+++ b/app-emacs/apache-mode/files/50apache-mode-gentoo.el
@@ -0,0 +1,8 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'apache-mode "apache-mode" "autoloaded" t)
+(add-to-list 'auto-mode-alist '("\\.htaccess$" . apache-mode))
+(add-to-list 'auto-mode-alist '("httpd\\.conf$" . apache-mode))
+(add-to-list 'auto-mode-alist '("srm\\.conf$" . apache-mode))
+(add-to-list 'auto-mode-alist '("access\\.conf$" . apache-mode))
+(add-to-list 'auto-mode-alist '("apache[12]\?\\.conf$" . apache-mode))
+(add-to-list 'auto-mode-alist '("commonapache[12]\?\\.conf$" . apache-mode))
diff --git a/app-emacs/apache-mode/metadata.xml b/app-emacs/apache-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/apache-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/apel/Manifest b/app-emacs/apel/Manifest
new file mode 100644
index 000000000000..6a4f82134f2d
--- /dev/null
+++ b/app-emacs/apel/Manifest
@@ -0,0 +1,2 @@
+DIST apel-10.8-030_Use-new-style-backquotes.patch.gz 7869 SHA256 064edbe19f90e884ea2f5b64479e4498afacbb8d550c3882a4626bdf10a1bc98 SHA512 4074dc612feb2d63637bea2e9303423d4e9e035fad7f440d2da5331a6adc08f5ec61abb5087c2c4c72ec8931d1ccc4db3ffd061bcf3150d20c222c8df2e0b274 WHIRLPOOL f9bf88d85c5cdc8164bc0778bc5275c4e6c494f5927d11bcdf008851d7e2e70c32a3430a936abecc0239da1cf4a9b4a295ff7f4184a488462750f1dd8ac89363
+DIST apel-10.8.tar.gz 126326 SHA256 a511cc36bb51dc32b4915c9e03c67a994060b3156ceeab6fafa0be7874b9ccfe SHA512 39f13f15ec0a078d8f8dfe797899474cf4dfeb0bf7b8432a0c05bb38cf134d805c171a66b3d3efd074fbf294d68006d1e1d49903e45f1991d79cdcb4cca4aa9d WHIRLPOOL d222d3a477430b63e9a383a888fad0bc1871942830f462f505090495740028e517eac4052a72d0c00ea947308a6d75c0cade8ca12f76a81bd58f4643bf72f87d
diff --git a/app-emacs/apel/apel-10.8-r1.ebuild b/app-emacs/apel/apel-10.8-r1.ebuild
new file mode 100644
index 000000000000..2753f901a1d3
--- /dev/null
+++ b/app-emacs/apel/apel-10.8-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="A Portable Emacs Library is a library for making portable Emacs Lisp programs"
+HOMEPAGE="http://cvs.m17n.org/elisp/APEL/"
+SRC_URI="ftp://ftp.jpl.org/pub/elisp/apel/${P}.tar.gz
+ http://dev.gentoo.org/~gienah/2big4tree/app-emacs/${PN}/${PN}-10.8-030_Use-new-style-backquotes.patch.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
+IUSE=""
+
+ELISP_PATCHES="${PN}-10.8-020_Prevent-fontset-error.patch
+ ${PN}-10.8-030_Use-new-style-backquotes.patch
+ ${PN}-10.8-010_ikazuhiro.patch
+ ${PN}-10.8-040_make-temp-file-for-Emacs-24.3.50.patch"
+
+src_prepare() {
+ elisp_src_prepare
+ cat <<-EOF >> APEL-CFG
+ (setq APEL_PREFIX "apel")
+ (setq EMU_PREFIX "apel")
+ EOF
+}
+
+src_compile() {
+ emake PREFIX="${ED}/usr" \
+ LISPDIR="${ED}/${SITELISP}" \
+ VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}"
+}
+
+src_install() {
+ emake PREFIX="${ED}/usr" \
+ LISPDIR="${ED}/${SITELISP}" \
+ VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}" \
+ install
+ elisp-site-file-install "${FILESDIR}/50apel-gentoo.el"
+ dodoc ChangeLog README*
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "See the README.en file in /usr/share/doc/${PF} for tips"
+ elog "on how to customize this package."
+ elog "And you need to rebuild packages depending on ${PN}."
+}
diff --git a/app-emacs/apel/files/50apel-gentoo.el b/app-emacs/apel/files/50apel-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/apel/files/50apel-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/apel/files/apel-10.8-010_ikazuhiro.patch b/app-emacs/apel/files/apel-10.8-010_ikazuhiro.patch
new file mode 100644
index 000000000000..558939dee9fc
--- /dev/null
+++ b/app-emacs/apel/files/apel-10.8-010_ikazuhiro.patch
@@ -0,0 +1,189 @@
+--- apel-10.8-orig/ChangeLog 2013-10-03 18:17:05.176741628 +1000
++++ apel-10.8/ChangeLog 2013-10-03 18:16:54.442741731 +1000
+@@ -1,3 +1,56 @@
++2013-07-05 Tatsuya Kinoshita <tats@vega.ocn.ne.jp>
++
++ * mcs-20.el: Really check whether the mule-vesion variable is defined.
++
++2013-07-04 Kazuhiro Ito <kzhr@d1.dion.ne.jp>
++
++ * mcs-20.el: Check whether the mule-vesion variable is defined.
++ Cf. https://github.com/ikazuhiro/apel/commit/328c02e022340b36dd7e5f9250c7f86d2bafd793
++
++2013-03-24 Kazuhiro Ito <kzhr@d1.dion.ne.jp>
++
++ * mcs-20.el (mime-charset-to-coding-system): Display the message
++ and use charset name as coding system when
++ `mime-charset-coding-system-alist' indicates invalid coding
++ system.
++
++2012-09-07 Kazuhiro Ito <kzhr@d1.dion.ne.jp>
++
++ * mcs-e20.el (coding-system-to-mime-charset): Coding system's
++ setting is preferred to mime-charset-coding-system-alist's value.
++ Detect MIME name from mime-charset-coding-system-alist's value
++ more permissively.
++
++2012-08-08 Kazuhiro Ito <kzhr@d1.dion.ne.jp>
++
++ * poe.el (next-command-event): Fix that Emacs 21 and later were
++ treated as 'Emacs 19, 20.1 and 20.2'.
++
++2012-07-28 Kazuhiro Ito <kzhr@d1.dion.ne.jp>
++
++ * mcs-e20.el (charsets-mime-charset-alist): Do not use
++ `iso-2022-jp-2'.
++
++2012-07-28 Kazuhiro Ito <kzhr@d1.dion.ne.jp>
++
++ * mcs-20.el (detect-mime-charset-string): (Emacs23 and later) New
++ function.
++ (detect-mime-charset-region): Use it.
++
++2011-06-17 Kazuhiro Ito <kzhr@d1.dion.ne.jp>
++
++ * mcs-20.el (detect-mime-charset-region): (Emacs23 and later) Do
++ not check whether `charsets-mime-charset-alist' contains non
++ charset symbol.
++
++ * mcs-e20.el (charsets-mime-charset-alist): Remove non charset
++ symbol for Emacs 23 and later.
++
++2010-03-19 Kazuhiro Ito <kzhr@d1.dion.ne.jp>
++
++ * mcs-20.el (detect-mime-charset-region): Do not care priority of
++ charsets on Emacs 23 and later.
++
+ 2011-07-17 David Maus <dmaus@ictsoc.de>
+
+ * tinycustom.el (defcustom): Use new style backquotes.
+--- apel-10.8-orig/mcs-20.el 2005-07-06 12:08:52.000000000 +1000
++++ apel-10.8/mcs-20.el 2013-10-03 17:44:42.936760151 +1000
+@@ -84,11 +84,13 @@
+ (if (stringp charset)
+ (setq charset (intern (downcase charset)))
+ )
+- (let ((cs (assq charset mime-charset-coding-system-alist)))
+- (setq cs
+- (if cs
+- (cdr cs)
+- charset))
++ (let ((cs (cdr (assq charset mime-charset-coding-system-alist))))
++ (unless (or (null cs) (find-coding-system cs))
++ (message
++ "Invalid coding system: %s. Confirm mime-charset-coding-system-alist."
++ cs)
++ (setq cs nil))
++ (unless cs (setq cs charset))
+ (if lbt
+ (setq cs (intern (format "%s-%s" cs
+ (cond ((eq lbt 'CRLF) 'dos)
+@@ -96,12 +98,11 @@
+ ((eq lbt 'CR) 'mac)
+ (t lbt)))))
+ )
+- (if (find-coding-system cs)
+- cs
+- (if mime-charset-to-coding-system-default-method
+- (funcall mime-charset-to-coding-system-default-method
+- charset lbt cs)
+- ))))
++ (or (find-coding-system cs)
++ (if mime-charset-to-coding-system-default-method
++ (funcall mime-charset-to-coding-system-default-method
++ charset lbt cs)
++ ))))
+
+ (defalias 'mime-charset-p 'mime-charset-to-coding-system)
+
+@@ -209,6 +210,34 @@
+ (setq rest (cdr rest)))
+ default-mime-charset-for-write)))
+ )
++
++((eval-when-compile (and (boundp 'mule-version)
++ (null (string< mule-version "6.0"))))
++;; for Emacs 23 and later
++(defun detect-mime-charset-string (string)
++ "Return MIME charset for STRING."
++ (let ((src (string-to-list string))
++ tmp)
++ (setq tmp src)
++ ;; Uniquify the list of characters.
++ (while tmp
++ (setq tmp (setcdr tmp (delq (car tmp) (cdr tmp)))))
++ ;; Detect charset from the list of characters.
++ (catch 'found
++ (mapc (lambda (cons)
++ (catch 'next
++ (mapc (lambda (ch) (unless (char-charset ch (car cons))
++ (throw 'next nil)))
++ src)
++ (throw 'found (cdr cons))))
++ charsets-mime-charset-alist)
++ default-mime-charset-for-write)))
++
++(defsubst detect-mime-charset-region (start end)
++ "Return MIME charset for region between START and END."
++ (detect-mime-charset-string
++ (buffer-substring-no-properties start end))))
++
+ (t
+ ;; for legacy Mule
+ (defun detect-mime-charset-region (start end)
+--- apel-10.8-orig/mcs-e20.el 2005-07-06 12:08:52.000000000 +1000
++++ apel-10.8/mcs-e20.el 2013-10-03 17:44:42.936760151 +1000
+@@ -90,11 +90,15 @@
+ ((ascii korean-ksc5601) . euc-kr)
+ ((ascii chinese-gb2312) . gb2312)
+ ((ascii chinese-big5-1 chinese-big5-2) . big5)
+- ((ascii thai-tis620 composition) . tis-620)
+- ((ascii latin-iso8859-1 greek-iso8859-7
+- latin-jisx0201 japanese-jisx0208-1978
+- chinese-gb2312 japanese-jisx0208
+- korean-ksc5601 japanese-jisx0212) . iso-2022-jp-2)
++ ,(static-cond
++ ((null (string< mule-version "6.0"))
++ '((ascii thai-tis620) . tis-620))
++ (t
++ '((ascii thai-tis620 composition) . tis-620)))
++ ;; ((ascii latin-iso8859-1 greek-iso8859-7
++ ;; latin-jisx0201 japanese-jisx0208-1978
++ ;; chinese-gb2312 japanese-jisx0208
++ ;; korean-ksc5601 japanese-jisx0212) . iso-2022-jp-2)
+ ;;((ascii latin-iso8859-1 greek-iso8859-7
+ ;; latin-jisx0201 japanese-jisx0208-1978
+ ;; chinese-gb2312 japanese-jisx0208
+@@ -119,8 +123,16 @@
+ (defun coding-system-to-mime-charset (coding-system)
+ "Convert CODING-SYSTEM to a MIME-charset.
+ Return nil if corresponding MIME-charset is not found."
+- (or (car (rassq coding-system mime-charset-coding-system-alist))
+- (coding-system-get coding-system 'mime-charset)
++ (or (coding-system-get coding-system 'mime-charset)
++ (let ((coding (coding-system-base coding-system))
++ (alist mime-charset-coding-system-alist)
++ result)
++ (while alist
++ (if (eq (coding-system-base (cdar alist)) coding)
++ (setq result (caar alist)
++ alist nil)
++ (setq alist (cdr alist))))
++ result)
+ ))
+
+ (defun-maybe-cond mime-charset-list ()
+--- apel-10.8-orig/poe.el 2013-10-03 17:43:11.327761025 +1000
++++ apel-10.8/poe.el 2013-10-03 17:44:42.937760151 +1000
+@@ -1996,8 +1996,9 @@
+ returned.
+ If PROMPT is non-nil, it should be a string and will be displayed in
+ the echo area while this function is waiting for an event."
+- ((and (>= emacs-major-version 20)
+- (>= emacs-minor-version 4))
++ ((or (>= emacs-major-version 21)
++ (and (>= emacs-major-version 20)
++ (>= emacs-minor-version 4)))
+ ;; Emacs 20.4 and later.
+ (read-event prompt)) ; should specify 2nd arg?
+ ((and (= emacs-major-version 20)
diff --git a/app-emacs/apel/files/apel-10.8-020_Prevent-fontset-error.patch b/app-emacs/apel/files/apel-10.8-020_Prevent-fontset-error.patch
new file mode 100644
index 000000000000..9cea1e675276
--- /dev/null
+++ b/app-emacs/apel/files/apel-10.8-020_Prevent-fontset-error.patch
@@ -0,0 +1,32 @@
+Description: Prevent an error of fontset-pixel-size for Emacs 23.
+Bug-Debian: http://bugs.debian.org/477177
+Author: Tatsuya Kinoshita <tats@debian.org>
+
+--- a/ChangeLog
++++ b/ChangeLog
+@@ -0,0 +1,5 @@
++2010-02-14 Tatsuya Kinoshita <tats@vega.ocn.ne.jp>
++
++ * poem-e20.el (fontset-pixel-size): Don't cause an error. Workaround
++ for Emacs 23.
++
+--- a/poem-e20.el
++++ b/poem-e20.el
+@@ -25,6 +25,7 @@
+ ;;; Code:
+
+ (defun fontset-pixel-size (fontset)
++ (condition-case nil
+ (let* ((info (fontset-info fontset))
+ (height (aref info 1))
+ )
+@@ -32,7 +33,8 @@
+ ((string-match "-\\([0-9]+\\)-" fontset)
+ (string-to-number
+ (substring fontset (match-beginning 1)(match-end 1))))
+- (t 0))))
++ (t 0)))
++ (error 0)))
+
+
+ ;;; @ character set
diff --git a/app-emacs/apel/files/apel-10.8-040_make-temp-file-for-Emacs-24.3.50.patch b/app-emacs/apel/files/apel-10.8-040_make-temp-file-for-Emacs-24.3.50.patch
new file mode 100644
index 000000000000..30b0abc8ef77
--- /dev/null
+++ b/app-emacs/apel/files/apel-10.8-040_make-temp-file-for-Emacs-24.3.50.patch
@@ -0,0 +1,27 @@
+Subject: Fix wrong type argument on Emacs 24.3.50 to check make-temp-file
+From: Tatsuya Kinoshita <tats@debian.org>
+Bug-Debian: http://bugs.debian.org/718765
+
+diff --git a/ChangeLog b/ChangeLog
+index 8e96224..9505b2e 100644
+--- a/ChangeLog
++++ b/ChangeLog
+@@ -0,0 +1,5 @@
++2013-08-05 Tatsuya Kinoshita <tats@vega.ocn.ne.jp>
++
++ * poe.el: Fix wrong type argument on Emacs 24.3.50 to check
++ `make-temp-file'.
++
+diff --git a/poe.el b/poe.el
+index be52847..b381f90 100644
+--- a/poe.el
++++ b/poe.el
+@@ -1667,7 +1667,7 @@ See `walk-windows' for the meaning of MINIBUF and FRAME."
+ )))
+ ;; arglist: (prefix &optional dir-flag suffix)
+ (cond
+- ((not arglist)
++ ((or (not arglist) (not (listp arglist)))
+ ;; `make-temp-file' is a built-in; expects 3-args.
+ (put 'make-temp-file 'defun-maybe '3-args))
+ ((> (length arglist) 3)
diff --git a/app-emacs/apel/metadata.xml b/app-emacs/apel/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/apel/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/auctex/Manifest b/app-emacs/auctex/Manifest
new file mode 100644
index 000000000000..3a7740145e03
--- /dev/null
+++ b/app-emacs/auctex/Manifest
@@ -0,0 +1,2 @@
+DIST auctex-11.87.tar.gz 1206073 SHA256 63d57229e585dbf727f5545337615b997488bfdf475274da0718c90b77bd5cf2 SHA512 41a575a36ef2c111f214ad2e87a06c246751859a14ad3f8af77aaf180d8357a4c8d44c2f344b673404d2e011cdf4a193abda93f1b26ffff663f310ed430c5fa1 WHIRLPOOL d3bee56c1b940a2eb041a5b3b6e5ffe876b740e97c5793dd9295b42723abb5febd1fc40d9a0007df5d63f00547a5a59202eca2c102dfb878924ac07dac504eb0
+DIST auctex-11.88.tar.gz 1302836 SHA256 716867d5fbcc5c67cca781d7c1984e6a3a6d5da056ec3b4f35170805bf4dc83f SHA512 30c422b52b3fc698e453ada9643038dd30978f6b1a99f5118a53ae5b939d63246adcb1937f0e5c4cf166477dca78fa17d721402a90c833c9e91d75072ae0f67d WHIRLPOOL fa348913637bf6062184873f50c6988aa1afdd7e4a456acfb139d704de9769480503e796716a632e9769f7d3f68d70e6e42a739ae8742857fcf6390baec156d6
diff --git a/app-emacs/auctex/auctex-11.87-r1.ebuild b/app-emacs/auctex/auctex-11.87-r1.ebuild
new file mode 100644
index 000000000000..b34bea9c0cc4
--- /dev/null
+++ b/app-emacs/auctex/auctex-11.87-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp latex-package
+
+DESCRIPTION="Extended support for writing, formatting and using (La)TeX, Texinfo and BibTeX files"
+HOMEPAGE="http://www.gnu.org/software/auctex/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+ FDL-1.3+"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
+IUSE="preview-latex"
+
+DEPEND="virtual/latex-base
+ preview-latex? (
+ app-text/dvipng
+ app-text/ghostscript-gpl
+ )"
+RDEPEND="${DEPEND}"
+
+ELISP_PATCHES="${P}-jit-lock.patch"
+TEXMF="/usr/share/texmf-site"
+
+src_prepare() {
+ elisp_src_prepare
+}
+
+src_configure() {
+ EMACS_NAME=emacs EMACS_FLAVOR=emacs econf --disable-build-dir-test \
+ --with-auto-dir="${EPREFIX}/var/lib/auctex" \
+ --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ --with-packagelispdir="${EPREFIX}${SITELISP}/${PN}" \
+ --with-packagedatadir="${EPREFIX}${SITEETC}/${PN}" \
+ --with-texmf-dir="${EPREFIX}${TEXMF}" \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ $(use_enable preview-latex preview)
+}
+
+src_compile() {
+ export VARTEXFONTS="${T}"/fonts
+ emake
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install
+ elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" || die
+ if use preview-latex; then
+ elisp-site-file-install "${FILESDIR}/60${PN}-gentoo.el" || die
+ fi
+ dodoc ChangeLog CHANGES FAQ INSTALL README RELEASE TODO
+}
+
+pkg_postinst() {
+ # rebuild TeX-inputfiles-database
+ use preview-latex && latex-package_pkg_postinst
+ elisp-site-regen
+}
+
+pkg_postrm(){
+ use preview-latex && latex-package_pkg_postrm
+ elisp-site-regen
+}
diff --git a/app-emacs/auctex/auctex-11.88.ebuild b/app-emacs/auctex/auctex-11.88.ebuild
new file mode 100644
index 000000000000..88abd2317690
--- /dev/null
+++ b/app-emacs/auctex/auctex-11.88.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp latex-package
+
+DESCRIPTION="Extended support for writing, formatting and using (La)TeX, Texinfo and BibTeX files"
+HOMEPAGE="http://www.gnu.org/software/auctex/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+ FDL-1.3+"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
+IUSE="preview-latex"
+
+DEPEND="virtual/latex-base
+ preview-latex? (
+ app-text/dvipng
+ app-text/ghostscript-gpl
+ )"
+RDEPEND="${DEPEND}"
+
+TEXMF="/usr/share/texmf-site"
+
+src_prepare() {
+ elisp_src_prepare
+}
+
+src_configure() {
+ EMACS_NAME=emacs EMACS_FLAVOR=emacs econf --disable-build-dir-test \
+ --with-auto-dir="${EPREFIX}/var/lib/auctex" \
+ --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ --with-packagelispdir="${EPREFIX}${SITELISP}/${PN}" \
+ --with-packagedatadir="${EPREFIX}${SITEETC}/${PN}" \
+ --with-texmf-dir="${EPREFIX}${TEXMF}" \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ $(use_enable preview-latex preview)
+}
+
+src_compile() {
+ export VARTEXFONTS="${T}"/fonts
+ emake
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install
+ elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el"
+ if use preview-latex; then
+ elisp-site-file-install "${FILESDIR}/60${PN}-gentoo.el"
+ fi
+ dodoc ChangeLog CHANGES FAQ INSTALL PROBLEMS.preview README RELEASE TODO
+}
+
+pkg_postinst() {
+ # rebuild TeX-inputfiles-database
+ use preview-latex && latex-package_pkg_postinst
+ elisp-site-regen
+}
+
+pkg_postrm(){
+ use preview-latex && latex-package_pkg_postrm
+ elisp-site-regen
+}
diff --git a/app-emacs/auctex/files/50auctex-gentoo.el b/app-emacs/auctex/files/50auctex-gentoo.el
new file mode 100644
index 000000000000..ad4377967194
--- /dev/null
+++ b/app-emacs/auctex/files/50auctex-gentoo.el
@@ -0,0 +1,8 @@
+
+;;; auctex site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(require 'tex-site)
+
+;; detect needed steps after rebuild
+(setq TeX-parse-self t)
diff --git a/app-emacs/auctex/files/60auctex-gentoo.el b/app-emacs/auctex/files/60auctex-gentoo.el
new file mode 100644
index 000000000000..93b601b29769
--- /dev/null
+++ b/app-emacs/auctex/files/60auctex-gentoo.el
@@ -0,0 +1,4 @@
+
+;;; auctex site-lisp configuration, activating preview-latex
+
+(load "preview-latex.el" nil t t)
diff --git a/app-emacs/auctex/files/auctex-11.87-jit-lock.patch b/app-emacs/auctex/files/auctex-11.87-jit-lock.patch
new file mode 100644
index 000000000000..5063a2f8d408
--- /dev/null
+++ b/app-emacs/auctex/files/auctex-11.87-jit-lock.patch
@@ -0,0 +1,31 @@
+commit 5b5ef6eeb0468c273a329a05d31b3788fd46b5d7
+Author: Mosè Giordano <giordano.mose@libero.it>
+Date: Sun May 12 12:01:37 2013 +0200
+
+ Temporary fix for font-latex-jit-lock-force-redisplay.
+
+ * font-latex.el (font-latex-jit-lock-force-redisplay): Don't rely
+ on existing `jit-lock-force-redisplay' because recent bzr Emacs
+ broke compatibility changing the number of arguments. Reported by
+ Robert Goldman.
+
+--- auctex-11.87-orig/font-latex.el
++++ auctex-11.87/font-latex.el
+@@ -1220,8 +1220,6 @@
+
+ (defun font-latex-jit-lock-force-redisplay (buf start end)
+ "Compatibility for Emacsen not offering `jit-lock-force-redisplay'."
+- (if (fboundp 'jit-lock-force-redisplay)
+- (jit-lock-force-redisplay buf start end)
+ ;; The following block is an expansion of `jit-lock-force-redisplay'
+ ;; and involved macros taken from CVS Emacs on 2007-04-28.
+ (with-current-buffer buf
+@@ -1236,7 +1234,7 @@
+ buffer-file-truename)
+ (put-text-property start end 'fontified t))
+ (unless modified
+- (restore-buffer-modified-p nil)))))))
++ (restore-buffer-modified-p nil))))))
+
+ (defun font-latex-fontify-region (beg end &optional loudly)
+ "Fontify region from BEG to END.
diff --git a/app-emacs/auctex/metadata.xml b/app-emacs/auctex/metadata.xml
new file mode 100644
index 000000000000..f36206c93577
--- /dev/null
+++ b/app-emacs/auctex/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<herd>tex</herd>
+<longdescription>
+ AUCTeX is an extensible package for writing and formatting TeX files
+ in GNU Emacs and XEmacs. It supports many different TeX macro packages,
+ including AMS-TeX, LaTeX, Texinfo, ConTeXt, and docTeX (dtx files).
+
+ AUCTeX includes preview-latex which makes LaTeX a tightly integrated
+ component of your editing workflow by visualizing selected source chunks
+ (such as single formulas or graphics) directly as images in the source
+ buffer.
+</longdescription>
+<use>
+ <flag name='preview-latex'>Use bundled preview-latex</flag>
+</use>
+</pkgmetadata>
diff --git a/app-emacs/auto-complete/Manifest b/app-emacs/auto-complete/Manifest
new file mode 100644
index 000000000000..c11db0c5c2d5
--- /dev/null
+++ b/app-emacs/auto-complete/Manifest
@@ -0,0 +1 @@
+DIST auto-complete-1.3.1.tar.bz2 155081 SHA256 9266b66be840582d1ce304a2c17eb63d2f4422cb6e69952be5f0b20baeeb9888 SHA512 5b82120f8faf1ee4ff139f4fbacb894fa0bf617b9a0aaebb5a0d672a6f90cb01bc35f0c99cebe2bef55cb7a6af6ce03936a7226c89e3c79248aacf4ae554fb7b WHIRLPOOL df05e94eaa75b0a326da8653202a8d7b607b8f7ebd8f252727e164d98e05d5d1b5cbd0396b7028f4fd16c6b3ad6a42a379c2ad4df0ae309ce4c0b50e1dd7683e
diff --git a/app-emacs/auto-complete/auto-complete-1.3.1.ebuild b/app-emacs/auto-complete/auto-complete-1.3.1.ebuild
new file mode 100644
index 000000000000..ae54fbcfcc47
--- /dev/null
+++ b/app-emacs/auto-complete/auto-complete-1.3.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Auto-complete package"
+HOMEPAGE="http://cx4a.org/software/auto-complete/
+ http://github.com/m2ym/auto-complete/"
+SRC_URI="http://cx4a.org/pub/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3+ FDL-1.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="linguas_ja"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_install() {
+ elisp_src_install
+
+ # install dictionaries
+ insinto "${SITEETC}/${PN}"
+ doins -r dict
+
+ dodoc README.txt TODO.txt etc/test.txt
+ cd doc
+ dodoc index.txt manual.txt demo.txt changes.txt *.png
+ if use linguas_ja; then
+ dodoc index.ja.txt manual.ja.txt changes.ja.txt
+ fi
+}
diff --git a/app-emacs/auto-complete/files/50auto-complete-gentoo.el b/app-emacs/auto-complete/files/50auto-complete-gentoo.el
new file mode 100644
index 000000000000..c380d11b3a1e
--- /dev/null
+++ b/app-emacs/auto-complete/files/50auto-complete-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'auto-complete-mode "auto-complete" "AutoComplete mode" t)
+(setq ac-dictionary-directories "@SITEETC@/dict")
diff --git a/app-emacs/auto-complete/metadata.xml b/app-emacs/auto-complete/metadata.xml
new file mode 100644
index 000000000000..8ad6abfbb6ee
--- /dev/null
+++ b/app-emacs/auto-complete/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="github">m2ym/auto-complete</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/autoconf-mode/Manifest b/app-emacs/autoconf-mode/Manifest
new file mode 100644
index 000000000000..66c412b7009e
--- /dev/null
+++ b/app-emacs/autoconf-mode/Manifest
@@ -0,0 +1 @@
+DIST autoconf-2.69.tar.xz 1214744 SHA256 64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684 SHA512 995d3e5a8eb1eb37e2b7fae53c6ec7a9b4df997286b7d643344818f94636756b1bf5ff5ea9155e755cb9461149a853dfbf2886fc6bd7132e5afa9c168e306e9b WHIRLPOOL 9d806d685b9951acb15ab837b08437a6632f0907f105057e84ba3e0d99539371c32153333f459f04fb537cbb96a80e4418937e937381aec677b319ad667f7918
diff --git a/app-emacs/autoconf-mode/autoconf-mode-2.69.ebuild b/app-emacs/autoconf-mode/autoconf-mode-2.69.ebuild
new file mode 100644
index 000000000000..c3c48a482ed0
--- /dev/null
+++ b/app-emacs/autoconf-mode/autoconf-mode-2.69.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Emacs major modes for editing autoconf and autotest input"
+HOMEPAGE="http://www.gnu.org/software/autoconf/autoconf.html"
+SRC_URI="mirror://gnu/autoconf/autoconf-${PV}.tar.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
+
+SITEFILE="50${PN}-gentoo.el"
+S="${WORKDIR}/autoconf-${PV}/lib/emacs"
diff --git a/app-emacs/autoconf-mode/files/50autoconf-mode-gentoo.el b/app-emacs/autoconf-mode/files/50autoconf-mode-gentoo.el
new file mode 100644
index 000000000000..5844902596ee
--- /dev/null
+++ b/app-emacs/autoconf-mode/files/50autoconf-mode-gentoo.el
@@ -0,0 +1,9 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'autoconf-mode "autoconf-mode"
+ "Major mode for editing autoconf files." t)
+(autoload 'autotest-mode "autotest-mode"
+ "Major mode for editing autotest files." t)
+(add-to-list 'auto-mode-alist
+ '("\\.ac\\'\\|configure\\.in\\'" . autoconf-mode))
+(add-to-list 'auto-mode-alist
+ '("\\.at\\'" . autotest-mode))
diff --git a/app-emacs/autoconf-mode/metadata.xml b/app-emacs/autoconf-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/autoconf-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/bbdb/Manifest b/app-emacs/bbdb/Manifest
new file mode 100644
index 000000000000..0d9a043453bf
--- /dev/null
+++ b/app-emacs/bbdb/Manifest
@@ -0,0 +1,4 @@
+DIST bbdb-2.35.tar.gz 393097 SHA256 3fb1316e2ed74d47ca61187fada550e58797467bd9e8ad67343ed16da769f916 SHA512 ee815f62796bcda63d37ae5a3805d065f6cc79648ca86852b97d4c1b849a1eb6c8f46dab2f257b9a8f9efc44d38469739f98137037c10f79f37a1ff235f6a413 WHIRLPOOL 8b5bfb01d03618b9b7e5715484f2594b58ca5689e0a1a6f69df6430d276f207618e2a254042c2c539ac470732f8d746d9302db8a09609ab2226f3350ff6b78ed
+DIST bbdb-3.1.2.tar.gz 378935 SHA256 05780f030584ddaa717d04700bc70e7d9e929141223c7f130fc0c778d73241bf SHA512 8b32baadc4eb06b0abf533ccb1f540f4f407f27b8d2e847ae25e62d1405e1de5cfc6af16368eecd4086f281ee7a4016cf25568847b3cb798156c7e18e1912576 WHIRLPOOL d8d50c34ba3a1ccf879a1749b37f0cdc8c5d46ff4d01940256501574e933b1e8d141d6ded8bc6a797e6377b759ba55582b5d2c3190489e9cbf96487c7124dbb5
+DIST dates.el 7048 SHA256 8de33f7b00ac1766eb104c1bf2f362aff54e3de4d67cbd0a4da1b6b137363ec4 SHA512 51b0dca58a1b54e913a0dbd97df12230ec49f05b368404fa3d49cddf4ca8e14dbff47a28087c4ba41b189a38a3608c77454e102ae5bb124d07d1ad3ec9c39e71 WHIRLPOOL eb2239adc4e2b7392e6f091ef253685f155ab9acc09432b61d67b44f572f8cd774282806d2c50e48f80be4786890d000727f1fc94966289c2f03441844b52c26
+DIST point-at.el 440 SHA256 c9695455b96f17fbebc9cf0ae21b042fb04b688016279010d87c01e9d270e0c8 SHA512 e38cbf39cb3f29f51f6759a7ba548f065c4763668d38c746eb69d9ab2384357f6b1c7f032a6afe739bc64658f5863730b7a4b3023cc9df1cc5e088e591c02760 WHIRLPOOL 9dc36a49a8d5ea6a9a5619cbccd7e2a3f668d3c6bf917e1cf315ad0eb72fd3032d1c3bb40a17995b6b5ab81760f261a128ecd3b45615fd30d87ae2430a782102
diff --git a/app-emacs/bbdb/bbdb-2.35-r1.ebuild b/app-emacs/bbdb/bbdb-2.35-r1.ebuild
new file mode 100644
index 000000000000..b08b8d60bb15
--- /dev/null
+++ b/app-emacs/bbdb/bbdb-2.35-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="The Insidious Big Brother Database"
+HOMEPAGE="http://bbdb.sourceforge.net/"
+SRC_URI="http://bbdb.sourceforge.net/${P}.tar.gz
+ http://www.mit.edu/afs/athena/contrib/emacs-contrib/Fin/point-at.el
+ http://www.mit.edu/afs/athena/contrib/emacs-contrib/Fin/dates.el"
+
+LICENSE="GPL-2+ Texinfo-manual"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
+IUSE="tex"
+
+RDEPEND="tex? ( virtual/tex-base )"
+
+SITEFILE="50${PN}-gentoo.el"
+TEXMF="/usr/share/texmf-site"
+
+src_prepare() {
+ sed -i -e '0,/^--- bbdb-mail-folders.el ---$/d;/^--- end ---$/,$d' \
+ bits/bbdb-mail-folders.el || die "sed failed"
+ sed -i -e '/^;/,$!d' bits/bbdb-sort-mailrc.el || die "sed failed"
+ cp "${DISTDIR}"/{dates,point-at}.el bits || die "cp failed"
+}
+
+src_configure() {
+ default
+}
+
+src_compile() {
+ emake -j1
+ BYTECOMPFLAGS="-L bits -L lisp" elisp-compile bits/*.el || die
+}
+
+src_install() {
+ elisp-install ${PN} lisp/*.el{,c} || die
+ elisp-install ${PN}/bits bits/*.el{,c} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ doinfo texinfo/*.info*
+ dodoc ChangeLog INSTALL README bits/*.txt
+ newdoc bits/README README.bits
+ if use tex; then
+ insinto "${TEXMF}"/tex/plain/bbdb
+ doins tex/*.tex
+ fi
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ use tex && texconfig rehash
+
+ elog "If you use encryption or signing, you may specify the encryption"
+ elog "method by customising variable \"bbdb/pgp-method\". For details,"
+ elog "see the documentation of this variable. Depending on the Emacs"
+ elog "version, installation of additional packages like app-emacs/gnus"
+ elog "or app-emacs/mailcrypt may be required."
+}
+
+pkg_postrm() {
+ elisp-site-regen
+ use tex && texconfig rehash
+}
diff --git a/app-emacs/bbdb/bbdb-3.1.2.ebuild b/app-emacs/bbdb/bbdb-3.1.2.ebuild
new file mode 100644
index 000000000000..8c45e10c2955
--- /dev/null
+++ b/app-emacs/bbdb/bbdb-3.1.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp autotools
+
+DESCRIPTION="The Insidious Big Brother Database"
+HOMEPAGE="http://savannah.nongnu.org/projects/bbdb/"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+ GPL-1+ FDL-1.3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
+IUSE="tex vm"
+
+DEPEND="tex? ( virtual/tex-base )
+ vm? ( app-emacs/vm )"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo-${PV}.el"
+TEXMF="/usr/share/texmf-site"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-no-init.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ "$(use_with vm vm-dir "${EPREFIX}${SITELISP}/vm")"
+}
+
+src_compile() {
+ emake -C lisp
+}
+
+src_install() {
+ emake -C lisp DESTDIR="${D}" install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ doinfo doc/*.info*
+ dodoc AUTHORS ChangeLog NEWS README TODO
+
+ if use tex; then
+ insinto "${TEXMF}"/tex/plain/${PN}
+ doins tex/*.tex
+ fi
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ use tex && texconfig rehash
+}
+
+pkg_postrm() {
+ elisp-site-regen
+ use tex && texconfig rehash
+}
diff --git a/app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el b/app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el
new file mode 100644
index 000000000000..45a7cc208e0d
--- /dev/null
+++ b/app-emacs/bbdb/files/50bbdb-gentoo-3.1.2.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'bbdb-loaddefs)
diff --git a/app-emacs/bbdb/files/50bbdb-gentoo.el b/app-emacs/bbdb/files/50bbdb-gentoo.el
new file mode 100644
index 000000000000..7953b3c852a4
--- /dev/null
+++ b/app-emacs/bbdb/files/50bbdb-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'load-path "@SITELISP@/bits")
+(require 'bbdb)
+(bbdb-initialize)
diff --git a/app-emacs/bbdb/files/bbdb-3.1.2-no-init.patch b/app-emacs/bbdb/files/bbdb-3.1.2-no-init.patch
new file mode 100644
index 000000000000..85dbc0374e32
--- /dev/null
+++ b/app-emacs/bbdb/files/bbdb-3.1.2-no-init.patch
@@ -0,0 +1,126 @@
+Patch from upstream, backported to bbdb-3.1.2.
+
+From e028f4d8f04c3db663db023cf5a630461cfda2bd Mon Sep 17 00:00:00 2001
+From: Roland Winkler <winkler@gnu.org>
+Date: Wed, 23 Jul 2014 03:27:09 +0000
+Subject: Do not load init file or site file for byte compilation
+
+--- bbdb-3.1.2-orig/lisp/Makefile.am
++++ bbdb-3.1.2/lisp/Makefile.am
+@@ -20,6 +20,9 @@
+ # You should have received a copy of the GNU General Public License
+ # along with BBDB. If not, see <http://www.gnu.org/licenses/>.
+
++# --batch implies --no-init-file, yet let's be explicit about what we want
++AM_ELCFLAGS += --no-init-file --no-site-file
++
+ dist_lisp_LISP = \
+ bbdb.el \
+ bbdb-anniv.el \
+@@ -70,10 +73,11 @@
+ @echo " " >> $@;
+ # Generated autoload-file must have an absolute path,
+ # $srcdir can be relative.
+- $(EMACS) -batch -l autoload \
++ $(EMACS) --batch $(AM_ELCFLAGS) $(ELCFLAGS) \
++ --load autoload \
+ --eval '(setq generated-autoload-file "'$(abs_builddir)/$@'")' \
+ --eval '(setq make-backup-files nil)' \
+- -f batch-update-autoloads $(srcdir)
++ --funcall batch-update-autoloads $(srcdir)
+
+ # Generate bbdb-site.el here as pkgdatadir is only known at "make" time.
+ # We protect the autoconf variables in the sed regular expressions
+--- bbdb-3.1.2-orig/lisp/makefile-temp
++++ bbdb-3.1.2/lisp/makefile-temp
+@@ -43,13 +43,16 @@
+ EMACSOPT =
+
+ # The actual Emacs command run in the targets below.
+-emacs = LC_ALL=C $(EMACS) --batch --directory=./ $(EMACSOPT)
++# --batch implies --no-init-file, yet let's be explicit about what we want
++emacs = LC_ALL=C $(EMACS) --batch --no-init-file --no-site-file \
++ --directory=./ $(EMACSOPT)
++emacs_compile = $(emacs) --funcall batch-byte-compile
+
+-# If you want to use BBDB with VM this should point to your vm/lisp directory.
+-# See also the target all below.
++# VM is not part of GNU Emacs. If you want to use BBDB with VM
++# then the variable VMDIR should point to your vm/lisp directory.
+ VMDIR =
+
+-VM = -eval '(unless (string-match "$(VMDIR)" "") (push "$(VMDIR)" load-path))'
++VM = -eval '(unless (string= "$(VMDIR)" "") (push "$(VMDIR)" load-path))'
+
+ .SUFFIXES: .elc .el .tar .Z .gz .uu
+
+@@ -89,51 +92,50 @@
+ @echo " " >> $@;
+ # Generated autoload-file must have an absolute path,
+ # $(srcdir) can be relative.
+- $(emacs) -l autoload \
++ $(emacs) --load autoload \
+ --eval '(setq generated-autoload-file "'`pwd`/$@'")' \
+ --eval '(setq make-backup-files nil)' \
+- -f batch-update-autoloads `pwd`
++ --funcall batch-update-autoloads `pwd`
+
+ .el.elc:
+- $(emacs) -f batch-byte-compile $<
++ $(emacs_compile) $<
+
+ # Not perfect, but better than nothing: If we do not have / do not use
+ # autotools, we simply copy bbdb-site.el.in to bbdb-site.el.
+ bbdb-site.el: bbdb-site.el.in
+ $(CP) $< $@
+ bbdb-site.elc: bbdb-site.el
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+
+ bbdb.elc: bbdb.el bbdb-site.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+
+ bbdb-com.elc: bbdb-com.el bbdb.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-mua.elc: bbdb-mua.el bbdb-com.elc
+- $(emacs) -eval '(unless (string= "$(VMDIR)" "") (push "$(VMDIR)" load-path) (load "vm" t t))' \
+- -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) -eval '(unless (string= "$(VMDIR)" "") (push "$(VMDIR)" load-path) (load "vm" t t))' \
++ $(@:.elc=.el)
+ bbdb-rmail.elc: bbdb-rmail.el bbdb-mua.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-gnus.elc: bbdb-gnus.el bbdb-mua.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-mhe.elc: bbdb-mhe.el bbdb-mua.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
+-# VM is not part of GNU Emacs
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-vm.elc: bbdb-vm.el bbdb-mua.elc
+- $(emacs) $(VM) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(VM) $(@:.elc=.el)
+ bbdb-sc.elc: bbdb-sc.el bbdb-mua.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+
+ bbdb-print.elc: bbdb-print.el bbdb-com.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-migrate.elc: bbdb-migrate.el bbdb.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-anniv.elc: bbdb-anniv.el bbdb-com.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-ispell.elc: bbdb-ispell.el bbdb.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+ bbdb-snarf.elc: bbdb-snarf.el bbdb-com.elc
+- $(emacs) -f batch-byte-compile $(@:.elc=.el)
++ $(emacs_compile) $(@:.elc=.el)
+
+ install-el: all
+ $(INSTALL) -d -m 0755 "$(lispdir)/"
diff --git a/app-emacs/bbdb/metadata.xml b/app-emacs/bbdb/metadata.xml
new file mode 100644
index 000000000000..f7806e7da78b
--- /dev/null
+++ b/app-emacs/bbdb/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ The Insidious Big Brother Database (BBDB) is a contact management utility
+ for use with GNU Emacs and XEmacs. It can hook into Emacs-based mail- and
+ news-readers and automatically collect information on messages therein.
+</longdescription>
+<use>
+ <flag name='tex'>Install plain TeX support files</flag>
+ <flag name='vm'>Add support for <pkg>app-emacs/vm</pkg></flag>
+</use>
+</pkgmetadata>
diff --git a/app-emacs/binclock/Manifest b/app-emacs/binclock/Manifest
new file mode 100644
index 000000000000..e8c304fcf682
--- /dev/null
+++ b/app-emacs/binclock/Manifest
@@ -0,0 +1 @@
+DIST binclock-1.7.tar.bz2 2734 SHA256 8ccb2ce75e2efffc95c22187dd27e5e00f22c476180c1cf6567c13f5feb341f3 SHA512 fe7d69605dc72777236930368e2900b71717a0a96655afa939c9cfcf76fb6cccc8c21cd81e933eed210a9e948b6d3681eb60f494f4aef276a1026a6dfe186354 WHIRLPOOL f0c25e7b88ebe2b9fad920fba76e78b817c673eed8a5b30db4c203ce7fc18140ef6a7ad95ab47c7eb836bf2f45ac458546f612c4fdc65cc2ee760cd6cbf3998b
diff --git a/app-emacs/binclock/binclock-1.7-r1.ebuild b/app-emacs/binclock/binclock-1.7-r1.ebuild
new file mode 100644
index 000000000000..c6cf1c5303c9
--- /dev/null
+++ b/app-emacs/binclock/binclock-1.7-r1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Display the current time using a binary clock"
+HOMEPAGE="http://www.davep.org/emacs/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc ppc64 x86"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/binclock/files/50binclock-gentoo.el b/app-emacs/binclock/files/50binclock-gentoo.el
new file mode 100644
index 000000000000..21f1d818d190
--- /dev/null
+++ b/app-emacs/binclock/files/50binclock-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'binclock "binclock" "Display the binary clock." t)
diff --git a/app-emacs/binclock/metadata.xml b/app-emacs/binclock/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/binclock/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/bison-mode/Manifest b/app-emacs/bison-mode/Manifest
new file mode 100644
index 000000000000..50af7a9ac1bc
--- /dev/null
+++ b/app-emacs/bison-mode/Manifest
@@ -0,0 +1 @@
+DIST bison-mode-0.3.tar.bz2 7541 SHA256 ad29b3f71d1d52a36a22271aa314eb986e3406706c34bfb5eca11161dd5adbee SHA512 b3b173152700562f813534d9352ed50cfac8ad131f037b1e2bf9d1370f0b56f109f14206cbfde82acac0c93a1bc0092da7f78c1b42fc3154248dfb1222a7f85b WHIRLPOOL 563b9def2187fdae93220a30d0e536eeb504b0f3706454a1c49074846ddb4c485c181ef0b3503e14d2c18c3553ef77b310b7fe5fcba3fdf860efc41f77e3f4f6
diff --git a/app-emacs/bison-mode/bison-mode-0.3.ebuild b/app-emacs/bison-mode/bison-mode-0.3.ebuild
new file mode 100644
index 000000000000..345cb8f2a86c
--- /dev/null
+++ b/app-emacs/bison-mode/bison-mode-0.3.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for Bison, Yacc and Lex grammars"
+HOMEPAGE="https://github.com/Wilfred/bison-mode"
+SRC_URI="http://dev.gentoo.org/~nicolasbock/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README.md"
diff --git a/app-emacs/bison-mode/files/50bison-mode-gentoo.el b/app-emacs/bison-mode/files/50bison-mode-gentoo.el
new file mode 100644
index 000000000000..57c4890db3b8
--- /dev/null
+++ b/app-emacs/bison-mode/files/50bison-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'bison-mode "bison-mode"
+ "Emacs major mode for Bison, Yacc and Lex grammars" t)
diff --git a/app-emacs/bison-mode/metadata.xml b/app-emacs/bison-mode/metadata.xml
new file mode 100644
index 000000000000..485301c7a4ab
--- /dev/null
+++ b/app-emacs/bison-mode/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<maintainer>
+ <email>nicolasbock@gentoo.org</email>
+ <name>Nicolas Bock</name>
+</maintainer>
+<upstream>
+ <remote-id type="github">Wilfred/bison-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/blogmax/Manifest b/app-emacs/blogmax/Manifest
new file mode 100644
index 000000000000..495513a3a834
--- /dev/null
+++ b/app-emacs/blogmax/Manifest
@@ -0,0 +1 @@
+DIST blogmax-20110305.zip 194956 SHA256 c2143b7df9d194f0f97d9ddddf5e4bcabe5fdc78fd0b9cad200e2a528b5632c5 SHA512 dc0529c5d61ea9beaecf9dfdfe0631ae31fb9737845aa81f2ac7c19df7aa30eb7392f73ea96a00b678cd441f0815129bb04d521e697ce2cb3938d8699483d19b WHIRLPOOL f8fce4a9f37058f209c2076ba2473d6b57825204feb0ec68b39074c74e56b0fb6481bd640894e83dbb175b9cdec3df18b12bb408046b8186948deddfe8ede26f
diff --git a/app-emacs/blogmax/blogmax-20110305.ebuild b/app-emacs/blogmax/blogmax-20110305.ebuild
new file mode 100644
index 000000000000..34bc62db3726
--- /dev/null
+++ b/app-emacs/blogmax/blogmax-20110305.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils readme.gentoo elisp
+
+DESCRIPTION="Blogging in Emacs"
+HOMEPAGE="http://billstclair.com/blogmax/index.html"
+# taken from http://billstclair.com/blogmax.zip
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.zip"
+
+LICENSE="GPL-1+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}/${PN}"
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ rm *.elc gpl.txt || die
+ edos2unix *.{el,html,inc,ini,tmpl,txt,xml} docs/*.{html,txt}
+}
+
+src_compile() {
+ elisp-compile blogmax.el
+}
+
+src_install() {
+ elisp-install ${PN} blogmax.{el,elc}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ DOC_CONTENTS="To get started with BlogMax, use the example site file
+ from /usr/share/doc/${PF}/example as a template for your own blog."
+ readme.gentoo_create_doc
+
+ dodoc README
+ dodoc -r docs
+ docinto example
+ dodoc *.{html,inc,ini,png,tmpl,txt,xml}
+}
diff --git a/app-emacs/blogmax/files/50blogmax-gentoo.el b/app-emacs/blogmax/files/50blogmax-gentoo.el
new file mode 100644
index 000000000000..fc110114b3a6
--- /dev/null
+++ b/app-emacs/blogmax/files/50blogmax-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'weblog-mode "blogmax" "Weblog" t)
+(autoload 'weblog-set-buffer-mode "blogmax"
+ "Set the mode to weblog-mode for text files in the *weblog-directory*" t)
diff --git a/app-emacs/blogmax/files/README.Gentoo b/app-emacs/blogmax/files/README.Gentoo
new file mode 100644
index 000000000000..a737d0f9c9ac
--- /dev/null
+++ b/app-emacs/blogmax/files/README.Gentoo
@@ -0,0 +1,8 @@
+ -*-outline-*-
+* Getting Started With BlogMax
+
+Use the example site file from /usr/share/doc/blogmax-*/example as a
+template for your own blog.
+
+--
+Matthew Kennedy <mkennedy@gentoo.org>
diff --git a/app-emacs/blogmax/metadata.xml b/app-emacs/blogmax/metadata.xml
new file mode 100644
index 000000000000..152470076db1
--- /dev/null
+++ b/app-emacs/blogmax/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+BlogMax is an Emacs package that aids in the creation of a weblog.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/bm/Manifest b/app-emacs/bm/Manifest
new file mode 100644
index 000000000000..51a01c2e9f1c
--- /dev/null
+++ b/app-emacs/bm/Manifest
@@ -0,0 +1 @@
+DIST bm-1.32_p20140214.tar.xz 11800 SHA256 abd338d61ae10dff9c0635cac0f5fa3724605ec8bd2715738a7df000e2ed2ab9 SHA512 0a40c5dc3d21c0b8af7e885f7e2f48c92413dff48a6a3a10366f9a63274886cd22a247b61ef25e4ad1f283446b05093658f233c6501c6d0bf5312d9a67b83ff4 WHIRLPOOL 0937952bf331b24aae55fdf476522a7a9f6de84ebc541fde49dbc6e27738d229393dfddc2d822c844adc1f95846476bad81f63edd35f086139f6d9de056d94ac
diff --git a/app-emacs/bm/bm-1.32_p20140214.ebuild b/app-emacs/bm/bm-1.32_p20140214.ebuild
new file mode 100644
index 000000000000..0255eaa759f3
--- /dev/null
+++ b/app-emacs/bm/bm-1.32_p20140214.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Visible bookmarks in buffer"
+HOMEPAGE="http://www.nongnu.org/bm/
+ http://www.emacswiki.org/emacs/VisibleBookmarks"
+# snapshot of https://github.com/joodland/bm.git
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+S="${WORKDIR}/${PN}"
+ELISP_REMOVE="bm-tests.el"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README.md"
diff --git a/app-emacs/bm/files/50bm-gentoo.el b/app-emacs/bm/files/50bm-gentoo.el
new file mode 100644
index 000000000000..fd404a9efb81
--- /dev/null
+++ b/app-emacs/bm/files/50bm-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'bm-toggle "bm" "Toggle bookmark in current buffer." t)
+(autoload 'bm-next "bm" "Goto bookmark." t)
+(autoload 'bm-previous "bm" "Goto previous bookmark." t)
diff --git a/app-emacs/bm/metadata.xml b/app-emacs/bm/metadata.xml
new file mode 100644
index 000000000000..0587eac4d913
--- /dev/null
+++ b/app-emacs/bm/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ This package provides visible, buffer local, bookmarks and the ability to
+ jump forward and backward to the next bookmark.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/bongo/Manifest b/app-emacs/bongo/Manifest
new file mode 100644
index 000000000000..4d678e697928
--- /dev/null
+++ b/app-emacs/bongo/Manifest
@@ -0,0 +1,2 @@
+DIST bongo-20110621.tar.xz 97652 SHA256 0fa7603d8239351725c6abe37ca8781a221821defb081c329620ed4dcc2a5cfe SHA512 31c2a477cfb5ff36fbc64da29c725db0b0242ea09f80883fb21feb3b23f5c14c688379c4c4e53b26ffef3aca5d2813d5b2a38b91266da088c73516f7ea1d712b WHIRLPOOL 29fa53b77626cf0c8dc79bbdea16912dbb12ddb8cdcd344f98ecef5c20e480566aa6792341739efd08a600a0c5ef09b0fdb7c679aaf520f66845af3ca83a7adb
+DIST bongo-mplayer-20070204.tar.bz2 3563 SHA256 a80aa2c3c6def4e679094817ca9db3c0766811f094766ee4b399eec93c062ec9 SHA512 e503ed7980f011a6fc3fa75d0bb9b1cec1ed49d4fb07da92aad65e3c5096b42cf9eb203a8edbb93f2e7924254e4926e9f3fcf473de877fea130557aefad73ebd WHIRLPOOL 86ed787b8fa4909cbb89f24d17b524cc4b5d7c8d5e1d0c4ecac5289967176c599df58abc91c643f70f0c40cfbee573101641d7c53db35cd7521664fa22eaa93e
diff --git a/app-emacs/bongo/bongo-20110621.ebuild b/app-emacs/bongo/bongo-20110621.ebuild
new file mode 100644
index 000000000000..c551acd945e5
--- /dev/null
+++ b/app-emacs/bongo/bongo-20110621.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp eutils
+
+DESCRIPTION="Buffer-oriented media player for Emacs"
+HOMEPAGE="http://www.brockman.se/software/bongo/"
+# Darcs snapshot of http://www.brockman.se/software/bongo/
+# MPlayer support from http://www.emacswiki.org/emacs/bongo-mplayer.el
+SRC_URI="mirror://gentoo/${P}.tar.xz
+ mplayer? ( mirror://gentoo/${PN}-mplayer-20070204.tar.bz2 )"
+
+LICENSE="GPL-2+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mplayer"
+
+# NOTE: Bongo can use almost anything for playing media files, therefore
+# the dependency possibilities are so broad that we refrain from including
+# any media players explicitly in DEPEND/RDEPEND.
+
+RDEPEND="app-emacs/volume"
+DEPEND="${RDEPEND}
+ sys-apps/texinfo"
+
+S="${WORKDIR}/${PN}"
+DOCS="AUTHORS HISTORY NEWS README.rdoc"
+ELISP_PATCHES="${PN}-20070619-fix-require.patch
+ ${P}-texinfo-5.patch"
+ELISP_REMOVE="bongo-emacs21.el" # Don't bother with Emacs 21
+ELISP_TEXINFO="${PN}.texinfo"
+SITEFILE="50${PN}-gentoo.el"
+
+src_install() {
+ elisp_src_install
+ insinto "${SITEETC}/${PN}"
+ doins etc/*.pbm etc/*.png
+}
diff --git a/app-emacs/bongo/files/50bongo-gentoo.el b/app-emacs/bongo/files/50bongo-gentoo.el
new file mode 100644
index 000000000000..099de2b3dd74
--- /dev/null
+++ b/app-emacs/bongo/files/50bongo-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(if (boundp 'image-load-path)
+ (add-to-list 'image-load-path "@SITEETC@" t))
+(autoload 'bongo "bongo" "Start Bongo by switching to a Bongo buffer." t)
diff --git a/app-emacs/bongo/files/bongo-20070619-fix-require.patch b/app-emacs/bongo/files/bongo-20070619-fix-require.patch
new file mode 100644
index 000000000000..6b3e6ff588df
--- /dev/null
+++ b/app-emacs/bongo/files/bongo-20070619-fix-require.patch
@@ -0,0 +1,11 @@
+--- bongo-orig/bongo.el 2007-06-19 16:51:37.000000000 +0200
++++ bongo/bongo.el 2008-06-22 15:30:23.000000000 +0200
+@@ -67,7 +67,7 @@
+
+ ;;; Code:
+
+-(eval-when-compile
++(eval-and-compile
+ (require 'cl)
+ (require 'rx))
+
diff --git a/app-emacs/bongo/files/bongo-20110621-texinfo-5.patch b/app-emacs/bongo/files/bongo-20110621-texinfo-5.patch
new file mode 100644
index 000000000000..3fa257b97f1c
--- /dev/null
+++ b/app-emacs/bongo/files/bongo-20110621-texinfo-5.patch
@@ -0,0 +1,12 @@
+--- bongo-orig/bongo.texinfo
++++ bongo/bongo.texinfo
+@@ -374,7 +374,8 @@
+
+ @item @kbd{C-u C-u C-u b}, @kbd{C-u C-u C-u f}
+ Seek 64 seconds.
+-@end table}.
++@end table
++}.
+ @end table
+
+ To seek a specific number of seconds, give a numeric prefix argument to
diff --git a/app-emacs/bongo/metadata.xml b/app-emacs/bongo/metadata.xml
new file mode 100644
index 000000000000..a65893303f93
--- /dev/null
+++ b/app-emacs/bongo/metadata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ Bongo is a buffer-oriented media player for Emacs, contemporary with and
+ comparable to <pkg>app-emacs/emms</pkg>.
+
+ Notable features of Bongo include
+ * separate playlist and library buffers (each of which you may have any
+ number — even zero of both is okay if you don’t need playlist
+ functionality),
+ * hierarchical buffers with collapsable sections for each artist and album,
+ * familiar Emacs bindings for editing Bongo buffers (edit playlists much
+ like you would regular text),
+ * a nice visual seeking interface doubling as a progress meter (hit ‘s’),
+ * a visual audio volume control (<pkg>app-emacs/volume</pkg>, which is
+ actually a stand-alone package),
+ * built-in support for playing and retrieving information about audio CDs,
+ * built-in support for submitting information to Last.fm using
+ ‘lastfmsubmitd’,
+ * the ability to perform arbitrary actions (stopping playback is a simple
+ example) once playback reaches certain points in the playlist, using
+ so-called “action tracks”,
+ * an XMMS-like keymap for XMMS refugees,
+ * zero-configuration, out-of-the-box rock’n’roll action.
+
+ Bongo currently comes with backends for VLC, mpg321, ogg123, speexdec,
+ TiMidity and MikMod. All backends support pausing and resuming, but only VLC
+ and mpg321 support interactive seeking. Defining your own non-interactive
+ backends is very simple.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/boxquote/Manifest b/app-emacs/boxquote/Manifest
new file mode 100644
index 000000000000..7bfaf80c25aa
--- /dev/null
+++ b/app-emacs/boxquote/Manifest
@@ -0,0 +1 @@
+DIST boxquote-1.23.el.bz2 4957 SHA256 59ad204c4eb787bbc69a82d16737829bf6c6b44ddda1c5137d42245d0dcc6825 SHA512 776835e6a21ede6e7ba82a57f381f0c9c3c740994b4d463b76d1f8a328fdf7b1b996cf6c593c3300a68fa773f1dd21b7c1a8ccc38536d5f1874973541181646d WHIRLPOOL 9793910877ac827167b96023e033577b412d4eacbf6ebd40632ea5d5bd2e2897ae53f02c282d4ea5eb05cba08b9a138956f2bea4e4e515149bb647242c7ac309
diff --git a/app-emacs/boxquote/boxquote-1.23.ebuild b/app-emacs/boxquote/boxquote-1.23.ebuild
new file mode 100644
index 000000000000..02f09a6a0015
--- /dev/null
+++ b/app-emacs/boxquote/boxquote-1.23.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Quote text with a semi-box"
+HOMEPAGE="http://www.davep.org/emacs/"
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ elisp-compile *.el || die "elisp-compile failed"
+ elisp-make-autoload-file || die "elisp-make-autoload-file failed"
+}
diff --git a/app-emacs/boxquote/files/50boxquote-gentoo.el b/app-emacs/boxquote/files/50boxquote-gentoo.el
new file mode 100644
index 000000000000..b971ce73148a
--- /dev/null
+++ b/app-emacs/boxquote/files/50boxquote-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "boxquote-autoloads" nil t)
diff --git a/app-emacs/boxquote/metadata.xml b/app-emacs/boxquote/metadata.xml
new file mode 100644
index 000000000000..b71e9e1351cd
--- /dev/null
+++ b/app-emacs/boxquote/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ Boxquote provides a set of functions for using a text quoting style that
+ partially boxes in the left hand side of an area of text, such a marking
+ style might be used to show externally included text or example code.
+
+ ,----
+ | The default style looks like this.
+ `----
+
+ A number of functions are provided for quoting a region, a buffer, a
+ paragraph and a defun. There are also functions for quoting text while
+ pulling it in, either by inserting the contents of another file or by
+ yanking text into the current buffer.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/browse-kill-ring/Manifest b/app-emacs/browse-kill-ring/Manifest
new file mode 100644
index 000000000000..d746a0c04bfc
--- /dev/null
+++ b/app-emacs/browse-kill-ring/Manifest
@@ -0,0 +1,2 @@
+DIST browse-kill-ring-1.3.el.bz2 9225 SHA256 2805f8d512720e14ebeb57bad0b6c9383a4a24fa4d547da99f17594ecdf1ec97 SHA512 f77e41a932b4f28e2a31896424c6ad56d072145609254e3970733e2e4eca515cfe5cd86861f71ab37abfeaa0cc36939f4f50d97ef0ffcbe34e4806bad1819938 WHIRLPOOL 6a4dd7c7eb4087158f5a9f79969997c8e99fb1089392b2f6f5b708ab81a9fe14b61a02338396336949d08880a193188e9ff5da5c7debbdcc9c85994323b131ec
+DIST browse-kill-ring-1.3c.el.bz2 9757 SHA256 daa4784c160fd3f03d7e310a965b06da87732728591306d15c1c050cb75f3d18 SHA512 a7244db55b08b7247047cb71aa024dd2ba8579bd1588a31d65120145228729a329dac87c268b4be14b79beded6ec4f3473542c26bfb3c5624557023369737644 WHIRLPOOL 108b3594ba10e0c77ec9e66e2abd2c282fdfc3ec33e4fb9308da3e8e4516a88710d0d01614d470ab47b823f52456fea70baef3eba7b4864ab0e1b6f007e6abfb
diff --git a/app-emacs/browse-kill-ring/browse-kill-ring-1.3.ebuild b/app-emacs/browse-kill-ring/browse-kill-ring-1.3.ebuild
new file mode 100644
index 000000000000..717652ec92ca
--- /dev/null
+++ b/app-emacs/browse-kill-ring/browse-kill-ring-1.3.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="An improved interface to kill-ring"
+HOMEPAGE="http://www.emacswiki.org/emacs/BrowseKillRing
+ https://github.com/todesschaf/browse-kill-ring"
+# taken from http://www.todesschaf.org/files/browse-kill-ring.el
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/browse-kill-ring/browse-kill-ring-1.3c.ebuild b/app-emacs/browse-kill-ring/browse-kill-ring-1.3c.ebuild
new file mode 100644
index 000000000000..dfaa1539c8c1
--- /dev/null
+++ b/app-emacs/browse-kill-ring/browse-kill-ring-1.3c.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="An improved interface to kill-ring"
+HOMEPAGE="http://www.emacswiki.org/emacs/BrowseKillRing
+ https://github.com/T-J-Teru/browse-kill-ring"
+# taken from upstream git repo
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/browse-kill-ring/files/50browse-kill-ring-gentoo.el b/app-emacs/browse-kill-ring/files/50browse-kill-ring-gentoo.el
new file mode 100644
index 000000000000..b2e352d6eebd
--- /dev/null
+++ b/app-emacs/browse-kill-ring/files/50browse-kill-ring-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'browse-kill-ring "browse-kill-ring"
+ "Display items in the `kill-ring' in another buffer." t)
+(autoload 'browse-kill-ring-default-keybindings "browse-kill-ring"
+ "Set up M-y (`yank-pop') so that it can invoke `browse-kill-ring'." t)
diff --git a/app-emacs/browse-kill-ring/metadata.xml b/app-emacs/browse-kill-ring/metadata.xml
new file mode 100644
index 000000000000..883209f9d133
--- /dev/null
+++ b/app-emacs/browse-kill-ring/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+ <longdescription>
+ Are you tired of using the endless keystrokes of 'C-y M-y M-y M-y ...' to
+ get at that bit of text you killed thirty-seven kills ago? Ever wish you
+ could just look through everything you've killed recently to find out if you
+ killed that piece of text that you think you killed, but you're not quite
+ sure? If so, then browse-kill-ring.el is the emacs extension for you.
+</longdescription>
+<upstream>
+ <remote-id type="github">todesschaf/browse-kill-ring</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/bubblet/Manifest b/app-emacs/bubblet/Manifest
new file mode 100644
index 000000000000..8a3f14b0dd3f
--- /dev/null
+++ b/app-emacs/bubblet/Manifest
@@ -0,0 +1 @@
+DIST bubblet-0.74.tar.bz2 7151 SHA256 791b02bb345fcc062f1ca8a724da84be870762c954e77f97cd993d03501ec691 SHA512 696425d7f854f83d9edf1e2fb195fbdf9a993b6758493620c9bc8e0c8bea2b94d758abf904bfebd983ff2093a25a55923964f32a1c5d47f0cb4665f3d5dda233 WHIRLPOOL 3144e6c15b27a83655ded8f4268eb2e92846633147eb9f9b2d7a47772e0fdfb4215204f63bba661e211f9626e3e735ec360fbf72ef81176ccd0a7b22f4e829a8
diff --git a/app-emacs/bubblet/bubblet-0.74-r1.ebuild b/app-emacs/bubblet/bubblet-0.74-r1.ebuild
new file mode 100644
index 000000000000..f6c91f2914bb
--- /dev/null
+++ b/app-emacs/bubblet/bubblet-0.74-r1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A bubble-popping game"
+HOMEPAGE="http://web.archive.org/web/20051217154122/www.gelatinous.com/pld/bubblet.html"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/bubblet/files/50bubblet-gentoo.el b/app-emacs/bubblet/files/50bubblet-gentoo.el
new file mode 100644
index 000000000000..c080f3aeab7e
--- /dev/null
+++ b/app-emacs/bubblet/files/50bubblet-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'bubblet "bubblet" "Start a new Bubblet game." t)
diff --git a/app-emacs/bubblet/metadata.xml b/app-emacs/bubblet/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/bubblet/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/calfw/Manifest b/app-emacs/calfw/Manifest
new file mode 100644
index 000000000000..3178a9102c28
--- /dev/null
+++ b/app-emacs/calfw/Manifest
@@ -0,0 +1 @@
+DIST calfw-1.3.tar.gz 67187 SHA256 b18b1955e34bfeb65f4dd238a1fe240bfb90c2139300ecf613a992d25e36a401 SHA512 76fc957dac22b2e4e41fa3d5ef3eb9e603369044d5aa90fa2e32ca0abbaa897d4537358f7849d0491c366b6a76c1b463e57e7a9483fca7c67555a8f6157f46bc WHIRLPOOL d68ccf2d696cec6e8fa584ea741a12d85c06fef3c1d7cfd93e151bbda976128c947456f5597bfe7ee7d586026ef58b603fff9612a229432cb786759a288b2159
diff --git a/app-emacs/calfw/calfw-1.3.ebuild b/app-emacs/calfw/calfw-1.3.ebuild
new file mode 100644
index 000000000000..b54fd4f67871
--- /dev/null
+++ b/app-emacs/calfw/calfw-1.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp eutils
+
+DESCRIPTION="A calendar framework for Emacs"
+HOMEPAGE="https://github.com/kiwanami/emacs-calfw"
+SRC_URI="https://github.com/kiwanami/emacs-calfw/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="howm"
+
+DEPEND="howm? ( app-emacs/howm )"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_unpack() {
+ unpack ${A}
+ mv kiwanami-emacs-calfw-* ${P} || die
+}
+
+src_prepare() {
+ use howm || rm -f calfw-howm.el
+}
diff --git a/app-emacs/calfw/files/50calfw-gentoo.el b/app-emacs/calfw/files/50calfw-gentoo.el
new file mode 100644
index 000000000000..f35fde6b60c4
--- /dev/null
+++ b/app-emacs/calfw/files/50calfw-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'cfw:open-calendar-buffer "calfw" "Open a calendar buffer simply." t)
diff --git a/app-emacs/calfw/metadata.xml b/app-emacs/calfw/metadata.xml
new file mode 100644
index 000000000000..bd25ab175ab2
--- /dev/null
+++ b/app-emacs/calfw/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<maintainer>
+ <email>naota@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name="howm">Add support for the <pkg>app-emacs/howm</pkg>
+ note-taking tool</flag>
+</use>
+<upstream>
+ <remote-id type="github">kiwanami/emacs-calfw</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/chess/Manifest b/app-emacs/chess/Manifest
new file mode 100644
index 000000000000..38c452742213
--- /dev/null
+++ b/app-emacs/chess/Manifest
@@ -0,0 +1,4 @@
+DIST chess-2.0.4.tar.xz 364620 SHA256 01ced9398b125756bb9a793a69b3caa64c697ba6f4307643b4fe70b94c9a118b SHA512 2c8155185878fec8b45ab84b7723f4af0f518fc81ab7534c36c09c96a9a30cb20da26c2a89320cc5a9f9d8991e4516da393e82658a7f15642929591d1b6a0e99 WHIRLPOOL 94b659e48efd0d58fb6c0084007c3b943b29dc250a745643dc06fe7b86aa57f4f2e9063f98ccba59fe77818b08fd7330324fc83e22211a603a5540c63205af74
+DIST chess-2.0b6.tar.gz 383951 SHA256 4d9938365965c109fc832109eec25d0a79d8c4b1ebd2025a4939ad88e75a396e SHA512 90dbb79f60d8d8e475c497a3d0da431e54b5bfe06285d493551c1ac6457e80ad9e71ada640374e9a0c4e9d5ee578ab68b2e370a47b5f5ff7f035caac839091e2 WHIRLPOOL 6a30f084dbb21fba4d69f1772acd33900fb4bd575b5e83596743fff25e475288386cd1f28e5f070e658cce2daeb5ac797e20559cab6a05fab2cf135ad2548b88
+DIST emacs-chess-pieces-2.0.tar.bz2 297687 SHA256 c47278127ebcd8b4503fe4058317436757f795b1404cc02b883dce215eb1c1b0 SHA512 e1ee59a338b68796fd60f8693f4ff8bf20ded535c516916cc8b1f4cf00ff696ca1eead844e2a6a9a1f2578a70370d7a67cbadb6ae454ae16b2ae93864e1b1f94 WHIRLPOOL c1951531aa0ba09442c389f39240946c476184458f339352c6cd2f243e71c15b5c62dd84b88a424aa80520ec36c65c43c52aa0223d35ddfa0524f96cbd274d04
+DIST emacs-chess-sounds-2.0.tar.bz2 3390098 SHA256 32c3577c512157523bc40d514a1682d9381bd28b3d8f5788c22eef5ef2cf6257 SHA512 f07894dd7a6e43450405c0eee8d1d95a08925ca8ebd5ca7e584eca45369cb2aa8eecb754b351d1977f473b520288d3e3e9a8ebe73216d14e26345b44e498efb4 WHIRLPOOL ea7190ab9fbb0648ecf7f765b7975ea3065feb4a057b3f4d5d6fe4b91554f81744bd0fb667c1fa0aeb98471947b56f4ecbe0af1b60a18225b767f2ff8535afc6
diff --git a/app-emacs/chess/chess-2.0.4.ebuild b/app-emacs/chess/chess-2.0.4.ebuild
new file mode 100644
index 000000000000..3c7951f4e38b
--- /dev/null
+++ b/app-emacs/chess/chess-2.0.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+NEED_EMACS=24
+
+inherit elisp
+
+DESCRIPTION="A chess client and library for Emacs"
+HOMEPAGE="http://elpa.gnu.org/packages/chess.html
+ http://www.emacswiki.org/emacs/ChessMode"
+# Taken from http://elpa.gnu.org/packages/${P}.tar
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz
+ mirror://gentoo/emacs-chess-sounds-${PV%.*}.tar.bz2
+ mirror://gentoo/emacs-chess-pieces-${PV%.*}.tar.bz2"
+
+LICENSE="GPL-3+ FDL-1.3+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+# Free alternatives first, otherwise follow the ordering in the upstream
+# chess-default-engine (in chess.el). Rearrange chess-default-engine in
+# the site-init file accordingly.
+RDEPEND="|| ( games-board/stockfish
+ games-board/fruit
+ games-board/gnuchess
+ games-board/phalanx
+ games-board/sjeng
+ games-board/crafty )"
+
+ELISP_REMOVE="chess-pkg.el"
+SITEFILE="50${PN}-gentoo-${PV}.el"
+DOCS="AUTHORS NEWS TODO"
+
+src_install() {
+ elisp_src_install
+ doinfo chess.info
+ insinto "${SITEETC}/${PN}"
+ doins chess-eco.fen chess-polyglot.bin
+ doins -r "${WORKDIR}"/{sounds,pieces}
+}
diff --git a/app-emacs/chess/chess-2.0_beta6-r2.ebuild b/app-emacs/chess/chess-2.0_beta6-r2.ebuild
new file mode 100644
index 000000000000..035f7b01836c
--- /dev/null
+++ b/app-emacs/chess/chess-2.0_beta6-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A chess client and library for Emacs"
+HOMEPAGE="http://emacs-chess.sourceforge.net/"
+SRC_URI="mirror://sourceforge/emacs-chess/${P/_beta/b}.tar.gz
+ mirror://gentoo/emacs-chess-sounds-${PV%%_*}.tar.bz2
+ mirror://gentoo/emacs-chess-pieces-${PV%%_*}.tar.bz2"
+
+LICENSE="GPL-2+ FDL-1.1+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+DEPEND=""
+RDEPEND="|| ( games-board/gnuchess
+ games-board/crafty
+ games-board/phalanx
+ games-board/sjeng )"
+
+S="${WORKDIR}/${PN}"
+DOCS="ChangeLog EPD.txt PGN.txt PLAN README TODO"
+ELISP_PATCHES="${PV}-chess-pos-move-gentoo.patch
+ ${PV}-chess-common-handler-gentoo.patch
+ ${PV}-texinfo-5.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ default
+}
+
+src_install() {
+ elisp_src_install
+ doinfo chess.info
+ insinto "${SITEETC}/${PN}"
+ doins -r "${WORKDIR}"/{sounds,pieces}
+}
diff --git a/app-emacs/chess/files/2.0_beta6-chess-common-handler-gentoo.patch b/app-emacs/chess/files/2.0_beta6-chess-common-handler-gentoo.patch
new file mode 100644
index 000000000000..0fd1e8c28264
--- /dev/null
+++ b/app-emacs/chess/files/2.0_beta6-chess-common-handler-gentoo.patch
@@ -0,0 +1,18 @@
+--- chess-orig/chess-common.el 2007-12-14 21:54:58.000000000 +0100
++++ chess/chess-common.el 2008-03-14 21:11:56.000000000 +0100
+@@ -41,10 +41,11 @@
+ (chess-message 'starting-engine name)
+ (unless (boundp path)
+ (chess-error 'could-not-find-engine name path))
+- (setq proc (start-process (concat "chess-" name)
+- (current-buffer) (symbol-value path)))
+- (chess-message 'starting-engine-done name)
+- proc))
++ (when (symbol-value path)
++ (setq proc (start-process (concat "chess-" name)
++ (current-buffer) (symbol-value path)))
++ (chess-message 'starting-engine-done name)
++ proc)))
+
+ ((eq event 'ready)
+ (chess-game-set-data game 'active t)
diff --git a/app-emacs/chess/files/2.0_beta6-chess-pos-move-gentoo.patch b/app-emacs/chess/files/2.0_beta6-chess-pos-move-gentoo.patch
new file mode 100644
index 000000000000..fe7a31ba1222
--- /dev/null
+++ b/app-emacs/chess/files/2.0_beta6-chess-pos-move-gentoo.patch
@@ -0,0 +1,12 @@
+--- chess-orig/chess-pos.el 2004-02-18 18:53:26.000000000 +0100
++++ chess/chess-pos.el 2007-09-24 11:04:39.000000000 +0200
+@@ -595,7 +595,8 @@
+ trying to move a blank square."
+ (assert (vectorp position))
+ (assert (listp changes))
+- (assert (> (length changes) 0))
++ ;; this fails for the start position in chess-opening
++ ;;(assert (> (length changes) 0))
+
+ ;; apply the piece movements listed in `changes'
+ (let ((ch changes))
diff --git a/app-emacs/chess/files/2.0_beta6-texinfo-5.patch b/app-emacs/chess/files/2.0_beta6-texinfo-5.patch
new file mode 100644
index 000000000000..285d976ceff8
--- /dev/null
+++ b/app-emacs/chess/files/2.0_beta6-texinfo-5.patch
@@ -0,0 +1,14 @@
+--- chess-orig/chess.texi
++++ chess/chess.texi
+@@ -44,9 +44,9 @@
+ @sp 4
+ @c The title is printed in a large font.
+ @center @titlefont{User's Guide}
+-@sp
++@sp 1
+ @center @titlefont{to}
+-@sp
++@sp 1
+ @center @titlefont{Emacs Chess: chess.el}
+ @ignore
+ @sp 2
diff --git a/app-emacs/chess/files/50chess-gentoo-2.0.4.el b/app-emacs/chess/files/50chess-gentoo-2.0.4.el
new file mode 100644
index 000000000000..b263ddd84a02
--- /dev/null
+++ b/app-emacs/chess/files/50chess-gentoo-2.0.4.el
@@ -0,0 +1,36 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'chess "chess"
+ "Start a game of chess, playing against ENGINE (a module name)." t)
+(defalias 'chess-session 'chess)
+(autoload 'chess-create-display "chess"
+ "Create a display, letting the user's customization decide the style.")
+(autoload 'chess-link "chess-link"
+ "Play out a game between two engines, and watch the progress." t)
+(autoload 'chess-pgn-read "chess-pgn"
+ "Read and display a PGN game after point." t)
+(autoload 'chess-pgn-mode "chess-pgn"
+ "A mode for editing chess PGN files." t)
+(defalias 'pgn-mode 'chess-pgn-mode)
+(autoload 'chess-puzzle "chess-puzzle"
+ "Pick a random puzzle from FILE, and solve it against the default engine." t)
+(autoload 'chess-fischer-random-position "chess-random"
+ "Generate a Fischer Random style position.")
+(autoload 'chess-tutorial "chess-tutorial"
+ "A simple chess training display." t)
+(autoload 'chess-ics "chess-ics"
+ "Connect to an Internet Chess Server." t)
+
+(add-to-list 'auto-mode-alist '("\\.pgn\\'" . chess-pgn-mode))
+
+(setq chess-images-directory "@SITEETC@/pieces/xboard")
+(setq chess-sound-directory "@SITEETC@/sounds")
+(setq chess-eco-hash-table "@SITEETC@/chess-eco.fen")
+(setq chess-polyglot-book-file "@SITEETC@/chess-polyglot.bin")
+
+;; Change the order of the engine preference list to coincide with
+;; the order of dependencies in the ebuild. The user can override this
+;; using "M-x customize-group RET chess RET".
+(setq chess-default-engine
+ '(chess-stockfish chess-fruit chess-gnuchess chess-phalanx chess-sjeng
+ chess-crafty chess-ai))
diff --git a/app-emacs/chess/files/50chess-gentoo.el b/app-emacs/chess/files/50chess-gentoo.el
new file mode 100644
index 000000000000..3aee961e25bc
--- /dev/null
+++ b/app-emacs/chess/files/50chess-gentoo.el
@@ -0,0 +1,33 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'chess "chess"
+ "Start a game of chess, playing against ENGINE (a module name)." t)
+(defalias 'chess-session 'chess)
+(autoload 'chess-create-display "chess"
+ "Create a display, letting the user's customization decide the style.")
+(autoload 'chess-link "chess-link"
+ "Play out a game between two engines, and watch the progress." t)
+(autoload 'chess-pgn-read "chess-pgn"
+ "Read and display a PGN game after point." t)
+(autoload 'chess-pgn-mode "chess-pgn"
+ "A mode for editing chess PGN files." t)
+(defalias 'pgn-mode 'chess-pgn-mode)
+(autoload 'chess-puzzle "chess-puzzle"
+ "Pick a random puzzle from FILE, and solve it against the default engine." t)
+(autoload 'chess-fischer-random-position "chess-random"
+ "Generate a Fischer Random style position.")
+(autoload 'chess-tutorial "chess-tutorial"
+ "A simple chess training display." t)
+(autoload 'chess-ics "chess-ics"
+ "Connect to an Internet Chess Server." t)
+
+(add-to-list 'auto-mode-alist '("\\.pgn\\'" . chess-pgn-mode))
+
+(setq chess-images-directory "@SITEETC@/pieces/xboard")
+(setq chess-sound-directory "@SITEETC@/sounds")
+
+;; Change the order of the engine preference list to coincide with the order
+;; of our dependencies: games-board/gnuchess, crafty, phalanx, and sjeng.
+;; The user can override this using M-x customize-group RET chess RET
+(setq chess-default-engine
+ '(chess-gnuchess chess-crafty chess-phalanx chess-sjeng))
diff --git a/app-emacs/chess/metadata.xml b/app-emacs/chess/metadata.xml
new file mode 100644
index 000000000000..d1df4e744e0e
--- /dev/null
+++ b/app-emacs/chess/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ chess.el is an Emacs Lisp library and several clients on top of the
+ underlying library functionality for performing various activities related
+ to the game of chess.
+
+ You can play against an external chess program such as gnuchess, crafty,
+ phalanx or sjeng. All of them are publically available, and chess.el will
+ automatically detect which one you have installed, provided they have
+ standard executable program names, and are in a located in a directory which
+ is part of the PATH. See the customisable variable `chess-default-engine'.
+
+ You can also play against another human or computer over the internet
+ (through a direct Emacs-to-Emacs connection, or on one of the Internet Chess
+ Servers like freechess.org or chessclub.com), or even against a very simple
+ chess thinking module implemented in pure Emacs Lisp.
+
+ chess.el also provides a mode for editing Portable Game Notation (PGN) files.
+</longdescription>
+<upstream>
+ <remote-id type="sourceforge">emacs-chess</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/circe/Manifest b/app-emacs/circe/Manifest
new file mode 100644
index 000000000000..128435b28162
--- /dev/null
+++ b/app-emacs/circe/Manifest
@@ -0,0 +1 @@
+DIST circe-1.3.tar.gz 118776 SHA256 02598a9e1e28fffc526fa81fd5350622af303f766a45771f99d0c0df08e294f7 SHA512 60bbd752c73e875f2306877591ad8de324db0a7446bbfebf460e44ef19c0c28d40d08c8ed9e0caa4062859b07545d310d86380377a479eb6bc38c72decfaa213 WHIRLPOOL ac531d3f5aa4a5697c2927c4b33913101383ac92ff61f159505935d33bf0b69e61db90a975840d55e790209355a4e4930bab6928503a12698558089a0cd39a92
diff --git a/app-emacs/circe/circe-1.3.ebuild b/app-emacs/circe/circe-1.3.ebuild
new file mode 100644
index 000000000000..7ce0ee344cf6
--- /dev/null
+++ b/app-emacs/circe/circe-1.3.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A great IRC client for Emacs"
+HOMEPAGE="http://www.jorgenschaefer.de/software/circe/
+ http://www.emacswiki.org/emacs/Circe"
+SRC_URI="https://github.com/jorgenschaefer/${PN}/archive/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc sparc x86"
+
+S="${WORKDIR}/${PN}-${P}/lisp"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="../README.md"
diff --git a/app-emacs/circe/files/50circe-gentoo.el b/app-emacs/circe/files/50circe-gentoo.el
new file mode 100644
index 000000000000..4c0f194ca2cf
--- /dev/null
+++ b/app-emacs/circe/files/50circe-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'circe "circe" "Connect to IRC." t)
diff --git a/app-emacs/circe/metadata.xml b/app-emacs/circe/metadata.xml
new file mode 100644
index 000000000000..5c42e1ba76b0
--- /dev/null
+++ b/app-emacs/circe/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="github">jorgenschaefer/circe</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/cldoc/Manifest b/app-emacs/cldoc/Manifest
new file mode 100644
index 000000000000..045027da16a7
--- /dev/null
+++ b/app-emacs/cldoc/Manifest
@@ -0,0 +1 @@
+DIST cldoc-1.16.el.bz2 16869 SHA256 7f75cb6d05939cced1030b095d8136f4a1d0918981fa1660cba9382edafabf18 SHA512 6b53418252e6c139cca24768b502d58cb9d316fd5778b541306b5e7806e9ddac1d7662e099e7dd90c98932555adaeb8a7481b0a72669d5231c803818133cbacc WHIRLPOOL 79a349253f1d50bb4b068fbeeec363b83c7d1c5f4cf83a2f4b8eead4fc153e2b403afa04a9a1661d4a774ed78a1482a1c8e4c73efdcf29ca37395c694845b511
diff --git a/app-emacs/cldoc/cldoc-1.16.ebuild b/app-emacs/cldoc/cldoc-1.16.ebuild
new file mode 100644
index 000000000000..672e04b6e5fe
--- /dev/null
+++ b/app-emacs/cldoc/cldoc-1.16.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Show Common Lisp operators and variables information in echo area"
+HOMEPAGE="http://homepage1.nifty.com/bmonkey/lisp/index-en.html"
+# taken from http://homepage1.nifty.com/bmonkey/emacs/elisp/cldoc.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="app-emacs/slime"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/cldoc/files/50cldoc-gentoo.el b/app-emacs/cldoc/files/50cldoc-gentoo.el
new file mode 100644
index 000000000000..79e11ea0e710
--- /dev/null
+++ b/app-emacs/cldoc/files/50cldoc-gentoo.el
@@ -0,0 +1,13 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'cldoc-mode "cldoc" nil t)
+(autoload 'turn-on-cldoc-mode "cldoc" nil t)
+(add-hook 'lisp-mode-hook 'turn-on-cldoc-mode)
+
+(add-hook 'slime-repl-mode-hook
+ #'(lambda ()
+ (turn-on-cldoc-mode)
+ (define-key slime-repl-mode-map " " nil)))
+(add-hook 'slime-mode-hook
+ #'(lambda () (define-key slime-mode-map " " nil)))
+(setq slime-use-autodoc-mode nil)
diff --git a/app-emacs/cldoc/metadata.xml b/app-emacs/cldoc/metadata.xml
new file mode 100644
index 000000000000..23f59bff4a62
--- /dev/null
+++ b/app-emacs/cldoc/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<herd>common-lisp</herd>
+<longdescription>
+Show Common Lisp operators and variables information in echo area.
+cldoc.el has a database of parameters and results of Common Lisp's
+standard functions, and syntax rules of standard macros and special
+operators. cldoc.el automatically uses SLIME's autodoc facility if
+available to display parameters of user defined functions and macros,
+and the values of global variables.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/cmail/Manifest b/app-emacs/cmail/Manifest
new file mode 100644
index 000000000000..4cfde9483c5a
--- /dev/null
+++ b/app-emacs/cmail/Manifest
@@ -0,0 +1 @@
+DIST cmail-2.62.tar.gz 507137 SHA256 b59c19fe9e8ecb0269960691916f5328f8fa133363808a59ece125fc7bf65668 SHA512 0b042861b6975910f281e949592bce7d83f94f6f5c78690ad7a4ecd4267b57c1e84fda0746d3018194d4e6d1a3c84a5a4c7fa172ec25027a957ad8400aff17b8 WHIRLPOOL 3611265181dbf9b4c5157c171f1f69ef59dec6f166f674c7ea75dbc6c5dbcbd3eabb39b445b6e2f4e7c23fdb22b763482bb0b3d011248e4d803dedc95227f519
diff --git a/app-emacs/cmail/cmail-2.62-r1.ebuild b/app-emacs/cmail/cmail-2.62-r1.ebuild
new file mode 100644
index 000000000000..f0e62c584cc0
--- /dev/null
+++ b/app-emacs/cmail/cmail-2.62-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit elisp
+
+DESCRIPTION="A simple mail management system for Emacs"
+HOMEPAGE="http://cmail.sourceforge.jp/"
+SRC_URI="mirror://sourceforge.jp/${PN}/2191/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="linguas_ja"
+
+RDEPEND="app-emacs/apel
+ virtual/emacs-flim
+ app-emacs/semi"
+
+SITEFILE="70cmail-gentoo.el"
+
+src_compile() {
+ emake EMACS="${EMACS}" FLAGS="${EMACSFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ emake EMACS="${EMACS}" \
+ FLAGS="${EMACSFLAGS} \
+ --eval \"(setq CMAIL_ICON_DIR \\\"${D}${SITEETC}/${PN}/icon\\\")\"" \
+ PREFIX="${D}/usr" \
+ LISPDIR="${D}/${SITELISP}" \
+ INFODIR="${D}/usr/share/info" \
+ VERSION_SPECIFIC_LISPDIR="${D}/${SITELISP}" install \
+ || die "emake install failed"
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+
+ dodoc ChangeLog INTRO.en README.en sample.* \
+ doc/README.{POP,gnuspop3}.en doc/cmail-r2c.en.doc || die "dodoc failed"
+
+ if use linguas_ja; then
+ dodoc README.ja RELNOTES.ja doc/FAQ \
+ doc/README.{FETCHMAIL,POP,bbdb,cmail-crypt,cvs-access} \
+ doc/README.{feedmail,folders,gnuspop3,imap4} \
+ doc/README.{multi-account,multi-highlight,nickname} \
+ doc/cmail-r2c.doc doc/glossary || die "dodoc failed"
+ else
+ rm -f "${D}"/usr/share/info/cmail.info*
+ fi
+}
diff --git a/app-emacs/cmail/files/70cmail-gentoo.el b/app-emacs/cmail/files/70cmail-gentoo.el
new file mode 100644
index 000000000000..5bc1fbb3711d
--- /dev/null
+++ b/app-emacs/cmail/files/70cmail-gentoo.el
@@ -0,0 +1,5 @@
+
+;;; cmail site-lisp configuration
+
+(setq cmail-spool-directory "/var/spool/mail")
+(autoload 'cmail "cmail" nil t)
diff --git a/app-emacs/cmail/metadata.xml b/app-emacs/cmail/metadata.xml
new file mode 100644
index 000000000000..955ea9e4689e
--- /dev/null
+++ b/app-emacs/cmail/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="sourceforge-jp">cmail</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/color-browser/Manifest b/app-emacs/color-browser/Manifest
new file mode 100644
index 000000000000..03747ebd9fb3
--- /dev/null
+++ b/app-emacs/color-browser/Manifest
@@ -0,0 +1 @@
+DIST color-browser-0.3.tar.gz 18685 SHA256 5456c099f8c90d943f8b8e02a4199a631cac0952a91b41bede09b2dc0464fdc7 SHA512 76648adbd1dd990ec513ad9a239e6ed5ba86ce29a689e74f669b943498dadf14d019eff81a416ca574e78f031dbf14ed9b1e467a3d197ff559f75b67033ca2d3 WHIRLPOOL f2523f80fee2f22df0ed8ff2ce81fdf445686026ab9b94d67c472795fbc5a3ec96e6d7b30a8d22f16140fc4493d6cf46a22d408e4bcb1b5a9ffface411bc8747
diff --git a/app-emacs/color-browser/color-browser-0.3-r1.ebuild b/app-emacs/color-browser/color-browser-0.3-r1.ebuild
new file mode 100644
index 000000000000..c1a155228dd5
--- /dev/null
+++ b/app-emacs/color-browser/color-browser-0.3-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A utility for designing Emacs color themes"
+HOMEPAGE="http://www.emacswiki.org/emacs/KahlilHodgson"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="app-emacs/color-theme"
+RDEPEND="${DEPEND}"
+
+ELISP_PATCHES="${PV}-gentoo.patch"
+SITEFILE="60${PN}-gentoo.el"
diff --git a/app-emacs/color-browser/files/0.3-gentoo.patch b/app-emacs/color-browser/files/0.3-gentoo.patch
new file mode 100644
index 000000000000..8ac5c684168d
--- /dev/null
+++ b/app-emacs/color-browser/files/0.3-gentoo.patch
@@ -0,0 +1,80 @@
+--- color-browser.el.orig 2006-05-17 11:40:18.000000000 -0500
++++ color-browser.el 2006-05-17 11:38:12.000000000 -0500
+@@ -1028,7 +1028,7 @@
+ ;; make some adjustments
+
+ ;; use SYMBOL instead of my-color-theme
+- (beginning-of-buffer)
++ (goto-char (point-min))
+ (insert "(require 'color-theme)\n\n")
+ (search-forward "my-color-theme" nil t)
+ (delete-region (match-beginning 0) (match-end 0))
+@@ -1044,7 +1044,7 @@
+ (insert symbol)
+
+ ;; add a provide
+- (end-of-buffer)
++ (goto-char (point-max))
+ (insert "\n\n(provide '" symbol ")\n")
+ (save-buffer)
+ (kill-this-buffer))
+@@ -1152,7 +1152,7 @@
+ (set-marker marker point)
+ ;; un-mark the previous current face
+ (save-excursion
+- (beginning-of-buffer)
++ (goto-char (point-min))
+ (and (search-forward "[" nil t) (delete-char -1))
+ (and (search-forward "]" nil t) (delete-char -1)))
+
+@@ -1491,7 +1491,7 @@
+ palette))
+
+ ;; parse the buffer to get a list of color-names
+- (beginning-of-buffer)
++ (goto-char (point-min))
+ (while (search-forward "[DEL]" nil t)
+ (forward-char 2)
+ (setq color-names
+@@ -1708,7 +1708,7 @@
+ (forward-line -1)
+ ;; skip top line
+ (when (bobp)
+- (end-of-buffer)
++ (goto-char (point-max))
+ (forward-line -1)) ;; skip last line
+ (yank)
+ (setq header-line-format "Palette Modified")
+@@ -1724,11 +1724,11 @@
+ (select-window (posn-window (event-start click))))
+ (let ((inhibit-read-only t)
+ (kill-ring kill-ring))
+- (end-of-buffer)
++ (goto-char (point-max))
+ (forward-line -2) ;; skip last line
+ (beginning-of-line)
+ (kill-line 1)
+- (beginning-of-buffer)
++ (goto-char (point-min))
+ (forward-line 1) ;; skip top line
+ (yank)
+ (setq header-line-format "Palette Modified")
+@@ -1760,7 +1760,7 @@
+
+ (beginning-of-line)
+ ;; catch point on or after last line
+- (unless (looking-at "\\[DEL\\]") (beginning-of-buffer))
++ (unless (looking-at "\\[DEL\\]") (goto-char (point-min)))
+ ;; catch point on first line
+ (when (bobp) (forward-line 1))
+ (setq start (point))
+@@ -1980,7 +1980,8 @@
+ ))
+ (setq header-line-format nil)
+ (force-mode-line-update)
+- ))........................................................
++ ))
++;;; ........................................................
+
+ ;;;_ + Color Browser.........................................
+
diff --git a/app-emacs/color-browser/files/60color-browser-gentoo.el b/app-emacs/color-browser/files/60color-browser-gentoo.el
new file mode 100644
index 000000000000..724fc248a353
--- /dev/null
+++ b/app-emacs/color-browser/files/60color-browser-gentoo.el
@@ -0,0 +1,6 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'color-browser "color-browser"
+ "A utility for designing Emacs color themes" t)
+
+(setq cb-palettes-dir "~/color-browser/palettes/")
+(setq cb-themes-dir "~/color-browser/themes/")
diff --git a/app-emacs/color-browser/metadata.xml b/app-emacs/color-browser/metadata.xml
new file mode 100644
index 000000000000..dfbc80022259
--- /dev/null
+++ b/app-emacs/color-browser/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ This package provides a tool that can (hopefully) aid in the production of
+ quality color themes. Basically it allows the user to
+ * develop sets of colors (palettes) that work well together,
+ * use those palettes to quickly select and set the properties of key face
+ groups, and
+ * save and manipulate themes and palettes under development.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/color-moccur/Manifest b/app-emacs/color-moccur/Manifest
new file mode 100644
index 000000000000..648e88124de7
--- /dev/null
+++ b/app-emacs/color-moccur/Manifest
@@ -0,0 +1 @@
+DIST color-moccur-2.73.el.xz 22252 SHA256 5abd5ac46edd213c5b6065f549d969104465c91cd0c4226c83d283355652469f SHA512 15ce4c9776e5a5bb273c31b8552a8f434a2a4065e874ee558ef2b9dd19ccda6f5807430e7588c4e2e1add8d0d94dba3e19be2745138ea440d4ac2705efdbf528 WHIRLPOOL af48750930e2dda291e1a360a0e981faad4849c572f2f36b6ce8701409c9853be7966716ff5d293f83a3acbc76a3bbdf5f3868111d27c63fb655aafc5ad1a7eb
diff --git a/app-emacs/color-moccur/color-moccur-2.73.ebuild b/app-emacs/color-moccur/color-moccur-2.73.ebuild
new file mode 100644
index 000000000000..c3dedd6d2b0b
--- /dev/null
+++ b/app-emacs/color-moccur/color-moccur-2.73.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Major mode for color moccur"
+HOMEPAGE="http://www.bookshelf.jp/
+ http://www.emacswiki.org/emacs/SearchBuffers"
+# taken from http://www.bookshelf.jp/elc/color-moccur.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/color-moccur/files/50color-moccur-gentoo.el b/app-emacs/color-moccur/files/50color-moccur-gentoo.el
new file mode 100644
index 000000000000..b1e2bff11c72
--- /dev/null
+++ b/app-emacs/color-moccur/files/50color-moccur-gentoo.el
@@ -0,0 +1,12 @@
+(add-to-list 'load-path "@SITELISP@")
+(mapc (function (lambda (x) (autoload x "color-moccur" nil t)))
+ '(moccur
+ dmoccur
+ dired-do-moccur
+ Buffer-menu-moccur
+ grep-buffers
+ search-buffers
+ occur-by-moccur
+ isearch-moccur
+ moccur-grep
+ moccur-grep-find))
diff --git a/app-emacs/color-moccur/metadata.xml b/app-emacs/color-moccur/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/color-moccur/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/color-theme/Manifest b/app-emacs/color-theme/Manifest
new file mode 100644
index 000000000000..bd5e4e8456fa
--- /dev/null
+++ b/app-emacs/color-theme/Manifest
@@ -0,0 +1 @@
+DIST color-theme-6.6.0.tar.gz 124858 SHA256 56d35f02dc4c8dd386a7242007432adc458466c8a48d0d680eda1826197ca17b SHA512 4faa22900f6ad4a1dd57452470e23b57827d3f02bf2b9e3c4eed6f5693432d6478aa5008e67f219a95412a63fe52dbcad15b0ac7a3b4d39f1d28ceda75e5e76c WHIRLPOOL d4139af0f1c2d3c14e6b142cb7eac1f28bcb89cf011e4b6041fca0bc5c01810ddb2e1e9cc916887c5f11741fe69d0fed996473d5f662ec35a85de224909b96ae
diff --git a/app-emacs/color-theme/color-theme-6.6.0-r1.ebuild b/app-emacs/color-theme/color-theme-6.6.0-r1.ebuild
new file mode 100644
index 000000000000..e361ac977bb4
--- /dev/null
+++ b/app-emacs/color-theme/color-theme-6.6.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Install color themes (includes many themes and allows you to share your own with the world)"
+HOMEPAGE="http://www.nongnu.org/color-theme/"
+SRC_URI="http://download.savannah.gnu.org/releases-noredirect/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
+
+ELISP_PATCHES="${P}-replace-in-string.patch"
+ELISP_REMOVE="color-theme-autoloads.*"
+SITEFILE="50${PN}-gentoo.el"
+
+src_install() {
+ elisp-install ${PN} *.el *.elc
+ elisp-install ${PN}/themes themes/*.el
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc AUTHORS BUGS ChangeLog README
+
+ DOC_CONTENTS="To use color-theme non-interactively, initialise it
+ in your ~/.emacs file as in the following example (which is
+ for the \"Blue Sea\" theme):
+ \n
+ \n(color-theme-initialize)
+ \n(color-theme-blue-sea)"
+ readme.gentoo_create_doc
+}
diff --git a/app-emacs/color-theme/files/50color-theme-gentoo.el b/app-emacs/color-theme/files/50color-theme-gentoo.el
new file mode 100644
index 000000000000..9d43c350fffd
--- /dev/null
+++ b/app-emacs/color-theme/files/50color-theme-gentoo.el
@@ -0,0 +1,109 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload (quote color-theme-select) "color-theme" "\
+Displays a special buffer for selecting and installing a color theme.
+With optional prefix ARG, this buffer will include color theme libraries
+as well. A color theme library is in itself not complete, it must be
+used as part of another color theme to be useful. Thus, color theme
+libraries are mainly useful for color theme authors." t nil)
+
+(autoload (quote color-theme-describe) "color-theme" "\
+Describe color theme listed at point.
+This shows the documentation of the value of text-property color-theme
+at point. The text-property color-theme should be a color theme
+function. See `color-themes'." t nil)
+
+(autoload (quote color-theme-install-at-mouse) "color-theme" "\
+Install color theme clicked upon using the mouse.
+First argument EVENT is used to set point. Then
+`color-theme-install-at-point' is called." t nil)
+
+(autoload (quote color-theme-install-at-point-for-current-frame) "color-theme" "\
+Install color theme at point for current frame only.
+Binds `color-theme-is-global' to nil and calls
+`color-theme-install-at-point'." t nil)
+
+(autoload (quote color-theme-print) "color-theme" "\
+Print the current color theme function.
+
+You can contribute this function to <URL:news:gnu.emacs.sources> or
+paste it into your .emacs file and call it. That should recreate all
+the settings necessary for your color theme.
+
+Example:
+
+ (require 'color-theme)
+ (defun my-color-theme ()
+ \"Color theme by Alex Schroeder, created 2000-05-17.\"
+ (interactive)
+ (color-theme-install
+ '(...
+ ...
+ ...)))
+ (my-color-theme)
+
+If you want to use a specific color theme function, you can call the
+color theme function in your .emacs directly.
+
+Example:
+
+ (require 'color-theme)
+ (color-theme-gnome2)" t nil)
+
+(autoload (quote color-theme-analyze-defun) "color-theme" "\
+Once you have a color-theme printed, check for missing faces.
+This is used by maintainers who receive a color-theme submission
+and want to make sure it follows the guidelines by the color-theme
+author." t nil)
+
+(autoload (quote color-theme-make-snapshot) "color-theme" "\
+Return the definition of the current color-theme.
+The function returned will recreate the color-theme in use at the moment." nil nil)
+
+(autoload (quote color-theme-compare) "color-theme" "\
+Compare two color themes.
+This will print the differences between installing THEME-A and
+installing THEME-B. Note that the order is important: If a face is
+defined in THEME-A and not in THEME-B, then this will not show up as a
+difference, because there is no reset before installing THEME-B. If a
+face is defined in THEME-B and not in THEME-A, then this will show up as
+a difference." t nil)
+
+(autoload (quote color-theme-install) "color-theme" "\
+Install a color theme defined by frame parameters, variables and faces.
+
+The theme is installed for all present and future frames; any missing
+faces are created. See `color-theme-install-faces'.
+
+THEME is a color theme definition. See below for more information.
+
+If you want to install a color theme from your .emacs, use the output
+generated by `color-theme-print'. This produces color theme function
+which you can copy to your .emacs.
+
+A color theme definition is a list:
+\([FUNCTION] FRAME-PARAMETERS VARIABLE-SETTINGS FACE-DEFINITIONS)
+
+FUNCTION is the color theme function which called `color-theme-install'.
+This is no longer used. There was a time when this package supported
+automatic factoring of color themes. This has been abandoned.
+
+FRAME-PARAMETERS is an alist of frame parameters. These are installed
+with `color-theme-install-frame-params'. These are installed last such
+that any changes to the default face can be changed by the frame
+parameters.
+
+VARIABLE-DEFINITIONS is an alist of variable settings. These are
+installed with `color-theme-install-variables'.
+
+FACE-DEFINITIONS is an alist of face definitions. These are installed
+with `color-theme-install-faces'.
+
+If `color-theme-is-cumulative' is nil, a color theme will undo face and
+frame-parameter settings of previous color themes." nil nil)
+
+(autoload (quote color-theme-submit) "color-theme" "\
+Submit your color-theme to the maintainer." t nil)
+
+(autoload (quote color-theme-initialize) "color-theme" "\
+Initialize the color theme package by loading color-theme-libraries." t nil)
diff --git a/app-emacs/color-theme/files/color-theme-6.6.0-replace-in-string.patch b/app-emacs/color-theme/files/color-theme-6.6.0-replace-in-string.patch
new file mode 100644
index 000000000000..bfd6bedd8983
--- /dev/null
+++ b/app-emacs/color-theme/files/color-theme-6.6.0-replace-in-string.patch
@@ -0,0 +1,30 @@
+http://bugs.gentoo.org/280293
+
+--- color-theme-6.6.0-orig/color-theme.el 2006-05-28 15:07:29.000000000 +0200
++++ color-theme-6.6.0/color-theme.el 2009-08-10 10:17:00.000000000 +0200
+@@ -72,11 +72,6 @@
+ (string-match "XEmacs" emacs-version))
+ "Non-nil if running XEmacs.")
+
+-;; Add this since it appears to miss in emacs-2x
+-(or (fboundp 'replace-in-string)
+- (defun replace-in-string (target old new)
+- (replace-regexp-in-string old new target)))
+-
+ ;; face-attr-construct has a problem in Emacs 20.7 and older when
+ ;; dealing with inverse-video faces. Here is a short test to check
+ ;; wether you are affected.
+@@ -1626,9 +1621,10 @@
+ (add-to-list 'color-themes
+ (list ',n
+ (upcase-initials
+- (replace-in-string
+- (replace-in-string
+- (symbol-name ',n) "^color-theme-" "") "-" " "))
++ (replace-regexp-in-string
++ "-" " "
++ (replace-regexp-in-string
++ "^color-theme-" "" (symbol-name ',n))))
+ ,author))
+ (defun ,n ()
+ ,description
diff --git a/app-emacs/color-theme/metadata.xml b/app-emacs/color-theme/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/color-theme/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/company-mode/Manifest b/app-emacs/company-mode/Manifest
new file mode 100644
index 000000000000..fe92e834f2a6
--- /dev/null
+++ b/app-emacs/company-mode/Manifest
@@ -0,0 +1,2 @@
+DIST company-mode-0.6.14.tar.gz 51776 SHA256 5472cd634bf09da4557f055d3615afdd5436f814f63923ad94ccbebe60ab5e08 SHA512 7b8c0b70dc9c010214e8671fd7393faa9d1dd0839f41d532eb93eda91c77b4c93f2145ad2d688011976bfbb45282f35b937f195499f29cda79147ec2815e94d9 WHIRLPOOL 1aeefc6e4a5d7e3696150c38187131811c88fd3e9478a401400a31a7f7f7e3aad42736cabb093398470f9b20041639143665bb9d7335e2ae40ccfab8d2ab91ce
+DIST company-mode-0.7.tar.gz 54670 SHA256 73d55d9288537800c23f5e9e5b6208dd5e36e29271dca1a6c3840ca20142a268 SHA512 375c8541a0c5b34fba37ea136c8549e6ec916c238bee8115f036d88f273d6bcb0c0f436a6193d3b4be6528945d8f85c605de8d340e903a9764f5ace664f8cf61 WHIRLPOOL 23e18a37be0a2c1f4c7ded455557a5503c8f25b910ce5c0f36d8b09a22bd4aa96a944b0363750fce6b111dc3854c896f1800ac4dad20f99c76d7e0c9829e6014
diff --git a/app-emacs/company-mode/company-mode-0.6.14.ebuild b/app-emacs/company-mode/company-mode-0.6.14.ebuild
new file mode 100644
index 000000000000..3c2782adf170
--- /dev/null
+++ b/app-emacs/company-mode/company-mode-0.6.14.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="In-buffer completion front-end"
+HOMEPAGE="http://company-mode.github.com/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ropemacs"
+
+# Note: company-mode supports many backends, and we refrain from including
+# them all in RDEPEND. Only depend on things that are needed at build time.
+DEPEND="ropemacs? ( app-emacs/pymacs )"
+RDEPEND="${DEPEND}
+ ropemacs? ( dev-python/ropemacs )"
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README.md NEWS.md"
+
+src_prepare() {
+ # Disable backends that require extra dependencies, unless they are
+ # selected by the respective USE flag
+
+ elog "Removing pysmell backend"
+ rm company-pysmell.el || die
+
+ if ! use ropemacs; then
+ elog "Removing ropemacs backend, as requested by USE=-ropemacs"
+ rm company-ropemacs.el || die
+ fi
+}
diff --git a/app-emacs/company-mode/company-mode-0.7.ebuild b/app-emacs/company-mode/company-mode-0.7.ebuild
new file mode 100644
index 000000000000..3c2782adf170
--- /dev/null
+++ b/app-emacs/company-mode/company-mode-0.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="In-buffer completion front-end"
+HOMEPAGE="http://company-mode.github.com/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ropemacs"
+
+# Note: company-mode supports many backends, and we refrain from including
+# them all in RDEPEND. Only depend on things that are needed at build time.
+DEPEND="ropemacs? ( app-emacs/pymacs )"
+RDEPEND="${DEPEND}
+ ropemacs? ( dev-python/ropemacs )"
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README.md NEWS.md"
+
+src_prepare() {
+ # Disable backends that require extra dependencies, unless they are
+ # selected by the respective USE flag
+
+ elog "Removing pysmell backend"
+ rm company-pysmell.el || die
+
+ if ! use ropemacs; then
+ elog "Removing ropemacs backend, as requested by USE=-ropemacs"
+ rm company-ropemacs.el || die
+ fi
+}
diff --git a/app-emacs/company-mode/files/50company-mode-gentoo.el b/app-emacs/company-mode/files/50company-mode-gentoo.el
new file mode 100644
index 000000000000..cd85457fe91e
--- /dev/null
+++ b/app-emacs/company-mode/files/50company-mode-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'company-mode "company" nil t)
diff --git a/app-emacs/company-mode/metadata.xml b/app-emacs/company-mode/metadata.xml
new file mode 100644
index 000000000000..91bd7f737518
--- /dev/null
+++ b/app-emacs/company-mode/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<use>
+ <flag name="ropemacs">Install backend for
+ <pkg>dev-python/ropemacs</pkg></flag>
+</use>
+<upstream>
+ <remote-id type="github">company-mode/company-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/crontab-mode/Manifest b/app-emacs/crontab-mode/Manifest
new file mode 100644
index 000000000000..4e50056a7525
--- /dev/null
+++ b/app-emacs/crontab-mode/Manifest
@@ -0,0 +1 @@
+DIST crontab-mode-1.20.tar.bz2 2617 SHA256 e3c79e655ee62bb9f61ac4e665755bd2a3d55877eaa0c4c59e7a0ff7a7b52936 SHA512 30588baca16a46c2dd079bce12386324ccf26eb50e7a99c8e824704a399d0a7f34b425c5732a196a5e5655b242d243a02fdc816abbdfaaaaa87f983e4846cbf4 WHIRLPOOL 53c26a54998bd847fdf5d09a50c1897c9914eea82293d5df5a2656edafef712f0299d9ceda18b7a56dafddfb6777fc5467e145e116bdc9203f025b361985b99f
diff --git a/app-emacs/crontab-mode/crontab-mode-1.20.ebuild b/app-emacs/crontab-mode/crontab-mode-1.20.ebuild
new file mode 100644
index 000000000000..82616563a43b
--- /dev/null
+++ b/app-emacs/crontab-mode/crontab-mode-1.20.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Mode for editing crontab files"
+HOMEPAGE="http://www.mahalito.net/~harley/elisp/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2" # GPL-2 only
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/crontab-mode/files/50crontab-mode-gentoo.el b/app-emacs/crontab-mode/files/50crontab-mode-gentoo.el
new file mode 100644
index 000000000000..b2100eb15cb5
--- /dev/null
+++ b/app-emacs/crontab-mode/files/50crontab-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'crontab-mode "crontab-mode" nil t)
+(autoload 'crontab-get "crontab-mode" nil t)
diff --git a/app-emacs/crontab-mode/metadata.xml b/app-emacs/crontab-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/crontab-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/crypt++/Manifest b/app-emacs/crypt++/Manifest
new file mode 100644
index 000000000000..44764e7b1399
--- /dev/null
+++ b/app-emacs/crypt++/Manifest
@@ -0,0 +1,2 @@
+DIST crypt++-2.94_pre20080430.el.bz2 28692 SHA256 198a90f32a0461ad0fcbccfc9c0782217cd9ba44183daa2e21108c35e02fd3f6 SHA512 8e142840f8e2db4688e9ce4432ee14db4225899a88a35dea3e371f829ccfc24faa34c607517e344e7706bf75126d758b0490dd5324efa43d4649de127076a5ce WHIRLPOOL f17ca1ed7888597b5ac2f640ba54752c2fb80bf47b36dfcd466f95aa7c2351b589eb006278fb618c798b66461fa1739a0de538289ba28838d7fb4c0eeae4f40d
+DIST crypt++el_2.92.orig.tar.gz 34251 SHA256 ca0a44968c6a75763857fcd61063310a6011b912be473e09d8762a6451f9f3a4 SHA512 d3abf169f60c3d1a270149b800d96f7132ebeb99b6952858b81cb2c05ffdce30f6c46f75723490731c47e7eb44515554e012da98351bbd9f9127dcba8453e389 WHIRLPOOL c4326c2daa6ac0c207ca028d5d4f3756f9499944428f8b9eaaf66d8d6cdb29016c7c0cc8cc83317e880ffc351e2b28a7492ee710d2b11396ea90876c3b257a46
diff --git a/app-emacs/crypt++/crypt++-2.92.ebuild b/app-emacs/crypt++/crypt++-2.92.ebuild
new file mode 100644
index 000000000000..0d4275d3ff51
--- /dev/null
+++ b/app-emacs/crypt++/crypt++-2.92.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Handle all sorts of compressed and encrypted files"
+HOMEPAGE="http://www.emacswiki.org/emacs/CryptPlusPlus"
+SRC_URI="mirror://debian/pool/main/c/crypt++el/crypt++el_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+
+S="${WORKDIR}/${PN}el-${PV}"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/crypt++/crypt++-2.94_pre20080430.ebuild b/app-emacs/crypt++/crypt++-2.94_pre20080430.ebuild
new file mode 100644
index 000000000000..66aa26379b26
--- /dev/null
+++ b/app-emacs/crypt++/crypt++-2.94_pre20080430.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Handle all sorts of compressed and encrypted files"
+HOMEPAGE="http://www.emacswiki.org/emacs/CryptPlusPlus"
+# snapshot from http://cvs.xemacs.org/viewcvs.cgi/XEmacs/packages/xemacs-packages/os-utils/crypt.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/crypt++/files/50crypt++-gentoo.el b/app-emacs/crypt++/files/50crypt++-gentoo.el
new file mode 100644
index 000000000000..0009afdeff1c
--- /dev/null
+++ b/app-emacs/crypt++/files/50crypt++-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'crypt++)
diff --git a/app-emacs/crypt++/metadata.xml b/app-emacs/crypt++/metadata.xml
new file mode 100644
index 000000000000..b7412c27c419
--- /dev/null
+++ b/app-emacs/crypt++/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ crypt++.el is a package of Lisp functions that recognize automatically
+ encrypted and encoded (i.e., compressed) files when they are first visited
+ or written. The BUFFER corresponding to the file is decoded and/or decrypted
+ before it is presented to the user. The file itself is unchanged on the
+ disk. When the buffer is subsequently saved to disk, a hook function
+ re-encodes the buffer before the actual disk write takes place.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/csharp-mode/Manifest b/app-emacs/csharp-mode/Manifest
new file mode 100644
index 000000000000..cf09a3d5a260
--- /dev/null
+++ b/app-emacs/csharp-mode/Manifest
@@ -0,0 +1 @@
+DIST csharp-mode-0.7.0.tar.bz2 6254 SHA256 e72a17972283691c33080aaa60d8060576d2951f1e374da223cf76468bd2eeec SHA512 b6cbf2899853c29f44d19f37a01984a03c61f7bde144880f6f32e2a890d3b90a546ff69ad328d157e5494191aed37836373f49ddbafac49d8b9bd1cea3e22de9 WHIRLPOOL 58816ec16158adb4de40fe27540a3734813012ecd7f345fc048faa4807d85ecef9617d82e30f945ad7dfb1452ef066a1ed3e38c3e792e43940e23464ba70c552
diff --git a/app-emacs/csharp-mode/csharp-mode-0.7.0-r1.ebuild b/app-emacs/csharp-mode/csharp-mode-0.7.0-r1.ebuild
new file mode 100644
index 000000000000..3dd19ba87286
--- /dev/null
+++ b/app-emacs/csharp-mode/csharp-mode-0.7.0-r1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A derived Emacs mode implementing most of the C# rules"
+HOMEPAGE="http://mfgames.com/csharp-mode/start"
+SRC_URI="http://mfgames.com/releases/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+ELISP_PATCHES="${P}-emacs-24.4.patch"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/csharp-mode/files/50csharp-mode-gentoo.el b/app-emacs/csharp-mode/files/50csharp-mode-gentoo.el
new file mode 100644
index 000000000000..ea2056b6a29d
--- /dev/null
+++ b/app-emacs/csharp-mode/files/50csharp-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'csharp-mode "csharp-mode" "Major mode for editing C# code." t)
+(add-to-list 'auto-mode-alist '("\\.cs\\'" . csharp-mode))
diff --git a/app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch b/app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch
new file mode 100644
index 000000000000..c3f73201cbae
--- /dev/null
+++ b/app-emacs/csharp-mode/files/csharp-mode-0.7.0-emacs-24.4.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/528374
+
+--- a/csharp-mode.el
++++ b/csharp-mode.el
+@@ -125,6 +125,9 @@
+ (stringp byte-compile-dest-file))
+ (cons (file-name-directory byte-compile-dest-file) load-path)
+ load-path)))
++ (and (= emacs-major-version 24)
++ (>= emacs-minor-version 4)
++ (require 'cl))
+ (load "cc-mode" nil t)
+ (load "cc-fonts" nil t)
+ (load "cc-langs" nil t)))
diff --git a/app-emacs/csharp-mode/metadata.xml b/app-emacs/csharp-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/csharp-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/css-mode/Manifest b/app-emacs/css-mode/Manifest
new file mode 100644
index 000000000000..a82f493e1e2c
--- /dev/null
+++ b/app-emacs/css-mode/Manifest
@@ -0,0 +1 @@
+DIST css-mode-0.11.tar.bz2 6848 SHA256 f7980d13a2d5ba2ac6873fdc2c7b54db5c13e93294a2c1068b4b04e7b6a2f7d4 SHA512 b93574fde8bb24ffc4dac6ddda20db3ec3c1834c1201f250f24805d31c7972edc2ffc157e7717327e7baac5c71a1d943a9d80bc7bec96be99c44cd2ab16e0e03 WHIRLPOOL e9036b4ef8604025aa123fc56c51b2171f0027d493134b89a96d2eceef3b0de3668c5ced5396c684b3ff8cfa595eb21d3ddd491a3c2b45f486955cee4f020b30
diff --git a/app-emacs/css-mode/css-mode-0.11-r1.ebuild b/app-emacs/css-mode/css-mode-0.11-r1.ebuild
new file mode 100644
index 000000000000..27ad064adb35
--- /dev/null
+++ b/app-emacs/css-mode/css-mode-0.11-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A major mode for editing Cascading Style Sheets (CSS)"
+HOMEPAGE="http://www.garshol.priv.no/download/software/css-mode/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
+
+ELISP_PATCHES="${P}-no-compat-kbd.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ elisp_src_prepare
+ # Fix documentation
+ sed -i -e 's,HREF="/visuals/standard.css",HREF="standard.css",' doco.html
+}
+
+src_install() {
+ elisp_src_install
+ dohtml -A css doco.html standard.css
+}
diff --git a/app-emacs/css-mode/files/50css-mode-gentoo.el b/app-emacs/css-mode/files/50css-mode-gentoo.el
new file mode 100644
index 000000000000..8559be036db5
--- /dev/null
+++ b/app-emacs/css-mode/files/50css-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'auto-mode-alist '("\\.css\\'" . css-mode))
+(autoload 'css-mode "css-mode" "Mode for editing Cascading Style Sheets" t)
diff --git a/app-emacs/css-mode/files/css-mode-0.11-no-compat-kbd.patch b/app-emacs/css-mode/files/css-mode-0.11-no-compat-kbd.patch
new file mode 100644
index 000000000000..858cb238bf3c
--- /dev/null
+++ b/app-emacs/css-mode/files/css-mode-0.11-no-compat-kbd.patch
@@ -0,0 +1,24 @@
+Function "apropos-macrop" apparently no longer exists in Emacs 24.4.
+Simply remove the code using it, since it was only needed for backwards
+compatibility with Emacs 19 (the "kbd" macro appeared in Emacs 20.1).
+https://bugs.gentoo.org/532358
+
+--- css-mode-0.11-orig/css-mode.el
++++ css-mode-0.11/css-mode.el
+@@ -166,16 +166,6 @@
+ (define-key cssm-mode-map (read-kbd-macro "}") 'cssm-insert-right-brace-and-indent)
+ (define-key cssm-mode-map (read-kbd-macro "M-TAB") 'cssm-complete-property))
+
+-;;; Cross-version compatibility layer
+-
+-(when (not (or (apropos-macrop 'kbd)
+- (fboundp 'kbd)))
+- (defmacro kbd (keys)
+- "Convert KEYS to the internal Emacs key representation.
+-KEYS should be a string constant in the format used for
+-saving keyboard macros (see `insert-kbd-macro')."
+- (read-kbd-macro keys)))
+-
+ ;;; Auto-indentation support
+
+ ; internal
diff --git a/app-emacs/css-mode/metadata.xml b/app-emacs/css-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/css-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/csv-mode/Manifest b/app-emacs/csv-mode/Manifest
new file mode 100644
index 000000000000..8de7aa129751
--- /dev/null
+++ b/app-emacs/csv-mode/Manifest
@@ -0,0 +1 @@
+DIST csv-mode-1.50.tar.gz 14379 SHA256 ece4d72af5f829cc0c3702c22a7968940c69f9ac1dac474e25c2eb725e4fe8ff SHA512 f62e9561f3ec9c14d0fc44de92f83b733ab86e45ba4b8919e5dbbee05d25a346cf7f1412aa0c5be7e88079d219dd4c22d6e198f4e53f801ae1b137e014a7943c WHIRLPOOL 3fa41e2cf377f39a6cba6bf2ac9c9cd61cc71457af2f71bc5f4e428821af14bb3751eecda03c96119824b03749bd7916daee4027a2e4424c93c5b7139dd6a40b
diff --git a/app-emacs/csv-mode/csv-mode-1.50.ebuild b/app-emacs/csv-mode/csv-mode-1.50.ebuild
new file mode 100644
index 000000000000..1d27eb4e386b
--- /dev/null
+++ b/app-emacs/csv-mode/csv-mode-1.50.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A major mode for editing comma-separated value files"
+HOMEPAGE="http://centaur.maths.qmw.ac.uk/Emacs/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc sparc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/csv-mode/files/50csv-mode-gentoo.el b/app-emacs/csv-mode/files/50csv-mode-gentoo.el
new file mode 100644
index 000000000000..51a50f3543bb
--- /dev/null
+++ b/app-emacs/csv-mode/files/50csv-mode-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'csv-mode "csv-mode"
+ "Major mode for editing comma-separated value files." t)
+(add-to-list 'auto-mode-alist '("\\.[Cc][Ss][Vv]\\'" . csv-mode))
diff --git a/app-emacs/csv-mode/metadata.xml b/app-emacs/csv-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/csv-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/d-mode/Manifest b/app-emacs/d-mode/Manifest
new file mode 100644
index 000000000000..f5594f0595e4
--- /dev/null
+++ b/app-emacs/d-mode/Manifest
@@ -0,0 +1 @@
+DIST d-mode-2.0.6.tar.gz 5465 SHA256 303ede6d2555ab935676ec4576d36c79bc880af86f37838a3b651b39f20a8f38 SHA512 8706459af61e49b3ca1ef6d4021abff752706b4dca9385c4fbe2b7c29ecb028dc3df558b1e9b3a358e5c38e3d2ab7121505583f95d3afdd9a06bc9449ed678f2 WHIRLPOOL 6f86955536c68fdc6da917c453d0e2ab9603de661abb6b2c504a298a8f76ad4111a0afa2ac0e5b585f8f7acb7a8a688fd3a3089726aa4150476acdd4364ae09c
diff --git a/app-emacs/d-mode/d-mode-2.0.6.ebuild b/app-emacs/d-mode/d-mode-2.0.6.ebuild
new file mode 100644
index 000000000000..910b6908839f
--- /dev/null
+++ b/app-emacs/d-mode/d-mode-2.0.6.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for editing D code"
+HOMEPAGE="https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode
+ http://www.emacswiki.org/emacs/DMode"
+SRC_URI="https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/Emacs-D-Mode-2.0.6"
+ELISP_PATCHES="${P}-emacs-24.4.patch"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/d-mode/files/50d-mode-gentoo.el b/app-emacs/d-mode/files/50d-mode-gentoo.el
new file mode 100644
index 000000000000..6fdf0dd8f397
--- /dev/null
+++ b/app-emacs/d-mode/files/50d-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'd-mode "d-mode" "Major mode for editing D code" t)
+(add-to-list 'auto-mode-alist '("\\.d[i]?\\'" . d-mode))
diff --git a/app-emacs/d-mode/files/d-mode-2.0.6-emacs-24.4.patch b/app-emacs/d-mode/files/d-mode-2.0.6-emacs-24.4.patch
new file mode 100644
index 000000000000..e8fc3500b48e
--- /dev/null
+++ b/app-emacs/d-mode/files/d-mode-2.0.6-emacs-24.4.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/536490
+https://bugs.gentoo.org/547026
+
+--- Emacs-D-Mode-2.0.6-orig/d-mode.el
++++ Emacs-D-Mode-2.0.6/d-mode.el
+@@ -66,6 +66,7 @@
+ ;; necessary to get them compiled.)
+ ;; Coment out 'when-compile part for debugging
+ (eval-when-compile
++ (require 'cl)
+ (require 'cc-langs)
+ (require 'cc-fonts)
+ )
diff --git a/app-emacs/d-mode/metadata.xml b/app-emacs/d-mode/metadata.xml
new file mode 100644
index 000000000000..dc4cb40bfcb1
--- /dev/null
+++ b/app-emacs/d-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="github">Emacs-D-Mode-Maintainers/Emacs-D-Mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/ddskk/Manifest b/app-emacs/ddskk/Manifest
new file mode 100644
index 000000000000..ac607561eb1d
--- /dev/null
+++ b/app-emacs/ddskk/Manifest
@@ -0,0 +1,3 @@
+DIST ddskk-14.3.tar.gz 805289 SHA256 478e2c824cfcd4e956a2e30e0f3967c3e385b3941f13fdd6c8c270d89367d0ef SHA512 6b29c78999a677162de3f86a9a53d363885443022852137665b29fa1a053272f2a50647ec94283cb58cd83d0172cbe85c53a8515d22116bbbd3a0efce408ed62 WHIRLPOOL 1bfa43975976cb487c49d7673f0f0da3c3a9c1c2c4bc95c1a72c3c208ee4070e7321568e5d739fca4d50083037af0c7616fa190cc89425f2117681f923da1ba3
+DIST ddskk-14.4.tar.gz 847188 SHA256 a538c641f3302432aca07ae748bc0e4a7fcc91ff01c3d96b3169d1fbaa5a7d4a SHA512 d44d0afd2557c087549f337acf2778988128e06a82d1f15d080efcad4034cedfbe52fee7bad102d8dee4159ba4f5c89008055a51ce5a564d220fed98e61ef4c9 WHIRLPOOL 4f16a3f82f3c863e6f9df38ff9012507d69d8b16072c94ca953c185a588510aa8c35efc01cd5cc20bd38b2b674cee199e689c3a3572d8020815d8b1ce53a0584
+DIST ddskk-15.1.tar.gz 837942 SHA256 099e087cc92b5ccf62e6cedc81541c5991afdf5c311f391d02630ce87a5abdcf SHA512 8927cde6d55e5d32b5207f03f8385622996818ac279b054ddf2e461364743cd44b658fef388ce9a271af145ebe784b21b4a7dd4f0b063858fb1ffccdf796f777 WHIRLPOOL 875319515ef4d3acb8bca6a96af18c7231ecdb5f101f923df4245244027d9377ccfa40d4bc669b5e93a00e9ee13868890c4e84310248126597714dc8698e820a
diff --git a/app-emacs/ddskk/ddskk-14.3.ebuild b/app-emacs/ddskk/ddskk-14.3.ebuild
new file mode 100644
index 000000000000..dde5773284f6
--- /dev/null
+++ b/app-emacs/ddskk/ddskk-14.3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+inherit elisp
+
+DESCRIPTION="One Japanese input methods on Emacs"
+HOMEPAGE="http://openlab.ring.gr.jp/skk/"
+SRC_URI="http://openlab.ring.gr.jp/skk/maintrunk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+DEPEND="|| ( ( =virtual/emacs-21 >=app-emacs/apel-10.7 )
+ >=virtual/emacs-22 )"
+RDEPEND="${DEPEND}
+ || ( app-i18n/skk-jisyo virtual/skkserv )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ find . -type f | xargs sed -i -e "s:/usr/local:${EPREFIX}/usr:g" || die
+}
+
+src_compile() {
+ emake < /dev/null || die "emake failed"
+ emake info < /dev/null || die "emake info failed"
+ #cd nicola
+ #emake < /dev/null || die
+ BYTECOMPFLAGS="${BYTECOMPFLAGS} -L .."
+ cd "${S}/tut-code"
+ elisp-compile *.el || die "elisp-compile tut-code/*.el failed"
+
+ cd "${S}/bayesian"
+ elisp-compile *.el || die "elisp-compile bayesian/*.el failed"
+}
+
+src_install () {
+ elisp-install ${PN} *.{el,elc} nicola/*.el tut-code/*.{el,elc} bayesian/*.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+
+ insinto /usr/share/skk
+ doins etc/*SKK.tut* etc/skk.xpm || die
+
+ dodoc READMEs/* ChangeLog*
+ doinfo doc/skk.info* || die
+
+ #docinto nicola
+ #dodoc nicola/ChangeLog* nicola/README* || die
+ docinto tut-code
+ dodoc tut-code/README.tut || die
+
+ #dobin bayesian/bskk || die
+ docinto bayesian
+ dodoc bayesian/README.ja bayesian/bskk || die
+}
diff --git a/app-emacs/ddskk/ddskk-14.4.ebuild b/app-emacs/ddskk/ddskk-14.4.ebuild
new file mode 100644
index 000000000000..e3d2df368fb6
--- /dev/null
+++ b/app-emacs/ddskk/ddskk-14.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+inherit elisp
+
+DESCRIPTION="One Japanese input methods on Emacs"
+HOMEPAGE="http://openlab.ring.gr.jp/skk/"
+SRC_URI="http://openlab.ring.gr.jp/skk/maintrunk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+DEPEND="|| ( ( =virtual/emacs-21 >=app-emacs/apel-10.7 )
+ >=virtual/emacs-22 )"
+RDEPEND="${DEPEND}
+ || ( app-i18n/skk-jisyo virtual/skkserv )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ find . -type f | xargs sed -i -e "s:/usr/local:${EPREFIX}/usr:g" || die
+}
+
+src_compile() {
+ emake < /dev/null || die "emake failed"
+ emake info < /dev/null || die "emake info failed"
+ #cd nicola
+ #emake < /dev/null || die
+ BYTECOMPFLAGS="${BYTECOMPFLAGS} -L .."
+ cd "${S}/tut-code"
+ elisp-compile *.el || die "elisp-compile tut-code/*.el failed"
+
+ cd "${S}/bayesian"
+ elisp-compile *.el || die "elisp-compile bayesian/*.el failed"
+}
+
+src_install () {
+ elisp-install ${PN} *.{el,elc} nicola/*.el tut-code/*.{el,elc} bayesian/*.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+
+ insinto /usr/share/skk
+ doins etc/*SKK.tut* etc/skk.xpm || die
+
+ dodoc READMEs/* ChangeLog*
+ doinfo doc/skk.info* || die
+
+ #docinto nicola
+ #dodoc nicola/ChangeLog* nicola/README* || die
+ docinto tut-code
+ dodoc tut-code/README.tut || die
+
+ #dobin bayesian/bskk || die
+ docinto bayesian
+ dodoc bayesian/README.ja bayesian/bskk || die
+}
diff --git a/app-emacs/ddskk/ddskk-15.1.ebuild b/app-emacs/ddskk/ddskk-15.1.ebuild
new file mode 100644
index 000000000000..7f2b7654c527
--- /dev/null
+++ b/app-emacs/ddskk/ddskk-15.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+inherit elisp eutils
+
+DESCRIPTION="One Japanese input methods on Emacs"
+HOMEPAGE="http://openlab.ring.gr.jp/skk/"
+SRC_URI="http://openlab.ring.gr.jp/skk/maintrunk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+DEPEND="|| ( ( =virtual/emacs-21 >=app-emacs/apel-10.7 )
+ >=virtual/emacs-22 )"
+RDEPEND="${DEPEND}
+ || ( app-i18n/skk-jisyo virtual/skkserv )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ find . -type f | xargs sed -i -e "s:/usr/local:${EPREFIX}/usr:g" || die
+ epatch "${FILESDIR}"/${P}-skk-mk.patch
+}
+
+src_compile() {
+ emake < /dev/null || die "emake failed"
+ emake info < /dev/null || die "emake info failed"
+ #cd nicola
+ #emake < /dev/null || die
+ BYTECOMPFLAGS="${BYTECOMPFLAGS} -L .."
+ cd "${S}/tut-code"
+ elisp-compile *.el || die "elisp-compile tut-code/*.el failed"
+
+ cd "${S}/bayesian"
+ elisp-compile *.el || die "elisp-compile bayesian/*.el failed"
+}
+
+src_install () {
+ elisp-install ${PN} *.{el,elc} nicola/*.el tut-code/*.{el,elc} bayesian/*.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+
+ insinto /usr/share/skk
+ doins etc/*SKK.tut* etc/skk.xpm || die
+
+ dodoc READMEs/* ChangeLog*
+ doinfo doc/skk.info* || die
+
+ #docinto nicola
+ #dodoc nicola/ChangeLog* nicola/README* || die
+ docinto tut-code
+ dodoc tut-code/README.tut || die
+
+ #dobin bayesian/bskk || die
+ docinto bayesian
+ dodoc bayesian/README.ja bayesian/bskk || die
+}
diff --git a/app-emacs/ddskk/files/50ddskk-gentoo.el b/app-emacs/ddskk/files/50ddskk-gentoo.el
new file mode 100644
index 000000000000..548fdb26a168
--- /dev/null
+++ b/app-emacs/ddskk/files/50ddskk-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'skk-autoloads)
+(global-set-key "\C-x\C-j" 'skk-mode)
+(global-set-key "\C-xj" 'skk-auto-fill-mode)
+(global-set-key "\C-xt" 'skk-tutorial)
+
+(setq skk-large-jisyo "/usr/share/skk/SKK-JISYO.L")
diff --git a/app-emacs/ddskk/files/ddskk-15.1-skk-mk.patch b/app-emacs/ddskk/files/ddskk-15.1-skk-mk.patch
new file mode 100644
index 000000000000..3876f0f49434
--- /dev/null
+++ b/app-emacs/ddskk/files/ddskk-15.1-skk-mk.patch
@@ -0,0 +1,12 @@
+# Generate skk-autoloads.el with coding cookie.
+--- a/SKK-MK
++++ b/SKK-MK
+@@ -884,7 +884,7 @@ SKK tutorials:
+ (set-buffer buf)
+ (erase-buffer)
+ (insert "\
+-;;; skk-autoloads.el --- autoload settings for SKK.
++;;; skk-autoloads.el --- autoload settings for SKK. -*- coding: iso-2022-jp -*-
+
+ ;; This file was generated automatically by SKK-MK at "
+ (current-time-string)
diff --git a/app-emacs/ddskk/metadata.xml b/app-emacs/ddskk/metadata.xml
new file mode 100644
index 000000000000..df397ea3014c
--- /dev/null
+++ b/app-emacs/ddskk/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/develock/Manifest b/app-emacs/develock/Manifest
new file mode 100644
index 000000000000..365cc848aefb
--- /dev/null
+++ b/app-emacs/develock/Manifest
@@ -0,0 +1 @@
+DIST develock-0.45.el.gz 13627 SHA256 0d8b69e8b4a30a0b50c6393056fb339dcf8088e220ef1d8ba663659ddad318f3 SHA512 e868efe9426ad6aed4c46bbbac3bc90c9207cd94367dedf7ac93710ae04d9f18348b10603c56d436dc1553be94f65b79615d5293578b9e7bb1a7b783d7a3f41e WHIRLPOOL 641aac67bcc27951c40f793a4897ad29d2dcc2526de7e4625ee6bb76617e5e90a39211f07475bce247f2f0010af15c0e6f9dabb834325d54d7cdc9c18ed0bd62
diff --git a/app-emacs/develock/develock-0.45.ebuild b/app-emacs/develock/develock-0.45.ebuild
new file mode 100644
index 000000000000..7e252f0fee12
--- /dev/null
+++ b/app-emacs/develock/develock-0.45.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs minor mode for highlighting broken formatting rules"
+HOMEPAGE="http://www.jpl.org/ftp/pub/elisp/
+ http://www.emacswiki.org/emacs/DevelockMode"
+# taken from http://www.jpl.org/ftp/pub/elisp/${PN}.el.gz
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/develock/files/50develock-gentoo.el b/app-emacs/develock/files/50develock-gentoo.el
new file mode 100644
index 000000000000..bccdfa2e81c8
--- /dev/null
+++ b/app-emacs/develock/files/50develock-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'develock-mode "develock" "Toggle Develock mode." t)
+(autoload 'turn-on-develock "develock")
diff --git a/app-emacs/develock/metadata.xml b/app-emacs/develock/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/develock/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/df-mode/Manifest b/app-emacs/df-mode/Manifest
new file mode 100644
index 000000000000..8fc155dd27da
--- /dev/null
+++ b/app-emacs/df-mode/Manifest
@@ -0,0 +1 @@
+DIST df-mode-20050509.el.bz2 3867 SHA256 e5ae29113c5ff5c646b8fd7839539ca387133b37fbee31f47907b7e572d5ca0a SHA512 e4d248d7b1fa9c231bac7d8d478c65d796123234503372ca945f5b122e62d816676c9744d42f41b1c6de6716682ad4233eeb57801155760cf7e4d41dc0e7d535 WHIRLPOOL 05a08b7f332d4cddff838b2b90e70843976781bccd0e8a943ad3eeaa59795f69c401c40d931697eb54ce35dba6c12f09f6445d45c542eda0e4552e92d72d9141
diff --git a/app-emacs/df-mode/df-mode-20050509.ebuild b/app-emacs/df-mode/df-mode-20050509.ebuild
new file mode 100644
index 000000000000..aab2e09dcc35
--- /dev/null
+++ b/app-emacs/df-mode/df-mode-20050509.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Minor mode to show space left on devices in the mode line"
+HOMEPAGE="https://web.archive.org/web/20061001221337/http://www.coli.uni-saarland.de/~fouvry/software.html
+ http://www.emacswiki.org/emacs/DfMode"
+# taken from http://www.coli.uni-saarland.de/~fouvry/files/df-mode.el.gz
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/df-mode/files/50df-mode-gentoo.el b/app-emacs/df-mode/files/50df-mode-gentoo.el
new file mode 100644
index 000000000000..78850b6e9c4e
--- /dev/null
+++ b/app-emacs/df-mode/files/50df-mode-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'df-mode "df-mode" nil t)
diff --git a/app-emacs/df-mode/metadata.xml b/app-emacs/df-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/df-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/dictionary/Manifest b/app-emacs/dictionary/Manifest
new file mode 100644
index 000000000000..ceec026f4050
--- /dev/null
+++ b/app-emacs/dictionary/Manifest
@@ -0,0 +1 @@
+DIST dictionary-1.10.tar.gz 33332 SHA256 9a8e0111590b09d3587f790ed1cd6d117bf82887cb10135be93af3e1e8e5ea60 SHA512 7f5ec0e023ea2ab3f42fbf9200c1ac86cbcb330c14d2fce791f65cdce010d7e6a6c72e0589769dd94fe3c3d7543b730aacfb373e496933caccf8542224bfa356 WHIRLPOOL bd1d2efad94679981de38b3e14497c256d4bfe23a532e16e6457c89aa1a27e5ffe68433e50647cc42c6090d4f15f9fd6616f38c3819a4fbe8f3718bfa93d10d2
diff --git a/app-emacs/dictionary/dictionary-1.10.ebuild b/app-emacs/dictionary/dictionary-1.10.ebuild
new file mode 100644
index 000000000000..830d058db101
--- /dev/null
+++ b/app-emacs/dictionary/dictionary-1.10.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Emacs package for talking to a dictionary server"
+HOMEPAGE="http://www.myrkr.in-berlin.de/dictionary/index.html"
+SRC_URI="http://www.myrkr.in-berlin.de/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+ELISP_REMOVE="install-package.el lpath.el"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README"
diff --git a/app-emacs/dictionary/files/50dictionary-gentoo.el b/app-emacs/dictionary/files/50dictionary-gentoo.el
new file mode 100644
index 000000000000..c674336a2bfe
--- /dev/null
+++ b/app-emacs/dictionary/files/50dictionary-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "dictionary-init" nil t)
diff --git a/app-emacs/dictionary/metadata.xml b/app-emacs/dictionary/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/dictionary/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/dircolors/Manifest b/app-emacs/dircolors/Manifest
new file mode 100644
index 000000000000..c4bcb9455b95
--- /dev/null
+++ b/app-emacs/dircolors/Manifest
@@ -0,0 +1 @@
+DIST dircolors-1.0.tar.gz 2597 SHA256 c948b446e3063621f79eb4bb1a7b21f2d9a3d22f37f818b64510fe2af9f05e63 SHA512 345faf78607ce7522b21b14b34643b8c9864648bc99327ce7699daed91bf0050f69e3f3d229df4271ba47d8262b8555c394e6d4b3038ffb7fa53d5aea7cb69f7 WHIRLPOOL dcd78a68aa771a10ffa0d3e66464db947f8b40bbd03bf6cef725fa06c017c093e96a4216ddb37cd5fb2e5087c6c3c46f51e5811c6d679274385b331ea491d40a
diff --git a/app-emacs/dircolors/dircolors-1.0-r2.ebuild b/app-emacs/dircolors/dircolors-1.0-r2.ebuild
new file mode 100644
index 000000000000..7822a42b8a12
--- /dev/null
+++ b/app-emacs/dircolors/dircolors-1.0-r2.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Provide the same facility of ls --color inside Emacs"
+HOMEPAGE="http://lfs.irisa.fr/~pad/rawaccess.query/hacks/dircolors.el"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ppc64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/dircolors/files/50dircolors-gentoo.el b/app-emacs/dircolors/files/50dircolors-gentoo.el
new file mode 100644
index 000000000000..618b17ca7317
--- /dev/null
+++ b/app-emacs/dircolors/files/50dircolors-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'dircolors "dircolors" nil t)
+(add-hook 'completion-list-mode-hook 'dircolors)
+(add-hook 'buffer-menu-mode-hook 'dircolors)
diff --git a/app-emacs/dircolors/metadata.xml b/app-emacs/dircolors/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/dircolors/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/dired-sort-menu/Manifest b/app-emacs/dired-sort-menu/Manifest
new file mode 100644
index 000000000000..2ce5313de90d
--- /dev/null
+++ b/app-emacs/dired-sort-menu/Manifest
@@ -0,0 +1 @@
+DIST dired-sort-menu-1.26.tar.gz 9770 SHA256 a4992d57cf86252a5c1877cee4066a42feee371b39abd3ac22bfc1f775ebf6a8 SHA512 aab746704636c01b7319574274786ce4bdb36e94b738a8cf2fdfd22aaddf8a68d9ac274a0f6c34caaed505f8ccfe8ad932a64f560d2e312ac161af528d63a577 WHIRLPOOL f9e64bfc130718aa45d465ac216c5ad30549120ce51c22dd51fc2eee6a9f5a13da7d4843043f887ab99063a00f019c958fd366064d523e08ad63337c41fd936e
diff --git a/app-emacs/dired-sort-menu/dired-sort-menu-1.26.ebuild b/app-emacs/dired-sort-menu/dired-sort-menu-1.26.ebuild
new file mode 100644
index 000000000000..6aa2b94feb51
--- /dev/null
+++ b/app-emacs/dired-sort-menu/dired-sort-menu-1.26.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Sort entries in Dired mode"
+HOMEPAGE="http://centaur.maths.qmw.ac.uk/Emacs/
+ http://www.emacswiki.org/emacs/DiredSortMenu"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc sparc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/dired-sort-menu/files/50dired-sort-menu-gentoo.el b/app-emacs/dired-sort-menu/files/50dired-sort-menu-gentoo.el
new file mode 100644
index 000000000000..07e02ebcbd1b
--- /dev/null
+++ b/app-emacs/dired-sort-menu/files/50dired-sort-menu-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-hook 'dired-load-hook
+ (lambda () (require 'dired-sort-menu)))
diff --git a/app-emacs/dired-sort-menu/metadata.xml b/app-emacs/dired-sort-menu/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/dired-sort-menu/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/distel/Manifest b/app-emacs/distel/Manifest
new file mode 100644
index 000000000000..82b5aa91f5e4
--- /dev/null
+++ b/app-emacs/distel/Manifest
@@ -0,0 +1 @@
+DIST distel-4.0.6.tar.gz 210257 SHA256 a80538fab51008f4821f687e7bcda98b7ab9e6e3ef7d695087505a2e40caa1e1 SHA512 510f82b6794379d89020d234462e09251e0db285ebc111eaf096e32a4e3619384650cb2b47ed68d38762a496504b58981c73ca5b930bd0eb1407aee9599c149f WHIRLPOOL e8fef7f804f98fdf7a1bb97cda97f7d4e471ec5ca01d112d80c1ebd2cede5c0bb8f5ac023407820843a61dec959f31755aa50a2faf34021c9b8aa48d4fe0bf45
diff --git a/app-emacs/distel/distel-4.0.6.ebuild b/app-emacs/distel/distel-4.0.6.ebuild
new file mode 100644
index 000000000000..e03848432b7f
--- /dev/null
+++ b/app-emacs/distel/distel-4.0.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Distributed Emacs Lisp for Erlang"
+HOMEPAGE="http://code.google.com/p/distel/
+ http://www.emacswiki.org/emacs/DistributedEmacsLisp"
+SRC_URI="https://github.com/massemanet/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+# "New BSD License" according to http://code.google.com/p/distel/
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=dev-lang/erlang-11.2.5[emacs]"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ emake base info
+ cd elisp || die
+ elisp-compile *.el
+}
+
+src_install() {
+ emake prefix="${ED}"/usr \
+ ELISP_DIR="${ED}${SITELISP}/${PN}" install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ doinfo doc/distel.info
+ dohtml doc/distel/*.html
+ dodoc AUTHORS ChangeLog NEWS README*
+ use doc && dodoc doc/gorrie02distel.pdf
+}
diff --git a/app-emacs/distel/files/50distel-gentoo.el b/app-emacs/distel/files/50distel-gentoo.el
new file mode 100644
index 000000000000..485b2dc27746
--- /dev/null
+++ b/app-emacs/distel/files/50distel-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'distel-erlang-mode-hook "distel" nil t)
+(add-hook 'erlang-mode-hook 'distel-erlang-mode-hook)
+(setq distel-ebin-directory "/usr/share/distel/ebin")
diff --git a/app-emacs/distel/metadata.xml b/app-emacs/distel/metadata.xml
new file mode 100644
index 000000000000..0eb0d94a3b42
--- /dev/null
+++ b/app-emacs/distel/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="google-code">distel</remote-id>
+ <remote-id type="github">massemanet/distel</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/doctest-mode/Manifest b/app-emacs/doctest-mode/Manifest
new file mode 100644
index 000000000000..22fbfa19e776
--- /dev/null
+++ b/app-emacs/doctest-mode/Manifest
@@ -0,0 +1 @@
+DIST doctest-mode.el 75232 SHA256 368c750b7b4e1f70db8d1b12e5d1e65ea7e2d7e460c96b24af7c353632a897ba SHA512 e32326644cb66bf5cfa9a597364a46b2279636368c751940eb418c670219cd907ecb60f6d2b6a8a4ec8970df4f17500be053b9fc6b75fece908dc37329d9aa9c WHIRLPOOL 8e08413989d1270b97ee48738d015cc618521c1d5866f3d406ab783cd0e481f2d695a743a24370c89c8a248039e3d2e8a1a953fd7a4de36e23617b6ea510f600
diff --git a/app-emacs/doctest-mode/doctest-mode-0.4.ebuild b/app-emacs/doctest-mode/doctest-mode-0.4.ebuild
new file mode 100644
index 000000000000..c99077c4184f
--- /dev/null
+++ b/app-emacs/doctest-mode/doctest-mode-0.4.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs major mode for editing Python source"
+HOMEPAGE="http://ed.loper.org/projects/doctestmode/"
+SRC_URI="http://python-mode.svn.sourceforge.net/viewvc/*checkout*/python-mode/trunk/python-mode/doctest-mode.el?revision=460 -> ${PN}.el"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh x86 ~x86-fbsd"
+
+DEPEND="!<app-emacs/python-mode-5.1.0"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+SITEFILE="60${PN}-gentoo.el"
+
+src_unpack() {
+ cp "${DISTDIR}"/${PN}.el "${WORKDIR}"
+}
diff --git a/app-emacs/doctest-mode/files/60doctest-mode-gentoo.el b/app-emacs/doctest-mode/files/60doctest-mode-gentoo.el
new file mode 100644
index 000000000000..987888a487e5
--- /dev/null
+++ b/app-emacs/doctest-mode/files/60doctest-mode-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'doctest-mode "doctest-mode"
+ "Editing mode for Python Doctest examples." t)
+(add-to-list 'auto-mode-alist '("\\.doctest\\'" . doctest-mode))
diff --git a/app-emacs/doctest-mode/metadata.xml b/app-emacs/doctest-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/doctest-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/doxymacs/Manifest b/app-emacs/doxymacs/Manifest
new file mode 100644
index 000000000000..d595dd0a094d
--- /dev/null
+++ b/app-emacs/doxymacs/Manifest
@@ -0,0 +1 @@
+DIST doxymacs-1.8.0.tar.gz 133600 SHA256 a23fd833bc3c21ee5387c62597610941e987f9d4372916f996bf6249cc495afa SHA512 7461a8a415aadf331f856e4f122712cbedc2907eff9e452f24e6ee83b96903d9944d2cfdbcfeab8a66144a0be508eae723c29f82a081df9723560b10c444f8ac WHIRLPOOL f8b39d0a38032c1364d1d4ccf9a78f87be877fc8655cf29a8b189a01ec0fb76ca2b26b52c19fd780c27243c0ebf5f344331b62f1278efa3c341851ee7a9c86c0
diff --git a/app-emacs/doxymacs/doxymacs-1.8.0-r3.ebuild b/app-emacs/doxymacs/doxymacs-1.8.0-r3.ebuild
new file mode 100644
index 000000000000..7c861e34d038
--- /dev/null
+++ b/app-emacs/doxymacs/doxymacs-1.8.0-r3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp flag-o-matic
+
+DESCRIPTION="Doxygen editing minor mode"
+HOMEPAGE="http://doxymacs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+DEPEND=">=dev-libs/libxml2-2.6.13"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ append-flags -Wno-error #260874
+ econf --with-lispdir="${SITELISP}/${PN}"
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/app-emacs/doxymacs/files/50doxymacs-gentoo.el b/app-emacs/doxymacs/files/50doxymacs-gentoo.el
new file mode 100644
index 000000000000..47efe70e8afb
--- /dev/null
+++ b/app-emacs/doxymacs/files/50doxymacs-gentoo.el
@@ -0,0 +1,12 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'doxymacs-mode "doxymacs"
+ "Minor mode for using/creating Doxygen documentation." t)
+(autoload 'doxymacs-font-lock "doxymacs"
+ "Turn on font-lock for Doxygen keywords." t)
+(add-hook 'c-mode-common-hook 'doxymacs-mode)
+
+;; optional font-lock support
+;;(defun gentoo-doxymacs-font-lock-hook ()
+;; (if (or (eq major-mode 'c-mode) (eq major-mode 'c++-mode))
+;; (doxymacs-font-lock)))
+;;(add-hook 'font-lock-mode-hook 'gentoo-doxymacs-font-lock-hook)
diff --git a/app-emacs/doxymacs/metadata.xml b/app-emacs/doxymacs/metadata.xml
new file mode 100644
index 000000000000..a9e1348325d5
--- /dev/null
+++ b/app-emacs/doxymacs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="sourceforge">doxymacs</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/dropdown-list/Manifest b/app-emacs/dropdown-list/Manifest
new file mode 100644
index 000000000000..49674ab7145f
--- /dev/null
+++ b/app-emacs/dropdown-list/Manifest
@@ -0,0 +1 @@
+DIST dropdown-list-20120329.el.xz 3104 SHA256 46da77f2fab70f75deea8f3dd439555c940f063a40c325211f8767b18ec2b634 SHA512 fac1139c1339cb94be6bfd2c0e6adddfd1851b55aaba6112e0c451e2666f22cc0fa9013d5cc03bb86c6adf3e4f076d90975ab8e59546956d753cd9613309919d WHIRLPOOL 5cc05236728e540b949edfa3a011fe502dd92c2ddcc7da893d1de2cc3003c2aef86845df21eb04f06a7f0f51c75c60562aeb8a982c0e95cd2701c4d309cf5bb2
diff --git a/app-emacs/dropdown-list/dropdown-list-20120329.ebuild b/app-emacs/dropdown-list/dropdown-list-20120329.ebuild
new file mode 100644
index 000000000000..384280b6a013
--- /dev/null
+++ b/app-emacs/dropdown-list/dropdown-list-20120329.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Drop-down menu interface"
+HOMEPAGE="http://www.emacswiki.org/emacs/dropdown-list.el"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+ELISP_PATCHES="${PN}-20090814-selection-face.patch"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/dropdown-list/files/50dropdown-list-gentoo.el b/app-emacs/dropdown-list/files/50dropdown-list-gentoo.el
new file mode 100644
index 000000000000..f6abfe2f993a
--- /dev/null
+++ b/app-emacs/dropdown-list/files/50dropdown-list-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'dropdown-list "dropdown-list")
diff --git a/app-emacs/dropdown-list/files/dropdown-list-20090814-selection-face.patch b/app-emacs/dropdown-list/files/dropdown-list-20090814-selection-face.patch
new file mode 100644
index 000000000000..7c8adc3bf653
--- /dev/null
+++ b/app-emacs/dropdown-list/files/dropdown-list-20090814-selection-face.patch
@@ -0,0 +1,13 @@
+http://code.google.com/p/yasnippet/issues/detail?id=23
+
+--- dropdown-list.el~
++++ dropdown-list.el
+@@ -69,7 +69,7 @@
+ "*Bla." :group 'dropdown-list)
+
+ (defface dropdown-list-selection-face
+- '((t :inherit dropdown-list :background "purple"))
++ '((t :inherit dropdown-list-face :background "purple"))
+ "*Bla." :group 'dropdown-list)
+
+ (defvar dropdown-list-overlays nil)
diff --git a/app-emacs/dropdown-list/metadata.xml b/app-emacs/dropdown-list/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/dropdown-list/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/dts-mode/Manifest b/app-emacs/dts-mode/Manifest
new file mode 100644
index 000000000000..0422ebd4a976
--- /dev/null
+++ b/app-emacs/dts-mode/Manifest
@@ -0,0 +1 @@
+DIST dts-mode-0.1.0_pre20141014.tar.xz 1944 SHA256 9882970b6be92f088a81d233f7ef9c23c697ddd231ec41e8fd73feab196782c5 SHA512 81679f83dfe8e9d2f5b9314cd16615ca79c16e36468c41f5d499584f08ddda73f6cd3c6b6bef3251129e292884e18b8615a0a5cec2c2ea0146718e784f0c210c WHIRLPOOL 46296d6a9e84e4e6944bf7852583b980ed99e141040981e0a15c78e1f14222462d9cc2067d1768aa7e6f15bcbc7b3981e769e17eec9ecfcb148ee9eaff0e9596
diff --git a/app-emacs/dts-mode/dts-mode-0.1.0_pre20141014.ebuild b/app-emacs/dts-mode/dts-mode-0.1.0_pre20141014.ebuild
new file mode 100644
index 000000000000..7bd973cd900b
--- /dev/null
+++ b/app-emacs/dts-mode/dts-mode-0.1.0_pre20141014.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for devicetree sources"
+HOMEPAGE="https://github.com/bgamari/dts-mode"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/${PN}"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README.mkd"
diff --git a/app-emacs/dts-mode/files/50dts-mode-gentoo.el b/app-emacs/dts-mode/files/50dts-mode-gentoo.el
new file mode 100644
index 000000000000..6d2bbc99b298
--- /dev/null
+++ b/app-emacs/dts-mode/files/50dts-mode-gentoo.el
@@ -0,0 +1,6 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'dts-mode "dts-mode" "Major mode for editing Devicetrees" t)
+
+;; Separate entries in dts-mode.el itself, don't merge them into a single one.
+(add-to-list 'auto-mode-alist '("\\.dts\\'" . dts-mode))
+(add-to-list 'auto-mode-alist '("\\.dtsi\\'" . dts-mode))
diff --git a/app-emacs/dts-mode/metadata.xml b/app-emacs/dts-mode/metadata.xml
new file mode 100644
index 000000000000..b6aad8082c11
--- /dev/null
+++ b/app-emacs/dts-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="github">bgamari/dts-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/ebuild-mode/Manifest b/app-emacs/ebuild-mode/Manifest
new file mode 100644
index 000000000000..8b6f3ce95cf2
--- /dev/null
+++ b/app-emacs/ebuild-mode/Manifest
@@ -0,0 +1 @@
+DIST ebuild-mode-1.27.tar.xz 29040 SHA256 06b682c5132f513d1a22ad96beca8bbb7d632aa73b094cc79cd1109c7a5bcfe2 SHA512 7f8608f66bb5fd665059019cccbae4729e1fd3389628428c8c83d0a8694b3de78217da255b5858c91df40925c7c859d1cb1806adf98f97c2441c6e71444713ec WHIRLPOOL 364f35d89c8137f6c6c9c257a99780e69dce93cd077b9e12ef4944c924f042fb3bc1da9fddae08ede385f3faf13e5c22533c5a566ce891ff93d39bae758a7b62
diff --git a/app-emacs/ebuild-mode/ebuild-mode-1.27.ebuild b/app-emacs/ebuild-mode/ebuild-mode-1.27.ebuild
new file mode 100644
index 000000000000..f5b6af02a2b7
--- /dev/null
+++ b/app-emacs/ebuild-mode/ebuild-mode-1.27.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
+HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
+SRC_URI="http://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+DOCS="ChangeLog keyword-generation.sh"
+ELISP_TEXINFO="${PN}.texi"
+SITEFILE="50${PN}-gentoo.el"
+DOC_CONTENTS="Some optional features may require installation of additional
+ packages, like app-portage/gentoolkit-dev for echangelog."
diff --git a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el
new file mode 100644
index 000000000000..44b3bdb23ec2
--- /dev/null
+++ b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo.el
@@ -0,0 +1,13 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'ebuild-mode "ebuild-mode"
+ "Major mode for Portage .ebuild and .eclass files." t)
+(autoload 'gentoo-newsitem-mode "gentoo-newsitem-mode"
+ "Major mode for Gentoo GLEP 42 news items." t)
+
+(add-to-list 'auto-mode-alist
+ '("\\.\\(ebuild\\|eclass\\|eblit\\)\\'" . ebuild-mode))
+(add-to-list 'auto-mode-alist
+ '("/[0-9]\\{4\\}-[01][0-9]-[0-3][0-9]-.+\\.[a-z]\\{2\\}\\.txt\\'"
+ . gentoo-newsitem-mode))
+(add-to-list 'interpreter-mode-alist '("runscript" . sh-mode))
+(modify-coding-system-alist 'file "\\.\\(ebuild\\|eclass\\|eblit\\)\\'" 'utf-8)
diff --git a/app-emacs/ebuild-mode/metadata.xml b/app-emacs/ebuild-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/ebuild-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/ecb/Manifest b/app-emacs/ecb/Manifest
new file mode 100644
index 000000000000..77fe417c4b4d
--- /dev/null
+++ b/app-emacs/ecb/Manifest
@@ -0,0 +1 @@
+DIST ecb-2.41_pre20140215.tar.xz 565404 SHA256 f3103afd4324cfd1c50bf4c1d6a6d52d94af192b1f4c8665a91c87929b0635a2 SHA512 bf87bdd38e7ddaeec044fc56d56f7c456ef0a1922f50b962f932bf739895f046387bab7a934439e749fd7e838d9f742938408f4f9cb47079440abd8c1ba181b6 WHIRLPOOL a1906bc4cad119959d76a5e3d79c97fba9d302eeea67e86bc597af449a6b6b2efb7053c4a9251502f35f571b7d69e557b6b9d7a52a11f4e69348e83649d2433c
diff --git a/app-emacs/ecb/ecb-2.41_pre20140215-r1.ebuild b/app-emacs/ecb/ecb-2.41_pre20140215-r1.ebuild
new file mode 100644
index 000000000000..0247192d61d5
--- /dev/null
+++ b/app-emacs/ecb/ecb-2.41_pre20140215-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp eutils
+
+DESCRIPTION="Source code browser for Emacs"
+HOMEPAGE="http://ecb.sourceforge.net/"
+# snapshot of https://github.com/alexott/ecb.git, created with "make distrib"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="java"
+
+DEPEND="!!<app-emacs/cedet-2.0
+ java? ( app-emacs/jde )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+SITEFILE="70${PN}-gentoo.el"
+DOC_CONTENTS="ECB is autoloaded in site-gentoo.el. Add the line
+ \n\t(require 'ecb)
+ \nto your ~/.emacs file to enable all features on Emacs startup."
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.32-gentoo.patch"
+ sed -i -e "s:@PF@:${PF}:" ecb-help.el || die "sed failed"
+}
+
+src_compile() {
+ local loadpath="" sl=${EPREFIX}${SITELISP}
+ if use java; then
+ loadpath="${sl}/elib ${sl}/jde ${sl}/jde/lisp"
+ fi
+
+ emake LOADPATH="${loadpath}"
+}
+
+src_install() {
+ elisp_src_install
+
+ insinto "${SITEETC}/${PN}"
+ doins -r ecb-images
+
+ doinfo info-help/ecb.info*
+ dohtml html-help/*.html
+ dodoc NEWS README RELEASE_NOTES
+}
diff --git a/app-emacs/ecb/files/70ecb-gentoo.el b/app-emacs/ecb/files/70ecb-gentoo.el
new file mode 100644
index 000000000000..bc71f7c18e94
--- /dev/null
+++ b/app-emacs/ecb/files/70ecb-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'ecb-autoloads)
diff --git a/app-emacs/ecb/files/ecb-2.32-gentoo.patch b/app-emacs/ecb/files/ecb-2.32-gentoo.patch
new file mode 100644
index 000000000000..09d3d86afdcd
--- /dev/null
+++ b/app-emacs/ecb/files/ecb-2.32-gentoo.patch
@@ -0,0 +1,73 @@
+Change default paths to Gentoo install locations.
+Allow for compressed Info files.
+
+--- ecb-2.32-orig/ecb-common-browser.el 2005-07-11 16:16:01.000000000 +0200
++++ ecb-2.32/ecb-common-browser.el 2009-03-03 09:42:51.000000000 +0100
+@@ -261,10 +261,7 @@
+ ;; additonal images are necessary - but currently i don't think we need
+ ;; special images for this analyse-stuff.
+ (defcustom ecb-tree-image-icons-directories
+- (let ((base (concat (if ecb-regular-xemacs-package-p
+- (format "%s" (locate-data-directory "ecb"))
+- ecb-ecb-dir)
+- "ecb-images/")))
++ (let ((base "/usr/share/emacs/etc/ecb/ecb-images/"))
+ (cons (concat base "default/height-17")
+ (mapcar (function (lambda (i)
+ (cons (car i) (concat base (cdr i)))))
+--- ecb-2.32-orig/ecb-help.el 2005-07-11 16:16:00.000000000 +0200
++++ ecb-2.32/ecb-help.el 2009-03-03 09:47:49.000000000 +0100
+@@ -81,16 +81,8 @@
+ (const :tag "Html" :value html)))
+
+
+-(defcustom ecb-help-info-path (concat
+- (if ecb-running-xemacs
+- (if (file-exists-p
+- (concat ecb-ecb-dir
+- ecb-help-info-subdir
+- ecb-help-info-start-file))
+- ecb-help-info-subdir
+- "../../info/")
+- ecb-help-info-subdir)
+- ecb-help-info-start-file)
++(defcustom ecb-help-info-path
++ (concat "/usr/share/info/" ecb-help-info-start-file)
+ "*Path where the ECB online help in info format resides.
+ This must be the location of the file \"ecb.info\" which comes with the ECB
+ distribution. If is installed by unpacking the archive available on the ECB
+@@ -107,24 +99,7 @@
+ :type 'file)
+
+ (defcustom ecb-help-html-path
+- (if (not ecb-running-xemacs)
+- (concat ecb-help-html-subdir ecb-help-html-start-file)
+- (cond ((file-exists-p
+- (concat ecb-ecb-dir
+- ecb-help-html-subdir
+- ecb-help-html-start-file))
+- (concat ecb-help-html-subdir ecb-help-html-start-file))
+- ((file-exists-p
+- (concat ecb-ecb-dir
+- "../../html/"
+- ecb-help-html-start-file))
+- (concat "../../html/" ecb-help-html-start-file))
+- ((file-exists-p
+- (concat ecb-ecb-dir
+- "../../html/ecb/index.html"))
+- "../../html/ecb/index.html")
+- (t
+- (concat "../../etc/ecb/html/" ecb-help-html-start-file))))
++ (concat "/usr/share/doc/@PF@/html/" ecb-help-html-start-file)
+ "*Path where the ECB online help in HTML format resides.
+ This must be the location of the file \"index.html\" which comes with the ECB
+ distribution. If is installed by unpacking the archive available on the ECB
+@@ -145,7 +120,7 @@
+ "Starts `info' with INFO-FILE. If INFO-FILE does not exists then nil is
+ returned otherwise true. If NO-FILE-NOT-EXIST-ERR is not nil then just nil is
+ returned if INFO-FILE does not exist otherwise an error is reported."
+- (if (file-exists-p info-file)
++ (if (file-expand-wildcards (concat info-file "*"))
+ (prog1 t
+ (info info-file))
+ (unless no-file-not-exist-err
diff --git a/app-emacs/ecb/metadata.xml b/app-emacs/ecb/metadata.xml
new file mode 100644
index 000000000000..4858374f9d5b
--- /dev/null
+++ b/app-emacs/ecb/metadata.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ ECB stands for "Emacs Code Browser". While Emacs already has good editing
+ support for many modes, its browsing support is somewhat lacking. That's
+ where ECB comes in: it displays a number of informational windows that allow
+ for easy source code navigation and overview.
+
+ The informational windows can contain:
+
+ * A directory tree,
+ * a list of source files in the current directory,
+ * a list of functions/classes/methods/... in the current file, (ECB uses
+ the Semantic Bovinator, or Imenu, or etags, for getting this list so all
+ languages supported by any of these tools are automatically supported by
+ ECB too),
+ * a history of recently visited files,
+ * the Speedbar and
+ * output from compilation (the compilation window) and other modes like
+ help, grep etc. or whatever a user defines to be displayed in this
+ window.
+
+ As an added bonus, ECB makes sure to keep these informational windows
+ visible, even when you use C-x 1 and similar commands.
+
+ It goes without saying that you can configure the layout, ie. which
+ informational windows should be displayed where. ECB comes with a number of
+ ready-made window layouts to choose from.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/edb/Manifest b/app-emacs/edb/Manifest
new file mode 100644
index 000000000000..3965acd50a6a
--- /dev/null
+++ b/app-emacs/edb/Manifest
@@ -0,0 +1 @@
+DIST edb-1.31.tar.gz 585728 SHA256 f97bc288af71c5011aa6c251ac0bbf458b30b926b1c1a1f12e2cb0470e0e4c38 SHA512 99af00f1e876b490205e9c3b1807d0af0efcd9a5bff018629f00e36d1572f7d05e979d6bfb50f9c15edfe3ad5382fa6f6171f13c638f3143ece53790bdaa31c3 WHIRLPOOL 53f7b8f47ef0030bf5967bf2983602f15aa7bdaf397ffae4598a9a0c6f7b58346e9abb6d118ec65180b6f72534a92221b2a7c01ab1d965e986cca074c4d55dba
diff --git a/app-emacs/edb/edb-1.31.ebuild b/app-emacs/edb/edb-1.31.ebuild
new file mode 100644
index 000000000000..224c3da0debb
--- /dev/null
+++ b/app-emacs/edb/edb-1.31.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="EDB, The Emacs Database"
+HOMEPAGE="http://www.gnuvola.org/software/edb/
+ http://www.emacswiki.org/emacs/EmacsDataBase"
+SRC_URI="http://www.gnuvola.org/software/edb/${P}.tar.gz"
+
+LICENSE="GPL-3+ Texinfo-manual"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+ELISP_PATCHES="${P}-skram-path.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ default
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ emake -j1 \
+ sitelisp="${ED}${SITELISP}" \
+ infodir="${ED}/usr/share/info" \
+ install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc AUTHORS BUGS ChangeLog HACKING NEWS README THANKS TODO doc/refcard.ps
+ dodoc -r examples
+}
diff --git a/app-emacs/edb/files/50edb-gentoo.el b/app-emacs/edb/files/50edb-gentoo.el
new file mode 100644
index 000000000000..a2670b65ba31
--- /dev/null
+++ b/app-emacs/edb/files/50edb-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'db-find-file "database" "EDB database package" t)
+(autoload 'edb-interact "database" "EDB database package" t)
+(defalias 'edb-EXPERIMENTAL-interact 'edb-interact)
diff --git a/app-emacs/edb/files/edb-1.31-skram-path.patch b/app-emacs/edb/files/edb-1.31-skram-path.patch
new file mode 100644
index 000000000000..75921ca00160
--- /dev/null
+++ b/app-emacs/edb/files/edb-1.31-skram-path.patch
@@ -0,0 +1,11 @@
+--- edb-1.31-orig/skram/GNUmakefile.in
++++ edb-1.31/skram/GNUmakefile.in
+@@ -48,7 +48,7 @@
+ #
+ # Until that change is distributed, here is a workaround:
+ wily-emacs = $(ebatch) \
+- --eval '(add-to-list (quote load-path) (expand-file-name "$(topdir)"))' \
++ --eval '(add-to-list (quote load-path) (expand-file-name "$(topdir)/lisp"))' \
+ --eval '(require (quote database))'
+
+ sk2: skram.data
diff --git a/app-emacs/edb/metadata.xml b/app-emacs/edb/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/edb/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/edit-list/Manifest b/app-emacs/edit-list/Manifest
new file mode 100644
index 000000000000..51da7b90bda9
--- /dev/null
+++ b/app-emacs/edit-list/Manifest
@@ -0,0 +1 @@
+DIST edit-list-0.3.el.bz2 2072 SHA256 2ce1542d60938987f835ed0fb67d975bf7ac0b1ce1b732ccdda07e65b427c23c SHA512 f7441d42e95b46d0cefd5cc32af5c0738aa15b338b81e31dc89fa968fc34e6387b6bc927999f4e077632acf6c2edcbbac609eb066363db896099f5fa3e19c1e7 WHIRLPOOL 8ec7b7c269cc6dd5c3cc74c2829420e7fea4e3155e003df8869499d9c3daf61a0f193ce443ffcbae4533f208aae0abd2dc306b5ee8e52d7d16429579e6a785c9
diff --git a/app-emacs/edit-list/edit-list-0.3.ebuild b/app-emacs/edit-list/edit-list-0.3.ebuild
new file mode 100644
index 000000000000..c77207080a2b
--- /dev/null
+++ b/app-emacs/edit-list/edit-list-0.3.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Edit a single list"
+HOMEPAGE="http://mwolson.org/projects/"
+# taken from http://mwolson.org/static/dist/elisp/edit-list.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/edit-list/files/50edit-list-gentoo.el b/app-emacs/edit-list/files/50edit-list-gentoo.el
new file mode 100644
index 000000000000..ec4d1975e3bc
--- /dev/null
+++ b/app-emacs/edit-list/files/50edit-list-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'edit-list "edit-list"
+ "Edit a list called LIST-NAME interactively." t)
diff --git a/app-emacs/edit-list/metadata.xml b/app-emacs/edit-list/metadata.xml
new file mode 100644
index 000000000000..4b4a912af00d
--- /dev/null
+++ b/app-emacs/edit-list/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ So you've just added an incorrect entry to auto-mode-alist and want to fix
+ it quickly. `M-x edit-list RET auto-mode-alist RET' to the rescue. Make your
+ changes and hit either `C-x C-s' or `C-c C-c' when done. Or just kill the
+ buffer if you change your mind.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/elib/Manifest b/app-emacs/elib/Manifest
new file mode 100644
index 000000000000..ddeba21bb9d2
--- /dev/null
+++ b/app-emacs/elib/Manifest
@@ -0,0 +1 @@
+DIST elib-1.0.tar.gz 58335 SHA256 2109764b6220e2936e7d98effc323723f688f148dc66519cdb79d07bfe82f134 SHA512 ca5d6e0861f3d8d049911a9e4455169263bd781992103baacadae560fce0fedddb734617338cb5fac51420fcb2035622042836fa7198fe7bec312a0015da266d WHIRLPOOL 3093777dcddade3d4c69deaff9b9c23a2e53f6ec747e536e435d352e881230d183299663fc73a0173bda94d3862aef744ea5f4e387c1fd5cb9002091b3a71847
diff --git a/app-emacs/elib/elib-1.0-r1.ebuild b/app-emacs/elib/elib-1.0-r1.ebuild
new file mode 100644
index 000000000000..f637daed9fc9
--- /dev/null
+++ b/app-emacs/elib/elib-1.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp eutils
+
+DESCRIPTION="The Emacs Lisp Library"
+HOMEPAGE="http://jdee.sourceforge.net"
+SRC_URI="http://jdee.sunsite.dk/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-texinfo-5.patch"
+ sed -i 's:--infodir:--info-dir:g' Makefile || die
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ dodir "${SITELISP}/elib"
+ dodir /usr/share/info
+ emake prefix="${ED}/usr" infodir="${ED}/usr/share/info" install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc ChangeLog NEWS README TODO
+}
diff --git a/app-emacs/elib/files/50elib-gentoo.el b/app-emacs/elib/files/50elib-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/elib/files/50elib-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/elib/files/elib-1.0-texinfo-5.patch b/app-emacs/elib/files/elib-1.0-texinfo-5.patch
new file mode 100644
index 000000000000..53d18d248355
--- /dev/null
+++ b/app-emacs/elib/files/elib-1.0-texinfo-5.patch
@@ -0,0 +1,14 @@
+--- elib-1.0-orig/elib.texi
++++ elib-1.0/elib.texi
+@@ -33,9 +33,9 @@
+ @sp 4
+ @comment The title is printed in a large font.
+ @center @titlefont{User's Guide}
+-@sp
++@sp 1
+ @center @titlefont{to}
+-@sp
++@sp 1
+ @center @titlefont{Elib - The Emacs Lisp Library}
+ @sp 2
+ @center version 1.0
diff --git a/app-emacs/elib/metadata.xml b/app-emacs/elib/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/elib/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/elscreen/Manifest b/app-emacs/elscreen/Manifest
new file mode 100644
index 000000000000..509c3300dec1
--- /dev/null
+++ b/app-emacs/elscreen/Manifest
@@ -0,0 +1 @@
+DIST elscreen-1.4.6.tar.gz 21680 SHA256 134cef5b4ffe75898ca30776b4a4191a9425cbafc650a43e87aae4188adbd650 SHA512 2f19941c9c3e74bbe3912e99f53710f42d33a5b063af99c3907c478d2f571a50a75942519bfcad3bf178585f736bb6e2baf2cdffe8ac66b8e4dbd1b0d881fab2 WHIRLPOOL 8eb4c82941bdee8af3e0e396623efcfae406e254cd8228579e53281311b299f4a0e90e5346292728a099344e0a6206ae0f5163bca428f09d4d2c110b55f70cc8
diff --git a/app-emacs/elscreen/elscreen-1.4.6-r1.ebuild b/app-emacs/elscreen/elscreen-1.4.6-r1.ebuild
new file mode 100644
index 000000000000..e0a1a9d18600
--- /dev/null
+++ b/app-emacs/elscreen/elscreen-1.4.6-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit elisp
+
+DESCRIPTION="Frame configuration management for GNU Emacs modelled after GNU Screen"
+HOMEPAGE="http://www.morishima.net/~naoto/j/software/elscreen/"
+SRC_URI="ftp://ftp.morishima.net/pub/morishima.net/naoto/ElScreen/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 hppa ~ia64 ~ppc ~ppc64 sparc x86"
+IUSE=""
+
+DEPEND=">=app-emacs/apel-10.8-r1"
+RDEPEND="${DEPEND}"
+
+ELISP_PATCHES="${PN}-1.4.6-void-variable-argi.patch ${PN}-1.4.6-emacs-24.patch"
+
+SITEFILE=50${PN}-gentoo.el
+DOCS="ChangeLog README"
+
+pkg_postinst() {
+ elisp-site-regen
+
+ echo
+ elog "ElScreen modifies standard Emacs keybindings and is therefore"
+ elog "no longer loaded from site-gentoo.el. Add the line"
+ elog " (require 'elscreen)"
+ elog "to your ~/.emacs file to enable it on Emacs startup."
+}
diff --git a/app-emacs/elscreen/files/50elscreen-gentoo.el b/app-emacs/elscreen/files/50elscreen-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/elscreen/files/50elscreen-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/elscreen/files/elscreen-1.4.6-emacs-24.patch b/app-emacs/elscreen/files/elscreen-1.4.6-emacs-24.patch
new file mode 100644
index 000000000000..dbcb77557f17
--- /dev/null
+++ b/app-emacs/elscreen/files/elscreen-1.4.6-emacs-24.patch
@@ -0,0 +1,154 @@
+--- elscreen-1.4.6-orig/elscreen.el 2013-05-23 21:31:14.011823000 +1000
++++ elscreen-1.4.6/elscreen.el 2013-10-03 20:55:35.497650931 +1000
+@@ -29,9 +29,9 @@
+ (eval-when-compile
+ (require 'static))
+
+-(static-defconst elscreen-on-xemacs (featurep 'xemacs))
+-(static-defconst elscreen-on-emacs (and (not elscreen-on-xemacs)
+- (>= emacs-major-version 21)))
++(static-defconst elscreen-on-xemacs (featurep 'xemacs)
++ (static-defconst elscreen-on-emacs (and (not elscreen-on-xemacs)
++ (>= emacs-major-version 21))))
+
+
+ ;;; User Customizable Variables:
+@@ -148,7 +148,8 @@
+
+ (static-when elscreen-on-emacs ;; GNU Emacs 21
+ (make-obsolete-variable 'elscreen-tab-display-create-screen
+- 'elscreen-tab-display-control)
++ 'elscreen-tab-display-control
++ "1.4.6")
+ (defcustom elscreen-tab-display-control t
+ "*Non-nil to display control tab at the most left side."
+ :tag "Show/Hide the Control Tab"
+@@ -201,13 +202,13 @@
+ (((class color))
+ (:background "blue" :foreground "black" :underline t)))
+ "Face for tabs other than current screen one."
+- :group 'elscreen))
++ :group 'elscreen)
+
+
+ ;;; Key & Menu bindings:
+
+-(defvar elscreen-map (make-sparse-keymap)
+- "Keymap for ElScreen.")
++ (defvar elscreen-map (make-sparse-keymap)
++ "Keymap for ElScreen."))
+ (define-key elscreen-map "\C-c" 'elscreen-create)
+ (define-key elscreen-map "c" 'elscreen-create)
+ (define-key elscreen-map "C" 'elscreen-clone)
+@@ -899,13 +900,13 @@
+ screen-list-string)
+ (cond
+ ((not (elscreen-screen-live-p screen)) ;; XXX
+- (when (interactive-p)
++ (when (called-interactively-p 'any)
+ (elscreen-message "There is no such screen")))
+ ((null screen-list)
+- (when (interactive-p)
++ (when (called-interactively-p 'any)
+ (elscreen-message "There is only one screen, cannot kill")))
+ ((or
+- (not (interactive-p))
++ (not (called-interactively-p 'any))
+ (yes-or-no-p (format "Really kill screens other than %d? " screen)))
+ (setq screen-list-string (mapconcat
+ (lambda (screen)
+@@ -914,7 +915,7 @@
+ screen-list ","))
+ (elscreen-goto-internal screen)
+ (elscreen-notify-screen-modification 'force-immediately)
+- (when (interactive-p)
++ (when (called-interactively-p 'any)
+ (elscreen-message (format "screen %s killed" screen-list-string)))))
+ screen-list))
+
+@@ -984,7 +985,7 @@
+ (defun elscreen-jump ()
+ "Switch to specified screen."
+ (interactive)
+- (let ((next-screen (string-to-number (string last-command-char))))
++ (let ((next-screen (string-to-number (string last-command-event))))
+ (if (and (<= 0 next-screen) (<= next-screen 9))
+ (elscreen-goto next-screen))))
+ (defalias 'elscreen-jump-0 'elscreen-jump)
+@@ -1046,7 +1047,7 @@
+ (princ (substitute-command-keys
+ (mapconcat 'symbol-value
+ elscreen-help-symbol-list "\n\n")))
+- (print-help-return-message)))
++ (help-print-return-message)))
+
+
+ ;;; Utility Functions
+@@ -1180,7 +1181,7 @@
+ creating one if none already exists."
+ (interactive)
+ (let* ((prompt "Go to the screen with specified buffer: ")
+- (create (or create (interactive-p)))
++ (create (or create (called-interactively-p 'any)))
+ (buffer-name (or (and (bufferp buffer) (buffer-name buffer))
+ (and (stringp buffer) buffer)
+ (and (featurep 'iswitchb)
+@@ -1207,7 +1208,7 @@
+ Use \\[toggle-read-only] to permit editing."
+ (interactive "FFind file read-only in new screen: ")
+ (elscreen-find-file filename)
+- (toggle-read-only 1))
++ (read-only-mode 1))
+
+ (defun elscreen-dired (dirname &optional switches)
+ (interactive (progn
+@@ -1373,27 +1374,28 @@
+ (defvar elscreen-e21-tab-format nil)
+ (make-variable-buffer-local 'elscreen-e21-tab-format)
+
+- (defsubst elscreen-e21-tab-create-keymap (&rest definitions)
+- (let ((keymap (make-sparse-keymap))
+- (key-function-pairs
+- (eval-when-compile
+- (mapcar
+- (lambda (key)
+- (cons key 'ignore))
+- (list 'mouse-1 'mouse-2 'mouse-3
+- 'down-mouse-1 'down-mouse-2 'down-mouse-3
+- 'drag-mouse-1 'drag-mouse-2 'drag-mouse-3)))))
+- (while definitions
+- (set-alist 'key-function-pairs (car definitions) (cadr definitions))
+- (setq definitions (cddr definitions)))
+- (mapc
+- (lambda (key-function-pair)
+- (let ((key (car key-function-pair))
+- (function (cdr key-function-pair)))
+- (define-key keymap (vector 'header-line key) function)))
+- key-function-pairs)
+- keymap))
+-
++ (eval-when-compile
++ (defsubst elscreen-e21-tab-create-keymap (&rest definitions)
++ (let ((keymap (make-sparse-keymap))
++ (key-function-pairs
++ (eval-when-compile
++ (mapcar
++ (lambda (key)
++ (cons key 'ignore))
++ (list 'mouse-1 'mouse-2 'mouse-3
++ 'down-mouse-1 'down-mouse-2 'down-mouse-3
++ 'drag-mouse-1 'drag-mouse-2 'drag-mouse-3)))))
++ (while definitions
++ (set-alist 'key-function-pairs (car definitions) (cadr definitions))
++ (setq definitions (cddr definitions)))
++ (mapc
++ (lambda (key-function-pair)
++ (let ((key (car key-function-pair))
++ (function (cdr key-function-pair)))
++ (define-key keymap (vector 'header-line key) function)))
++ key-function-pairs)
++ keymap)))
++
+ (defsubst elscreen-e21-tab-width ()
+ (if (numberp elscreen-display-tab)
+ elscreen-display-tab
diff --git a/app-emacs/elscreen/files/elscreen-1.4.6-void-variable-argi.patch b/app-emacs/elscreen/files/elscreen-1.4.6-void-variable-argi.patch
new file mode 100644
index 000000000000..b8225070a675
--- /dev/null
+++ b/app-emacs/elscreen/files/elscreen-1.4.6-void-variable-argi.patch
@@ -0,0 +1,71 @@
+--- elscreen.el.orig 2007-12-29 15:12:05.000000000 +0000
++++ elscreen.el
+@@ -1691,6 +1691,10 @@ Use \\[toggle-read-only] to permit editi
+ ("-e" . elscreen-command-line-funcall))))
+
+ (static-when elscreen-on-emacs
++ (cond
++ ; -----------------------
++ ((< emacs-major-version 23) ; emacs22 or prior to
++ (progn
+ (defun elscreen-e21-command-line ()
+ (when (string-match "\\`-" argi)
+ (error "Unknown option `%s'" argi))
+@@ -1703,11 +1707,55 @@ Use \\[toggle-read-only] to permit editi
+ (elscreen-command-line-find-file file file-count line column))
+ (setq line 0)
+ (setq column 0)
+- t)
++ t) ; defun
+
+ (add-hook 'after-init-hook (lambda ()
+ (add-to-list 'command-line-functions
+- 'elscreen-e21-command-line t))))
++ 'elscreen-e21-command-line t)))) ; progn
++ ) ; else
++ ; -----------------------
++ ((= emacs-major-version 23) ; emacs23
++ (progn
++ (defun elscreen-e23-command-line ()
++ (when (string-match "\\`-" argi)
++ (error "Unknown option `%s'" argi))
++ (setq file-count (1+ file-count))
++ (setq inhibit-startup-buffer-menu t)
++ (let* ((file
++ (expand-file-name
++ (command-line-normalize-file-name orig-argi)
++ cl1-dir)))
++ (elscreen-command-line-find-file file file-count cl1-line cl1-column))
++ (setq cl1-line 0)
++ (setq cl1-column 0)
++ t) ; defun
++
++ (add-hook 'after-init-hook (lambda ()
++ (add-to-list 'command-line-functions
++ 'elscreen-e23-command-line t)))) ; progn
++ ) ; else
++ ; -----------------------
++ ((> emacs-major-version 23) ; emacs24 or later
++ (progn
++ (defun elscreen-e24-command-line ()
++ (when (string-match "\\`-" cl1-argi)
++ (error "Unknown option `%s'" cl1-argi))
++ (setq file-count (1+ file-count))
++ (setq inhibit-startup-buffer-menu t)
++ (let* ((file
++ (expand-file-name
++ (command-line-normalize-file-name orig-argi)
++ cl1-dir)))
++ (elscreen-command-line-find-file file file-count cl1-line cl1-column))
++ (setq cl1-line 0)
++ (setq cl1-column 0)
++ t) ; defun
++
++ (add-hook 'after-init-hook (lambda ()
++ (add-to-list 'command-line-functions
++ 'elscreen-e24-command-line t)))) ; progn
++ )
++ )) ; endif (emacs22 or prior to)
+
+ (static-when elscreen-on-xemacs
+ (defadvice command-line-1 (around elscreen-xmas-command-line-1 activate)
diff --git a/app-emacs/elscreen/metadata.xml b/app-emacs/elscreen/metadata.xml
new file mode 100644
index 000000000000..105523fef1a2
--- /dev/null
+++ b/app-emacs/elscreen/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ Emacs is more of an "environment" than just an editor, since it has the
+ strong configuration language, emacs-lisp. There are a lot of applications
+ written in emacs-lisp, and you may run many applications on your Emacs at
+ the same time, i.e. e-mail reader, news reader, IRC client, a kind of IDE,
+ etc. These applications likely consist of two or more windows, so when you
+ switch among applications, you may want to save or restore how windows are
+ located (this is called as "window-configuration"). For this purpose, Emacs
+ has two functions, window-configuratin-to-register and jump-to-register, but
+ these are too primitive to use on a daily basis.
+
+ ElScreen provides the ease-to-use environment to save or restore several
+ window-configurations.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/emacs-common-gentoo/Manifest b/app-emacs/emacs-common-gentoo/Manifest
new file mode 100644
index 000000000000..ca19f69fa9b4
--- /dev/null
+++ b/app-emacs/emacs-common-gentoo/Manifest
@@ -0,0 +1 @@
+DIST emacs-common-gentoo-1.5.tar.xz 40844 SHA256 fbec52de8552c6b22f56382a28d469d9346c02c7569c05cdb0db6a54b39995a1 SHA512 61ac2a1bb8bc449480137789f4d93228d81d2a7ea87a255a7fd82072ce98eecf5f585d102db95f0deda06102e27efbd5d9fce8cd21d6b58239f7a2b6d4ee4d55 WHIRLPOOL bb6d58d8afb55c9d6204f82553962190cd50f64d25ea5fb50308827f88ea3b1c42dc0e072155567391ffc7745b8871c733c9aee5042b57bfcbef5e5419d0b6cf
diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.5.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.5.ebuild
new file mode 100644
index 000000000000..74f83d773a87
--- /dev/null
+++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.5.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp-common eutils fdo-mime gnome2-utils readme.gentoo user
+
+DESCRIPTION="Common files needed by all GNU Emacs versions"
+HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
+SRC_URI="http://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="games X"
+
+PDEPEND="virtual/emacs"
+
+pkg_setup() {
+ use games && enewgroup gamestat 36
+}
+
+src_install() {
+ insinto "${SITELISP}"
+ doins subdirs.el
+ newins site-gentoo.el{,.orig}
+
+ keepdir /etc/emacs
+ insinto /etc/emacs
+ doins site-start.el
+
+ if use games; then
+ keepdir /var/games/emacs
+ fowners 0:gamestat /var/games/emacs
+ fperms g+w /var/games/emacs
+ fi
+
+ if use X; then
+ local i
+ domenu emacs.desktop emacsclient.desktop || die
+
+ pushd icons || die
+ newicon sink.png emacs-sink.png
+ newicon emacs_48.png emacs.png
+ newicon emacs22_48.png emacs22.png
+ for i in 16 24 32 48 128; do
+ newicon -s ${i} emacs_${i}.png emacs.png
+ done
+ for i in 16 24 32 48; do
+ newicon -s ${i} emacs22_${i}.png emacs22.png
+ done
+ doicon -s scalable emacs.svg
+ popd
+
+ gnome2_icon_savelist
+ fi
+
+ DOC_CONTENTS="All site initialisation for Gentoo-installed packages is
+ added to ${SITELISP}/site-gentoo.el. In order for this site
+ initialisation to be loaded for all users automatically, a default
+ site startup file /etc/emacs/site-start.el is installed. You are
+ responsible for maintenance of this file.
+ \n\nAlternatively, individual users can add the following command:
+ \n\n(require 'site-gentoo)
+ \n\nto their ~/.emacs initialisation files, or, for greater
+ flexibility, users may load single package-specific initialisation
+ files from the ${SITELISP}/site-gentoo.d/ directory."
+ readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+ # make sure that site-gentoo.el exists since site-start.el requires it
+ if [[ ! -f ${ED}${SITELISP}/site-gentoo.el ]]; then #554518
+ mv "${ED}${SITELISP}"/site-gentoo.el{.orig,} || die
+ fi
+ if [[ -d ${EROOT}${SITELISP} ]]; then
+ elisp-site-regen
+ cp "${EROOT}${SITELISP}/site-gentoo.el" "${ED}${SITELISP}/" || die
+ fi
+
+ if use games; then
+ local f
+ for f in /var/games/emacs/{snake,tetris}-scores; do
+ if [[ -e ${EROOT}${f} ]]; then
+ cp "${EROOT}${f}" "${ED}${f}" || die
+ elif [[ -e ${EROOT}/var/lib${f#/var} ]]; then
+ # backwards compatibility
+ cp "${EROOT}/var/lib${f#/var}" "${ED}${f}" || die
+ fi
+ touch "${ED}${f}" || die
+ chgrp gamestat "${ED}${f}" || die
+ chmod g+w "${ED}${f}" || die
+ done
+
+ if [[ -d ${EROOT}/var/games && -z $(find "${EROOT}"/var/games \
+ -maxdepth 0 -uid 0 -gid 0 -perm 755 -print) ]]; then
+ chown 0:0 "${EROOT}"/var/games || die
+ chmod 755 "${EROOT}"/var/games || die
+ fi
+ if has 1.4-r1 ${REPLACING_VERSIONS} \
+ && [[ -d ${EROOT}/var/games/emacs ]]; then
+ elog "Updating owner and permissions of score file directory."
+ chown 0:gamestat "${EROOT}"/var/games/emacs || die
+ chmod 775 "${EROOT}"/var/games/emacs || die
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use X; then
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+ fi
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ if use X; then
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+ fi
+}
diff --git a/app-emacs/emacs-common-gentoo/metadata.xml b/app-emacs/emacs-common-gentoo/metadata.xml
new file mode 100644
index 000000000000..dce592051146
--- /dev/null
+++ b/app-emacs/emacs-common-gentoo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<use>
+ <flag name='games'>Support shared score files for games</flag>
+</use>
+</pkgmetadata>
diff --git a/app-emacs/emacs-daemon/Manifest b/app-emacs/emacs-daemon/Manifest
new file mode 100644
index 000000000000..2b3fd2b3a005
--- /dev/null
+++ b/app-emacs/emacs-daemon/Manifest
@@ -0,0 +1,2 @@
+DIST emacs-daemon-0.20.tar.xz 5120 SHA256 5c0f0bc9a1fab391657737fc3b6af4088eff1ead2e05987fe50e02f5b6e50eb3 SHA512 ac1bfc543f38dd86aeef544a8d03aa2f2a6cb02ee2042ecb3f339baed98294deac1fc6d3d002e654f3d9f32f00379c4de40efa226ddd07715aee7fe0fcb41e43 WHIRLPOOL 5941c1ea18d238275aab312123eb598f3d3265f279674191a75bec6bfd6efeebadb20dc7e6db6454a9da10ed8e98b2916fad195741b4d5fddbb270528e040d63
+DIST emacs-daemon-0.21.tar.xz 5212 SHA256 e07c24d3a92f77d49cecaffdc9dc20d9268505d4ee4879557d0656e6b3c7acd3 SHA512 7131cbd78bb2f11ce3dc5686a3729b8ec11a673e9011c70d72bc04bd5d36373507c9f446ef100d2d37b569850740bf4fb68e06c9e78f3a3bc2b9cdfef8418062 WHIRLPOOL 5c51f985c460a440e6f2b282ad7d289700f621ee1a90c023b4a6f8f317cfd29297ba20f6a8714f27746ee41f9cbae02f200c8bfd39b26d32b0d1c20a56fba48b
diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.20.ebuild b/app-emacs/emacs-daemon/emacs-daemon-0.20.ebuild
new file mode 100644
index 000000000000..3b42558a46db
--- /dev/null
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.20.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Gentoo support for Emacs running as a server in the background"
+HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
+SRC_URI="mirror://gentoo/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
+
+DEPEND=">=virtual/emacs-23"
+RDEPEND="${DEPEND}"
+
+SITEFILE="10${PN}-gentoo.el"
+
+pkg_setup() {
+ local has_daemon has_gtk line
+ has_daemon=$(${EMACS} ${EMACSFLAGS} --eval "(princ (fboundp 'daemonp))")
+ has_gtk=$(${EMACS} ${EMACSFLAGS} --eval "(princ (featurep 'gtk))")
+
+ if [[ ${has_daemon} != t ]]; then
+ while read line; do ewarn "${line}"; done <<-EOF
+ Your current Emacs version does not support running as a daemon
+ which is required for ${CATEGORY}/${PN}.
+ Use "eselect emacs" to select an Emacs version >= 23.
+ EOF
+ elif [[ ${has_gtk} == t ]]; then
+ while read line; do ewarn "${line}"; done <<-EOF
+ Your current Emacs is compiled with GTK+. There is a long-standing
+ bug in GTK+ that prevents Emacs from recovering from X disconnects:
+ <http://bugzilla.gnome.org/show_bug.cgi?id=85715>
+ If you run Emacs as a daemon, then it is strongly recommended that
+ you compile it with the Motif or the Lucid toolkit instead, i.e.
+ with USE="motif -athena -gtk" or USE="athena -gtk -motif".
+ EOF
+ fi
+}
+
+src_compile() { :; }
+
+src_install() {
+ newinitd emacs.rc emacs
+ newconfd emacs.conf emacs
+ exeinto /usr/libexec/emacs
+ doexe emacs-wrapper.sh emacs-stop.sh
+ elisp-site-file-install "${SITEFILE}"
+ dodoc README ChangeLog
+}
diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild b/app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild
new file mode 100644
index 000000000000..e41541f26420
--- /dev/null
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.21.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Gentoo support for Emacs running as a server in the background"
+HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
+SRC_URI="http://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+
+DEPEND=">=virtual/emacs-23"
+RDEPEND="${DEPEND}"
+
+SITEFILE="10${PN}-gentoo.el"
+
+pkg_setup() {
+ local has_daemon has_gtk line
+ has_daemon=$(${EMACS} ${EMACSFLAGS} --eval "(princ (fboundp 'daemonp))")
+ has_gtk=$(${EMACS} ${EMACSFLAGS} --eval "(princ (featurep 'gtk))")
+
+ if [[ ${has_daemon} != t ]]; then
+ while read line; do ewarn "${line}"; done <<-EOF
+ Your current Emacs version does not support running as a daemon which
+ is required for ${CATEGORY}/${PN}.
+ Use "eselect emacs" to select an Emacs version >= 23.
+ EOF
+ elif [[ ${has_gtk} == t ]]; then
+ while read line; do ewarn "${line}"; done <<-EOF
+ Your current Emacs is compiled with GTK+. There is a long-standing bug
+ in GTK+ that prevents Emacs from recovering from X disconnects:
+ <http://bugzilla.gnome.org/show_bug.cgi?id=85715>
+ If you run Emacs as a daemon, then it is strongly recommended that you
+ compile it with the Lucid or the Motif toolkit instead, i.e. with
+ USE="athena Xaw3d -gtk -motif" or USE="motif -gtk -athena -Xaw3d".
+ EOF
+ fi
+}
+
+src_compile() { :; }
+
+src_install() {
+ newinitd emacs.rc emacs
+ newconfd emacs.conf emacs
+ exeinto /usr/libexec/emacs
+ doexe emacs-wrapper.sh emacs-stop.sh
+ elisp-site-file-install "${SITEFILE}"
+ dodoc README ChangeLog
+}
diff --git a/app-emacs/emacs-daemon/metadata.xml b/app-emacs/emacs-daemon/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/emacs-daemon/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/emacs-jabber/Manifest b/app-emacs/emacs-jabber/Manifest
new file mode 100644
index 000000000000..e0ea60dae831
--- /dev/null
+++ b/app-emacs/emacs-jabber/Manifest
@@ -0,0 +1 @@
+DIST emacs-jabber-0.8.92.tar.xz 293948 SHA256 f2efa690ea21a86ad0d0d8feb38d4dde809306334cc1294ee9f8f128313b9c93 SHA512 30cfb5e420914e411bfbbc0c4f1b7fb78190bee6aea61fad0f9b426e0138608f327626da6ff792fc443c58b7d3b70dc3f6291ca4e1a16965fa1283f91afe8882 WHIRLPOOL db53b7c758b81b5f512877f33ca035760804c989f08fc9e7d08960d800b7d5ef68c382d9cf43705ce6f8a0c4d9a253244a679afa4a34bc3b14bd90a4d52f08a4
diff --git a/app-emacs/emacs-jabber/emacs-jabber-0.8.92.ebuild b/app-emacs/emacs-jabber/emacs-jabber-0.8.92.ebuild
new file mode 100644
index 000000000000..e4121b77f2d8
--- /dev/null
+++ b/app-emacs/emacs-jabber/emacs-jabber-0.8.92.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A Jabber client for Emacs"
+HOMEPAGE="http://emacs-jabber.sourceforge.net/
+ http://emacswiki.org/emacs/JabberEl"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+
+DEPEND="app-emacs/hexrgb"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+ELISP_TEXINFO="jabber.texi"
+DOCS="AUTHORS NEWS README"
diff --git a/app-emacs/emacs-jabber/files/50emacs-jabber-gentoo.el b/app-emacs/emacs-jabber/files/50emacs-jabber-gentoo.el
new file mode 100644
index 000000000000..11d8c5b6f416
--- /dev/null
+++ b/app-emacs/emacs-jabber/files/50emacs-jabber-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'jabber-customize "jabber" "customize jabber options" t)
+(autoload 'jabber-connect "jabber"
+ "connect to the jabber server and start a jabber xml stream" t)
diff --git a/app-emacs/emacs-jabber/metadata.xml b/app-emacs/emacs-jabber/metadata.xml
new file mode 100644
index 000000000000..2efe4fd9d4b2
--- /dev/null
+++ b/app-emacs/emacs-jabber/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="sourceforge">emacs-jabber</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/emacs-w3m/Manifest b/app-emacs/emacs-w3m/Manifest
new file mode 100644
index 000000000000..ac397554868b
--- /dev/null
+++ b/app-emacs/emacs-w3m/Manifest
@@ -0,0 +1,2 @@
+DIST emacs-w3m-1.4.513_pre20130204.tar.xz 724892 SHA256 fc71922e8a5249584075a86bb274f08f193d82ed2e29786dcdfac4049b6b8873 SHA512 86d5aadd4a3e667a5f940ac47bd7c828546260dc6026bd3a906c5439ed07c702019e7dc7c4eac1bc2f4d3a9a6e03e28b59f3c48ce649c644d6608a120a67dfc0 WHIRLPOOL b4e7bd2809f6518f5b96fdc11c491ebe25169aef07613e443b6d293cedc3195f4789d31c2bea3e5648073087ecad66dd25175858f78e7307dcc37fb7fc5f526a
+DIST emacs-w3m-1.4.528_pre20140213.tar.xz 751532 SHA256 0be76617be14532493f95c1bb01b4c7337aa0407c5effe58d32feb9bd2b30f7f SHA512 f4ccb41f2011354c091c9b07b2ab596f030a6b2e8ef2ef674db75c93e5bfe7347b8b3602283e169e7fd591c44b222482d1a399880c60176fc55a5e77ed728483 WHIRLPOOL e3c838c1d65735899f74e09ed5362bc93e79564cb8c5076cf2dcd77880dd9d72afb7c3ddc2f9d60a49f1bda1766a6235ae702c368878e654d890127f6d0e445c
diff --git a/app-emacs/emacs-w3m/emacs-w3m-1.4.513_pre20130204.ebuild b/app-emacs/emacs-w3m/emacs-w3m-1.4.513_pre20130204.ebuild
new file mode 100644
index 000000000000..730e25f081da
--- /dev/null
+++ b/app-emacs/emacs-w3m/emacs-w3m-1.4.513_pre20130204.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp autotools
+
+DESCRIPTION="emacs-w3m is an interface program of w3m on Emacs"
+HOMEPAGE="http://emacs-w3m.namazu.org/"
+SRC_URI="mirror://gentoo/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="linguas_ja"
+
+DEPEND="virtual/w3m"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+SITEFILE="70${PN}-gentoo.el"
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ default
+}
+
+src_compile() {
+ emake all-en $(use linguas_ja && echo all-ja)
+}
+
+src_install() {
+ emake lispdir="${ED}${SITELISP}/${PN}" \
+ infodir="${ED}/usr/share/info" \
+ ICONDIR="${ED}${SITEETC}/${PN}" \
+ install-en $(use linguas_ja && echo install-ja) install-icons
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ dodoc ChangeLog* NEWS README
+ use linguas_ja && dodoc BUGS.ja NEWS.ja README.ja
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ einfo "Please see ${EPREFIX}/usr/share/doc/${PF}/README*"
+ einfo
+ elog "If you want to use the shimbun library, please emerge app-emacs/apel"
+ elog "and app-emacs/flim."
+}
diff --git a/app-emacs/emacs-w3m/emacs-w3m-1.4.528_pre20140213.ebuild b/app-emacs/emacs-w3m/emacs-w3m-1.4.528_pre20140213.ebuild
new file mode 100644
index 000000000000..80f4535b3485
--- /dev/null
+++ b/app-emacs/emacs-w3m/emacs-w3m-1.4.528_pre20140213.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp autotools
+
+DESCRIPTION="emacs-w3m is an interface program of w3m on Emacs"
+HOMEPAGE="http://emacs-w3m.namazu.org/"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="linguas_ja"
+
+DEPEND="virtual/w3m"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+SITEFILE="70${PN}-gentoo.el"
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ default
+}
+
+src_compile() {
+ emake all-en $(use linguas_ja && echo all-ja)
+}
+
+src_install() {
+ emake lispdir="${ED}${SITELISP}/${PN}" \
+ infodir="${ED}/usr/share/info" \
+ ICONDIR="${ED}${SITEETC}/${PN}" \
+ install-en $(use linguas_ja && echo install-ja) install-icons
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ dodoc ChangeLog* NEWS README
+ use linguas_ja && dodoc BUGS.ja NEWS.ja README.ja
+
+ DOC_CONTENTS="If you want to use the shimbun library, please emerge
+ app-emacs/apel and app-emacs/flim."
+ readme.gentoo_create_doc
+}
diff --git a/app-emacs/emacs-w3m/files/70emacs-w3m-gentoo.el b/app-emacs/emacs-w3m/files/70emacs-w3m-gentoo.el
new file mode 100644
index 000000000000..2f97e134da2d
--- /dev/null
+++ b/app-emacs/emacs-w3m/files/70emacs-w3m-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(setq w3m-icon-directory "@SITEETC@")
+(require 'w3m-load)
diff --git a/app-emacs/emacs-w3m/metadata.xml b/app-emacs/emacs-w3m/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/emacs-w3m/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/emacs-wget/Manifest b/app-emacs/emacs-wget/Manifest
new file mode 100644
index 000000000000..96e441b39f0d
--- /dev/null
+++ b/app-emacs/emacs-wget/Manifest
@@ -0,0 +1 @@
+DIST emacs-wget-0.5.0.tar.gz 37074 SHA256 ce59516c15f9de0c637d033419605c58f4da2f5ba762f74a5911cc96b6df7e81 SHA512 32d322cda7435b901115cdc01ef6b6e84f2af7f686f7d6a89cc486523d9d8b9807903c4ee0fb945a4ff457720033523beb34037e29ef7c9cdf2a10c62b725d54 WHIRLPOOL 9ba21389535396d8cb79dabf263cc276a087644f52a5497b7bce30d26162598636fcff8fdec1a5e9b362afa4101501b8138ce8ce8d995857ac745b9ff12b0818
diff --git a/app-emacs/emacs-wget/emacs-wget-0.5.0-r1.ebuild b/app-emacs/emacs-wget/emacs-wget-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..d01a43dca1f1
--- /dev/null
+++ b/app-emacs/emacs-wget/emacs-wget-0.5.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Wget interface for Emacs"
+HOMEPAGE="http://www.emacswiki.org/emacs/EmacsWget"
+SRC_URI="http://pop-club.hp.infoseek.co.jp/emacs/emacs-wget/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ppc64 x86"
+IUSE="linguas_ja"
+
+RDEPEND=">=net-misc/wget-1.8.2"
+
+ELISP_REMOVE="lpath.el"
+SITEFILE="50${PN}-gentoo.el"
+
+src_install() {
+ elisp_src_install
+ dodoc ChangeLog README USAGE
+ use linguas_ja && dodoc README.ja USAGE.ja
+}
diff --git a/app-emacs/emacs-wget/files/50emacs-wget-gentoo.el b/app-emacs/emacs-wget/files/50emacs-wget-gentoo.el
new file mode 100644
index 000000000000..51afcaf6d4c1
--- /dev/null
+++ b/app-emacs/emacs-wget/files/50emacs-wget-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'wget "wget" "wget interface for Emacs." t)
+(autoload 'wget-web-page "wget" "wget interface to download whole web page." t)
+(add-hook 'w3m-mode-hook (lambda () (require 'w3m-wget)))
diff --git a/app-emacs/emacs-wget/metadata.xml b/app-emacs/emacs-wget/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/emacs-wget/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/emacs-wiki-blog/Manifest b/app-emacs/emacs-wiki-blog/Manifest
new file mode 100644
index 000000000000..fdc3fded83a4
--- /dev/null
+++ b/app-emacs/emacs-wiki-blog/Manifest
@@ -0,0 +1 @@
+DIST emacs-wiki-blog-0.5.tar.bz2 7108 SHA256 eb74abb9ed29d9fc2706675e9ca85214f1ae3026176b7663cdca8a1e0584a15c SHA512 1f0481f3344b3264d33b2ddf9ff7290ef168743092313a3d9198466f002515906e3c4f8f56ef9375ea7ce77b9fb5620b2f1891d6f8b41772df46f7fd34edcc85 WHIRLPOOL 4a3217ec0b919e5c9bb010742ac2e7e038c53a2de4ffb60a447daad5304fa2bdbfbcc85050679717c7138cecf63f717770714d6c3f58ded7240c04e5779ca1b1
diff --git a/app-emacs/emacs-wiki-blog/emacs-wiki-blog-0.5.ebuild b/app-emacs/emacs-wiki-blog/emacs-wiki-blog-0.5.ebuild
new file mode 100644
index 000000000000..77b5627a2c27
--- /dev/null
+++ b/app-emacs/emacs-wiki-blog/emacs-wiki-blog-0.5.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit elisp
+
+DESCRIPTION="Emacs-Wiki add-on for maintaining a weblog"
+HOMEPAGE="http://www.emacswiki.org/emacs/EmacsWikiBlog"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="app-emacs/emacs-wiki"
+RDEPEND="${DEPEND}"
+
+ELISP_PATCHES="0.4-gentoo.patch"
+SITEFILE="90${PN}-gentoo.el"
diff --git a/app-emacs/emacs-wiki-blog/files/0.4-gentoo.patch b/app-emacs/emacs-wiki-blog/files/0.4-gentoo.patch
new file mode 100644
index 000000000000..f11b1292ec1c
--- /dev/null
+++ b/app-emacs/emacs-wiki-blog/files/0.4-gentoo.patch
@@ -0,0 +1,12 @@
+diff -ur emacs-wiki-blog-0.4.orig/emacs-wiki-blog.el emacs-wiki-blog-0.4/emacs-wiki-blog.el
+--- emacs-wiki-blog-0.4.orig/emacs-wiki-blog.el 2005-02-01 03:56:04.000000000 -0600
++++ emacs-wiki-blog-0.4/emacs-wiki-blog.el 2005-02-01 03:59:02.567905058 -0600
+@@ -42,6 +42,7 @@
+
+
+
++(require 'cl)
+ (require 'emacs-wiki)
+ (require 'calendar)
+
+Only in emacs-wiki-blog-0.4: emacs-wiki-blog.el~
diff --git a/app-emacs/emacs-wiki-blog/files/90emacs-wiki-blog-gentoo.el b/app-emacs/emacs-wiki-blog/files/90emacs-wiki-blog-gentoo.el
new file mode 100644
index 000000000000..9c3b97026ef6
--- /dev/null
+++ b/app-emacs/emacs-wiki-blog/files/90emacs-wiki-blog-gentoo.el
@@ -0,0 +1,19 @@
+
+;;; emacs-wiki-blog site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'emacs-wiki-blog-last-n-entries "emacs-wiki-blog")
+(autoload 'emacs-wiki-blog-generate-calendar "emacs-wiki-blog")
+(autoload 'emacs-wiki-blog-generate-archives "emacs-wiki-blog")
+(autoload 'ewb-publish-rss "emacs-wiki-blog")
+(autoload 'gs-latex-tag "latex2png")
+(autoload 'latex2png "latex2png")
+(autoload 'gs-emacs-wiki-thumbnail-tag "plog")
+
+(eval-after-load "emacs-wiki-colors"
+ '(progn
+ (add-to-list 'emacs-wiki-markup-tags '("latex" t t t gs-latex-tag))
+ (add-to-list 'emacs-wiki-markup-tags
+ '("thumb" t t t gs-emacs-wiki-thumbnail-tag))))
+
+(setq gs-latex2png-scale-factor 2.5)
diff --git a/app-emacs/emacs-wiki-blog/metadata.xml b/app-emacs/emacs-wiki-blog/metadata.xml
new file mode 100644
index 000000000000..03ffb61f731b
--- /dev/null
+++ b/app-emacs/emacs-wiki-blog/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ Emacs-wiki-blog is an Emacs Lisp package to maintain online journals,
+ like the way blogger or livejournal does, but much more powerful.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/emacs-wiki/Manifest b/app-emacs/emacs-wiki/Manifest
new file mode 100644
index 000000000000..7e17a51ab1eb
--- /dev/null
+++ b/app-emacs/emacs-wiki/Manifest
@@ -0,0 +1 @@
+DIST emacs-wiki-2.72.tar.gz 217896 SHA256 66d39fbae5020d2936fbfae754f34415fff3ed8fb5f3f4b97c8bdfddbb81b5c5 SHA512 eed759f43c8ba6bb06be2d6b5ab3eef4f13593ce952402dc0d054ff7283b236ded789807b080d19c06857367385dcbf76aec440ebbd7e2a23b113ddb4d288cb7 WHIRLPOOL 6ef71f14e2cd324bbcfdf951612c75812631291e9d00172f47e9d72581492149795fd0cc0504d9376041096287dceb23f8fb2a524c1cfc06b3eb5183def1f774
diff --git a/app-emacs/emacs-wiki/emacs-wiki-2.72-r2.ebuild b/app-emacs/emacs-wiki/emacs-wiki-2.72-r2.ebuild
new file mode 100644
index 000000000000..587cde02ed1c
--- /dev/null
+++ b/app-emacs/emacs-wiki/emacs-wiki-2.72-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Maintain a local Wiki using Emacs-friendly markup"
+HOMEPAGE="http://www.mwolson.org/projects/EmacsWiki.html
+ http://www.emacswiki.org/emacs/EmacsWikiMode"
+SRC_URI="http://www.mwolson.org/static/dist/emacs-wiki/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="app-emacs/htmlize
+ app-emacs/httpd"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ # These will be made part of the emacs-wiki installation until
+ # they are packaged separately
+ mv "${S}"/contrib/{update-remote,cgi}.el "${S}"/ || die
+}
+
+src_compile() {
+ elisp-compile *.el
+ makeinfo emacs-wiki.texi || die "makeinfo failed"
+}
+
+src_install() {
+ elisp-install ${PN} *.{el,elc}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ doinfo *.info*
+ dodoc README ChangeLog*
+ docinto examples
+ dodoc examples/default.css
+}
diff --git a/app-emacs/emacs-wiki/files/50emacs-wiki-gentoo.el b/app-emacs/emacs-wiki/files/50emacs-wiki-gentoo.el
new file mode 100644
index 000000000000..487d5ddeecce
--- /dev/null
+++ b/app-emacs/emacs-wiki/files/50emacs-wiki-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'emacs-wiki-mode "emacs-wiki"
+ "An Emacs mode for maintaining a local Wiki database." t)
+(autoload 'emacs-wiki-find-file "emacs-wiki"
+ "Open the Emacs Wiki page WIKI by name." t)
diff --git a/app-emacs/emacs-wiki/metadata.xml b/app-emacs/emacs-wiki/metadata.xml
new file mode 100644
index 000000000000..fd8b7e6425eb
--- /dev/null
+++ b/app-emacs/emacs-wiki/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+Emacs-wiki allows you to create a wiki on your local system and export
+HTML pages.
+
+Emacs-wiki has many uses. It has been used to organize links. It can
+make web page maintenance and design a lot easier. It is used as the
+back-end of Planner. You can store and link together various bits of
+information in a coherent manner. A weblog of sorts can be made with
+it, but RSS syndication is not supported.
+
+Emacs-wiki is not a real wiki in its basic configuration, because
+users from the web cannot edit the pages unless you use
+emacs-wiki-httpd.el .
+
+Emacs-wiki does not allow you to edit the pages of TheEmacsWiki.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/emhacks/Manifest b/app-emacs/emhacks/Manifest
new file mode 100644
index 000000000000..7fa6c2b158ea
--- /dev/null
+++ b/app-emacs/emhacks/Manifest
@@ -0,0 +1 @@
+DIST emhacks-20070920.tar.bz2 71232 SHA256 d249a6dfcb0e7b40c76844ee5959032ad0a792ff391ee11fe5e4a461c6b86ed7 SHA512 097a4602d82587a20feeb14c4717c69536336319f43f7b5e8b4ba0c7f878218138eddbe1edb6293222b7c5798b94dd2c8393231a7b8fb8f32fe5349f2b054bb1 WHIRLPOOL 7e876c0dd2e425da97ef3a721c86b49f2229c318bd35334cb9a9bdd1c2506f4e802c7e9d89e7ea38b35d1b781c38d8e2ca280bfceca2d0b5741fd45791548772
diff --git a/app-emacs/emhacks/emhacks-20070920.ebuild b/app-emacs/emhacks/emhacks-20070920.ebuild
new file mode 100644
index 000000000000..f072a1c1b122
--- /dev/null
+++ b/app-emacs/emhacks/emhacks-20070920.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Useful Emacs Lisp libraries, including gdiff, jjar, jmaker, swbuff, and tabbar"
+HOMEPAGE="http://emhacks.sourceforge.net/"
+# CVS snapshot
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="jde"
+
+DEPEND="jde? ( app-emacs/jde )"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ # remove files included in Emacs>=22 or not useful on GNU/Linux
+ rm -r findstr* overlay-fix* recentf* ruler-mode* tree-widget* || die
+ # this requires jde and cedet, not everyone may want it
+ use jde || rm jsee.el || die
+}
+
+src_install() {
+ elisp-install ${PN} *.el *.elc
+
+ cp "${FILESDIR}/${SITEFILE}" "${T}"
+ use jde || sed -i -e '/;; jsee/,$d' "${T}/${SITEFILE}"
+ elisp-site-file-install "${T}/${SITEFILE}"
+
+ dodoc Changelog
+}
diff --git a/app-emacs/emhacks/files/50emhacks-gentoo.el b/app-emacs/emhacks/files/50emhacks-gentoo.el
new file mode 100644
index 000000000000..14fd515ff685
--- /dev/null
+++ b/app-emacs/emhacks/files/50emhacks-gentoo.el
@@ -0,0 +1,32 @@
+(add-to-list 'load-path "@SITELISP@")
+
+;; dir-tree
+(autoload 'dir-tree "dir-tree"
+ "Display the ROOT directory in a tree widget." t)
+
+;; gdiff
+(require 'gdiff-setup)
+
+;; swbuff
+(autoload 'swbuff-switch-to-next-buffer "swbuff"
+ "Switch to the next buffer in the buffer list." t)
+(autoload 'swbuff-kill-this-buffer "swbuff"
+ "Kill the current buffer.
+And update the status window if showing." t)
+
+;; tabbar
+(autoload 'tabbar-local-mode "tabbar" nil t)
+(autoload 'tabbar-mode "tabbar" nil t)
+(autoload 'tabbar-mwheel-mode "tabbar" nil t)
+
+;; jjar
+(autoload 'jjar-create "jjar" "Create a new jar file." t)
+(autoload 'jjar-update "jjar" "Update an existing jar file." t)
+
+;; jmaker
+(autoload 'jmaker-generate-makefile "jmaker"
+ "Generate and edit a Java Makefile in directory ROOT." t)
+
+;; jsee
+(autoload 'jsee-browse-api-doc "jsee"
+ "Browse the Java API Documentation of the current Java file." t)
diff --git a/app-emacs/emhacks/metadata.xml b/app-emacs/emhacks/metadata.xml
new file mode 100644
index 000000000000..90f2f2e1f9a7
--- /dev/null
+++ b/app-emacs/emhacks/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ The EMHACKS project goal is to provide a set of useful libraries to help
+ using Emacs or XEmacs.
+
+ Among those libraries you will find:
+ gdiff, Use an external GUI diff tool from [X]Emacs;
+ jjar, Java Archive builder;
+ jmaker, Java Makefile generator;
+ swbuff, Quick switch between Emacs buffers;
+ tabbar, Display a tab bar in the header line.
+</longdescription>
+<use>
+ <flag name='jde'>Enable support for Java Development Environment</flag>
+</use>
+</pkgmetadata>
diff --git a/app-emacs/emms/Manifest b/app-emacs/emms/Manifest
new file mode 100644
index 000000000000..3f83855dd85a
--- /dev/null
+++ b/app-emacs/emms/Manifest
@@ -0,0 +1 @@
+DIST emms-3.0.tar.gz 200838 SHA256 5b750312dc82f856b1c725c0d795216f430ef7c25a301cda75b4847e52773594 SHA512 a6637d6d9bcf7fdc81815e698b51579d2dcb51b70b39d65117a81d180541f4774c82a1da23f5e67a5ffd37d5f1a4ce4fe5f653f8e443f899910320eaf5420119 WHIRLPOOL b8f9eecf1c1883e59051a31076888abb038627960012c22d9822764d558e84d97afb0b3eee9c6bf3fe89b707c6657d62099b384cac684709f1250f8fe63e9c59
diff --git a/app-emacs/emms/emms-3.0-r1.ebuild b/app-emacs/emms/emms-3.0-r1.ebuild
new file mode 100644
index 000000000000..7144d852819a
--- /dev/null
+++ b/app-emacs/emms/emms-3.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp toolchain-funcs
+
+DESCRIPTION="The Emacs Multimedia System"
+HOMEPAGE="http://www.gnu.org/software/emms/
+ http://www.emacswiki.org/emacs/EMMS"
+SRC_URI="http://www.gnu.org/software/emms/download/${P}.tar.gz"
+
+LICENSE="GPL-3+ FDL-1.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="media-libs/taglib"
+RDEPEND="${DEPEND}"
+
+# EMMS can use almost anything for playing media files therefore the dependency
+# possibilities are so broad that we refrain from setting anything explicitly
+# in DEPEND/RDEPEND.
+
+ELISP_PATCHES="${P}-Makefile.patch
+ ${P}-texinfo-5.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ emake CC="$(tc-getCC)" \
+ EMACS=emacs \
+ all emms-print-metadata
+}
+
+src_install() {
+ elisp-install ${PN} *.{el,elc}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ doinfo *.info*
+ dobin *-wrapper emms-print-metadata
+ dodoc AUTHORS ChangeLog FAQ NEWS README RELEASE
+}
diff --git a/app-emacs/emms/files/50emms-gentoo.el b/app-emacs/emms/files/50emms-gentoo.el
new file mode 100644
index 000000000000..9749f5e1e866
--- /dev/null
+++ b/app-emacs/emms/files/50emms-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'emms-auto)
diff --git a/app-emacs/emms/files/emms-3.0-Makefile.patch b/app-emacs/emms/files/emms-3.0-Makefile.patch
new file mode 100644
index 000000000000..4f5760c162b3
--- /dev/null
+++ b/app-emacs/emms/files/emms-3.0-Makefile.patch
@@ -0,0 +1,11 @@
+--- emms-3.0-orig/Makefile 2007-06-29 18:16:24.000000000 +0200
++++ emms-3.0/Makefile 2010-08-09 22:14:39.000000000 +0200
+@@ -41,7 +41,7 @@
+ makeinfo --html --no-split $<
+
+ emms-print-metadata: emms-print-metadata.c
+- $(CC) -o $@ $< -I/usr/include/taglib -L/usr/lib -ltag_c
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< `taglib-config --libs --cflags` -ltag_c
+
+ install:
+ test -d $(SITELISP) || mkdir -p $(SITELISP)
diff --git a/app-emacs/emms/files/emms-3.0-texinfo-5.patch b/app-emacs/emms/files/emms-3.0-texinfo-5.patch
new file mode 100644
index 000000000000..10ee2ad57524
--- /dev/null
+++ b/app-emacs/emms/files/emms-3.0-texinfo-5.patch
@@ -0,0 +1,17 @@
+--- emms-3.0-orig/gpl.texi
++++ emms-3.0/gpl.texi
+@@ -659,6 +659,8 @@
+ Program, unless a warranty or assumption of liability accompanies a
+ copy of the Program in return for a fee.
+
++@end enumerate
++
+ @iftex
+ @heading END OF TERMS AND CONDITIONS
+ @end iftex
+@@ -721,5 +723,3 @@
+ applications with the library. If this is what you want to do, use
+ the GNU Lesser General Public License instead of this License. But
+ first, please read @url{http://www.gnu.org/philosophy/why-not-lgpl.html}.
+-
+-@end enumerate
diff --git a/app-emacs/emms/metadata.xml b/app-emacs/emms/metadata.xml
new file mode 100644
index 000000000000..bff8c8626d37
--- /dev/null
+++ b/app-emacs/emms/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ EMMS, the Emacs Multimedia System, is an extensible, light-weight
+ multimedia player system for Emacs. It includes support for audio
+ and video formats such as MP3, FLAC, Ogg Vorbis, MPEG, WMV, MOV,
+ AVI, OGM, MKV via external players such as MPlayer, GStreamer,
+ mpg321, ogg123 etc.
+
+ EMMS also includes meta data tagging capabilities (including batched
+ tagging), play-list management, play-list scoring, streamed media
+ and support for synchronized song lyrics display.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/erobot/Manifest b/app-emacs/erobot/Manifest
new file mode 100644
index 000000000000..ce38a3a685f4
--- /dev/null
+++ b/app-emacs/erobot/Manifest
@@ -0,0 +1 @@
+DIST erobot-2.1.0.tar.bz2 8748 SHA256 36c02702406ed15f8f67e148a7b098006e5cde2e1fde9f6e748e7fb22a03197c SHA512 a5e8ad1d6cbc736302d846576a3effb6ef6a22b31677e604374df50920435a8082a8b3124a3a76c5086a066956ba457bfb4d2477cdc16ae45919aa7dd8c7e874 WHIRLPOOL 69b8e0ea181f882a22254c8be9d9a7d7e03c021285fb2a3d475ee950d45cd9c246eaba2352d3d5ee77b596ed1c25eddde84abc5e59de5b15ea3f7b831a791563
diff --git a/app-emacs/erobot/erobot-2.1.0-r1.ebuild b/app-emacs/erobot/erobot-2.1.0-r1.ebuild
new file mode 100644
index 000000000000..e3d7453fe591
--- /dev/null
+++ b/app-emacs/erobot/erobot-2.1.0-r1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Battle-bots for Emacs!"
+HOMEPAGE="http://www.emacswiki.org/emacs/EmacsRobots"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+ELISP_PATCHES="${P}-fix-interactive.patch"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/erobot/files/50erobot-gentoo.el b/app-emacs/erobot/files/50erobot-gentoo.el
new file mode 100644
index 000000000000..9ca415017af3
--- /dev/null
+++ b/app-emacs/erobot/files/50erobot-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'erobot "erobot" "Starts a game of erobot." t)
+(autoload 'erobot-tour "erobot"
+ "Introduction to some of the erobots included in the package." t)
diff --git a/app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch b/app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch
new file mode 100644
index 000000000000..69b195170a85
--- /dev/null
+++ b/app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch
@@ -0,0 +1,11 @@
+--- erobot.el~ 2002-09-28 21:25:39.000000000 +0200
++++ erobot.el 2007-04-21 11:57:15.000000000 +0200
+@@ -230,7 +230,7 @@
+ `erobot-max-turns' has been exceeded, or if the char q is pressed
+ while the game is running. When the game ends, the candidates on
+ the map are returned in a list."
+- (interactive "i\n\naCandidate A: \naCandidate B: ")
++ (interactive "aCandidate A: \naCandidate B: ")
+ ;; Place candidates on the map and set erobot-candidates
+ (setq erobot-candidates nil)
+ (erobot-initialize candidates)
diff --git a/app-emacs/erobot/metadata.xml b/app-emacs/erobot/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/erobot/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/eselect-mode/Manifest b/app-emacs/eselect-mode/Manifest
new file mode 100644
index 000000000000..c77de7fb1c7d
--- /dev/null
+++ b/app-emacs/eselect-mode/Manifest
@@ -0,0 +1 @@
+DIST eselect-1.4.4.tar.xz 177536 SHA256 120c123eae4a1d03515e94f9efd51af6ff2f09340daf1ada4dc21079df7a937f SHA512 1ed01cf00e3f13aad3e5f844c7086c3dd48398efd76e68cd91cf13b9939f4b48eef8915c5f3926954d158023115ad66ee67c0bc8fc4c9570900a37207674fc8f WHIRLPOOL e56c3ea3e54bdbcfffba3fbbe85b3c824cab796a0bae2680fac962356a2f707783571a9f73e0ea8299098838e593bea77b14edbeaadc372f186c2da2928e9ab5
diff --git a/app-emacs/eselect-mode/eselect-mode-1.4.4.ebuild b/app-emacs/eselect-mode/eselect-mode-1.4.4.ebuild
new file mode 100644
index 000000000000..1ffecdcff42f
--- /dev/null
+++ b/app-emacs/eselect-mode/eselect-mode-1.4.4.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+MY_P="eselect-${PV}"
+DESCRIPTION="Emacs major mode for editing eselect files"
+HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Eselect"
+SRC_URI="http://dev.gentoo.org/~ulm/eselect/${MY_P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+S="${WORKDIR}/${MY_P}/misc"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/eselect-mode/eselect-mode-9999.ebuild b/app-emacs/eselect-mode/eselect-mode-9999.ebuild
new file mode 100644
index 000000000000..b82c58c91f08
--- /dev/null
+++ b/app-emacs/eselect-mode/eselect-mode-9999.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PN="eselect"
+EGIT_REPO_URI="git://anongit.gentoo.org/proj/eselect.git"
+EGIT_CHECKOUT_DIR="${WORKDIR}/${MY_PN}"
+
+inherit elisp git-r3
+
+DESCRIPTION="Emacs major mode for editing eselect files"
+HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Eselect"
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+S="${WORKDIR}/${MY_PN}/misc"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/eselect-mode/files/50eselect-mode-gentoo.el b/app-emacs/eselect-mode/files/50eselect-mode-gentoo.el
new file mode 100644
index 000000000000..05e2275ee322
--- /dev/null
+++ b/app-emacs/eselect-mode/files/50eselect-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'eselect-mode "eselect-mode" "Major mode for .eselect files." t)
+(add-to-list 'auto-mode-alist '("\\.eselect\\'" . eselect-mode))
diff --git a/app-emacs/eselect-mode/metadata.xml b/app-emacs/eselect-mode/metadata.xml
new file mode 100644
index 000000000000..b2c96c69ba47
--- /dev/null
+++ b/app-emacs/eselect-mode/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>eselect</herd>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/ess/Manifest b/app-emacs/ess/Manifest
new file mode 100644
index 000000000000..f35ea1520780
--- /dev/null
+++ b/app-emacs/ess/Manifest
@@ -0,0 +1,3 @@
+DIST ess-13.09.tgz 3356969 SHA256 d0625f8ac38831a05d419435d3a6ccf852878c8aea018c3f4a9c9d6bd61e71d2 SHA512 96a91a41c9b390c27646e4b95d7a41e6b22d592c82bf775f2e1b70905c7bc684c3d6645496275d245c9f882030da1b3bd5cd3ba5711acbec3a07cdb2d065a5dd WHIRLPOOL 3560d95bcb43a65ca86787274fa96106611a98041cf63905a4066223247d8557405b7557da2c468d836d4570d4e791aa36e84e76585fc9668729926ef0759598
+DIST ess-14.09.tgz 3350987 SHA256 b6f1badd065e2e42f1d9d75a4e7a04290849d6f7a2bdb8413f73e0eae4014571 SHA512 91e275810f7a8c856f3392194ad3fb3d5f5b966e887568b22c133a362164e71ff5306d1d1a70e97f9d10261fe82eecb5f14e99a0dad4a4e239f5b810d7bba8ac WHIRLPOOL 5eabe6d65d7b5d420a7c6989b82d9901ac20d7b6376223f5aee39da7212ea395d15a98ce86c49fb2782706ba524532ceb38fd23dafaae5891a55958d1c676221
+DIST ess-15.03-1.tgz 3177102 SHA256 ad2f1b48dd4671848709d226aab72427129ac2fd5f85c0c0b39b96be24eee66f SHA512 5260d8afa10e1382cac3c70a4b6f753dd77e9f24bb2f68247732605b0f5fbb1b06e090dbcb45d747a484333f0779959c9213a4792103839b11c9e239bf35534d WHIRLPOOL eb1e6917a05b7444f4c37949a51554b6b33a0841bad5dae6aa93f575a7914fb36299c7c63ec27ec24944104a39b5844ada12b1c74a64daa04a682d5e97001834
diff --git a/app-emacs/ess/ess-13.09.ebuild b/app-emacs/ess/ess-13.09.ebuild
new file mode 100644
index 000000000000..e80e2e1550fa
--- /dev/null
+++ b/app-emacs/ess/ess-13.09.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Emacs Speaks Statistics"
+HOMEPAGE="http://ess.r-project.org/"
+SRC_URI="http://ess.r-project.org/downloads/ess/${P}.tgz"
+
+LICENSE="GPL-2+ GPL-3+ Texinfo-manual"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
+
+DEPEND="app-text/texi2html
+ virtual/latex-base"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ default
+}
+
+src_install() {
+ emake PREFIX="${ED}/usr" \
+ INFODIR="${ED}/usr/share/info" \
+ LISPDIR="${ED}${SITELISP}/ess" \
+ DOCDIR="${ED}/usr/share/doc/${PF}" \
+ install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ # Most documentation is installed by the package's build system.
+ rm -f "${ED}${SITELISP}/${PN}/ChangeLog"
+ dodoc ChangeLog *NEWS doc/{TODO,ess-intro.pdf}
+ newdoc lisp/ChangeLog ChangeLog-lisp
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "Please see /usr/share/doc/${PF} for the complete documentation."
+ elog "Usage hints are in ${SITELISP}/${PN}/ess-site.el ."
+}
diff --git a/app-emacs/ess/ess-14.09.ebuild b/app-emacs/ess/ess-14.09.ebuild
new file mode 100644
index 000000000000..67e9b61498e2
--- /dev/null
+++ b/app-emacs/ess/ess-14.09.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Emacs Speaks Statistics"
+HOMEPAGE="http://ess.r-project.org/"
+SRC_URI="http://ess.r-project.org/downloads/ess/${P}.tgz"
+
+LICENSE="GPL-2+ GPL-3+ Texinfo-manual"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
+
+DEPEND="app-text/texi2html
+ virtual/latex-base"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ default
+}
+
+src_install() {
+ emake PREFIX="${ED}/usr" \
+ INFODIR="${ED}/usr/share/info" \
+ LISPDIR="${ED}${SITELISP}/ess" \
+ DOCDIR="${ED}/usr/share/doc/${PF}" \
+ install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ # Most documentation is installed by the package's build system.
+ rm -f "${ED}${SITELISP}/${PN}/ChangeLog"
+ dodoc ChangeLog *NEWS doc/{TODO,ess-intro.pdf}
+ newdoc doc/ChangeLog ChangeLog-doc
+ newdoc lisp/ChangeLog ChangeLog-lisp
+
+ DOC_CONTENTS="Please see /usr/share/doc/${PF} for the complete
+ documentation. Usage hints are in ${SITELISP}/${PN}/ess-site.el ."
+ readme.gentoo_create_doc
+}
diff --git a/app-emacs/ess/ess-15.03.1.ebuild b/app-emacs/ess/ess-15.03.1.ebuild
new file mode 100644
index 000000000000..8f342fa7f661
--- /dev/null
+++ b/app-emacs/ess/ess-15.03.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+MY_P="${PN}-${PV%.*}-${PV##*.}"
+DESCRIPTION="Emacs Speaks Statistics"
+HOMEPAGE="http://ess.r-project.org/"
+SRC_URI="http://ess.r-project.org/downloads/ess/${MY_P}.tgz"
+
+LICENSE="GPL-2+ GPL-3+ Texinfo-manual"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
+
+DEPEND="app-text/texi2html
+ virtual/latex-base"
+
+S="${WORKDIR}/${MY_P}"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ default
+}
+
+src_install() {
+ emake PREFIX="${ED}/usr" \
+ INFODIR="${ED}/usr/share/info" \
+ LISPDIR="${ED}${SITELISP}/ess" \
+ DOCDIR="${ED}/usr/share/doc/${PF}" \
+ install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ # Most documentation is installed by the package's build system.
+ rm -f "${ED}${SITELISP}/${PN}/ChangeLog"
+ dodoc ChangeLog *NEWS doc/{TODO,ess-intro.pdf}
+ newdoc doc/ChangeLog ChangeLog-doc
+ newdoc lisp/ChangeLog ChangeLog-lisp
+
+ DOC_CONTENTS="Please see /usr/share/doc/${PF} for the complete
+ documentation. Usage hints are in ${SITELISP}/${PN}/ess-site.el ."
+ readme.gentoo_create_doc
+}
diff --git a/app-emacs/ess/files/50ess-gentoo.el b/app-emacs/ess/files/50ess-gentoo.el
new file mode 100644
index 000000000000..597e41c706fb
--- /dev/null
+++ b/app-emacs/ess/files/50ess-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'ess-site)
diff --git a/app-emacs/ess/metadata.xml b/app-emacs/ess/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/ess/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/evil/Manifest b/app-emacs/evil/Manifest
new file mode 100644
index 000000000000..495d0cf97da5
--- /dev/null
+++ b/app-emacs/evil/Manifest
@@ -0,0 +1 @@
+DIST evil-1.0.8.tar.xz 427884 SHA256 f88760b93fd9c918a1ed567e1ce23ce7fa6709b1f603137df3397a005c2800bf SHA512 d827ff8856c0240c334088f4c61226c93994a4c5afdd775a7170233add884af134b22cdc8bfa6432d3f44d3e6cf3cea89501a4ebfdc37ed5c70b3c712ad2ea86 WHIRLPOOL 81c8f6fc175103ab05e993fff516fa17c82d22ed5409eb59c8640f9bab1914746a47acba8f80d4a31482031086c7da70efa7977ea22b521469b95f9808f797c0
diff --git a/app-emacs/evil/evil-1.0.8.ebuild b/app-emacs/evil/evil-1.0.8.ebuild
new file mode 100644
index 000000000000..c3dac2895fff
--- /dev/null
+++ b/app-emacs/evil/evil-1.0.8.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Extensible vi layer for Emacs"
+HOMEPAGE="http://gitorious.org/evil"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-3+ FDL-1.3+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+RESTRICT="test"
+
+DEPEND=">=app-emacs/undo-tree-0.6.3"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+ELISP_REMOVE="evil-pkg.el evil-tests.el"
+ELISP_TEXINFO="doc/evil.texi"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="CHANGES.org"
diff --git a/app-emacs/evil/files/50evil-gentoo.el b/app-emacs/evil/files/50evil-gentoo.el
new file mode 100644
index 000000000000..390e532e09a0
--- /dev/null
+++ b/app-emacs/evil/files/50evil-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'evil-mode "evil" "Toggle Evil in all buffers." t)
diff --git a/app-emacs/evil/metadata.xml b/app-emacs/evil/metadata.xml
new file mode 100644
index 000000000000..bebc85a15a5b
--- /dev/null
+++ b/app-emacs/evil/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="gitorious">evil</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/fff/Manifest b/app-emacs/fff/Manifest
new file mode 100644
index 000000000000..8e3f3733bab1
--- /dev/null
+++ b/app-emacs/fff/Manifest
@@ -0,0 +1 @@
+DIST fff-20050517.tar.bz2 13774 SHA256 c6333255ebe50d481e4b7d7472a445b1bcd268622771bcd640a7201f82b07ee0 SHA512 829a833a25378d868db0dad04d062c397336aa98167fd5706a9c75a7ec4c60a49bc77b5dfa9ed9f48565d09ae2817fafeffeb7546b5e5bbfcd13c78fcdfc9939 WHIRLPOOL 05f6c9ddedadc7025006ab520e70531847f636d5be93d773a61a6a1a9819e2141d5395e647ae7aae80573ed22ce60bb53b16a657581dc530b898308c7e7ac62f
diff --git a/app-emacs/fff/fff-20050517.ebuild b/app-emacs/fff/fff-20050517.ebuild
new file mode 100644
index 000000000000..91ea6aef3897
--- /dev/null
+++ b/app-emacs/fff/fff-20050517.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Fast file finder for Emacs"
+HOMEPAGE="http://www.splode.com/~friedman/software/emacs-lisp/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="sys-apps/mlocate"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/fff/files/50fff-gentoo.el b/app-emacs/fff/files/50fff-gentoo.el
new file mode 100644
index 000000000000..84df8bdd9e8b
--- /dev/null
+++ b/app-emacs/fff/files/50fff-gentoo.el
@@ -0,0 +1,17 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'fff-find-file-in-envvar-path "fff" nil t)
+(autoload 'fff-insert-file-in-envvar-path "fff" nil t)
+(autoload 'fff-find-file-in-exec-path "fff" nil t)
+(autoload 'fff-insert-file-in-exec-path "fff" nil t)
+(autoload 'fff-find-file-in-path "fff" nil t)
+(autoload 'fff-insert-file-in-path "fff" nil t)
+(autoload 'fff-find-file-in-locate-db "fff" nil t)
+(autoload 'fff-insert-file-in-locate-db "fff" nil t)
+(autoload 'fff-install-map "fff" nil t)
+(autoload 'fff-find-emacs-lisp-library "fff-elisp" nil t)
+(autoload 'fff-insert-emacs-lisp-library "fff-elisp" nil t)
+(autoload 'fff-locate-emacs-lisp-library "fff-elisp" nil t)
+(autoload 'fff-find-loaded-elisp-function-or-variable "fff-elisp" nil t)
+(autoload 'fff-elisp-install-map "fff-elisp" nil t)
+(autoload 'fff-find-rfc "fff-rfc" nil t)
+(autoload 'fff-rfc-install-map "fff-rfc" nil t)
diff --git a/app-emacs/fff/metadata.xml b/app-emacs/fff/metadata.xml
new file mode 100644
index 000000000000..d66f0dd32b1e
--- /dev/null
+++ b/app-emacs/fff/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ This package provides several shortcut commands for visiting or
+ inserting files without having to specify them by their complete name.
+ For example, you can visit programs in your exec-path (some of which
+ may be humanly-readable shell scripts or config files), or anything
+ else which is quickly locatable via a prebuilt database or path list.
+ Completion is also available for many commands.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/filladapt/Manifest b/app-emacs/filladapt/Manifest
new file mode 100644
index 000000000000..ff135d476670
--- /dev/null
+++ b/app-emacs/filladapt/Manifest
@@ -0,0 +1 @@
+DIST filladapt-2.12.el.gz 9267 SHA256 5d96051b605ea05d89372dc032d1e33ba8f4dcb82c89a178a9fb62bc8feb261c SHA512 31bf3dca48129cc25653827678215eb4c62ff777cfbdf0d71142c0cc3111a078b1af316e121b27be2a47c317cfa440ac00e7fbc2bdf3e8ac7d54748297249328 WHIRLPOOL bd591375a15e35468a78b595c8b073d63879aaa766803017c1087a762affe3d7bd83d5f8f2f4370ad67293169dabf0eac765f55f9556fc60d900daba3bc9bfe5
diff --git a/app-emacs/filladapt/files/50filladapt-gentoo.el b/app-emacs/filladapt/files/50filladapt-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/filladapt/files/50filladapt-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/filladapt/filladapt-2.12-r1.ebuild b/app-emacs/filladapt/filladapt-2.12-r1.ebuild
new file mode 100644
index 000000000000..857605f61593
--- /dev/null
+++ b/app-emacs/filladapt/filladapt-2.12-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Filladapt enhances the behavior of Emacs' fill functions"
+HOMEPAGE="http://www.wonderworks.com/"
+SRC_URI="mirror://gentoo/${P}.el.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
+DOC_CONTENTS="Filladapt is not enabled as a site default. Add the following
+ lines to your ~/.emacs file to enable adaptive fill by default:
+ \n\t(require 'filladapt)
+ \n\t(setq-default filladapt-mode t)"
diff --git a/app-emacs/filladapt/metadata.xml b/app-emacs/filladapt/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/filladapt/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/flashcard/Manifest b/app-emacs/flashcard/Manifest
new file mode 100644
index 000000000000..7fbd60661f45
--- /dev/null
+++ b/app-emacs/flashcard/Manifest
@@ -0,0 +1 @@
+DIST flashcard-2.3.3.tar.bz2 10048 SHA256 30e6228a485f1210e526c5117c1f5f18f4cd70cdc0ab0b8db63023a0a71068c6 SHA512 30d18b488549c8aba1c6e9320d10b8b566e1ff162bd5a072bb2ba3602111744d7f21cdc26fd48f7b427727c264c9017b1a8534fc402d3990d1f9bb0e0f54877c WHIRLPOOL 9ff27e6ed32c6318443059b0d52b5e99cdeca1dbdae78fd9dcf195a4ea8b35b6cb94d2a38969d8189177080b717e9ab3acac6d77d24beee592b1bd0c17807493
diff --git a/app-emacs/flashcard/files/50flashcard-gentoo.el b/app-emacs/flashcard/files/50flashcard-gentoo.el
new file mode 100644
index 000000000000..312dc5a87780
--- /dev/null
+++ b/app-emacs/flashcard/files/50flashcard-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'auto-mode-alist '("\\.deck\\'" . flashcard-mode))
+(autoload 'flashcard-mode "flashcard" nil t)
+(autoload 'flashcard-add-card "flashcard" nil t)
+(autoload 'flashcard-import-from-colon-file "flashcard" nil t)
diff --git a/app-emacs/flashcard/flashcard-2.3.3.ebuild b/app-emacs/flashcard/flashcard-2.3.3.ebuild
new file mode 100644
index 000000000000..2d143106a1e6
--- /dev/null
+++ b/app-emacs/flashcard/flashcard-2.3.3.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs Lisp package for drilling on questions and answers"
+HOMEPAGE="http://ichi2.net/flashcard/
+ http://www.emacswiki.org/emacs/FlashCard"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc sparc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/flashcard/metadata.xml b/app-emacs/flashcard/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/flashcard/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/flim/Manifest b/app-emacs/flim/Manifest
new file mode 100644
index 000000000000..3a4f65a90cc6
--- /dev/null
+++ b/app-emacs/flim/Manifest
@@ -0,0 +1 @@
+DIST flim-1.14.9.tar.gz 182065 SHA256 bbd5a8729ea27457c7c2ffdcb1be6219ad38fdfa323341f4fad2d298780070ec SHA512 a272a30f27cea24f537b9bf3a6dbb25113deff0ab8e1c03bd802e4d32d673d567d282297ed9e4d35217f069699a1fc25bfdde09778171a188dfa46f49e9bb7dd WHIRLPOOL 82f7aac34bc61857fdf824e2d218e5c0b0b0b1947fda1b8cadbe0e8c7ff5be8ac5e4eb18a7c77f5e221b4bb49f34f708610c8c06ed9f8092597c2600abb96427
diff --git a/app-emacs/flim/files/60flim-gentoo.el b/app-emacs/flim/files/60flim-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/flim/files/60flim-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/flim/files/flim-1.14.9-mel-q-ccl.patch b/app-emacs/flim/files/flim-1.14.9-mel-q-ccl.patch
new file mode 100644
index 000000000000..35f645052284
--- /dev/null
+++ b/app-emacs/flim/files/flim-1.14.9-mel-q-ccl.patch
@@ -0,0 +1,31 @@
+http://bugs.gentoo.org/292449
+
+--- flim-1.14.9-orig/mel-q-ccl.el 2006-06-12 17:10:02.000000000 +0200
++++ flim-1.14.9/mel-q-ccl.el 2009-11-13 15:38:28.000000000 +0100
+@@ -893,7 +893,13 @@
+ (defun quoted-printable-ccl-encode-region (start end)
+ "Encode the region from START to END with quoted-printable encoding."
+ (interactive "*r")
+- (decode-coding-region start end 'mel-ccl-quoted-printable-lf-lf-rev))
++ (save-excursion
++ (goto-char start)
++ (insert (prog1
++ (decode-coding-string
++ (string-as-unibyte (buffer-substring start end))
++ 'mel-ccl-quoted-printable-lf-lf-rev)
++ (delete-region start end)))))
+
+ (defun quoted-printable-ccl-insert-encoded-file (filename)
+ "Encode contents of the file named as FILENAME, and insert it."
+@@ -932,7 +938,10 @@
+ (defun quoted-printable-ccl-write-decoded-region (start end filename)
+ "Decode quoted-printable encoded current region and write out to FILENAME."
+ (interactive "*r\nFWrite decoded region to file: ")
+- (let ((coding-system-for-write 'mel-ccl-quoted-printable-lf-lf-rev)
++ (let ((coding-system-for-write
++ (if (coding-system-p 'mel-ccl-quoted-printable-lf-lf-rev-unix)
++ 'mel-ccl-quoted-printable-lf-lf-rev-unix
++ 'mel-ccl-quoted-printable-lf-lf-rev))
+ jka-compr-compression-info-list jam-zcat-filename-list)
+ (write-region start end filename)))
+
diff --git a/app-emacs/flim/flim-1.14.9-r2.ebuild b/app-emacs/flim/flim-1.14.9-r2.ebuild
new file mode 100644
index 000000000000..2a9ab21a759d
--- /dev/null
+++ b/app-emacs/flim/flim-1.14.9-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A library to provide basic features about message representation or encoding"
+HOMEPAGE="http://git.chise.org/elisp/flim/"
+SRC_URI="http://git.chise.org/elisp/dist/${PN}/${P%.*}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
+
+DEPEND=">=app-emacs/apel-10.3"
+RDEPEND="${DEPEND}
+ !app-emacs/limit"
+
+ELISP_PATCHES="${P}-mel-q-ccl.patch"
+SITEFILE="60${PN}-gentoo.el"
+
+src_compile() {
+ emake PREFIX="${ED}/usr" \
+ LISPDIR="${ED}/${SITELISP}" \
+ VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}"
+}
+
+src_install() {
+ emake PREFIX="${ED}/usr" \
+ LISPDIR="${ED}/${SITELISP}" \
+ VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}" install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ dodoc FLIM-API.en NEWS VERSION README* ChangeLog
+}
diff --git a/app-emacs/flim/metadata.xml b/app-emacs/flim/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/flim/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/folding/Manifest b/app-emacs/folding/Manifest
new file mode 100644
index 000000000000..fd3ca6154ea9
--- /dev/null
+++ b/app-emacs/folding/Manifest
@@ -0,0 +1,2 @@
+DIST folding-2012.0226.1623.el.bz2 49503 SHA256 d1d00dd48284c7509c24003d56e8cf86c46839880d6775efe76682e1cd859482 SHA512 efb645e46e55174f2b538b6812f36d08f576f765ffffdf25af756c852e7bfd6455cb3bc3a540089a60600251b2c144384b7f58b412840a95ce614efd9d5b50c9 WHIRLPOOL 42a17c72d91cee51bec9d37466ef1e9b9812ac05cf01b6dc006e0ec204bff2edc84a2a776e656deb86ca17917eaf7d1716c849d67cdcf9f6c5a1017c99cf9588
+DIST folding-2013.0613.1821.el.xz 52164 SHA256 bc818ec6a07537d716b28ea1b1a3798c042503b967578e387894599ea1ab5bf3 SHA512 9eb7cf4e1b01d7f37969bab0a66ad564da3742981ec0623b3100b0aef1bb997a80c91b88286ac673775edd197110496e1849210cc40fe310d8a478471cc1ec53 WHIRLPOOL b67c9e477738c0cc0ed88cae486eff12e773d9ed0e32a9c54981861e6e492ece2d98d100947d39c6add87b8121044d4f55ede0ab3f5e36df6e824cbd46ed582d
diff --git a/app-emacs/folding/files/50folding-gentoo.el b/app-emacs/folding/files/50folding-gentoo.el
new file mode 100644
index 000000000000..7a741f4c2f2d
--- /dev/null
+++ b/app-emacs/folding/files/50folding-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'folding-mode "folding" "Folding mode" t)
+(autoload 'turn-off-folding-mode "folding" "Folding mode" t)
+(autoload 'turn-on-folding-mode "folding" "Folding mode" t)
diff --git a/app-emacs/folding/folding-2012.0226.1623.ebuild b/app-emacs/folding/folding-2012.0226.1623.ebuild
new file mode 100644
index 000000000000..d94e682b5276
--- /dev/null
+++ b/app-emacs/folding/folding-2012.0226.1623.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A folding-editor-like Emacs minor mode"
+HOMEPAGE="http://www.emacswiki.org/emacs/FoldingMode"
+# taken from http://git.savannah.gnu.org/cgit/emacs-tiny-tools.git
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/folding/folding-2013.0613.1821.ebuild b/app-emacs/folding/folding-2013.0613.1821.ebuild
new file mode 100644
index 000000000000..e1001ea03da6
--- /dev/null
+++ b/app-emacs/folding/folding-2013.0613.1821.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A folding-editor-like Emacs minor mode"
+HOMEPAGE="http://www.emacswiki.org/emacs/FoldingMode"
+# taken from http://git.savannah.gnu.org/cgit/emacs-tiny-tools.git
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/folding/metadata.xml b/app-emacs/folding/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/folding/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/gnuplot-mode/Manifest b/app-emacs/gnuplot-mode/Manifest
new file mode 100644
index 000000000000..1f3efd53e5b6
--- /dev/null
+++ b/app-emacs/gnuplot-mode/Manifest
@@ -0,0 +1 @@
+DIST gnuplot-mode-0.7.0.tar.gz 373475 SHA256 310018d8c313ebd817e3e6116ab28eb2b848fa0992917b5ee4148d6073f59f3e SHA512 fdf04a3a32755892d422de8a535682ff44d1b635ecdc814738564376f5c7027a82c23807439835f2b7bf959f4f8b7a7d38d07a643f84ab2056ba187f3558e596 WHIRLPOOL 77f98735fd0fa6e1379278aaaeacf2834d2fad3c5ed3f56b4232215142a1c8336c4d7375282856fa4fe754dfaae2500027f9022f5c2799e90571af57e8be783d
diff --git a/app-emacs/gnuplot-mode/files/50gnuplot-mode-gentoo.el b/app-emacs/gnuplot-mode/files/50gnuplot-mode-gentoo.el
new file mode 100644
index 000000000000..e79a7f0d2585
--- /dev/null
+++ b/app-emacs/gnuplot-mode/files/50gnuplot-mode-gentoo.el
@@ -0,0 +1,6 @@
+(add-to-list 'load-path "@SITELISP@")
+;; extracted from dotemacs file distributed with the source tarball
+(autoload 'gnuplot-mode "gnuplot" "gnuplot major mode" t)
+(autoload 'gnuplot-make-buffer "gnuplot" "open a buffer in gnuplot mode" t)
+(add-to-list 'auto-mode-alist '("\\.gp\\'" . gnuplot-mode))
+;;(global-set-key [(f9)] 'gnuplot-make-buffer)
diff --git a/app-emacs/gnuplot-mode/gnuplot-mode-0.7.0.ebuild b/app-emacs/gnuplot-mode/gnuplot-mode-0.7.0.ebuild
new file mode 100644
index 000000000000..e5947134fe66
--- /dev/null
+++ b/app-emacs/gnuplot-mode/gnuplot-mode-0.7.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Gnuplot mode for Emacs"
+HOMEPAGE="http://xafs.org/BruceRavel/GnuplotMode"
+SRC_URI="https://github.com/bruceravel/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="doc"
+
+DEPEND="doc? ( virtual/latex-base )"
+RDEPEND="sci-visualization/gnuplot[-emacs(-)]"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf \
+ EMACS="${EMACS}" \
+ --with-lispdir="${EPREFIX}${SITELISP}/${PN}"
+}
+
+src_compile() {
+ emake
+ use doc && emake pdf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ dodoc README.org
+ use doc && dodoc gpelcard.pdf
+
+ DOC_CONTENTS="Please see ${SITELISP}/${PN}/gnuplot.el for the
+ complete documentation."
+ readme.gentoo_create_doc
+}
diff --git a/app-emacs/gnuplot-mode/metadata.xml b/app-emacs/gnuplot-mode/metadata.xml
new file mode 100644
index 000000000000..536405d4b31c
--- /dev/null
+++ b/app-emacs/gnuplot-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="github">bruceravel/gnuplot-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/gnuserv/Manifest b/app-emacs/gnuserv/Manifest
new file mode 100644
index 000000000000..561973dda534
--- /dev/null
+++ b/app-emacs/gnuserv/Manifest
@@ -0,0 +1 @@
+DIST gnuserv-3.12.8.tar.gz 124070 SHA256 c9ba560e7d773c175ef1cbced8fae17d7a921b050a11457971a7b7a6216aeed9 SHA512 e8f387a554c22fb2eb166d388085b9d68a0d865ae56ab71f3ffe09ff46bef04a4ba5b05ca51a1110e1dff67ae2cd6acc8b18a0fb9df9299dbbf4a001f0924f31 WHIRLPOOL 56203ac84fe967f8c602ac5eaf9d3e9ad5f2b0feb68c8719ff3ca7b61d44c676e0c52f42c7919eed39ffaa25683f28b558a0b55b23ef8a11bdbf3665f8017616
diff --git a/app-emacs/gnuserv/files/50gnuserv-gentoo.el b/app-emacs/gnuserv/files/50gnuserv-gentoo.el
new file mode 100644
index 000000000000..12bf743e2f66
--- /dev/null
+++ b/app-emacs/gnuserv/files/50gnuserv-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(setq gnuserv-program "/usr/libexec/emacs/gnuserv")
+;; necessary for FSF GNU Emacs only
+(autoload 'gnuserv-start "gnuserv-compat"
+ "Allow this Emacs process to be a server for client processes." t)
diff --git a/app-emacs/gnuserv/files/gnuclient.desktop b/app-emacs/gnuserv/files/gnuclient.desktop
new file mode 100644
index 000000000000..4f390394ddd3
--- /dev/null
+++ b/app-emacs/gnuserv/files/gnuclient.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Gnuclient
+NoDisplay=true
+Comment=Tell a running Emacs to visit a file
+Comment[de]=In einer laufenden Emacs-Instanz eine Datei öffnen
+Comment[es]=Abrir un archivo en un Emacs corriente
+Comment[fr]=Ouvre un fichier dans une instance d'Emacs qui est déjà lancée
+TryExec=/usr/bin/gnuclient
+Exec=/usr/bin/gnuclient %F
+Terminal=false
+MimeType=text/css;text/english;text/html;text/plain;text/x-c;text/x-chdr;text/x-csrc;text/x-c++;text/x-c++hdr;text/x-c++src;text/x-java;text/x-makefile;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;
diff --git a/app-emacs/gnuserv/gnuserv-3.12.8-r2.ebuild b/app-emacs/gnuserv/gnuserv-3.12.8-r2.ebuild
new file mode 100644
index 000000000000..0dd51049cc09
--- /dev/null
+++ b/app-emacs/gnuserv/gnuserv-3.12.8-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp multilib fdo-mime
+
+DESCRIPTION="Attach to an already running Emacs"
+HOMEPAGE="http://meltin.net/hacks/emacs/"
+SRC_URI="http://meltin.net/hacks/emacs/src/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~x86-linux ~ppc-macos"
+IUSE="X"
+
+DEPEND=">=app-eselect/eselect-emacs-1.15
+ X? ( x11-libs/libXau )"
+RDEPEND="${DEPEND}
+ !!app-emacs/gnuserv-programs
+ !!<app-editors/xemacs-21.4.22-r3
+ !!~app-editors/xemacs-21.5.29 !!~app-editors/xemacs-21.5.30
+ !!~app-editors/xemacs-21.5.31 !!~app-editors/xemacs-21.5.33
+ !!=app-editors/xemacs-21.5.34 !!=app-editors/xemacs-21.5.34-r1"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ sed -i -e 's/exec gnuclient/&-emacs/' gnudoit || die
+}
+
+src_configure() {
+ econf $(use_enable X xauth) \
+ --x-includes="${EPREFIX}"/usr/include \
+ --x-libraries="${EPREFIX}"/usr/$(get_libdir)
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ exeinto /usr/libexec/emacs
+ doexe gnuserv
+ newbin gnuclient gnuclient-emacs
+ newbin gnudoit gnudoit-emacs
+ # Don't install gnuattach, it is not functional with FSF GNU Emacs
+
+ newman gnuserv.1 gnuserv-emacs.1
+ echo ".so man1/gnuserv-emacs.1" | newman - gnuclient-emacs.1
+ echo ".so man1/gnuserv-emacs.1" | newman - gnudoit-emacs.1
+
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc ChangeLog README README.orig
+
+ if use X; then
+ domenu "${FILESDIR}"/gnuclient.desktop || die
+ fi
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ use X && fdo-mime_desktop_database_update
+ eselect gnuclient update ifunset
+}
+
+pkg_postrm() {
+ elisp-site-regen
+ use X && fdo-mime_desktop_database_update
+ eselect gnuclient update ifunset
+}
diff --git a/app-emacs/gnuserv/metadata.xml b/app-emacs/gnuserv/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/gnuserv/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/google-c-style/Manifest b/app-emacs/google-c-style/Manifest
new file mode 100644
index 000000000000..e6aba3818670
--- /dev/null
+++ b/app-emacs/google-c-style/Manifest
@@ -0,0 +1 @@
+DIST google-c-style-20091009.tar.bz2 2178 SHA256 58606847b01df277055d48ae8f013e3302bd22eebf067ad47aad289ed92da47b SHA512 5d61d6e021643ffc1468c14cdbbde0b52dc9346330983c19bdb7f4d6fb8960c662ca6198658963ff6d2b4d7d2dc96853a8c58de48da77364a860f2f777855b5a WHIRLPOOL ca42ded98e47990198be221a364b2fbc5416ae9a16f9b0843c2ff47223f7725e3aa8d406356345817be030fa05bdb24f5de97d1318f8769f45e1a37da04a79a3
diff --git a/app-emacs/google-c-style/files/50google-c-style-gentoo.el b/app-emacs/google-c-style/files/50google-c-style-gentoo.el
new file mode 100644
index 000000000000..3e9768b65db7
--- /dev/null
+++ b/app-emacs/google-c-style/files/50google-c-style-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'google-set-c-style "google-c-style"
+ "Set the current buffer's c-style to Google C/C++ Programming Style." t)
+(autoload 'google-make-newline-indent "google-c-style"
+ "Sets up preferred newline behavior." t)
diff --git a/app-emacs/google-c-style/google-c-style-20091009-r1.ebuild b/app-emacs/google-c-style/google-c-style-20091009-r1.ebuild
new file mode 100644
index 000000000000..3ac3bc90ea32
--- /dev/null
+++ b/app-emacs/google-c-style/google-c-style-20091009-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Provides the google C/C++ coding style"
+HOMEPAGE="http://code.google.com/p/google-styleguide/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+S="${WORKDIR}"
+SITEFILE="50${PN}-gentoo.el"
+
+pkg_postinst() {
+ elisp-site-regen
+
+ elog "Example usage (~/.emacs):"
+ elog " (add-hook 'c-mode-common-hook 'google-set-c-style)"
+ elog " (add-hook 'c-mode-common-hook 'google-make-newline-indent)"
+}
diff --git a/app-emacs/google-c-style/metadata.xml b/app-emacs/google-c-style/metadata.xml
new file mode 100644
index 000000000000..1d4cd56fb85b
--- /dev/null
+++ b/app-emacs/google-c-style/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>chromium</herd>
+ <herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/graphviz-dot-mode/Manifest b/app-emacs/graphviz-dot-mode/Manifest
new file mode 100644
index 000000000000..162c5c3a464a
--- /dev/null
+++ b/app-emacs/graphviz-dot-mode/Manifest
@@ -0,0 +1 @@
+DIST graphviz-dot-mode-0.3.7.el.xz 10840 SHA256 86b9c147f3068a625c0259799237c67ae79ba5a9f5bc6f8bb9f0ed8a054d7166 SHA512 1b142cd4ea257a1b18f557d9b166db9c69538238c100d3eb682219df3488803566bbb366be6b57d129753c745b21a585eb815dbef870ad2e71560d4acc33edf3 WHIRLPOOL 74df128985acbc14730269946a70f4701065eb06bb4350b20d33b22c81194f1cd91d244a69ab7bc0cf0fd25d69dd21de288b5cdc19aa94b9864cd2e341163f77
diff --git a/app-emacs/graphviz-dot-mode/files/50graphviz-dot-mode-gentoo.el b/app-emacs/graphviz-dot-mode/files/50graphviz-dot-mode-gentoo.el
new file mode 100644
index 000000000000..392d6f572ac4
--- /dev/null
+++ b/app-emacs/graphviz-dot-mode/files/50graphviz-dot-mode-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'graphviz-dot-mode "graphviz-dot-mode"
+ "Major mode for the dot language." t)
+(add-to-list 'auto-mode-alist '("\\.dot\\'" . graphviz-dot-mode))
+(add-to-list 'auto-mode-alist '("\\.gv\\'" . graphviz-dot-mode))
diff --git a/app-emacs/graphviz-dot-mode/graphviz-dot-mode-0.3.7.ebuild b/app-emacs/graphviz-dot-mode/graphviz-dot-mode-0.3.7.ebuild
new file mode 100644
index 000000000000..61a48006a9fc
--- /dev/null
+++ b/app-emacs/graphviz-dot-mode/graphviz-dot-mode-0.3.7.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Emacs mode for editing and previewing Graphviz dot graphs"
+HOMEPAGE="http://users.skynet.be/ppareit/projects/graphviz-dot-mode/graphviz-dot-mode.html
+ http://www.graphviz.org/"
+# taken from http://users.skynet.be/ppareit/projects/${PN}/${PN}.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/graphviz-dot-mode/metadata.xml b/app-emacs/graphviz-dot-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/graphviz-dot-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/h4x0r/Manifest b/app-emacs/h4x0r/Manifest
new file mode 100644
index 000000000000..c351992a3ef9
--- /dev/null
+++ b/app-emacs/h4x0r/Manifest
@@ -0,0 +1 @@
+DIST h4x0r-0.13.tar.gz 2033 SHA256 03c92719581f4407f308af6c80fbf6b8a13e5f19cd2af6e2a9d297da4ad66f57 SHA512 9648410ffa13ea9056c3def84108ff99966b62b7ee13fb48d5596d5c90f5d5296ff43d1c3ee2f534b7a219603ce1cbcd2a917307ea57ee6c914f9a8843eab0aa WHIRLPOOL e72240b286a07aa6e4e7321cc58a969051360be7757b808f2f54e8e5ec1985f006be900b62a0bfb0dcf43f4e1dcb8e5efaae38214032d63ebf9e1675ccb35bc7
diff --git a/app-emacs/h4x0r/files/50h4x0r-gentoo.el b/app-emacs/h4x0r/files/50h4x0r-gentoo.el
new file mode 100644
index 000000000000..d2af8119a174
--- /dev/null
+++ b/app-emacs/h4x0r/files/50h4x0r-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'h4x0r-region "h4x0r" "Convert region to h4x0r-talk." t)
+(autoload 'h4x0r-buffer "h4x0r" "Convert entire buffer to h4x0r-talk." t)
+(autoload 'h4x0r-word-at-point "h4x0r" nil t)
diff --git a/app-emacs/h4x0r/h4x0r-0.13-r1.ebuild b/app-emacs/h4x0r/h4x0r-0.13-r1.ebuild
new file mode 100644
index 000000000000..92e80773bc47
--- /dev/null
+++ b/app-emacs/h4x0r/h4x0r-0.13-r1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Aid in writing like a script kiddie does"
+HOMEPAGE="http://www.emacswiki.org/emacs/EliteSpeech"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/h4x0r/metadata.xml b/app-emacs/h4x0r/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/h4x0r/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/haskell-mode/Manifest b/app-emacs/haskell-mode/Manifest
new file mode 100644
index 000000000000..2f5cff89dafd
--- /dev/null
+++ b/app-emacs/haskell-mode/Manifest
@@ -0,0 +1,2 @@
+DIST haskell-mode-13.07.tar.gz 131102 SHA256 7d16441f67e027a9fccbe58e3d8284489f811f4914a9e07fcc73fa9a24b38895 SHA512 e19d55a99f4d9a571c1ed0b095254e4d1b8080d9ba671461aa228cbf8aa7c7a213e19e588c0f69450a1bd4ac25793b523415a6f11bfb5dda7706dc35f7beee68 WHIRLPOOL 56be74675d47928cbb149515f796f7e45fe5238df26021510a140c1ca0613ded959b2891525350a9eb4aa39bf2a2f1e0a890e9a5cc8db35ac75c1ae37ab2761f
+DIST haskell-mode-2.9.1.tar.gz 123579 SHA256 cac350804a89d0f76fcbe8c2ad10e4b9f83d81242dbd4927b546248db9477348 SHA512 7c4cbdfd0f9e43ab3efd39c8ca7fcd941538865fe41522703175b7ca8a67276945ef7feef4207fa66aee156a028cb52bb96593867db0c777baba9f59415ee979 WHIRLPOOL bb31e6cb4e7f12c79ae4eeaf55cbed54bdb814e56c691d87da4612f884de7de018796d85442ae44f9aec323815982154b95d4555cebb7198820a639edbd03e7a
diff --git a/app-emacs/haskell-mode/files/50haskell-mode-gentoo.el b/app-emacs/haskell-mode/files/50haskell-mode-gentoo.el
new file mode 100644
index 000000000000..90e85d0a4291
--- /dev/null
+++ b/app-emacs/haskell-mode/files/50haskell-mode-gentoo.el
@@ -0,0 +1 @@
+(load "@SITELISP@/haskell-site-file" nil t)
diff --git a/app-emacs/haskell-mode/haskell-mode-13.07.ebuild b/app-emacs/haskell-mode/haskell-mode-13.07.ebuild
new file mode 100644
index 000000000000..a2027acc102c
--- /dev/null
+++ b/app-emacs/haskell-mode/haskell-mode-13.07.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Mode for editing (and running) Haskell programs in Emacs"
+HOMEPAGE="http://projects.haskell.org/haskellmode-emacs/
+ http://www.haskell.org/haskellwiki/Emacs#Haskell-mode"
+SRC_URI="https://github.com/haskell/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="amd64 ppc ~sparc x86"
+
+SITEFILE="50${PN}-gentoo.el"
+ELISP_TEXINFO="haskell-mode.texi"
+DOCS="NEWS README.md examples/*.hs examples/init.el"
+
+src_prepare() {
+ # We install the logo in SITEETC, not in SITELISP
+ # https://github.com/haskell/haskell-mode/issues/102
+ sed -i -e "/defconst haskell-process-logo/{n;" \
+ -e "s:(.*\"\\(.*\\)\".*):\"${SITEETC}/${PN}/\\1\":}" \
+ haskell-process.el || die
+}
+
+src_compile() {
+ elisp_src_compile
+ elisp-make-autoload-file haskell-site-file.el
+}
+
+src_test() {
+ # perform tests in a separate directory #504660
+ mkdir test && cp *.el Makefile test || die
+ emake -C test check
+}
+
+src_install() {
+ elisp_src_install
+ insinto "${SITEETC}/${PN}"
+ doins logo.svg
+}
diff --git a/app-emacs/haskell-mode/haskell-mode-2.9.1.ebuild b/app-emacs/haskell-mode/haskell-mode-2.9.1.ebuild
new file mode 100644
index 000000000000..3918b753066c
--- /dev/null
+++ b/app-emacs/haskell-mode/haskell-mode-2.9.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+MY_PV=${PV//./_}
+DESCRIPTION="Mode for editing (and running) Haskell programs in Emacs"
+HOMEPAGE="http://projects.haskell.org/haskellmode-emacs/
+ http://www.haskell.org/haskellwiki/Emacs#Haskell-mode"
+SRC_URI="https://github.com/haskell/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc ~sparc x86"
+IUSE=""
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+DOCS="NEWS README.md *.hs examples/init.el"
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ # We install the logo in SITEETC, not in SITELISP
+ # https://github.com/haskell/haskell-mode/issues/102
+ sed -i -e "/defconst haskell-process-logo/{n;" \
+ -e "s:(.*\"\\(.*\\)\".*):\"${SITEETC}/${PN}/\\1\":}" \
+ haskell-process.el || die
+}
+
+src_compile() {
+ elisp-make-autoload-file haskell-site-file.el || die
+ elisp-compile *.el || die
+}
+
+src_install() {
+ elisp_src_install
+ insinto "${SITEETC}/${PN}"
+ doins logo.svg
+}
diff --git a/app-emacs/haskell-mode/metadata.xml b/app-emacs/haskell-mode/metadata.xml
new file mode 100644
index 000000000000..c94cb834097f
--- /dev/null
+++ b/app-emacs/haskell-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="github">haskell/haskell-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/hexrgb/Manifest b/app-emacs/hexrgb/Manifest
new file mode 100644
index 000000000000..bffcdc073b13
--- /dev/null
+++ b/app-emacs/hexrgb/Manifest
@@ -0,0 +1 @@
+DIST hexrgb-0_p957.el.xz 9620 SHA256 7d5af0007afa7c07962543c06cf0b53c7843171e09d7193ab1e8083f294a3a0e SHA512 5948dac5a771a7d3e9632a9783478181a39c4cb0e6d399ec8793730883182e44eb1aeef1dc9ebaadb4004f1b766e85033f79fa6db4b68ed5b11d38eec5b934d1 WHIRLPOOL f1a2c4d9090cd1365f3d183d605212c8790df76c572f6e6cb7837f20eaab03665469959811cc1d2fda5067e7d2808453bf53d451afb0dee9c82ff84dd75b48a5
diff --git a/app-emacs/hexrgb/files/50hexrgb-gentoo.el b/app-emacs/hexrgb/files/50hexrgb-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/hexrgb/files/50hexrgb-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/hexrgb/hexrgb-0_p957.ebuild b/app-emacs/hexrgb/hexrgb-0_p957.ebuild
new file mode 100644
index 000000000000..029f1b5c6d10
--- /dev/null
+++ b/app-emacs/hexrgb/hexrgb-0_p957.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Functions to manipulate colors, including RGB hex strings"
+HOMEPAGE="http://www.emacswiki.org/emacs/hexrgb.el"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/hexrgb/metadata.xml b/app-emacs/hexrgb/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/hexrgb/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/highline/Manifest b/app-emacs/highline/Manifest
new file mode 100644
index 000000000000..e008b59c9c69
--- /dev/null
+++ b/app-emacs/highline/Manifest
@@ -0,0 +1 @@
+DIST highline-7.2.2.el.xz 8600 SHA256 0deac0160e5adea004f865848899bbdf7b22950d91e0cf5f4e081d26cd5203e2 SHA512 353fc034a823d0892c6266fbc48a22e2650c379f904f9a0be78bd2f11e5ac8333cf6070fa7ebc2225c57cc6a85f49c6db9322e31e33f87e481aa117b1290be87 WHIRLPOOL 465f7e688140588c1b24d282b65026a7281a311684111e76f96b7fda813595e6f9bdef4c6c0db399d08f28904e5bcb8a1f01035877996bfac1144e079187a44a
diff --git a/app-emacs/highline/files/50highline-gentoo.el b/app-emacs/highline/files/50highline-gentoo.el
new file mode 100644
index 000000000000..7fd8b824998e
--- /dev/null
+++ b/app-emacs/highline/files/50highline-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "highline-autoloads" nil t)
diff --git a/app-emacs/highline/highline-7.2.2.ebuild b/app-emacs/highline/highline-7.2.2.ebuild
new file mode 100644
index 000000000000..478c07d9ce99
--- /dev/null
+++ b/app-emacs/highline/highline-7.2.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Minor mode to highlight current line in buffer"
+HOMEPAGE="http://www.emacswiki.org/emacs/HighlineMode"
+# taken from: http://www.emacswiki.org/emacs/download/${PN}.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ppc ~s390 x86"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ elisp-compile *.el
+ elisp-make-autoload-file
+}
diff --git a/app-emacs/highline/metadata.xml b/app-emacs/highline/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/highline/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/howm/Manifest b/app-emacs/howm/Manifest
new file mode 100644
index 000000000000..9b6cf6396f98
--- /dev/null
+++ b/app-emacs/howm/Manifest
@@ -0,0 +1,2 @@
+DIST howm-1.3.9.1.tar.gz 455351 SHA256 c4e5760bc226d7a523906cbe74f961659ccbf878eda2bf0e7d91fe7022e60e55 SHA512 25aeb31db43e1b51ac026926b048ac5e1b15c2c6eecd72bf3a5ce2b12e29f03a059c840c0cb9d8818a9f5b168441cc01b987edd54b5d8cb7ce473c05945dd95d WHIRLPOOL 904e697edda6e439666f3d5f8ecddf2a7482c8fad6ea7e9bc1a9024114c8934f852751614a814e1e9284f26e97507b74c13baa233c7fdc40e3130b10d787fa01
+DIST howm-1.3.9.2.tar.gz 462278 SHA256 baff5ce28580502a876600350b7eac5d5bf1cd32ba60c115cbb9edc2ac63d578 SHA512 34e867d35ac8a2092b29d24ec1673255fcce54369d3aa2e6497ea4c891d4ea7f038e80f6103ad1f6359d8390a5d9a57901019cd3d76cc24e439b44dba5cc27bf WHIRLPOOL eafd272caec4437f94b5594c9375f7d999db65b0f15535d291ce02ae1ce090ecbed09acef0de07b558e703b09791d8fb66dab79b73738b0bf56ee3b36979c050
diff --git a/app-emacs/howm/files/50howm-gentoo.el b/app-emacs/howm/files/50howm-gentoo.el
new file mode 100644
index 000000000000..d5dc8180f379
--- /dev/null
+++ b/app-emacs/howm/files/50howm-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'howm-menu "howm" nil t)
diff --git a/app-emacs/howm/howm-1.3.9.1.ebuild b/app-emacs/howm/howm-1.3.9.1.ebuild
new file mode 100644
index 000000000000..3103b8b50fa9
--- /dev/null
+++ b/app-emacs/howm/howm-1.3.9.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Note-taking tool on Emacs"
+HOMEPAGE="http://howm.sourceforge.jp/"
+SRC_URI="http://howm.sourceforge.jp/a/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf --with-docdir="${EPREFIX}/usr/share/doc/${PF}"
+}
+
+src_compile() {
+ emake -j1 </dev/null
+}
+
+src_install() {
+ emake -j1 \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}/usr" \
+ LISPDIR="${EPREFIX}${SITELISP}/${PN}" \
+ install </dev/null
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ dodoc ChangeLog
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "site-gentoo.el does no longer define global keybindings for howm."
+ elog "Add the following line to ~/.emacs for the previous behaviour:"
+ elog " (require 'howm)"
+}
diff --git a/app-emacs/howm/howm-1.3.9.2.ebuild b/app-emacs/howm/howm-1.3.9.2.ebuild
new file mode 100644
index 000000000000..3103b8b50fa9
--- /dev/null
+++ b/app-emacs/howm/howm-1.3.9.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Note-taking tool on Emacs"
+HOMEPAGE="http://howm.sourceforge.jp/"
+SRC_URI="http://howm.sourceforge.jp/a/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf --with-docdir="${EPREFIX}/usr/share/doc/${PF}"
+}
+
+src_compile() {
+ emake -j1 </dev/null
+}
+
+src_install() {
+ emake -j1 \
+ DESTDIR="${D}" \
+ PREFIX="${EPREFIX}/usr" \
+ LISPDIR="${EPREFIX}${SITELISP}/${PN}" \
+ install </dev/null
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ dodoc ChangeLog
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "site-gentoo.el does no longer define global keybindings for howm."
+ elog "Add the following line to ~/.emacs for the previous behaviour:"
+ elog " (require 'howm)"
+}
diff --git a/app-emacs/howm/metadata.xml b/app-emacs/howm/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/howm/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/htmlize/Manifest b/app-emacs/htmlize/Manifest
new file mode 100644
index 000000000000..51f1592c3299
--- /dev/null
+++ b/app-emacs/htmlize/Manifest
@@ -0,0 +1,2 @@
+DIST htmlize-1.43.el.bz2 21018 SHA256 1f4f2e94376477a0d1e8b3e886d973984429c4632b6ebf604b4274943b8e8b60 SHA512 cdef3f8478862e9743cad23697775111fbd64737daa6e0525923cff1ccc8dfd20ad554e5e92ec99281d87acf9ecd358474761858c8c6639c5459234bf79d4be9 WHIRLPOOL 18148f86f54dd4f71669eb1ec1659f2c5c6f152d7ff765f25785a605d74aa87c723a1acae911538a35899ff8d6173c957138efdf55d59070587751758ee2a67e
+DIST htmlize-1.47.el.xz 21544 SHA256 813c8a3f9fca217f4cc76916513a4177a1b4ec5766c78486ffe8dc2f8ab6f7ca SHA512 2cca746f696d382336a800d3f15e6a5812afa7c6965d6695c501085ed6c8f447da8ee6ed31a27c240e9d70f7c30b91292ac60c0c903a7ca0d52f2a4bfedbf06f WHIRLPOOL f719c2d6e6ebb229c275bd4b96cbe4ca5028a4215841b80ca3187bcabcb3f04f2eb452cf5fb98e94a7d3e47af2d612a9c2dc661f3310b1a4969a7a6611649649
diff --git a/app-emacs/htmlize/files/50htmlize-gentoo.el b/app-emacs/htmlize/files/50htmlize-gentoo.el
new file mode 100644
index 000000000000..85dd15653999
--- /dev/null
+++ b/app-emacs/htmlize/files/50htmlize-gentoo.el
@@ -0,0 +1,11 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'htmlize-buffer "htmlize"
+ "Convert BUFFER to HTML, preserving colors and decorations." t)
+(autoload 'htmlize-region "htmlize"
+ "Convert the region to HTML, preserving colors and decorations." t)
+(autoload 'htmlize-file "htmlize"
+ "Load FILE, fontify it, convert it to HTML, and save the result." t)
+(autoload 'htmlize-many-files "htmlize"
+ "Convert FILES to HTML and save the corresponding HTML versions." t)
+(autoload 'htmlize-many-files-dired "htmlize"
+ "HTMLize dired-marked files." t)
diff --git a/app-emacs/htmlize/htmlize-1.43.ebuild b/app-emacs/htmlize/htmlize-1.43.ebuild
new file mode 100644
index 000000000000..7874afc2be97
--- /dev/null
+++ b/app-emacs/htmlize/htmlize-1.43.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="HTML-ize font-lock buffers in Emacs"
+HOMEPAGE="http://emacswiki.org/emacs/Htmlize
+ http://fly.srk.fer.hr/~hniksic/emacs/"
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/htmlize/htmlize-1.47.ebuild b/app-emacs/htmlize/htmlize-1.47.ebuild
new file mode 100644
index 000000000000..2e6bc4bb991f
--- /dev/null
+++ b/app-emacs/htmlize/htmlize-1.47.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="HTML-ize font-lock buffers in Emacs"
+HOMEPAGE="http://emacswiki.org/emacs/Htmlize
+ http://fly.srk.fer.hr/~hniksic/emacs/"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/htmlize/metadata.xml b/app-emacs/htmlize/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/htmlize/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/httpd/Manifest b/app-emacs/httpd/Manifest
new file mode 100644
index 000000000000..27426dc0f400
--- /dev/null
+++ b/app-emacs/httpd/Manifest
@@ -0,0 +1 @@
+DIST httpd-1.1.tar.gz 3770 SHA256 e94aa61dada1a289eec2ea5d3d7e5056aee34064fdafdf6cbea1d5b279f2ff81 SHA512 b6078e8dd79ed4bcdabc85640ce14f556b14f82efb1429382ff75aefcd19ce586978ac79c59c4a20865fc67e103451937bc1e49dcca64dbdab4364c4e29510a2 WHIRLPOOL a6ab9b72a6cdb704333c6b73a66fec6ae279ebf6e37b0d0305f63a98a86545ed59d9becfafcdf7b713a739798499a64998b35c32345ed71e460494f248886fe8
diff --git a/app-emacs/httpd/files/50httpd-gentoo.el b/app-emacs/httpd/files/50httpd-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/httpd/files/50httpd-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/httpd/httpd-1.1.ebuild b/app-emacs/httpd/httpd-1.1.ebuild
new file mode 100644
index 000000000000..6c74896bc3d6
--- /dev/null
+++ b/app-emacs/httpd/httpd-1.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A HTTP server embedded in the Emacs"
+HOMEPAGE="http://www.chez.com/emarsden/downloads/"
+# taken from contrib/httpd.el in app-emacs/muse
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/httpd/metadata.xml b/app-emacs/httpd/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/httpd/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/icicles/Manifest b/app-emacs/icicles/Manifest
new file mode 100644
index 000000000000..b8a08ffe201b
--- /dev/null
+++ b/app-emacs/icicles/Manifest
@@ -0,0 +1 @@
+DIST icicles-2013.04.23.23400.tar.gz 886525 SHA256 a7d80d6d8b8150dafea8cf2f3e25ebf3846091edda9fdb7e5910986fffbd713d SHA512 548c20fe83f72d03820d620d0d5f9feb6d249ca96c8f951ddbf650691ad30649d28d736b7c01677e260fed0490382a5771c0e88adef6c9c0089ecbd225f9acd5 WHIRLPOOL 11db63085253451f1e84e371ff47173db2fb072060afc8a4db943907d53daaa5247036a4a33a9aaf09cedac557fcc185668a47e28b844e70714b9c6f92644797
diff --git a/app-emacs/icicles/files/50icicles-gentoo.el b/app-emacs/icicles/files/50icicles-gentoo.el
new file mode 100644
index 000000000000..85debb666b64
--- /dev/null
+++ b/app-emacs/icicles/files/50icicles-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'icicle-mode "icicles" nil t)
+(defalias 'icy-mode 'icicle-mode)
diff --git a/app-emacs/icicles/icicles-2013.04.23.23400.ebuild b/app-emacs/icicles/icicles-2013.04.23.23400.ebuild
new file mode 100644
index 000000000000..a5e16245f138
--- /dev/null
+++ b/app-emacs/icicles/icicles-2013.04.23.23400.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Minibuffer input completion and cycling"
+HOMEPAGE="http://www.emacswiki.org/emacs/Icicles"
+SRC_URI="https://github.com/emacsmirror/icicles/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/icicles/metadata.xml b/app-emacs/icicles/metadata.xml
new file mode 100644
index 000000000000..730939bd5524
--- /dev/null
+++ b/app-emacs/icicles/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="github">emacsmirror/icicles</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/identica-mode/Manifest b/app-emacs/identica-mode/Manifest
new file mode 100644
index 000000000000..c49c649d0c59
--- /dev/null
+++ b/app-emacs/identica-mode/Manifest
@@ -0,0 +1 @@
+DIST identica-mode-1.1.tar.gz 33078 SHA256 f2c46ef46fc66e8804f772b5fef0a8b433501a524b773091f30a68deb1ed9eed SHA512 c8dfe17da04d7124398065a171829b30036d1df32d383c0297c0155a2fbe4a8260901c903194c1136c05add960270aea4b92a9b97928541985ff1c2f1084f53c WHIRLPOOL 0aee47f8aebede10039b3fa0bd49d038b2295b8f2f0475adbf331db47f34cb86afdbe404a5d610bf0e9331480533a6bcb0b6188140d30b06330378106e9e20f2
diff --git a/app-emacs/identica-mode/files/50identica-mode-gentoo.el b/app-emacs/identica-mode/files/50identica-mode-gentoo.el
new file mode 100644
index 000000000000..e2ecd33d5bff
--- /dev/null
+++ b/app-emacs/identica-mode/files/50identica-mode-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'identica "identica-mode" "Start identica-mode." t)
diff --git a/app-emacs/identica-mode/identica-mode-1.1-r1.ebuild b/app-emacs/identica-mode/identica-mode-1.1-r1.ebuild
new file mode 100644
index 000000000000..1d5be56a8689
--- /dev/null
+++ b/app-emacs/identica-mode/identica-mode-1.1-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Identi.ca mode for Emacs"
+HOMEPAGE="http://blog.nethazard.net/identica-mode-for-emacs/"
+# taken from: http://git.savannah.gnu.org/cgit/identica-mode.git/snapshot/${P}.tar.gz
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+ELISP_TEXINFO="doc/${PN}.texi"
+SITEFILE="50${PN}-gentoo.el"
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "You may optionally set username and password in your ~/.emacs file:"
+ elog " (setq identica-username \"yourusername\")"
+ elog " (setq identica-password \"yourpassword\")"
+}
diff --git a/app-emacs/identica-mode/metadata.xml b/app-emacs/identica-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/identica-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/igrep/Manifest b/app-emacs/igrep/Manifest
new file mode 100644
index 000000000000..0ac1344ed10f
--- /dev/null
+++ b/app-emacs/igrep/Manifest
@@ -0,0 +1 @@
+DIST igrep-2.113.tar.bz2 10662 SHA256 819c0d5cc4bbcd4503f2429bc4f88a5185cac5504a6679801137c064262b250a SHA512 60ca8fa09cb2aa02ec7178afc7d8a2a6d98ebd98b951b29c9c7150588d5ca0dbf01e23e77c6524e2ce510466bd17aba607a172efde1fb4bc56e8478a752d5ff1 WHIRLPOOL bdddf788ac8c83016f31a1b5aec234222da118f74b242c7a61ebd467a92eabe13f7144d268ff8a691f7515d7aec0897a4af6f9d91c6e66955e336921ddb0f227
diff --git a/app-emacs/igrep/files/50igrep-gentoo.el b/app-emacs/igrep/files/50igrep-gentoo.el
new file mode 100644
index 000000000000..5b44e5f88d5b
--- /dev/null
+++ b/app-emacs/igrep/files/50igrep-gentoo.el
@@ -0,0 +1,33 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'igrep "igrep"
+ "*Run `grep` PROGRAM to match EXPRESSION in FILES..." t)
+(autoload 'igrep-find "igrep"
+ "*Run `grep` via `find`..." t)
+(autoload 'igrep-visited-files "igrep"
+ "*Run `grep` ... on all visited files." t)
+(autoload 'dired-do-igrep "igrep"
+ "*Run `grep` on the marked (or next prefix ARG) files." t)
+(autoload 'dired-do-igrep-find "igrep"
+ "*Run `grep` via `find` on the marked (or next prefix ARG) directories." t)
+(autoload 'Buffer-menu-igrep "igrep"
+ "*Run `grep` on the files visited in buffers marked with '>'." t)
+(autoload 'igrep-insinuate "igrep"
+ "Define `grep' aliases for the corresponding `igrep' commands." t)
+(autoload 'grep "igrep"
+ "*Run `grep` PROGRAM to match EXPRESSION in FILES..." t)
+(autoload 'egrep "igrep"
+ "*Run `egrep`..." t)
+(autoload 'fgrep "igrep"
+ "*Run `fgrep`..." t)
+(autoload 'agrep "igrep"
+ "*Run `agrep`..." t)
+(autoload 'grep-find "igrep"
+ "*Run `grep` via `find`..." t)
+(autoload 'egrep-find "igrep"
+ "*Run `egrep` via `find`..." t)
+(autoload 'fgrep-find "igrep"
+ "*Run `fgrep` via `find`..." t)
+(autoload 'agrep-find "igrep"
+ "*Run `agrep` via `find`..." t)
+
diff --git a/app-emacs/igrep/igrep-2.113.ebuild b/app-emacs/igrep/igrep-2.113.ebuild
new file mode 100644
index 000000000000..651b43cd692c
--- /dev/null
+++ b/app-emacs/igrep/igrep-2.113.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION='An improved interface to "grep" and "find"'
+HOMEPAGE="http://www.emacswiki.org/emacs/GrepMode"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/igrep/metadata.xml b/app-emacs/igrep/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/igrep/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/imaxima/Manifest b/app-emacs/imaxima/Manifest
new file mode 100644
index 000000000000..645e7d6a0d4a
--- /dev/null
+++ b/app-emacs/imaxima/Manifest
@@ -0,0 +1 @@
+DIST imaxima-imath-1.0.tar.gz 407857 SHA256 cce63323ed7d1a77012f81cbc5ded51ceb5be6d13eec79f8660fec638d92ce74 SHA512 d3cbf6f3a8ee7f0b952052f72be684f2143a377a9b896d328db1c46a06d5ec64d6f20d69604536a3abf44a5d5e5b09ec9862992270e5470c561083d183372991 WHIRLPOOL 186fcb8fce7091b350470f6704652020e264427824fee6c3a00cea79bdb0da83a7706ac7098507a164d286b293d06e5ac3dfefd84c5d7d92dc8d9d04f709cb01
diff --git a/app-emacs/imaxima/files/50imaxima-gentoo.el b/app-emacs/imaxima/files/50imaxima-gentoo.el
new file mode 100644
index 000000000000..2a735af1c2f4
--- /dev/null
+++ b/app-emacs/imaxima/files/50imaxima-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'imaxima "imaxima" "Image support for Maxima." t)
+(autoload 'imath-mode "imath" "Interactive Math minor mode." t)
diff --git a/app-emacs/imaxima/files/imaxima-1.0-1.03.patch b/app-emacs/imaxima/files/imaxima-1.0-1.03.patch
new file mode 100644
index 000000000000..93d332f6bc0f
--- /dev/null
+++ b/app-emacs/imaxima/files/imaxima-1.0-1.03.patch
@@ -0,0 +1,140 @@
+Patch extracted from maxima git repository.
+
+--- a/ChangeLog
++++ b/ChangeLog
+@@ -1,3 +1,19 @@
++2012-03-25 Yasuaki Honda <yasuaki.honda@gmail.com>
++ * version 1.03
++ * A new command "reinit-imaxima" is added. This command reset the
++ communication status of Emacs Lisp and Maxima. When imaxima does
++ not respond to any input, this command will help to resolve such
++ situation.
++
++2011-10-02 Yasuaki Honda <yasuaki.honda@gmail.com>
++ * version 1.01
++ * An old workaround code for tex prevented imaxima on Mac OS X
++ Lion from working. This is related to the placing of the temporary
++ file directory and the name of the file path containing the
++ character "_". This is fixed in this version.
++ * Special treatment of greek character gamma is removed from
++ imaxima.el and commited to maxima mactex.lisp.
++
+ 2009-02-07 Yasuaki Honda <yasuaki.honda@gmail.com>
+ * As for inline graph, if the emacs buffer window is too small for
+ the generated graph image, the graph is not displayed, but a file
+--- a/imaxima-autoconf-variables.el
++++ b/imaxima-autoconf-variables.el
+@@ -19,6 +19,6 @@
+ ;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ ;; MA 02111-1307 USA
+ (defconst *imaxima-autoconf-package* "imaxima-imath")
+-(defconst *imaxima-autoconf-version* "1.0")
++(defconst *imaxima-autoconf-version* "1.03")
+
+ (provide 'imaxima-autoconf-variables)
+--- a/imaxima.el
++++ b/imaxima.el
+@@ -420,6 +420,17 @@
+ (message "%s %s" *imaxima-autoconf-package* *imaxima-autoconf-version*))
+
+ ;;
++;; Reset
++;;
++
++(defun reinit-imaxima ()
++ "Re-initialize imaxima"
++ (interactive)
++ (setq imaxima-filter-running nil
++ imaxima-output nil
++ continuation nil))
++
++;;
+ ;; Geometry
+ ;;
+
+@@ -1174,6 +1185,7 @@
+ (switch-to-buffer imaxima-buffer)
+ (set-buffer imaxima-buffer))
+ (return-from imaxima t)))
++ (reinit-imaxima)
+ (unless (imaxima-image-type-available-p imaxima-image-type)
+ (error "Your version of Emacs does not support the image type %s"
+ imaxima-image-type))
+@@ -1183,9 +1195,7 @@
+ (setq imaxima-file-counter 0)
+ (make-directory
+ (setq imaxima-tmp-subdir
+- ;; For some reason TeX doesn't grok underscores in file names
+- (imaxima-subst-char-in-string ?_ ?=
+- (make-temp-name (expand-file-name "imaxima" imaxima-tmp-dir)))))
++ (make-temp-name (expand-file-name "imaxima" imaxima-tmp-dir))) t)
+ (set-file-modes imaxima-tmp-subdir 448) ; 700 in octal
+ (let ((process-connection-type process-connection-type-flag))
+ (if imaxima-use-maxima-mode-flag
+--- a/imaxima.lisp
++++ b/imaxima.lisp
+@@ -109,9 +109,9 @@
+ ;;; SBCL.
+ ;;; by yasuaki honda
+ #-sbcl
+-(if (not (fboundp (find-symbol "PRINT-INVERT-CASE" :maxima)))
+- (defun print-invert-case (obj)
+- (princ-to-string obj)))
++(unless (fboundp 'maxima::print-invert-case)
++ (defun print-invert-case (obj)
++ (princ-to-string obj)))
+
+ (defun print-case-sensitive (obj)
+ (if obj
+@@ -126,7 +126,7 @@
+
+ (defun main-prompt ()
+ (format () (concatenate 'string (string (code-char 3)) "(~A~D) " (string (code-char 4)))
+- (STRIPDOLLAR (print-case-sensitive $inchar)) $linenum))
++ (stripdollar (print-case-sensitive $inchar)) $linenum))
+
+ (defun break-dbm-loop (at)
+ (let* (
+@@ -142,7 +142,7 @@
+ (declare (special *mread-prompt* ))
+ (and (consp at) (set-env at))
+ (cond ((null at)
+- ($frame 0 nil)))
++ (break-frame 0 nil)))
+ (catch 'step-continue
+ (catch *quit-tag*
+ (unwind-protect
+@@ -672,9 +672,12 @@
+ (setq res (apply (symbol-function '$draw)
+ (append
+ `(
+- ((mequal simp) $terminal $eps)
+- ((mequal simp) $pic_width ,($first $wxplot_size))
+- ((mequal simp) $pic_height ,($second $wxplot_size))
++ ((mequal simp) $terminal $eps_color)
++ ((mequal simp) $dimensions
++ ((mlist simp)
++ ;; convert points to 1/100 of cm
++ ,(* 3.53 ($first $wxplot_size))
++ ,(* 3.53 ($second $wxplot_size))))
+ ((mequal simp) $file_name ,filename))
+ args)))
+ ($ldisp `((wxxmltag simp) ,(format nil "~a.eps" filename) "img"))
+--- a/imaxima.texi
++++ b/imaxima.texi
+@@ -223,6 +223,15 @@
+ information when you want to make bug reports.
+ @end defun
+
++@defun reinit-imaxima
++Initialize the imaxima program. Sometimes you may encounter situations
++where imaxima does not repond to your input. This is caused by the
++inconsistency between Emacs Lisp and Maxima. Such situations can be
++resolved by using this command. After calling this command from the
++Emacs mini buffer, you should type simple Maxima expression such as
++1+2; to ensure that the imaxima does respond to you now.
++@end defun
++
+ @node Inline Graph
+ @chapter Inline Graph
+
diff --git a/app-emacs/imaxima/files/imaxima-1.0-mlabel.patch b/app-emacs/imaxima/files/imaxima-1.0-mlabel.patch
new file mode 100644
index 000000000000..4b23ee761731
--- /dev/null
+++ b/app-emacs/imaxima/files/imaxima-1.0-mlabel.patch
@@ -0,0 +1,26 @@
+Rename mlable to mlabel, accounting for corresponding change in maxima-5.29.
+https://bugs.gentoo.org/show_bug.cgi?id=448242
+
+Patch taken from maxima git repo:
+http://maxima.git.sourceforge.net/git/gitweb.cgi?p=maxima/maxima;a=commit;h=620f23e27328a58bfa81fe101734b7488a2b93f5
+
+--- a/imaxima.lisp
++++ b/imaxima.lisp
+@@ -498,7 +498,7 @@
+
+ (defun tex-mtext (x l r) (tex-list (cdr x) l r ""))
+
+-(defun tex-mlable (x l r)
++(defun tex-mlabel (x l r)
+ (tex (caddr x)
+ (append l
+ (if (cadr x)
+@@ -517,7 +517,7 @@
+ (defun latex (x)
+ ; (princ x) ;; uncomment to debug.
+ (if (and (listp x) (car x) (listp (car x)) (caar x)
+- (equal (caar x) 'mlable)
++ (equal (caar x) 'mlabel)
+ (cdr x)
+ (cadr x)
+ (input-label-p (cadr x)))
diff --git a/app-emacs/imaxima/imaxima-1.0-r3.ebuild b/app-emacs/imaxima/imaxima-1.0-r3.ebuild
new file mode 100644
index 000000000000..5c5ec8137e35
--- /dev/null
+++ b/app-emacs/imaxima/imaxima-1.0-r3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+MY_P="${PN}-imath-${PV/_}"
+DESCRIPTION="Imaxima enables graphical output in Maxima sessions with emacs"
+HOMEPAGE="http://sites.google.com/site/imaximaimath/"
+SRC_URI="https://sites.google.com/site/imaximaimath/download-and-install/${MY_P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="examples"
+
+# texlive-latexrecommended needed for breqn.sty
+RDEPEND="virtual/latex-base
+ app-text/ghostscript-gpl
+ >=dev-texlive/texlive-latexrecommended-2012
+ >=sci-mathematics/maxima-5.29"
+
+S="${WORKDIR}/${MY_P}"
+ELISP_PATCHES="${P}-1.03.patch ${P}-mlabel.patch"
+ELISP_REMOVE="imaxima.info" # remove broken Info file (will be recreated)
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf \
+ --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ EMACS="${EMACS} ${EMACSFLAGS}"
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ dodoc ChangeLog NEWS README
+
+ if use examples; then
+ docinto imath-example
+ dodoc imath-example/*.txt
+ dohtml -r imath-example/.
+ fi
+}
diff --git a/app-emacs/imaxima/metadata.xml b/app-emacs/imaxima/metadata.xml
new file mode 100644
index 000000000000..b2c87461ee65
--- /dev/null
+++ b/app-emacs/imaxima/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-mathematics</herd>
+<herd>emacs</herd>
+<longdescription lang="en">
+ Imaxima provides support for interacting with the computer algebra system
+ Maxima in an Emacs buffer. Imaxima processes the output from Maxima with TeX
+ and inserts the resulting image in the buffer. The command imaxima provides
+ a simple comint derived CLI mode. The command imaxima-latex prepares a LaTeX
+ version of the Maxima buffer. Imaxima can also be hooked in to the Emacs
+ mode included with Maxima, which provides more key bindings and other
+ conveniences.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/inform-mode/Manifest b/app-emacs/inform-mode/Manifest
new file mode 100644
index 000000000000..cc2ddb2cdbf9
--- /dev/null
+++ b/app-emacs/inform-mode/Manifest
@@ -0,0 +1,2 @@
+DIST inform-mode-1.5.8.tar.bz2 14734 SHA256 d1a4d91df7fb80f9888515c8969dd36ce5ba40f36a4d683c22fb15d9def880a7 SHA512 edf073d1c4f60ec9eb186a68cafff22ad67a32f40f21bd89584f3a02eada6d073935892e761a6a2f2726e90f59cf0c1a77c2cd59b8b4e85a17374f47997265d8 WHIRLPOOL 1364f966861a20b9eefd8c5ff6b66d74c9167e0893b1376a3a97a178a8780850d245287311c2d1451a5dfbe529b399a6a3c5f5f275afd216a86f11b26c776ea2
+DIST inform-mode-1.6.2.tar.gz 33359 SHA256 a84235c66a650ff71945ab57fb1aa94f91c94c49c798f444c2823efd42a8bd34 SHA512 41ab2353942a5d605ec848aed87aa731282a43305cd739fe76d9e6ddd333c84594455f0fb72d95ed02fbcfa9f78f11b16ea8bb579504d1ed29244cbe50e444ee WHIRLPOOL 60dc9078d56290944ce7f6fe4320b7457cf4ae9fd4c0f1d2a1c86356b7cb5f818fe65011acafc18392240b1fd2695a61a28b9b53306e70cb47b3924a1ba4abfc
diff --git a/app-emacs/inform-mode/files/50inform-mode-gentoo.el b/app-emacs/inform-mode/files/50inform-mode-gentoo.el
new file mode 100644
index 000000000000..503578664549
--- /dev/null
+++ b/app-emacs/inform-mode/files/50inform-mode-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'inform-mode "inform-mode" "Inform editing mode." t)
+(autoload 'inform-maybe-mode "inform-mode" "Inform/C header editing mode.")
+(add-to-list 'auto-mode-alist '("\\.h\\'" . inform-maybe-mode))
+(add-to-list 'auto-mode-alist '("\\.inf\\'" . inform-mode))
diff --git a/app-emacs/inform-mode/inform-mode-1.5.8.ebuild b/app-emacs/inform-mode/inform-mode-1.5.8.ebuild
new file mode 100644
index 000000000000..6e1e98b238f4
--- /dev/null
+++ b/app-emacs/inform-mode/inform-mode-1.5.8.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A major mode for editing Inform programs"
+HOMEPAGE="http://rupert-lane.org/inform-mode/
+ http://www.emacswiki.org/emacs/InformMode"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+
+S="${WORKDIR}/${PN}"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/inform-mode/inform-mode-1.6.2.ebuild b/app-emacs/inform-mode/inform-mode-1.6.2.ebuild
new file mode 100644
index 000000000000..6aaecf0ff4f6
--- /dev/null
+++ b/app-emacs/inform-mode/inform-mode-1.6.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A major mode for editing Inform programs"
+HOMEPAGE="http://rupert-lane.org/inform-mode/
+ http://www.emacswiki.org/emacs/InformMode"
+SRC_URI="http://rupert-lane.org/${PN}/releases/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS="AUTHORS NEWS README"
diff --git a/app-emacs/inform-mode/metadata.xml b/app-emacs/inform-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/inform-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/initsplit/Manifest b/app-emacs/initsplit/Manifest
new file mode 100644
index 000000000000..f986a9a14217
--- /dev/null
+++ b/app-emacs/initsplit/Manifest
@@ -0,0 +1 @@
+DIST initsplit-1.7_pre20140203.el.xz 4792 SHA256 4005271af94ca4dad7a3b6b084fcb1e5b93097e98ee15810b766efddd2f8a718 SHA512 f2c894bb9d0359b5e95760541feb83f465950de732266059b9498b7ee7361ebb843e0d900fec92fa5e9c37547ea160836b9fc24f64c56083e3ea4416b4b52e50 WHIRLPOOL d10ba44154fc6030fed39a2cb325ced928501d8bfddc47b5364ac95b0ee55bea6f3a7d01a2dad166622d2baa247a0188b30da6d2fa5f42ad43cbd20259b8ef9d
diff --git a/app-emacs/initsplit/files/50initsplit-gentoo.el b/app-emacs/initsplit/files/50initsplit-gentoo.el
new file mode 100644
index 000000000000..dbc698522304
--- /dev/null
+++ b/app-emacs/initsplit/files/50initsplit-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'initsplit-byte-compile-files "initsplit")
diff --git a/app-emacs/initsplit/initsplit-1.7_pre20140203.ebuild b/app-emacs/initsplit/initsplit-1.7_pre20140203.ebuild
new file mode 100644
index 000000000000..d7d35bb2d4fe
--- /dev/null
+++ b/app-emacs/initsplit/initsplit-1.7_pre20140203.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Split customizations into different files"
+HOMEPAGE="http://www.emacswiki.org/emacs/InitSplit"
+# taken from https://github.com/dabrahams/${PN}
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
+DOC_CONTENTS="Initsplit is not enabled as a site default. Add the following
+ line to your ~/.emacs file to enable configuration file splitting:
+ \n\t(load \"initsplit\")
+ \n\nIf you want configuration files byte-compiled, also add this line:
+ \n\t(add-hook 'after-save-hook 'initsplit-byte-compile-files t)"
diff --git a/app-emacs/initsplit/metadata.xml b/app-emacs/initsplit/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/initsplit/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/jam-mode/Manifest b/app-emacs/jam-mode/Manifest
new file mode 100644
index 000000000000..fcfcb7322615
--- /dev/null
+++ b/app-emacs/jam-mode/Manifest
@@ -0,0 +1 @@
+DIST jam-mode-0.3.el.xz 3368 SHA256 d08958a9b3dae000303a98dd776d24f21aadbc385999ccf55876bf2c7c7c90c9 SHA512 17cfbbc2a1e65f65d3a2366a861ada2133e4a16f2c9a99b40915a3c50744dcb4360226a7ec9efc53092731389a3b397df92764b79240f203a5ef6c132c5c9350 WHIRLPOOL 684c4b23d974245614f3525435edd0447503870197b9b3de7dbe3f3a903324ce382a462423cca852b6e518b7ba21c26277f9a077368da5803336e3cc9810805b
diff --git a/app-emacs/jam-mode/files/50jam-mode-gentoo.el b/app-emacs/jam-mode/files/50jam-mode-gentoo.el
new file mode 100644
index 000000000000..33b7d29cb59b
--- /dev/null
+++ b/app-emacs/jam-mode/files/50jam-mode-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'jam-mode "jam-mode" "Generic mode for Jam rules files" t)
+(add-to-list
+ 'auto-mode-alist
+ '("\\(\\.jam\\|[Jj]ambase\\|[Jj]amfile\\|[Jj]amrules\\)\\'" . jam-mode))
diff --git a/app-emacs/jam-mode/jam-mode-0.3.ebuild b/app-emacs/jam-mode/jam-mode-0.3.ebuild
new file mode 100644
index 000000000000..713d136b53e0
--- /dev/null
+++ b/app-emacs/jam-mode/jam-mode-0.3.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs major mode for editing Jam files"
+HOMEPAGE="https://web.archive.org/web/20100211015821/http://www.tenfoot.org.uk/index.html"
+# taken from http://www.tenfoot.org.uk/emacs/${PN}.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/jam-mode/metadata.xml b/app-emacs/jam-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/jam-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/jasmin/Manifest b/app-emacs/jasmin/Manifest
new file mode 100644
index 000000000000..956367aeffe7
--- /dev/null
+++ b/app-emacs/jasmin/Manifest
@@ -0,0 +1 @@
+DIST jasmin-1.2.tar.gz 9287 SHA256 7fa064835acd6bdcedac7d57debe1dfbbf83f08083404a0c6adb7c2a1b95c8d3 SHA512 2b89fad8e4bdfe71f09af8f2a31347cc63ad6c70008b33500e85d58c0ec872076229d9113170c54f57c969940cb2973b6167e2b7f825a94c1d3f55680f419043 WHIRLPOOL 64dcb042106103800e1c2b4b7a27f8d433854df69ea7170ddcb31832f7ef07f2096e7d4969dd23e6befb4ed7cfe4b7e14424269050258d068af01783f341743e
diff --git a/app-emacs/jasmin/files/50jasmin-gentoo.el b/app-emacs/jasmin/files/50jasmin-gentoo.el
new file mode 100644
index 000000000000..1c4f67d8ecb2
--- /dev/null
+++ b/app-emacs/jasmin/files/50jasmin-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'jasmin-mode "jasmin"
+ "Major mode for editing Jasmin Java bytecode assembler files." t)
+(add-to-list 'auto-mode-alist '("\\.j\\'" . jasmin-mode))
diff --git a/app-emacs/jasmin/jasmin-1.2-r2.ebuild b/app-emacs/jasmin/jasmin-1.2-r2.ebuild
new file mode 100644
index 000000000000..66941f4e402a
--- /dev/null
+++ b/app-emacs/jasmin/jasmin-1.2-r2.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs major mode for editing Jasmin Java bytecode assembler files"
+HOMEPAGE="http://www.neilvandyke.org/jasmin-emacs/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 ~s390 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/jasmin/metadata.xml b/app-emacs/jasmin/metadata.xml
new file mode 100644
index 000000000000..875419a23c9c
--- /dev/null
+++ b/app-emacs/jasmin/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+jasmin.el is an Emacs major mode for editing Jasmin Java bytecode
+assembler files. It provides automatic formatting, customizable
+fontifying, and quick-reference syntax help. Font-lock specifications
+are derived from an encoded grammar, for detailed syntax coloring.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/javascript/Manifest b/app-emacs/javascript/Manifest
new file mode 100644
index 000000000000..f3ec65542e4d
--- /dev/null
+++ b/app-emacs/javascript/Manifest
@@ -0,0 +1,2 @@
+DIST javascript-2.0_beta8.el.bz2 6067 SHA256 d2e77337442ceaf065d0767cce22609ecdfe045ec60552db79f2d8683d90b512 SHA512 fe212b938bf390f06e97981b127bb3cbda048d665fa56a2053f9ed2a27f76abb77d0c1cf120afacc26f423f9a0abc70fb53ef05537942b2c8768c6626eecbdb8 WHIRLPOOL cb90ba5b7726bae9382f29dd25133ce813241f40007096d9890ad49380c78a6ebd780d2e578b920fc0490654952b94f0061787870242e79be1a7608cd119a642
+DIST javascript-2.2.1.el.bz2 6141 SHA256 9f7e7039662e2081b1d373f2c1fb449c975882f6d09f566719eef85c8bc21433 SHA512 1c84b394bafa4ebbdb9827f109ada2219860b147546e7bda337cb570296aced30758276da1c12ac33398ce3f6e6fc49b6a1e9c300dd2759017882fcd1ee085ec WHIRLPOOL 845571cb06b6b059a3b0524c020c19072e79ad0d579bd37f73779f8c9285ede081cffeb99913528ad39dec234c7c47610fe620461a17ff5a1cb5789de238d950
diff --git a/app-emacs/javascript/files/50javascript-gentoo.el b/app-emacs/javascript/files/50javascript-gentoo.el
new file mode 100644
index 000000000000..b533cd4c1a2c
--- /dev/null
+++ b/app-emacs/javascript/files/50javascript-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'javascript-mode "javascript"
+ "Major mode for editing JavaScript source text." t)
+(add-to-list 'auto-mode-alist '("\\.js\\'" . javascript-mode))
diff --git a/app-emacs/javascript/javascript-2.0_beta8.ebuild b/app-emacs/javascript/javascript-2.0_beta8.ebuild
new file mode 100644
index 000000000000..83cf0e55ea45
--- /dev/null
+++ b/app-emacs/javascript/javascript-2.0_beta8.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit elisp
+
+DESCRIPTION="Major mode for editing JavaScript source text"
+HOMEPAGE="http://www.karllandstrom.se/emacs_modes.php
+ http://www.emacswiki.org/emacs/JavaScriptMode"
+# taken from http://web.comhem.se/~u34308910/emacs/javascript.el.zip
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+SITEFILE=50${PN}-gentoo.el
diff --git a/app-emacs/javascript/javascript-2.2.1.ebuild b/app-emacs/javascript/javascript-2.2.1.ebuild
new file mode 100644
index 000000000000..ace3810ae373
--- /dev/null
+++ b/app-emacs/javascript/javascript-2.2.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit elisp
+
+DESCRIPTION="Major mode for editing JavaScript source text"
+HOMEPAGE="http://www.karllandstrom.se/emacs_modes.php
+ http://www.emacswiki.org/emacs/JavaScriptMode"
+# taken from http://www.brgeight.se/downloads/emacs/javascript.el
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/javascript/metadata.xml b/app-emacs/javascript/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/javascript/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/jde/Manifest b/app-emacs/jde/Manifest
new file mode 100644
index 000000000000..7e047b03dd2d
--- /dev/null
+++ b/app-emacs/jde/Manifest
@@ -0,0 +1 @@
+DIST jdee-2.4.1.tar.xz 2742232 SHA256 24241376837361e23a2c181775423ac248e441e3ced513e21cbef30529cbeb43 SHA512 5ce5f0f84b2502e9af808f33210511e8b7682902b1f342d678fe42dd8f9f3690b90ef7bb22583550eb769818782c50f545d6baf47b52bc7f4502fab411ab5359 WHIRLPOOL c20988fc59fdd453e9942b53d444605dd3738a9978e2bd6a67d30b550e5510926056bc0b7734a9fdf4fd7c4ac09a2bbd1baaf35b92bc94438b378d722ab76a37
diff --git a/app-emacs/jde/files/70jde-gentoo.el b/app-emacs/jde/files/70jde-gentoo.el
new file mode 100644
index 000000000000..c7fff6a61b4d
--- /dev/null
+++ b/app-emacs/jde/files/70jde-gentoo.el
@@ -0,0 +1,10 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'jde-autoload)
+
+(setq jde-java-directory "/usr/share/jde")
+(setq jde-bsh-jar-file "@BSH_JAR@")
+(setq jde-checkstyle-jar-file "@CHECKSTYLE_JAR@")
+(setq jde-checkstyle-style "/usr/share/checkstyle/checks/sun_checks.xml")
+(setq jde-html-directory "/usr/share/doc/@PF@/html")
+(setq bsh-html-directory "/usr/share/doc/@PF@/html")
+(setq jde-check-version-flag nil)
diff --git a/app-emacs/jde/files/jde-2.4.0.1-classpath-gentoo.patch b/app-emacs/jde/files/jde-2.4.0.1-classpath-gentoo.patch
new file mode 100644
index 000000000000..47fdd4e11e47
--- /dev/null
+++ b/app-emacs/jde/files/jde-2.4.0.1-classpath-gentoo.patch
@@ -0,0 +1,69 @@
+Initialise classpath for beanshell and checkstyle using java-config.
+Gentoo specific patch.
+
+--- jde-orig/lisp/beanshell.el
++++ jde/lisp/beanshell.el
+@@ -809,6 +809,14 @@
+ "BeanShell intended to be used independently of any other
+ Emacs package.")
+
++(defun bsh-get-gentoo-classpath ()
++ (or bsh-classpath
++ (with-temp-buffer
++ (call-process "java-config" nil t nil "-d" "-p" "bsh")
++ (skip-chars-backward "\n")
++ (setq bsh-classpath
++ (split-string (buffer-substring (point-min) (point)) ":+")))))
++
+ (defmethod initialize-instance ((this bsh-standalone-bsh) &rest fields)
+ "Constructor for the standard bsh BeanShell instance."
+ (call-next-method)
+@@ -845,7 +853,7 @@
+ bsh-vm)
+ (executable-find (if (eq system-type 'windows-nt) "javaw" "java"))))
+
+- (oset this cp bsh-classpath)
++ (oset this cp (bsh-get-gentoo-classpath))
+
+ (oset this startup-dir bsh-startup-directory))
+
+--- jde-orig/lisp/jde-bsh.el
++++ jde/lisp/jde-bsh.el
+@@ -187,7 +187,7 @@
+ (jde-get-tools-jar)
+ (if ant-home (expand-file-name "lib" ant-home)))
+ (jde-pi-get-bsh-classpath)
+- bsh-classpath
++ (bsh-get-gentoo-classpath)
+ (jde-expand-classpath (jde-get-global-classpath)))))))
+
+ ;; Create the BeanShell wrapper object.
+--- jde-orig/lisp/jde-checkstyle.el
++++ jde/lisp/jde-checkstyle.el
+@@ -305,6 +305,14 @@
+ (format "-D%s=%s" (car prop) (cdr prop)))
+ jde-checkstyle-expanded-properties))
+
++(defun jde-checkstyle-get-gentoo-classpath ()
++ (or jde-checkstyle-classpath
++ (with-temp-buffer
++ (call-process "java-config" nil t nil "-d" "-p" "checkstyle")
++ (skip-chars-backward "\n")
++ (setq jde-checkstyle-classpath
++ (split-string (buffer-substring (point-min) (point)) ":+")))))
++
+ (defmethod jde-checkstyle-exec ((this jde-checkstyle-checker))
+
+ (jde-checkstyle-create-checker-buffer this)
+@@ -327,9 +335,8 @@
+ (jde-checkstyle-get-property-args this))
+ (oref this :interactive-args)
+ (list "-classpath"
+- (if jde-checkstyle-classpath
+- (jde-build-classpath jde-checkstyle-classpath)
+- (jde-normalize-path jde-checkstyle-jar-file)))
++ (jde-build-classpath
++ (jde-checkstyle-get-gentoo-classpath)))
+ (list jde-checkstyle-class)
+ (list "-c"
+ (if jde-checkstyle-style
diff --git a/app-emacs/jde/files/jde-2.4.0.1-fix-paths-gentoo.patch b/app-emacs/jde/files/jde-2.4.0.1-fix-paths-gentoo.patch
new file mode 100644
index 000000000000..a129b588587c
--- /dev/null
+++ b/app-emacs/jde/files/jde-2.4.0.1-fix-paths-gentoo.patch
@@ -0,0 +1,218 @@
+Make paths of directories and jar files configurable.
+
+Part of this patch was taken from Debian and heavily modified, see:
+http://patch-tracking.debian.net/patch/series/view/jde/2.3.5.1-5/0005-Set-the-location-of-needed-files-for-beanshell.el-an.patch
+
+--- jde-orig/lisp/beanshell.el
++++ jde/lisp/beanshell.el
+@@ -891,14 +891,21 @@
+
+ (add-to-list 'auto-mode-alist '("\\.bsh\\'" . bsh-script-mode))
+
++(defcustom bsh-html-directory
++ (let ((jde-dir (jde-find-jde-doc-directory)))
++ (if jde-dir
++ (expand-file-name "doc/html/bsh-ug" jde-dir)))
++ "Directory of the beanshell HTML documentation."
++ :group 'bsh
++ :type 'directory)
++
+ ;;;###autoload
+ (defun bsh-script-help ()
+ "Display BeanShell User's Guide."
+ (interactive)
+- (let* ((jde-dir (jde-find-jde-doc-directory))
+- (bsh-help
+- (if jde-dir
+- (expand-file-name "doc/html/bsh-ug/bsh-ug.html" jde-dir))))
++ (let ((bsh-help
++ (if bsh-html-directory
++ (expand-file-name "bsh-ug.html" bsh-html-directory))))
+ (if (and
+ bsh-help
+ (file-exists-p bsh-help))
+--- jde-orig/lisp/jde-bsh.el
++++ jde/lisp/jde-bsh.el
+@@ -91,22 +91,59 @@
+ "The single instance of the JDEE's BeanShell."))
+ "Class of JDEE BeanShells. There is only one per Emacs session.")
+
++(defcustom jde-java-directory
++ (expand-file-name "java" (jde-find-jde-data-directory))
++ "Top-level directory of JDE Java files."
++ :group 'jde-project
++ :type 'directory)
++
++(defcustom jde-bsh-commands-directory
++ (expand-file-name "bsh-commands" jde-java-directory)
++ "Directory of beanshell commands."
++ :group 'bsh
++ :type 'directory)
++
++(defcustom jde-classes-directory
++ (expand-file-name "classes" jde-java-directory)
++ "Directory of JDE classes."
++ :group 'jde-project
++ :type 'directory)
++
++(defcustom jde-checkstyle-jar-file
++ (expand-file-name "lib/checkstyle-all.jar" jde-java-directory)
++ "Path of the checkstyle-jar file."
++ :group 'jde-project
++ :type 'file)
++
++(defcustom jde-regexp-jar-file
++ (expand-file-name "lib/jakarta-regexp.jar" jde-java-directory)
++ "Path of the regexp-jar file."
++ :group 'jde-project
++ :type 'file)
++
++(defcustom jde-jde-jar-file
++ (expand-file-name "lib/jde.jar" jde-java-directory)
++ "Path of the jde-jar file."
++ :group 'jde-project
++ :type 'file)
++
++(defcustom jde-bsh-jar-file
++ (expand-file-name "lib/bsh.jar" jde-java-directory)
++ "Path of the bsh-jar file."
++ :group 'jde-project
++ :type 'file)
++
+ (defmethod initialize-instance ((this jde-bsh) &rest fields)
+ "Constructor for the JDEE BeanShell instance."
+ (call-next-method)
+- (let* ((jde-java-directory
+- (concat
+- (jde-find-jde-data-directory)
+- "java/")))
+-
+- (oset this bsh-cmd-dir (expand-file-name "bsh-commands" jde-java-directory))
+- (oset this checkstyle-jar (expand-file-name "lib/checkstyle-all.jar" jde-java-directory))
+- (oset this regexp-jar (expand-file-name "lib/jakarta-regexp.jar" jde-java-directory))
+- (oset this jde-classes-dir (expand-file-name "classes" jde-java-directory))
+- (oset this jde-jar (expand-file-name "lib/jde.jar" jde-java-directory))
+- (oset this jar (expand-file-name "lib/bsh.jar" jde-java-directory))
+- (oset this separate-error-buffer jde-bsh-separate-buffer)
+- (oset-default 'jde-bsh the-bsh this)))
++ (oset this bsh-cmd-dir jde-bsh-commands-directory)
++ (oset this checkstyle-jar jde-checkstyle-jar-file)
++ (oset this regexp-jar jde-regexp-jar-file)
++ (oset this jde-classes-dir jde-classes-directory)
++ (oset this jde-jar jde-jde-jar-file)
++ (oset this jar jde-bsh-jar-file)
++ (oset this separate-error-buffer jde-bsh-separate-buffer)
++ (oset-default 'jde-bsh the-bsh this))
+
+ (defmethod bsh-create-buffer ((this jde-bsh))
+ "Creates the JDEE's beanshell buffer."
+@@ -150,6 +187,7 @@
+ (jde-get-tools-jar)
+ (if ant-home (expand-file-name "lib" ant-home)))
+ (jde-pi-get-bsh-classpath)
++ bsh-classpath
+ (jde-expand-classpath (jde-get-global-classpath)))))))
+
+ ;; Create the BeanShell wrapper object.
+--- jde-orig/lisp/jde-bug.el
++++ jde/lisp/jde-bug.el
+@@ -2438,10 +2438,10 @@
+ (defun jde-bug-help ()
+ "Displays the JDEbug User's Guide."
+ (interactive)
+- (let* ((jde-dir (jde-find-jde-doc-directory))
+- (jdebug-help
+- (if jde-dir
+- (expand-file-name "doc/html/jdebug-ug/jdebug-ug.html" jde-dir))))
++ (let ((jdebug-help
++ (if jde-html-directory
++ (expand-file-name "jdebug-ug/jdebug-ug.html"
++ jde-html-directory))))
+ (if (and
+ jdebug-help
+ (file-exists-p jdebug-help))
+--- jde-orig/lisp/jde-checkstyle.el
++++ jde/lisp/jde-checkstyle.el
+@@ -322,10 +322,6 @@
+ (vm-path (oref (jde-run-get-vm) :path))
+ (source-file
+ (concat (file-name-nondirectory buffer-file-name)))
+- (jde-java-directory
+- (concat
+- (jde-find-jde-data-directory)
+- "java/"))
+ (args (append
+ (unless jde-checkstyle-expanded-properties-file
+ (jde-checkstyle-get-property-args this))
+@@ -333,13 +329,13 @@
+ (list "-classpath"
+ (if jde-checkstyle-classpath
+ (jde-build-classpath jde-checkstyle-classpath)
+- (jde-normalize-path
+- (expand-file-name "lib/checkstyle-all.jar" jde-java-directory))))
++ (jde-normalize-path jde-checkstyle-jar-file)))
+ (list jde-checkstyle-class)
+ (list "-c"
+ (if jde-checkstyle-style
+ (jde-normalize-path jde-checkstyle-style)
+- (concat (jde-find-jde-data-directory) "java/lib/sun_checks.xml")))
++ (expand-file-name "lib/sun_checks.xml"
++ jde-java-directory)))
+ (if jde-checkstyle-expanded-properties-file
+ (list "-p" (jde-normalize-path jde-checkstyle-expanded-properties-file)))
+ (if jde-checkstyle-module-package-names-file
+--- jde-orig/lisp/jde-dbs.el
++++ jde/lisp/jde-dbs.el
+@@ -907,9 +907,6 @@
+ (jde-normalize-path 'jde-run-working-directory)
+ source-directory))
+ (vm (oref (jde-run-get-vm) :path))
+- (jde-java-directory
+- (expand-file-name "java"
+- (jde-find-jde-data-directory)))
+ (vm-args
+ (let (args)
+ (setq args
+--- jde-orig/lisp/jde.el
++++ jde/lisp/jde.el
+@@ -1722,14 +1722,19 @@
+ jde.el."
+ (jde-find-jde-data-directory))
+
++(defcustom jde-html-directory
++ (expand-file-name "doc/html" (jde-find-jde-doc-directory))
++ "Directory of the JDE HTML documentation."
++ :group 'jde-project
++ :type 'directory)
++
+ ;;;###autoload
+ (defun jde-show-help ()
+ "Displays the JDE User's Guide in a browser."
+ (interactive)
+- (let* ((jde-dir (jde-find-jde-doc-directory))
+- (jde-help
+- (if jde-dir
+- (expand-file-name "doc/html/jde-ug/jde-ug.html" jde-dir))))
++ (let ((jde-help
++ (if jde-html-directory
++ (expand-file-name "jde-ug/jde-ug.html" jde-html-directory))))
+ (if (and
+ jde-help
+ (file-exists-p jde-help))
+--- jde-orig/lisp/jde-jdb.el
++++ jde/lisp/jde-jdb.el
+@@ -1459,10 +1459,10 @@
+
+ (defun jde-jdb-help ()
+ (interactive)
+- (let* ((jde-dir (jde-find-jde-doc-directory))
+- (jdb-ug-path
+- (if jde-dir
+- (expand-file-name "doc/html/jdb-ug/jdb-ug-frame.html" jde-dir))))
++ (let ((jdb-ug-path
++ (if jde-html-directory
++ (expand-file-name "jdb-ug/jdb-ug-frame.html"
++ jde-html-directory))))
+ (if (and
+ jdb-ug-path
+ (file-exists-p jdb-ug-path))
diff --git a/app-emacs/jde/files/jde-2.4.1-doc-directory.patch b/app-emacs/jde/files/jde-2.4.1-doc-directory.patch
new file mode 100644
index 000000000000..c96fcd861594
--- /dev/null
+++ b/app-emacs/jde/files/jde-2.4.1-doc-directory.patch
@@ -0,0 +1,53 @@
+Move definition of jde-find-jde-doc-directory to jde-util.el.
+
+--- jdee-orig/lisp/beanshell.el
++++ jdee/lisp/beanshell.el
+@@ -82,7 +82,7 @@
+ (eval-when-compile
+ (require 'cl))
+
+-(declare-function jde-find-jde-doc-directory "jde" nil)
++(require 'jde-util)
+
+ (defgroup bsh nil
+ "Customizations for the Emacs inteface to Pat Neimeyer's Java
+--- jdee-orig/lisp/jde-util.el
++++ jdee/lisp/jde-util.el
+@@ -139,6 +139,17 @@
+ (if dir dir (jde-root)))
+ (jde-root))))
+
++(defun jde-find-jde-doc-directory ()
++ "Return the path of the JDE documentation directory.
++Returns nil if the directory cannot be found. At some
++point, XEmacs will include the JDE. Versions of XEmacs
++that include JDE will store the JDE doc in a data
++directory called jde. On all other Emacs versions, the JDE
++expects to find the documentation in a subdirectory
++named doc of the directory that contains the file
++jde.el."
++ (jde-find-jde-data-directory))
++
+ (defun jde-temp-directory ()
+ "Get the location used by the host system to store temporary files."
+ (or (if (boundp 'temporary-file-directory) temporary-file-directory)
+--- jdee-orig/lisp/jde.el
++++ jdee/lisp/jde.el
+@@ -1762,17 +1762,6 @@
+
+
+ ;; JDE help
+-(defun jde-find-jde-doc-directory ()
+- "Return the path of the JDE documentation directory.
+-Returns nil if the directory cannot be found. At some
+-point, XEmacs will include the JDE. Versions of XEmacs
+-that include JDE will store the JDE doc in a data
+-directory called jde. On all other Emacs versions, the JDE
+-expects to find the documentation in a subdirectory
+-named doc of the directory that contains the file
+-jde.el."
+- (jde-find-jde-data-directory))
+-
+ (defcustom jde-html-directory
+ (expand-file-name "doc/html" (jde-find-jde-doc-directory))
+ "Directory of the JDE HTML documentation."
diff --git a/app-emacs/jde/jde-2.4.1.ebuild b/app-emacs/jde/jde-2.4.1.ebuild
new file mode 100644
index 000000000000..cd992fbebf06
--- /dev/null
+++ b/app-emacs/jde/jde-2.4.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2 elisp eutils
+
+DESCRIPTION="Java Development Environment for Emacs"
+HOMEPAGE="http://jdee.sourceforge.net/"
+# snapshot of svn://svn.code.sf.net/p/jdee/code/branches/2.4.1 (rev 292)
+# (upstream's distfile misses build.xml)
+SRC_URI="mirror://gentoo/jdee-${PV}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+RDEPEND=">=virtual/jdk-1.3
+ app-emacs/elib
+ dev-java/bsh:0
+ dev-java/junit:0
+ dev-util/checkstyle:0"
+DEPEND="${RDEPEND}
+ dev-java/ant-contrib:0"
+
+S="${WORKDIR}/jdee-${PV}"
+SITEFILE="70${PN}-gentoo.el"
+
+pkg_setup() {
+ java-pkg-2_pkg_setup
+ elisp_pkg_setup
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.4.0.1-fix-paths-gentoo.patch"
+ epatch "${FILESDIR}/${PN}-2.4.0.1-classpath-gentoo.patch"
+ epatch "${FILESDIR}/${PN}-2.4.1-doc-directory.patch"
+
+ local bshjar csjar
+ bshjar=$(java-pkg_getjar --build-only bsh bsh.jar) || die
+ csjar=$(java-pkg_getjar --build-only checkstyle checkstyle.jar) || die
+ sed -e "s:@BSH_JAR@:${bshjar}:;s:@CHECKSTYLE_JAR@:${csjar}:" \
+ -e "s:@PF@:${PF}:" "${FILESDIR}/${SITEFILE}" >"${SITEFILE}" || die
+
+ cd java/lib || die
+ java-pkg_jar-from --build-only checkstyle checkstyle.jar checkstyle-all.jar
+ java-pkg_jar-from junit
+ java-pkg_jar-from bsh
+}
+
+src_compile() {
+ ANT_TASKS="ant-contrib" \
+ eant -Delib.dir="${EPREFIX}${SITELISP}/elib" \
+ bindist $(usex doc source-doc "")
+}
+
+src_install() {
+ local dist="dist/jdee-${PV%_*}"
+
+ java-pkg_dojar ${dist}/java/lib/jde.jar
+ insinto "${JAVA_PKG_SHAREPATH}"
+ doins -r java/bsh-commands
+
+ use source && java-pkg_dosrc java/src/*
+ use doc && java-pkg_dojavadoc ${dist}/doc/java/api
+
+ elisp-install ${PN} ${dist}/lisp/*.{el,elc}
+ elisp-site-file-install "${SITEFILE}"
+
+ dobin ${dist}/lisp/jtags
+
+ dohtml -r doc/html/*
+}
diff --git a/app-emacs/jde/metadata.xml b/app-emacs/jde/metadata.xml
new file mode 100644
index 000000000000..f75c85528b98
--- /dev/null
+++ b/app-emacs/jde/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<herd>java</herd>
+<longdescription>
+ The Java Development Environment for Emacs is a software package that
+ interfaces Emacs to command-line Java development tools (for example,
+ JavaSoft's JDK). JDEE features include:
+
+ * JDEE menu with compile, run, debug, build, browse, project, and help
+ commands
+ * syntax coloring
+ * auto indentation
+ * compile error to source links
+ * source-level debugging
+ * source code browsing
+ * make file support
+ * automatic code generation
+ * Java source interpreter (Pat Neimeyer's BeanShell)
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/keywiz/Manifest b/app-emacs/keywiz/Manifest
new file mode 100644
index 000000000000..9baee226a43a
--- /dev/null
+++ b/app-emacs/keywiz/Manifest
@@ -0,0 +1 @@
+DIST keywiz-1.4.tar.gz 4159 SHA256 39d8511c805329d1432b49c0a528a2a6f6cc35e96a1bc10e74d39434ac93d926 SHA512 e6143562a7bdba6ceb838e56504dcbcf9d975be04af28007cfd6e79a5fdcb4028882f1e2fd57e4245b47b80dd5234bcb7ddc2eef4ab0c09bb80483f9db7eca19 WHIRLPOOL 6ac58c7e3755e481b9d9feefa5b77551486eb206fbec8f4891f9cbca0b35d1a13a83baec0f3fddc3a5d3f8eb226a99ca224c9176fc8140ff6ca50da4cc3d5054
diff --git a/app-emacs/keywiz/files/50keywiz-gentoo.el b/app-emacs/keywiz/files/50keywiz-gentoo.el
new file mode 100644
index 000000000000..91621c829e9e
--- /dev/null
+++ b/app-emacs/keywiz/files/50keywiz-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'keywiz "keywiz" "Autoload for keywiz" t)
diff --git a/app-emacs/keywiz/keywiz-1.4.ebuild b/app-emacs/keywiz/keywiz-1.4.ebuild
new file mode 100644
index 000000000000..9257763d96e2
--- /dev/null
+++ b/app-emacs/keywiz/keywiz-1.4.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Emacs key sequence quiz"
+HOMEPAGE="http://www.phys.au.dk/~harder/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/keywiz/metadata.xml b/app-emacs/keywiz/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/keywiz/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/limit/Manifest b/app-emacs/limit/Manifest
new file mode 100644
index 000000000000..d83b5ddebcd7
--- /dev/null
+++ b/app-emacs/limit/Manifest
@@ -0,0 +1 @@
+DIST limit-1_14-200811252332.tar.gz 186477 SHA256 41951bf2a0b4fca79cfa14b4a249e655ea028ecfc27b1380acb615ba05916701 SHA512 59cce771747cc1e144cf5b3e043c87b09f81935334327a1ea46197951f2c572c3f3e28efc71076fd3da54f9f667852574088ab009d2e966ea3eb363ee53ce0a0 WHIRLPOOL 39351e0a869225c374e98687ea1d65af30f0a0ca7721bb1f332e8ace26e38213513c192f6b0fb8c0827ec79cd0bc17961e7021507789575d924bcd9b0a8c3af0
diff --git a/app-emacs/limit/files/60flim-gentoo.el b/app-emacs/limit/files/60flim-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/limit/files/60flim-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/limit/limit-1.14.10_pre200811252332.ebuild b/app-emacs/limit/limit-1.14.10_pre200811252332.ebuild
new file mode 100644
index 000000000000..b7f40a48b4fd
--- /dev/null
+++ b/app-emacs/limit/limit-1.14.10_pre200811252332.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+MY_PV="${PV/./_}"; MY_PV="${MY_PV/.*_pre/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Library about Internet Message, for IT generation"
+HOMEPAGE="http://git.chise.org/elisp/flim/"
+SRC_URI="http://www.jpl.org/ftp/pub/m17n/${MY_P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc sparc x86"
+
+DEPEND=">=app-emacs/apel-10.3"
+RDEPEND="${DEPEND}
+ !app-emacs/flim"
+
+S="${WORKDIR}/${MY_P}"
+SITEFILE="60flim-gentoo.el"
+
+src_compile() {
+ emake PREFIX="${D}/usr" \
+ LISPDIR="${D}/${SITELISP}" \
+ VERSION_SPECIFIC_LISPDIR="${D}/${SITELISP}"
+}
+
+src_install() {
+ emake PREFIX="${D}/usr" \
+ LISPDIR="${D}/${SITELISP}" \
+ VERSION_SPECIFIC_LISPDIR="${D}/${SITELISP}" install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ dodoc FLIM-API.en NEWS VERSION README* ChangeLog
+}
diff --git a/app-emacs/limit/metadata.xml b/app-emacs/limit/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/limit/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/lookup/Manifest b/app-emacs/lookup/Manifest
new file mode 100644
index 000000000000..f6871f255324
--- /dev/null
+++ b/app-emacs/lookup/Manifest
@@ -0,0 +1 @@
+DIST lookup-1.4.1.tar.gz 346391 SHA256 13ab02652e322773f279db1862e4423c24da0da0b662dd6a29dbd95aca729bfa SHA512 a28a770ba58f07db5a7b2452792fc0e83b74e3b45556e84a9729c73773df661dbb7d356c1f7be803feb66f23e154aa825dab610f841bbe655bc76bd7120370bf WHIRLPOOL 2096df15468826cdd69b53210c3e86cd83823dbc4c5cc4b16f438732a4ddc21e902a057f60a5d076b319b977f485a2b7badd5d8983c79c0b04822c8fa0f00746
diff --git a/app-emacs/lookup/files/50lookup-gentoo.el b/app-emacs/lookup/files/50lookup-gentoo.el
new file mode 100644
index 000000000000..9ae8d93a847c
--- /dev/null
+++ b/app-emacs/lookup/files/50lookup-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'lookup "lookup" nil t)
+(autoload 'lookup-region "lookup" nil t)
+(autoload 'lookup-pattern "lookup" nil t)
diff --git a/app-emacs/lookup/files/lookup-1.4.1-garbage-char.patch b/app-emacs/lookup/files/lookup-1.4.1-garbage-char.patch
new file mode 100644
index 000000000000..7c9a3bea9152
--- /dev/null
+++ b/app-emacs/lookup/files/lookup-1.4.1-garbage-char.patch
@@ -0,0 +1,8 @@
+--- lookup-1.4.1-orig/lisp/ndic.el
++++ lookup-1.4.1/lisp/ndic.el
+@@ -1,4 +1,4 @@
+-e;;; ndic.el --- Lookup by free dictionaries
++;;; ndic.el --- Lookup by free dictionaries
+ ;; Copyright (C) 1999 Lookup Development Team <lookup@ring.gr.jp>
+
+ ;; Author: Keisuke Nishida <kei@psn.net>
diff --git a/app-emacs/lookup/lookup-1.4.1.ebuild b/app-emacs/lookup/lookup-1.4.1.ebuild
new file mode 100644
index 000000000000..39ad4cd0c8df
--- /dev/null
+++ b/app-emacs/lookup/lookup-1.4.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="An interface to search CD-ROM books and network dictionaries"
+HOMEPAGE="http://openlab.jp/edict/lookup/"
+SRC_URI="http://openlab.jp/edict/lookup/dist/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+ELISP_PATCHES="${P}-garbage-char.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf --with-lispdir="${EPREFIX}${SITELISP}/${PN}"
+}
+
+src_compile() {
+ # parallel make fails with Emacs deadlock
+ emake -j1
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc AUTHORS ChangeLog NEWS README
+}
diff --git a/app-emacs/lookup/metadata.xml b/app-emacs/lookup/metadata.xml
new file mode 100644
index 000000000000..92d4e62095de
--- /dev/null
+++ b/app-emacs/lookup/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<herd>cjk</herd>
+</pkgmetadata>
diff --git a/app-emacs/lua-mode/Manifest b/app-emacs/lua-mode/Manifest
new file mode 100644
index 000000000000..99d224cdd884
--- /dev/null
+++ b/app-emacs/lua-mode/Manifest
@@ -0,0 +1 @@
+DIST lua-mode-20130419.tar.gz 26236 SHA256 75c1696421983fbb58946ea649d2917f0deefc8b4f1dbc16b819e0cd603e396a SHA512 1fecd953b5b08dad26345c6e0d2006f35f92082d7cd244e4d668808a2694271605f10eb15d7b62ab8fbdf029fa6bac8bcebe8c8d4ef782dbd63ebcce8abc8439 WHIRLPOOL 4477da3bfb707459c14cefbc55ca7303b1774627c143cfe1d2dc3e70a7843fd7f9d0090f4640b934482a39b020afaf09b4dfd0b8ef10fd46f71b3d2c799e6347
diff --git a/app-emacs/lua-mode/files/50lua-mode-gentoo.el b/app-emacs/lua-mode/files/50lua-mode-gentoo.el
new file mode 100644
index 000000000000..b1385e489c8d
--- /dev/null
+++ b/app-emacs/lua-mode/files/50lua-mode-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'lua-mode "lua-mode" "Mode for editing Lua scripts" t)
+(add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-mode))
+(setq lua-default-application "/usr/bin/lua")
diff --git a/app-emacs/lua-mode/lua-mode-20130419.ebuild b/app-emacs/lua-mode/lua-mode-20130419.ebuild
new file mode 100644
index 000000000000..d17b2aaef6f7
--- /dev/null
+++ b/app-emacs/lua-mode/lua-mode-20130419.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs major mode for editing Lua scripts"
+HOMEPAGE="http://lua-users.org/wiki/LuaEditorSupport"
+SRC_URI="https://github.com/immerrr/${PN}/archive/rel-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+
+S="${WORKDIR}/${PN}-rel-${PV}"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="NEWS README README.md TODO"
diff --git a/app-emacs/lua-mode/metadata.xml b/app-emacs/lua-mode/metadata.xml
new file mode 100644
index 000000000000..cca32e07cd8f
--- /dev/null
+++ b/app-emacs/lua-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="github">immerrr/lua-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/lyskom-elisp-client/Manifest b/app-emacs/lyskom-elisp-client/Manifest
new file mode 100644
index 000000000000..33ecc18bf4aa
--- /dev/null
+++ b/app-emacs/lyskom-elisp-client/Manifest
@@ -0,0 +1 @@
+DIST lyskom-elisp-client-0.48_p20131231.tar.xz 888212 SHA256 d34ebefc299942ae3990f4d309ae17bef847b5e546482bbfe6b5cdd78a0c55b7 SHA512 124dc45194d68588535e134acae9de9b19484b568c43d2eb49d3c4e8ee923e0baf64a634181a3238f34cf59a98a5a1e92e988519d26e8f3c3a0e867f500d53e9 WHIRLPOOL f13addd5561a86f257def968b5a7d73433e1d53bde0452dcc6bbfe41381eb977fa1da398eac05da1c113c8c82c59a4db2c62ba4825fb83db1f548bdb54dc6f04
diff --git a/app-emacs/lyskom-elisp-client/files/50lyskom-elisp-client-gentoo.el b/app-emacs/lyskom-elisp-client/files/50lyskom-elisp-client-gentoo.el
new file mode 100644
index 000000000000..8625986f64b6
--- /dev/null
+++ b/app-emacs/lyskom-elisp-client/files/50lyskom-elisp-client-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'lyskom "lyskom" "Start LysKOM" t)
diff --git a/app-emacs/lyskom-elisp-client/lyskom-elisp-client-0.48_p20131231.ebuild b/app-emacs/lyskom-elisp-client/lyskom-elisp-client-0.48_p20131231.ebuild
new file mode 100644
index 000000000000..5b8f272374ca
--- /dev/null
+++ b/app-emacs/lyskom-elisp-client/lyskom-elisp-client-0.48_p20131231.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Elisp client for the LysKOM conference system"
+HOMEPAGE="http://www.lysator.liu.se/lyskom/klienter/emacslisp/index.en.html"
+# snapshot of git://git.lysator.liu.se/${PN}/${PN}.git
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 sparc x86"
+IUSE="linguas_sv"
+
+S="${WORKDIR}/${PN}"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ emake -C src EMACS=emacs
+ # Info page is in Swedish only
+ use linguas_sv && emake -C doc elisp-client
+}
+
+src_install() {
+ elisp-install ${PN} src/lyskom.{el,elc}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc src/{ChangeLog*,README,TODO} doc/NEWS*
+ use linguas_sv && doinfo doc/elisp-client
+
+ DOC_CONTENTS="If you prefer an English language environment, add the
+ following line to your ~/.emacs file:
+ \n\t(setq-default kom-default-language 'en)"
+ readme.gentoo_create_doc
+}
diff --git a/app-emacs/lyskom-elisp-client/metadata.xml b/app-emacs/lyskom-elisp-client/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/lyskom-elisp-client/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/magit/Manifest b/app-emacs/magit/Manifest
new file mode 100644
index 000000000000..1e3dd27cef6b
--- /dev/null
+++ b/app-emacs/magit/Manifest
@@ -0,0 +1,2 @@
+DIST magit-1.2.0.tar.gz 163318 SHA256 ef535819b8ee32c53ad38efabc82028f62422f2629407d69ddc5970669dc1ba9 SHA512 3f673d38d9f73cdf653108184ed97c1d499492224be3925949ffadb3bb6900a9be664c773dae49da696c6e1daa8bbb70d7446a9f9d7f9a7f8714ca254ed02c3d WHIRLPOOL 0462ea59ae75c01992d6d7dd17783ab4c60c335c17e03a8791be0771caf54d6a546a84c0622f2c1d45d1231a8d2638fb936bff31c94aa08a10d2c98e5986e4a4
+DIST magit-1.2.2.tar.gz 111245 SHA256 8ed300887909d0990cf17b1f4a3b902944db2471ca93dbf0202724b3f44e5d0c SHA512 c7817a5231485e593e8f7aab8c01db19f433ff9b77d6635c95eec6beabb45901f1dbd9d02fad718436f9e25516df14714e7ca1b05b53244e8465dcc14a8cee7a WHIRLPOOL 4b7116bf2568f786a859299ed8039bee32fda51322e29f7ddd139a9ee5e3f3a3caa9d245fffed3e6c28f11b0e068c398f424450275de94a4559a9812634639a0
diff --git a/app-emacs/magit/files/50magit-gentoo.el b/app-emacs/magit/files/50magit-gentoo.el
new file mode 100644
index 000000000000..87586cc7317d
--- /dev/null
+++ b/app-emacs/magit/files/50magit-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'magit-status "magit" nil t)
diff --git a/app-emacs/magit/files/magit-1.2.0-delete-directory.patch b/app-emacs/magit/files/magit-1.2.0-delete-directory.patch
new file mode 100644
index 000000000000..6c85345e9460
--- /dev/null
+++ b/app-emacs/magit/files/magit-1.2.0-delete-directory.patch
@@ -0,0 +1,33 @@
+Fix byte-compile failure with Emacs 24.3.91.
+
+The upstream git repo has a more complicated fix which we don't use,
+because the Gentoo package need not care about Emacs 22 and XEmacs
+compatibility. Instead, always define magit-delete-directory as an
+alias of delete-directory. This will work for all supported Emacs
+versions.
+
+--- magit-1.2.0-orig/magit.el
++++ magit-1.2.0/magit.el
+@@ -775,21 +775,7 @@
+ after-change-functions)
+ ,@body)))))
+
+- (if (>= (magit-max-args-internal 'delete-directory) 2)
+- (defalias 'magit-delete-directory 'delete-directory)
+- (defun magit-delete-directory (directory &optional recursive)
+- "Deletes a directory named DIRECTORY. If RECURSIVE is non-nil,
+-recursively delete all of DIRECTORY's contents as well.
+-
+-Does not follow symlinks."
+- (if (or (file-symlink-p directory)
+- (not (file-directory-p directory)))
+- (delete-file directory)
+- (if recursive
+- ;; `directory-files-no-dot-files-regex' borrowed from Emacs 23
+- (dolist (file (directory-files directory 'full "\\([^.]\\|\\.\\([^.]\\|\\..\\)\\).*"))
+- (magit-delete-directory file recursive)))
+- (delete-directory directory)))))
++ (defalias 'magit-delete-directory 'delete-directory))
+
+ ;;; Utilities
+
diff --git a/app-emacs/magit/magit-1.2.0-r1.ebuild b/app-emacs/magit/magit-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..4ac01155dfad
--- /dev/null
+++ b/app-emacs/magit/magit-1.2.0-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs mode for GIT"
+HOMEPAGE="http://magit.github.io/"
+SRC_URI="http://github.com/downloads/magit/magit/${P}.tar.gz"
+
+LICENSE="GPL-3+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE="contrib"
+
+ELISP_PATCHES="${P}-delete-directory.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+RESTRICT="test"
+
+src_compile() {
+ # The upstream build system ignores errors during byte-compilation
+ # and happily installs broken files, causing errors at runtime.
+ # Call elisp-compile, in order to catch them here already.
+ elisp-compile *.el
+ emake core docs
+ use contrib && emake contrib
+ rm 50magit.el magit-pkg.el || die
+}
+
+src_install() {
+ elisp-install ${PN} *.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ doinfo magit.info
+ dodoc README.md
+
+ if use contrib; then
+ elisp-install ${PN} contrib/*.{el,elc} || die
+ dobin contrib/magit
+ fi
+}
diff --git a/app-emacs/magit/magit-1.2.2.ebuild b/app-emacs/magit/magit-1.2.2.ebuild
new file mode 100644
index 000000000000..b70c3e9f4981
--- /dev/null
+++ b/app-emacs/magit/magit-1.2.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs mode for GIT"
+HOMEPAGE="http://magit.github.io/"
+SRC_URI="https://github.com/magit/magit/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE="contrib"
+RESTRICT="test"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ # The upstream build system ignores errors during byte-compilation
+ # and happily installs broken files, causing errors at runtime.
+ # Call elisp-compile, in order to catch them here already.
+ elisp-compile *.el
+ emake core docs
+ use contrib && emake contrib
+ rm 50magit.el magit-pkg.el || die
+}
+
+src_install() {
+ elisp-install ${PN} *.{el,elc}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ doinfo magit.info
+ dodoc README.md
+
+ if use contrib; then
+ elisp-install ${PN} contrib/*.{el,elc}
+ dobin contrib/magit
+ fi
+}
diff --git a/app-emacs/magit/metadata.xml b/app-emacs/magit/metadata.xml
new file mode 100644
index 000000000000..b95826009842
--- /dev/null
+++ b/app-emacs/magit/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ Magit is an interface to the version control system Git, implemented as an
+ extension to Emacs.
+
+ With Magit, you can inspect and modify your Git repositories with Emacs.
+ You can review and commit the changes you have made to the tracked files,
+ for example, and you can browse the history of past changes. There is
+ support for cherry picking, reverting, merging, rebasing, and other common
+ Git operations.
+</longdescription>
+<use>
+ <flag name="contrib">Install user-contributed files</flag>
+</use>
+<upstream>
+ <remote-id type="github">magit/magit</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/mailcrypt/Manifest b/app-emacs/mailcrypt/Manifest
new file mode 100644
index 000000000000..233b6fd9c831
--- /dev/null
+++ b/app-emacs/mailcrypt/Manifest
@@ -0,0 +1 @@
+DIST mailcrypt-3.5.9.tar.gz 172073 SHA256 a195e1e56db44519945861900c6a11c787fc28482d939d5a7564a0f0b900e054 SHA512 df6524ecc42d4c7bdddb34439186690192bc4091a1965e405223106fc71047c33e4bbbd571b030c326efec46961ba0aefd018ff1205d230dc74c34daf93ba079 WHIRLPOOL 19e7cceb7e1cc400e53165f21355ab501e0712f9d3da23cc81569a440bf20ef0d423ffbc7a5f4a9a00271fc3bccae2a322bbdf89a717aae55dea38a071865d5b
diff --git a/app-emacs/mailcrypt/files/50mailcrypt-gentoo.el b/app-emacs/mailcrypt/files/50mailcrypt-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/mailcrypt/files/50mailcrypt-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/mailcrypt/mailcrypt-3.5.9.ebuild b/app-emacs/mailcrypt/mailcrypt-3.5.9.ebuild
new file mode 100644
index 000000000000..6892efcf44c5
--- /dev/null
+++ b/app-emacs/mailcrypt/mailcrypt-3.5.9.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp autotools
+
+DESCRIPTION="Provides a simple interface to public key cryptography with OpenPGP"
+HOMEPAGE="http://mailcrypt.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mailcrypt/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+RESTRICT="test"
+
+RDEPEND="app-crypt/gnupg"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ export EMACS=/usr/bin/emacs
+ econf
+}
+
+src_install() {
+ emake \
+ lispdir="${D}${SITELISP}/${PN}" \
+ infodir="${D}/usr/share/info" \
+ install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc ANNOUNCE ChangeLog* INSTALL LCD-entry NEWS ONEWS README*
+
+ DOC_CONTENTS="See the INSTALL file in /usr/share/doc/${PF} for how
+ to customize mailcrypt."
+ readme.gentoo_create_doc
+}
diff --git a/app-emacs/mailcrypt/metadata.xml b/app-emacs/mailcrypt/metadata.xml
new file mode 100644
index 000000000000..d6d654a5d70b
--- /dev/null
+++ b/app-emacs/mailcrypt/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="sourceforge">mailcrypt</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/markdown-mode/Manifest b/app-emacs/markdown-mode/Manifest
new file mode 100644
index 000000000000..1a40b451753f
--- /dev/null
+++ b/app-emacs/markdown-mode/Manifest
@@ -0,0 +1,2 @@
+DIST markdown-mode-1.8.1.el.xz 18152 SHA256 865d83162cfb39ee06a2e46b3d586e71d144d360e8f2f1cdf72bdb5923ededc0 SHA512 1e679a409fa5a7f6f622e4a554d74ea1820ba1e82eb77d3ce6b33d5494350232a2b165c9f002a076d4ce97138584381938d5c2ccac4161131ffba82da5091946 WHIRLPOOL b8b05f9b8ffa1db6c20fda46e6058fb7b05ba64f9bd921ae310d274c4be0887c29ab180cbd984c1ea21020be4e8af619a91e4a8c0a8a33d280298ba9cfbec162
+DIST markdown-mode-2.0.el.xz 39508 SHA256 a24f06f4aa2f1d4847e045a54c25c73f503ed89c0f8954b934b2b6c658357819 SHA512 eaad1561c5a84f47cd07318f0c80454d28a59becc0372453ec1412511879335a5717d1531895fe969c5d2fe7a4aac5a9e55ee727dcee621ba203737ca9182f3d WHIRLPOOL 14d15b9ad20c1f857e99056fbfd5c2305a7ba579a8210a73d10806589e201e5e881a33b49ea31277fe354c2bb8cdab090811c8c27aca64811248596927c82994
diff --git a/app-emacs/markdown-mode/files/50markdown-mode-gentoo.el b/app-emacs/markdown-mode/files/50markdown-mode-gentoo.el
new file mode 100644
index 000000000000..6a83e601b026
--- /dev/null
+++ b/app-emacs/markdown-mode/files/50markdown-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'markdown-mode "markdown-mode"
+ "Major mode for editing Markdown files" t)
diff --git a/app-emacs/markdown-mode/markdown-mode-1.8.1-r1.ebuild b/app-emacs/markdown-mode/markdown-mode-1.8.1-r1.ebuild
new file mode 100644
index 000000000000..1e3fa474636e
--- /dev/null
+++ b/app-emacs/markdown-mode/markdown-mode-1.8.1-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Major mode for editing Markdown-formatted text files"
+HOMEPAGE="http://jblevins.org/projects/markdown-mode/"
+# Cannot use this url because its hash differ about every five minutes
+# SRC_URI="http://jblevins.org/git/markdown-mode.git/snapshot/${P}.tar.gz"
+SRC_URI="mirror://gentoo/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/xz-utils"
+RDEPEND="|| ( dev-python/markdown2 dev-python/markdown )"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/markdown-mode/markdown-mode-2.0.ebuild b/app-emacs/markdown-mode/markdown-mode-2.0.ebuild
new file mode 100644
index 000000000000..b95411c021d3
--- /dev/null
+++ b/app-emacs/markdown-mode/markdown-mode-2.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Major mode for editing Markdown-formatted text files"
+HOMEPAGE="http://jblevins.org/projects/markdown-mode/"
+# Cannot use this url because its hash differ about every five minutes
+# SRC_URI="http://jblevins.org/git/${PN}.git/snapshot/${P}.tar.gz"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="|| ( dev-python/markdown2 dev-python/markdown )"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/markdown-mode/metadata.xml b/app-emacs/markdown-mode/metadata.xml
new file mode 100644
index 000000000000..dea4fc9df66e
--- /dev/null
+++ b/app-emacs/markdown-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<maintainer>
+ <email>naota@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-emacs/matlab/Manifest b/app-emacs/matlab/Manifest
new file mode 100644
index 000000000000..332d327514c7
--- /dev/null
+++ b/app-emacs/matlab/Manifest
@@ -0,0 +1 @@
+DIST matlab-3.3.2_pre20130829.tar.xz 92784 SHA256 6165769a41597ae0469efbaf476f5e5ec395ccabbaeb2ba7ada3627d0a3de7da SHA512 b549314f71dd876453c395268a0ec1fca8d68ba8ae074ef45d0fb430afbbd6a45bc30a45bdd64be83dd44a0114d7f4ec8ca2f9acb250337fbdc407691d0a2c00 WHIRLPOOL 691d9291358884c99b5fc8502fffcd4d17a4ca4082493591b4dd72bbfffd07c79ca195e339ef5008d3b8b3878e441aa36b3857af23aa1b81f4c9e9f851de0c56
diff --git a/app-emacs/matlab/files/50matlab-gentoo.el b/app-emacs/matlab/files/50matlab-gentoo.el
new file mode 100644
index 000000000000..f15e838a2985
--- /dev/null
+++ b/app-emacs/matlab/files/50matlab-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'matlab-load)
diff --git a/app-emacs/matlab/matlab-3.3.2_pre20130829.ebuild b/app-emacs/matlab/matlab-3.3.2_pre20130829.ebuild
new file mode 100644
index 000000000000..fd9746155adc
--- /dev/null
+++ b/app-emacs/matlab/matlab-3.3.2_pre20130829.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Major modes for MATLAB .m and .tlc files"
+HOMEPAGE="http://matlab-emacs.sourceforge.net/"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
+
+S="${WORKDIR}/matlab-emacs"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README INSTALL ChangeLog*"
diff --git a/app-emacs/matlab/metadata.xml b/app-emacs/matlab/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/matlab/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/mcomplete/Manifest b/app-emacs/mcomplete/Manifest
new file mode 100644
index 000000000000..d904e74cbb12
--- /dev/null
+++ b/app-emacs/mcomplete/Manifest
@@ -0,0 +1,2 @@
+DIST mcomplete-1.10.el.xz 10780 SHA256 ba2a047e1c91b35301ae111e6a9e9b21b6fd6a60bda44fc177cda29c0de1e1a4 SHA512 c6ee7a56b63e10769cc2f30a7dcd0a3f085f996adee5944bffdf633b91118dea5e1e5360fde2f556041526133b71d1722d558f951286721a9a691c4f25d9fd17 WHIRLPOOL b7d791f76a5bc465865d337312c4b0512ea0cf74a6a87a9c1162b1b294993189c9ee9e7f2a3133df0ded49df201088795b3f5d08e0a6cc2bb1a1a37ddd4fa7b0
+DIST mcomplete-1.5.el.bz2 10740 SHA256 7702dec75fcc38ea22177d76c1fedf1f69a19439388b52ed25357d14012d0bf7 SHA512 becbf01cee4b8afcb4669eaa1326cf131a298164fd3953bf9257c06bbd0b1089cbb13f26b68bfff48b208fd7111e1f12703f875ed297a20a95ddf8a8c4f029ce WHIRLPOOL 4f4623f1d448ee8404ef065c9accc7d00d26f67c48dbd6aa24bc11b15f1311ba437360e98bd7588a3e614adfa24ce6432aa99ecae611847e2754d086b577c4e7
diff --git a/app-emacs/mcomplete/files/50mcomplete-gentoo.el b/app-emacs/mcomplete/files/50mcomplete-gentoo.el
new file mode 100644
index 000000000000..c9786b6b93cd
--- /dev/null
+++ b/app-emacs/mcomplete/files/50mcomplete-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'mcomplete-mode "mcomplete"
+ "Toggle minibuffer completion with prefix and substring matching." t)
+(autoload 'turn-on-mcomplete-mode "mcomplete"
+ "Turn on minibuffer completion with prefix and substring matching." t)
+(autoload 'turn-off-mcomplete-mode "mcomplete"
+ "Turn off minibuffer completion with prefix and substring matching." t)
diff --git a/app-emacs/mcomplete/mcomplete-1.10.ebuild b/app-emacs/mcomplete/mcomplete-1.10.ebuild
new file mode 100644
index 000000000000..879f3baf9fc1
--- /dev/null
+++ b/app-emacs/mcomplete/mcomplete-1.10.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An improved interface to minibuffer completion"
+HOMEPAGE="http://homepage1.nifty.com/bmonkey/emacs/index-en.html
+ http://www.emacswiki.org/emacs/McompleteMode"
+# taken from http://homepage1.nifty.com/bmonkey/emacs/elisp/mcomplete.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/mcomplete/mcomplete-1.5-r1.ebuild b/app-emacs/mcomplete/mcomplete-1.5-r1.ebuild
new file mode 100644
index 000000000000..b4f926b91ecd
--- /dev/null
+++ b/app-emacs/mcomplete/mcomplete-1.5-r1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An improved interface to minibuffer completion"
+HOMEPAGE="http://homepage1.nifty.com/bmonkey/emacs/index-en.html
+ http://www.emacswiki.org/emacs/McompleteMode"
+# taken from http://homepage1.nifty.com/bmonkey/emacs/elisp/mcomplete.el
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/mcomplete/metadata.xml b/app-emacs/mcomplete/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/mcomplete/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/mediawiki/Manifest b/app-emacs/mediawiki/Manifest
new file mode 100644
index 000000000000..d515f4fce00d
--- /dev/null
+++ b/app-emacs/mediawiki/Manifest
@@ -0,0 +1 @@
+DIST mediawiki-2.2.4.1.el.xz 19108 SHA256 142156428be0dc851e0d25771fe519574013ad55a9aefc1d9eeb410c7a1f64cf SHA512 4526c04c560679196900310c90d6321ab10a447ff4f904b0bc40bfc56296c3a773cc8fe7d4001cdfc108e9e11ce3ca4dd6677e51b220eb3b453a1b975118f52c WHIRLPOOL 058fb322d90dae325ad0300cba8cb173a5c749dff23bca160f69f502e748b7b410299510f69abdbdd215b90def555f048e3eb072975ecc5ac6d614d055b274e6
diff --git a/app-emacs/mediawiki/files/50mediawiki-gentoo.el b/app-emacs/mediawiki/files/50mediawiki-gentoo.el
new file mode 100644
index 000000000000..25acf753f365
--- /dev/null
+++ b/app-emacs/mediawiki/files/50mediawiki-gentoo.el
@@ -0,0 +1,10 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'mediawiki-open "mediawiki"
+ "Open a wiki page specified by NAME from the mediawiki engine" t)
+(autoload 'mediawiki-site "mediawiki"
+ "Set up mediawiki.el for a site." t)
+(eval-after-load "mediawiki"
+ '(add-to-list 'mediawiki-site-alist
+ '("Gentoo" "http://wiki.gentoo.org/" "" "" "Main Page")
+ nil
+ (lambda (a b) (equal (car a) (car b)))))
diff --git a/app-emacs/mediawiki/mediawiki-2.2.4.1.ebuild b/app-emacs/mediawiki/mediawiki-2.2.4.1.ebuild
new file mode 100644
index 000000000000..379036442ca0
--- /dev/null
+++ b/app-emacs/mediawiki/mediawiki-2.2.4.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="MediaWiki client for Emacs"
+HOMEPAGE="https://launchpad.net/mediawiki-el"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/mediawiki/metadata.xml b/app-emacs/mediawiki/metadata.xml
new file mode 100644
index 000000000000..c6470844bc55
--- /dev/null
+++ b/app-emacs/mediawiki/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="launchpad">mediawiki-el</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/metadata.xml b/app-emacs/metadata.xml
new file mode 100644
index 000000000000..f19199dfdedd
--- /dev/null
+++ b/app-emacs/metadata.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The app-emacs category contains extension packages for the Emacs text
+ editor.
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie app-emacs enthält Pakete für den Texteditor Emacs.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría app-emacs contiene paquetes de extensión para el editor
+ de texto Emacs.
+ </longdescription>
+ <longdescription lang="ja">
+ app-emacsカテゴリにはEmacsテキストエディタに関連した
+ 拡張パッケージが含まれます。
+ </longdescription>
+ <longdescription lang="nl">
+ De app-emacs categorie bevat extensies voor Emacs.
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm app-emacs chứa các gói mở rộng cho trình soạn
+ thảo văn bản Emacs.
+ </longdescription>
+ <longdescription lang="it">
+ La categoria app-emacs contiene pacchetti di estensioni per l'editor di testo Emacs.
+ </longdescription>
+ <longdescription lang="pt">
+ A categoria app-emacs contém pacotes de extensão para o editor de
+ texto Emacs.
+ </longdescription>
+ <longdescription lang="pl">
+ Kategoria app-emacs zawiera pakiety związane z edytorem tekstu Emacs.
+ </longdescription>
+</catmetadata>
diff --git a/app-emacs/mew/Manifest b/app-emacs/mew/Manifest
new file mode 100644
index 000000000000..6dcc2f4ee18c
--- /dev/null
+++ b/app-emacs/mew/Manifest
@@ -0,0 +1,2 @@
+DIST mew-6.5.tar.gz 1026322 SHA256 f198b35c2a4cc1c082aaad8f6ccede80ed93d559aed0f66ee2c00c05f8394128 SHA512 481c55915e57889e7b8c6d27c3d21802b624a886eb8f6541c2997db4d5328e16c3b5a8c9a9ce09637b1779b8c52af86a8662ee30dfbab0a411a586d4679ac69e WHIRLPOOL 218fc42969fa4581c9fb43a9a1c65c67d83faf3ebced8ccd1e95c9b43a542753623cfebd14e042e2a21c29b8eca7bee930b306b9919fca6d249901def54bd5b5
+DIST mew-6.6.tar.gz 989941 SHA256 20c879d8488620ac77144c3259fd19cebae0b63404856e426a7e8895d2f9c1e4 SHA512 55a91faaba09a28dfe7da33d34a8c3638540db71a3572ce01646976fbdd0ac3e327475ccc2908876ee6f516c6ee60082a27413b210c4591ef12cc4f878a07472 WHIRLPOOL f07a626bfa32cc9885352eca83769c343ebe539ee6e23863018e04316e14b8c2e209c09b274af7937e3023d604698720df5ae6b57e363f0d09cbeca9246ccf3c
diff --git a/app-emacs/mew/files/50mew-gentoo.el b/app-emacs/mew/files/50mew-gentoo.el
new file mode 100644
index 000000000000..1f36f8e08d93
--- /dev/null
+++ b/app-emacs/mew/files/50mew-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'mew "mew" nil t)
+(autoload 'mew-send "mew" nil t)
+
+(setq mew-icon-directory "@SITEETC@")
+(setq mew-pop-port "pop-3")
+(setq mew-imap-port "imap2")
diff --git a/app-emacs/mew/metadata.xml b/app-emacs/mew/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/mew/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/mew/mew-6.5.ebuild b/app-emacs/mew/mew-6.5.ebuild
new file mode 100644
index 000000000000..f35b547f248b
--- /dev/null
+++ b/app-emacs/mew/mew-6.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Great MIME mail reader for Emacs/XEmacs"
+HOMEPAGE="http://www.mew.org/"
+SRC_URI="http://www.mew.org/Release/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="ssl linguas_ja"
+RESTRICT="test"
+
+DEPEND="sys-libs/zlib"
+RDEPEND="${DEPEND}
+ ssl? ( net-misc/stunnel )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf \
+ --with-elispdir="${SITELISP}/${PN}" \
+ --with-etcdir="${SITEETC}/${PN}"
+}
+
+src_compile() {
+ emake
+ use linguas_ja && emake jinfo
+ rm -f info/*~ # remove spurious backup files
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ use linguas_ja && emake DESTDIR="${D}" install-jinfo
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ dodoc 00api 00changes* 00diff 00readme dot.*
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "Please refer to /usr/share/doc/${PF} for sample configuration files."
+}
diff --git a/app-emacs/mew/mew-6.6.ebuild b/app-emacs/mew/mew-6.6.ebuild
new file mode 100644
index 000000000000..0d22c63e7bca
--- /dev/null
+++ b/app-emacs/mew/mew-6.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Great MIME mail reader for Emacs/XEmacs"
+HOMEPAGE="http://www.mew.org/"
+SRC_URI="http://www.mew.org/Release/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="ssl linguas_ja"
+RESTRICT="test"
+
+DEPEND="sys-libs/zlib"
+RDEPEND="${DEPEND}
+ ssl? ( net-misc/stunnel )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf \
+ --with-elispdir="${SITELISP}/${PN}" \
+ --with-etcdir="${SITEETC}/${PN}"
+}
+
+src_compile() {
+ emake
+ use linguas_ja && emake jinfo
+ rm -f info/*~ # remove spurious backup files
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ use linguas_ja && emake DESTDIR="${D}" install-jinfo
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc 00api 00changes* 00diff 00readme dot.*
+
+ DOC_CONTENTS="Please refer to /usr/share/doc/${PF} for sample
+ configuration files."
+ readme.gentoo_create_doc
+}
diff --git a/app-emacs/mic-paren/Manifest b/app-emacs/mic-paren/Manifest
new file mode 100644
index 000000000000..308f265b6033
--- /dev/null
+++ b/app-emacs/mic-paren/Manifest
@@ -0,0 +1 @@
+DIST mic-paren-3.11.el.xz 13992 SHA256 f70756d031a7645fe70fac7fa60e365f47f8e7e59f1b4d8f1826d3295b4d2b74 SHA512 ac896c425330935c0d6ae86eb65232c8fb6c463f6cf259c4bfd79023c3e25243d6b998e9f0ea5393ef1491ab0bf1d6fe5dd33278fec93ec3231603bb6e910b77 WHIRLPOOL 29cec9587f9823a9fd11668f2a2dd06fc23a60e10815a1018c7c73f13e50040d59c8dc22bf9e9db805ccc31f22b6cd4ac279d022b363b3b9c0e69b5f6c1fc2c5
diff --git a/app-emacs/mic-paren/files/50mic-paren-gentoo.el b/app-emacs/mic-paren/files/50mic-paren-gentoo.el
new file mode 100644
index 000000000000..f94136de0545
--- /dev/null
+++ b/app-emacs/mic-paren/files/50mic-paren-gentoo.el
@@ -0,0 +1,10 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'paren-activate "mic-paren"
+ "Activates mic-paren parenthesis highlighting." t)
+(autoload 'paren-deactivate "mic-paren"
+ "Deactivates mic-paren parenthesis highlighting" t)
+(autoload 'paren-toggle-matching-paired-delimiter "mic-paren" nil t)
+(autoload 'paren-toggle-matching-quoted-paren "mic-paren" nil t)
+(autoload 'paren-toggle-open-paren-context "mic-paren" nil t)
+(autoload 'paren-forward-sexp "mic-paren" nil t)
+(autoload 'paren-backward-sexp "mic-paren" nil t)
diff --git a/app-emacs/mic-paren/metadata.xml b/app-emacs/mic-paren/metadata.xml
new file mode 100644
index 000000000000..7afdcc0fc87b
--- /dev/null
+++ b/app-emacs/mic-paren/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ Load this file, activate it and Emacs will display highlighting on whatever
+ parenthesis (and paired delimiter if you like this) matches the one before
+ or after point. This is an extension to the paren.el file distributed with
+ Emacs. The default behaviour is similar to paren.el but more sophisticated.
+ Normally you can try all default settings to enjoy mic-paren.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/mic-paren/mic-paren-3.11.ebuild b/app-emacs/mic-paren/mic-paren-3.11.ebuild
new file mode 100644
index 000000000000..e1c5da3b54ec
--- /dev/null
+++ b/app-emacs/mic-paren/mic-paren-3.11.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Advanced highlighting of matching parentheses"
+HOMEPAGE="http://www.gnuvola.org/software/j/mic-paren/
+ http://www.emacswiki.org/emacs/MicParen"
+# taken from http://www.gnuvola.org/software/j/mic-paren/mic-paren.el
+SRC_URI="mirror://gentoo/${P}.el.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/mldonkey/Manifest b/app-emacs/mldonkey/Manifest
new file mode 100644
index 000000000000..cfcbf3942b18
--- /dev/null
+++ b/app-emacs/mldonkey/Manifest
@@ -0,0 +1 @@
+DIST mldonkey-el-0.0.4b.tar.gz 17442 SHA256 5b14873c45c13bd4da553457798cdd7e552fb00dcba880343a958e63823d3f06 SHA512 3c6a16292968e0f40d319614bfd2a53c9612ec4121c5720f51498d8983f6b944c38fc1d664f1c7ebe1d68653ba62d828fa00092b1a1d278547c225b33f4e740b WHIRLPOOL 07e14a910a6748f2e0faea78aca80ea95758fa598a01317074208dbec60b7c2d262eb2771f1b3764ebb557ed4fcd76446d93de0bed4b45e5952a27822991f857
diff --git a/app-emacs/mldonkey/files/50mldonkey-gentoo.el b/app-emacs/mldonkey/files/50mldonkey-gentoo.el
new file mode 100644
index 000000000000..c3bb77b43aaa
--- /dev/null
+++ b/app-emacs/mldonkey/files/50mldonkey-gentoo.el
@@ -0,0 +1,18 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'mldonkey "mldonkey" "Run the MlDonkey interface." t)
+
+(setq mldonkey-vd-filename-filters
+ '(mldonkey-vd-filename-remove-p20
+ mldonkey-vd-filename-remove-trailing-ws))
+
+(setq mldonkey-vd-sort-functions
+ '((not mldonkey-vd-sort-dl-state)
+ (not mldonkey-vd-sort-dl-percent)))
+
+(setq mldonkey-vd-sort-fin-functions
+ '(mldonkey-vd-sort-dl-number))
+
+(add-hook 'mldonkey-pause-hook 'mldonkey-vd)
+(add-hook 'mldonkey-resume-hook 'mldonkey-vd)
+(add-hook 'mldonkey-commit-hook 'mldonkey-vd)
+(add-hook 'mldonkey-recover-temp-hook 'mldonkey-vd)
diff --git a/app-emacs/mldonkey/files/mldonkey-0.0.4b-vd.patch b/app-emacs/mldonkey/files/mldonkey-0.0.4b-vd.patch
new file mode 100644
index 000000000000..a763643f78b2
--- /dev/null
+++ b/app-emacs/mldonkey/files/mldonkey-0.0.4b-vd.patch
@@ -0,0 +1,121 @@
+Patch by Peter Salvi <vukung@yahoo.com> to conform to MLDonkey 2.9.2,
+taken from http://www.emacswiki.org/cgi-bin/wiki/download/mldonkey-vd.patch.gz
+and ported to mldonkey-0.0.4b
+
+--- mldonkey-el-0.0.4b-orig/mldonkey-vd.el 2005-01-15 20:54:53.000000000 +0100
++++ mldonkey-el-0.0.4b/mldonkey-vd.el 2008-01-03 10:53:18.000000000 +0100
+@@ -107,6 +107,26 @@
+ :group 'mldonkey
+ :type 'boolean)
+
++(defcustom mldonkey-show-release-status nil
++ "Show the release status of a download."
++ :group 'mldonkey
++ :type 'boolean)
++
++(defcustom mldonkey-show-comments nil
++ "Show the number of comments in a download."
++ :group 'mldonkey
++ :type 'boolean)
++
++(defcustom mldonkey-show-user nil
++ "Show the user of a download."
++ :group 'mldonkey
++ :type 'boolean)
++
++(defcustom mldonkey-show-group nil
++ "Show the group of a download."
++ :group 'mldonkey
++ :type 'boolean)
++
+ (defcustom mldonkey-show-filename t
+ "Show the filename of a download."
+ :group 'mldonkey
+@@ -275,6 +295,14 @@
+ ;; FIXME: does a network may contain spaces?
+ "\\[\\(.*?\\)[ \t]*\\([0-9]+\\)\\]" ; network and number
+ "[ \t]+"
++ "\\(R\\|\\-\\)" ; release status
++ "[ \t]+"
++ "\\([0-9]+\\)" ; comments
++ "[ \t]+"
++ "\\([^ \t]+\\)" ; user
++ "[ \t]+"
++ "\\([^ \t]+\\)" ; group
++ "[ \t]+"
+ "\\([^\n]+\\)" ; filename
+ "[ \t]+"
+ "\\([0-9\\.]+\\)" ; percent
+@@ -283,10 +311,9 @@
+ "[ \t]+"
+ "\\([0-9\\.]+\\(?:gb\\|mb\\|kb\\|b\\)\\)" ; size
+ "[ \t]+"
+- ;; "\\([0-9\\.]+\\(?:gb\\|mb\\|kb\\|b\\|[ \t]*chunks\\)\\)" ; left
+- "\\([0-9]+%\\)" ; avail
++ "\\([0-9:\\-]+\\)" ; last seen
+ "[ \t]+"
+- "\\([0-9]+\\):\\([0-9\\-]+\\)" ; age and last seen
++ "\\([0-9:\\-]+\\)" ; age
+ "[ \t]+"
+ "\\([0-9]+\\)/\\([0-9]+\\)" ; active sources and total sources
+ "[ \t]+"
+@@ -454,7 +481,7 @@
+ (setq mldonkey-vd-num-downloading (1+ mldonkey-vd-num-downloading))
+ (add-to-list
+ 'mldonkey-vd-downloading-list
+- (vconcat (mapcar 'mldonkey-vd-get-match (number-sequence 1 13))))))
++ (vconcat (mapcar 'mldonkey-vd-get-match (number-sequence 1 16))))))
+
+
+ (defun mldonkey-vd-get-finished ()
+@@ -523,13 +550,16 @@
+
+ (vector "net "
+ "# "
++ "rel "
++ "com "
++ "user "
++ "gr "
+ "file "
+ "% "
+ "down "
+ "size "
+- "av "
+- "a "
+ "l "
++ "a "
+ "as "
+ "ts "
+ "kb/s "
+@@ -553,8 +583,11 @@
+
+ (vector 'right
+ 'right
+- 'left
++ 'right
+ 'right
++ 'left
++ 'left
++ 'left
+ 'right
+ 'right
+ 'right
+@@ -584,13 +617,16 @@
+
+ (vector mldonkey-show-network
+ mldonkey-show-number
++ mldonkey-show-release-status
++ mldonkey-show-comments
++ mldonkey-show-user
++ mldonkey-show-group
+ mldonkey-show-filename
+ mldonkey-show-percent
+ mldonkey-show-downloaded
+ mldonkey-show-size
+- mldonkey-show-avail
+- mldonkey-show-days
+ mldonkey-show-last-seen
++ mldonkey-show-days
+ mldonkey-show-active-sources
+ mldonkey-show-total-sources
+ mldonkey-show-rate
diff --git a/app-emacs/mldonkey/metadata.xml b/app-emacs/mldonkey/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/mldonkey/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild b/app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild
new file mode 100644
index 000000000000..f60d7f90c5fa
--- /dev/null
+++ b/app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+MY_P="${PN}-el-${PV}"
+DESCRIPTION="An Emacs Lisp interface to the MLDonkey core"
+HOMEPAGE="http://www.emacswiki.org/emacs/MlDonkey
+ http://web.archive.org/web/20070107165326/www.physik.fu-berlin.de/~dhansen/mldonkey/"
+SRC_URI="http://www.physik.fu-berlin.de/%7Edhansen/mldonkey/files/${MY_P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+S="${WORKDIR}/${MY_P}"
+ELISP_PATCHES="${P}-vd.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ elisp-compile ml*.el
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ ewarn
+ ewarn "If your network gets really slow when you use mldonkey,"
+ ewarn "consider reducing the max number of connections. See bug #50510."
+ ewarn
+ elog "Remember to install net-p2p/mldonkey separately if you want to work"
+ elog "with a local instance."
+}
diff --git a/app-emacs/mmm-mode/Manifest b/app-emacs/mmm-mode/Manifest
new file mode 100644
index 000000000000..37ad52cd593d
--- /dev/null
+++ b/app-emacs/mmm-mode/Manifest
@@ -0,0 +1 @@
+DIST mmm-mode-0.5.1.tar.gz 247841 SHA256 d0b4bfc9b30bd089e58bd513664f604b0e2614b4056f2f44bd356868d53b10eb SHA512 83fad0abe26af7627fa7416fca5936bb8347a00c5428537b767c98201af137f2d62eceaca09cb9e7572edc9a93c5ea6ceca422e55984d4bcd5f69ec060c2ffee WHIRLPOOL 28a81aea21756fb3efc1cd4b591e109aaed69ddc86f42c5c5604150105c558810b12130c4acab523dae480622ee6e6ee5fd70812771213341d6b3286ca6eb3d1
diff --git a/app-emacs/mmm-mode/files/50mmm-mode-gentoo.el b/app-emacs/mmm-mode/files/50mmm-mode-gentoo.el
new file mode 100644
index 000000000000..b7f251ef9c08
--- /dev/null
+++ b/app-emacs/mmm-mode/files/50mmm-mode-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'mmm-auto)
diff --git a/app-emacs/mmm-mode/metadata.xml b/app-emacs/mmm-mode/metadata.xml
new file mode 100644
index 000000000000..54383fbb14fc
--- /dev/null
+++ b/app-emacs/mmm-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="sourceforge">mmm-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/mmm-mode/mmm-mode-0.5.1.ebuild b/app-emacs/mmm-mode/mmm-mode-0.5.1.ebuild
new file mode 100644
index 000000000000..1c01b6f927f3
--- /dev/null
+++ b/app-emacs/mmm-mode/mmm-mode-0.5.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Enables the user to edit different parts of a file in different major modes"
+HOMEPAGE="http://mmm-mode.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf --with-emacs
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ doinfo *.info*
+ dodoc AUTHORS ChangeLog FAQ NEWS README README.Mason TODO
+}
diff --git a/app-emacs/moccur-edit/Manifest b/app-emacs/moccur-edit/Manifest
new file mode 100644
index 000000000000..d082870ff2a6
--- /dev/null
+++ b/app-emacs/moccur-edit/Manifest
@@ -0,0 +1 @@
+DIST moccur-edit-2.16.el.bz2 4325 SHA256 326edfe22835854ee949622822d7a212d04f075e757b5885b3f3fc399a03946e SHA512 dcb6e2a6336534bf475790c5b80fc86ef8a6ee6d7525a7c45a0050e0f9df3d5d4fdc52151af7ff2ef5c72785affef151c488a12e6b6d723511303bb836d03025 WHIRLPOOL 73f3ab3e2a007859df7f8f103cebe6000025d849bf8c1d5fb41795ff988abd552c2a020af9f88e9babee27b1395a66f3f1eb8f56d58cc824938147785e95ffbb
diff --git a/app-emacs/moccur-edit/files/60moccur-edit-gentoo.el b/app-emacs/moccur-edit/files/60moccur-edit-gentoo.el
new file mode 100644
index 000000000000..7f1bc222e638
--- /dev/null
+++ b/app-emacs/moccur-edit/files/60moccur-edit-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(eval-after-load "color-moccur"
+ '(require 'moccur-edit))
diff --git a/app-emacs/moccur-edit/metadata.xml b/app-emacs/moccur-edit/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/moccur-edit/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/moccur-edit/moccur-edit-2.16.ebuild b/app-emacs/moccur-edit/moccur-edit-2.16.ebuild
new file mode 100644
index 000000000000..62230000355f
--- /dev/null
+++ b/app-emacs/moccur-edit/moccur-edit-2.16.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An improved interface to color-moccur for editing"
+HOMEPAGE="http://www.bookshelf.jp/
+ http://www.emacswiki.org/emacs/SearchBuffers"
+# taken from http://www.bookshelf.jp/elc/moccur-edit.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="app-emacs/color-moccur"
+DEPEND="${RDEPEND}"
+
+SITEFILE="60${PN}-gentoo.el"
diff --git a/app-emacs/mode-compile/Manifest b/app-emacs/mode-compile/Manifest
new file mode 100644
index 000000000000..35f72a72a54c
--- /dev/null
+++ b/app-emacs/mode-compile/Manifest
@@ -0,0 +1 @@
+DIST mode-compile-2.29.1.tar.gz 22924 SHA256 9c7dafa3a5c5706316a01071a2769beeecf228d0831fceb53d27d4e47c9d0421 SHA512 bc43d9cae411f5177ce70c736041db74c6db1dc5b766b22b92227e9e1324d304276bd104d8e3cac9ff5a877fc48b6da5b904e1acdb6cca7396fc7c26cc572815 WHIRLPOOL 3980e43e28438f5eefbd1d8e689cc18d9cc922857ec3e32b58c6aa6d056cc6798c2094b65de28705db6dfc95e493a06858a208c536f2c9d217027d47c4b311a9
diff --git a/app-emacs/mode-compile/files/50mode-compile-gentoo.el b/app-emacs/mode-compile/files/50mode-compile-gentoo.el
new file mode 100644
index 000000000000..d8dc2734d77a
--- /dev/null
+++ b/app-emacs/mode-compile/files/50mode-compile-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'mode-compile "mode-compile"
+ "Command to compile current buffer file based on the major mode" t)
+(autoload 'mode-compile-kill "mode-compile"
+ "Command to kill a compilation launched by `mode-compile'" t)
diff --git a/app-emacs/mode-compile/metadata.xml b/app-emacs/mode-compile/metadata.xml
new file mode 100644
index 000000000000..fd0567d9ae89
--- /dev/null
+++ b/app-emacs/mode-compile/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="github">emacsmirror/mode-compile</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/mode-compile/mode-compile-2.29.1.ebuild b/app-emacs/mode-compile/mode-compile-2.29.1.ebuild
new file mode 100644
index 000000000000..3ac3d8ab0220
--- /dev/null
+++ b/app-emacs/mode-compile/mode-compile-2.29.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Smart command for compiling files according to major-mode"
+HOMEPAGE="https://github.com/emacsmirror/mode-compile
+ http://www.emacswiki.org/emacs/ModeCompile"
+SRC_URI="https://github.com/emacsmirror/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/mpg123-el/Manifest b/app-emacs/mpg123-el/Manifest
new file mode 100644
index 000000000000..828aaaee9315
--- /dev/null
+++ b/app-emacs/mpg123-el/Manifest
@@ -0,0 +1,2 @@
+DIST mpg123-el-1.58.tar.bz2 34097 SHA256 efdd491329ba56096ad971bd5c2e2ceeea296fe8e26340d2370ae63bcdc33606 SHA512 53a67eb219acbeefeb8360a9d43279d2bb3efa48fa5df3787f2b7fad4f6b49402f319925bac3fc17ee1cad0dcbe38494c8162d4eb5e08261b2e505b40a66a987 WHIRLPOOL 83c8d660fd18d3faefff106c62127c0487c47824f9b53f157c27b127cd1dd624dad445217b99e5e3183ab02bf13fef3abdd077451ec8ce934c188fc356522181
+DIST mpg123-el-1.59.tar.xz 34076 SHA256 6105c3d11099a96cc5cb77909ca8d9e5ea4d5cb78b6a7ca185eb350425e075b4 SHA512 48fae024529be7b88553fc43fb626253f3d3a10d6709378a565a0d407374569e5573e52c0b26abc4d6f2f51ad7f680d655a1ac15ff696f4534c39a9a3536bc0e WHIRLPOOL 6434aa2368976698437c0a7ec12c126861c7f0096f4263f59b555b59c8d20377b5279ce09ceb99bb4b333318541126bb990009234cbd611ffdc2b91e980903f0
diff --git a/app-emacs/mpg123-el/files/50mpg123-el-gentoo.el b/app-emacs/mpg123-el/files/50mpg123-el-gentoo.el
new file mode 100644
index 000000000000..b65e6b16969d
--- /dev/null
+++ b/app-emacs/mpg123-el/files/50mpg123-el-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'mpg123 "mpg123" "A Front-end to mpg123" t)
+(setq id3*put-prog "tagput")
diff --git a/app-emacs/mpg123-el/metadata.xml b/app-emacs/mpg123-el/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/mpg123-el/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/mpg123-el/mpg123-el-1.58.ebuild b/app-emacs/mpg123-el/mpg123-el-1.58.ebuild
new file mode 100644
index 000000000000..164fa8207596
--- /dev/null
+++ b/app-emacs/mpg123-el/mpg123-el-1.58.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp toolchain-funcs
+
+DESCRIPTION="Emacs front-end to mpg123 audio player and OggVorbis audio player"
+HOMEPAGE="http://www.gentei.org/~yuuji/software/mpg123el/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="mpg123-el"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="vorbis"
+
+RDEPEND="media-sound/mpg123
+ media-sound/alsa-utils
+ vorbis? ( media-sound/vorbis-tools )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ sed -i -e "s/\(mainloop:\)/\1 ;/" tagput.c || die
+}
+
+src_compile() {
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o tagput tagput.c || die
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o id3put id3put.c || die
+ elisp-compile *.el || die
+}
+
+src_install() {
+ dobin tagput id3put
+ elisp-install ${PN} *.el *.elc || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+}
diff --git a/app-emacs/mpg123-el/mpg123-el-1.59.ebuild b/app-emacs/mpg123-el/mpg123-el-1.59.ebuild
new file mode 100644
index 000000000000..0db0a14b6af0
--- /dev/null
+++ b/app-emacs/mpg123-el/mpg123-el-1.59.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp toolchain-funcs
+
+DESCRIPTION="Emacs front-end to mpg123 audio player and OggVorbis audio player"
+HOMEPAGE="http://www.gentei.org/~yuuji/software/mpg123el/"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="mpg123-el"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="vorbis"
+
+RDEPEND="media-sound/mpg123
+ media-sound/alsa-utils
+ vorbis? ( media-sound/vorbis-tools )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ sed -i -e "s/\(mainloop:\)/\1 ;/" tagput.c || die
+}
+
+src_compile() {
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o tagput tagput.c || die
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o id3put id3put.c || die
+ elisp-compile *.el
+}
+
+src_install() {
+ dobin tagput id3put
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+}
diff --git a/app-emacs/mu-cite/Manifest b/app-emacs/mu-cite/Manifest
new file mode 100644
index 000000000000..30e22754150d
--- /dev/null
+++ b/app-emacs/mu-cite/Manifest
@@ -0,0 +1,2 @@
+DIST mu-cite-200709030413.tar.gz 19439 SHA256 17db5bff75e0f24b46b53c8c0e85d7b5063ce114372d9cdb4d4cc23600930985 SHA512 aee355abf8d77ca9ce6d5d2f00e5e8d9a1123b82bb15169bbbdf22c9447c37f1d200ffe1cd05abb61f1011c0d9731d3300d0e5bbf6f10ca6155c00a610a46703 WHIRLPOOL 88fd3f41083599613878ef3f13374da73274dfb3ebf93a4958c7b5978b8be77ea83217ed461052677636020dfc17b392ebfa4e259a2a92f915529db68e5242f8
+DIST mu-cite-201202272330.tar.gz 19212 SHA256 b16b066eed65b6f984d81a8df2ecb53fbd0ce68599f96c7ca3b279a4ad51292f SHA512 78013bed020c46baeecf56bcd155eb6058d11b1d61a0af55b075454601e3cd1a992bdad887e125ffd569782a38e4509d60efdc431ded501c35da096133b475b8 WHIRLPOOL 6605a3b4857b13bddd0847e1d39a03c9cf38dfdb5a8aedc13cc77faf7a5e3e2072d4b8158d91ad1c7cddc7530544bca4c45d4b85a5cc6d8ef978d01c09729822
diff --git a/app-emacs/mu-cite/files/50mu-cite-gentoo.el b/app-emacs/mu-cite/files/50mu-cite-gentoo.el
new file mode 100644
index 000000000000..d6cf435893d4
--- /dev/null
+++ b/app-emacs/mu-cite/files/50mu-cite-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'mu-cite-original "mu-cite" nil t)
+(add-hook 'mail-citation-hook (function mu-cite-original))
diff --git a/app-emacs/mu-cite/metadata.xml b/app-emacs/mu-cite/metadata.xml
new file mode 100644
index 000000000000..92d4e62095de
--- /dev/null
+++ b/app-emacs/mu-cite/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<herd>cjk</herd>
+</pkgmetadata>
diff --git a/app-emacs/mu-cite/mu-cite-8.1_p200709030413.ebuild b/app-emacs/mu-cite/mu-cite-8.1_p200709030413.ebuild
new file mode 100644
index 000000000000..f940ffbd2c5d
--- /dev/null
+++ b/app-emacs/mu-cite/mu-cite-8.1_p200709030413.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+MY_P="${PN}-${PV#*_p}"
+DESCRIPTION="Message citation utilities for emacsen"
+HOMEPAGE="http://www.jpl.org/elips/mu/"
+SRC_URI="http://www.jpl.org/elips/mu/snapshots/${MY_P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="app-emacs/apel
+ virtual/emacs-flim"
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS="ChangeLog NEWS README.en"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ emake EMACS=emacs
+}
diff --git a/app-emacs/mu-cite/mu-cite-8.1_p201202272330.ebuild b/app-emacs/mu-cite/mu-cite-8.1_p201202272330.ebuild
new file mode 100644
index 000000000000..f940ffbd2c5d
--- /dev/null
+++ b/app-emacs/mu-cite/mu-cite-8.1_p201202272330.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+MY_P="${PN}-${PV#*_p}"
+DESCRIPTION="Message citation utilities for emacsen"
+HOMEPAGE="http://www.jpl.org/elips/mu/"
+SRC_URI="http://www.jpl.org/elips/mu/snapshots/${MY_P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="app-emacs/apel
+ virtual/emacs-flim"
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS="ChangeLog NEWS README.en"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ emake EMACS=emacs
+}
diff --git a/app-emacs/multi-term/Manifest b/app-emacs/multi-term/Manifest
new file mode 100644
index 000000000000..42b05776065d
--- /dev/null
+++ b/app-emacs/multi-term/Manifest
@@ -0,0 +1 @@
+DIST multi-term-1.2.el.xz 7876 SHA256 8fbc1b1f08b4905eab33187d6a2eb82399308a98092f39eeb4f4c12849bce3b3 SHA512 4041c7fa61aa6840aaad67d13a3e73717c2f9cbb4df68c4ba450c454d65aa4f3b3da749c346d0b06ac1ccf0c43b52dde771335148e03f66bbc561d84ba452180 WHIRLPOOL 02beb9b6d64ea4bda1fcb1a40e0f994c4bc50f4e80ad1f9fc4a448f9da2e3f6efa82e6931447478d09cc2695e3f719a5119435f01ad0149131a17506b387fd25
diff --git a/app-emacs/multi-term/files/50multi-term-gentoo.el b/app-emacs/multi-term/files/50multi-term-gentoo.el
new file mode 100644
index 000000000000..0552079e24d9
--- /dev/null
+++ b/app-emacs/multi-term/files/50multi-term-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'multi-term "multi-term"
+ "Create new term buffer.
+Will prompt you shell name when you type `C-u' before this command." t)
+(autoload 'multi-term-dedicated-open "multi-term"
+ "Open dedicated `multi-term' window.
+Will prompt you shell name when you type `C-u' before this command." t)
diff --git a/app-emacs/multi-term/metadata.xml b/app-emacs/multi-term/metadata.xml
new file mode 100644
index 000000000000..df4301f0f4a7
--- /dev/null
+++ b/app-emacs/multi-term/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<maintainer>
+ <email>mjo@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-emacs/multi-term/multi-term-1.2.ebuild b/app-emacs/multi-term/multi-term-1.2.ebuild
new file mode 100644
index 000000000000..9b0ce4524ada
--- /dev/null
+++ b/app-emacs/multi-term/multi-term-1.2.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Manage multiple terminal buffers in Emacs"
+HOMEPAGE="http://www.emacswiki.org/emacs/MultiTerm"
+# Taken from http://www.emacswiki.org/emacs/download/${PN}.el
+SRC_URI="http://dev.gentoo.org/~mjo/distfiles/${P}.el.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/multiple-cursors/Manifest b/app-emacs/multiple-cursors/Manifest
new file mode 100644
index 000000000000..90e30a8206b4
--- /dev/null
+++ b/app-emacs/multiple-cursors/Manifest
@@ -0,0 +1 @@
+DIST multiple-cursors-1.3.0.tar.gz 25880 SHA256 0fba83ca60ce83758b5b2ae23ec6e14fb8d6ff50b02322e572bc317d9908d6d8 SHA512 2d321f9016b78aeb37507071756781c84b576a0fbefa385474c8c6287c989412b72b83dfdbe79bc0da1485893ea01952b6e0d392573386338db9e8728f722259 WHIRLPOOL b1f092ca3d75d5b223140f9faeed0b3c309336990a2c70492b2566198d453a0ea0bb89a1cd574fc33a5c88217628cf925a9baa2e9bb9e3c4aac8b89fda42397d
diff --git a/app-emacs/multiple-cursors/files/50multiple-cursors-gentoo.el b/app-emacs/multiple-cursors/files/50multiple-cursors-gentoo.el
new file mode 100644
index 000000000000..e35cdf096a56
--- /dev/null
+++ b/app-emacs/multiple-cursors/files/50multiple-cursors-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "multiple-cursors-autoloads" nil t)
diff --git a/app-emacs/multiple-cursors/metadata.xml b/app-emacs/multiple-cursors/metadata.xml
new file mode 100644
index 000000000000..3a7d30f6e618
--- /dev/null
+++ b/app-emacs/multiple-cursors/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="github">magnars/multiple-cursors.el</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/multiple-cursors/multiple-cursors-1.3.0.ebuild b/app-emacs/multiple-cursors/multiple-cursors-1.3.0.ebuild
new file mode 100644
index 000000000000..52168d9696b0
--- /dev/null
+++ b/app-emacs/multiple-cursors/multiple-cursors-1.3.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Multiple cursors for Emacs"
+HOMEPAGE="https://github.com/magnars/multiple-cursors.el"
+SRC_URI="https://github.com/magnars/${PN}.el/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/${PN}.el-${PV}"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README.md"
+
+src_compile() {
+ elisp-compile *.el
+ elisp-make-autoload-file
+}
diff --git a/app-emacs/muse/Manifest b/app-emacs/muse/Manifest
new file mode 100644
index 000000000000..52b66c40b0bd
--- /dev/null
+++ b/app-emacs/muse/Manifest
@@ -0,0 +1 @@
+DIST muse-3.20.tar.gz 411316 SHA256 080990e105050fc963bb1938209cc843f259488ae5c8373c5487f99a8dc383b6 SHA512 23cd0e864586f907418753bc3284afde51b4f8559c5d043c52baa70de70ec4a845d9e8362b93e701308dbbd662e3429035df8ad440916e61d5909498cd55f7be WHIRLPOOL 6840d3666925af91ddcc74e69f29216581f4207db9169fb8e39b38797ac9483711b42f8f12be083c8a818faf04f95dc4617b94d4f0eeb06e60d1efa34b7e1339
diff --git a/app-emacs/muse/files/50muse-gentoo.el b/app-emacs/muse/files/50muse-gentoo.el
new file mode 100644
index 000000000000..63bea6e9b3ed
--- /dev/null
+++ b/app-emacs/muse/files/50muse-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'muse-autoloads)
diff --git a/app-emacs/muse/metadata.xml b/app-emacs/muse/metadata.xml
new file mode 100644
index 000000000000..135da40f247e
--- /dev/null
+++ b/app-emacs/muse/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+Emacs Muse is an authoring and publishing environment for Emacs. It
+simplifies the process of writing documents and publishing them to
+various output formats.
+
+Muse consists of two main parts: an enhanced text-mode for authoring
+documents and navigating within Muse projects, and a set of publishing
+styles for generating different kinds of output.
+
+This idea is not in any way new. Numerous systems exist - even one
+other for Emacs itself (Bhl Mode). What Muse adds to the picture is a
+more modular environment, with a rather simple core, in which "styles"
+are derived from to create new styles. Much of Muse's overall
+functionality is optional. For example, you can use the publisher
+without the major-mode, or the mode without doing any publishing; or
+if you don't load the Texinfo or LaTeX modules, those styles won't be
+available.
+
+The Muse codebase is a departure from emacs-wiki.el version 2.44. The
+code has been restructured and rewritten, especially its publishing
+functions. The focus in this revision is on the authoring and
+publishing aspects, and the "wikiness" has been removed as a default
+behavior (available as the optional module muse-wiki.el). CamelCase
+words are no longer special by default.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/muse/muse-3.20.ebuild b/app-emacs/muse/muse-3.20.ebuild
new file mode 100644
index 000000000000..f403efd922af
--- /dev/null
+++ b/app-emacs/muse/muse-3.20.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Muse-mode is similar to EmacsWikiMode, but more focused on publishing to various formats"
+HOMEPAGE="http://mwolson.org/projects/EmacsMuse.html"
+SRC_URI="http://download.gna.org/muse-el/${P}.tar.gz"
+
+LICENSE="GPL-3 FDL-1.2 GPL-2 MIT"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+IUSE="test"
+RESTRICT="test" #426546
+
+DEPEND="test? ( app-emacs/htmlize )"
+RDEPEND=""
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ default
+}
+
+src_install() {
+ elisp-install ${PN} lisp/*.el lisp/*.elc || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ doinfo texi/muse.info
+ dodoc AUTHORS NEWS README ChangeLog*
+ insinto /usr/share/doc/${PF}
+ doins -r contrib etc examples experimental scripts
+}
diff --git a/app-emacs/nagios-mode/Manifest b/app-emacs/nagios-mode/Manifest
new file mode 100644
index 000000000000..abb0b3058ffc
--- /dev/null
+++ b/app-emacs/nagios-mode/Manifest
@@ -0,0 +1 @@
+DIST nagios-mode-0.3.tar.gz 7917 SHA256 a85de6caa36b0fff2f02f0911ce43581108c318aec205fce90780cda0cee1f43 SHA512 e9ff6e0684ee0f9f1919ec9dd4c8e0dfa7faab347f56724f7fe69bc366cf8d81f98c4c4245ddde95bbf9a2b9f72fec80a100c22b6b0b9e3c28c999515d0b6a50 WHIRLPOOL a87c166825f994b3fa271ae7d5f188ac3edd8d510f43dcabcd28c1e199f76bc08268f5808bb0e2a97a43b367439fc0a5c5be796e890cb7b84686528b1c0658b4
diff --git a/app-emacs/nagios-mode/files/50nagios-mode-gentoo.el b/app-emacs/nagios-mode/files/50nagios-mode-gentoo.el
new file mode 100644
index 000000000000..d74ed9de7461
--- /dev/null
+++ b/app-emacs/nagios-mode/files/50nagios-mode-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'nagios-mode "nagios-mode"
+ "Major mode for editing Nagios configuration files." t)
+;;(add-to-list 'auto-mode-alist '("\\.cfg\\'" . nagios-mode))
diff --git a/app-emacs/nagios-mode/metadata.xml b/app-emacs/nagios-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/nagios-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/nagios-mode/nagios-mode-0.3.ebuild b/app-emacs/nagios-mode/nagios-mode-0.3.ebuild
new file mode 100644
index 000000000000..75fed2a4e7dd
--- /dev/null
+++ b/app-emacs/nagios-mode/nagios-mode-0.3.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Major mode for editing Nagios configuration files"
+HOMEPAGE="http://michael.orlitzky.com/code/nagios-mode.php"
+SRC_URI="http://michael.orlitzky.com/code/releases/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86 ~x86-fbsd"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS="ChangeLog README test_suite.cfg"
diff --git a/app-emacs/navi2ch/Manifest b/app-emacs/navi2ch/Manifest
new file mode 100644
index 000000000000..629846378e91
--- /dev/null
+++ b/app-emacs/navi2ch/Manifest
@@ -0,0 +1,2 @@
+DIST navi2ch-1.8.3.tar.gz 477433 SHA256 671091f831e97ad05a1d106697fdbb7447201df209af550bf60ea6a71f7b4b05 SHA512 cbc180d9ed895c19519e8fd891dc3487b89ce90f139cc8f7bfeebd1d563740254d963ea38e588f05e42f86901eadfefab9f37040d2798bb15ac4ba7f3d693b81 WHIRLPOOL 1bd3219a4816be8a093d047f3605a175a9fee6f7d9dc9ee4648fb31ea5e9709b415d36813aa1d83327aa2ec4a8d14ce8e8acceed4b5752ca712a4f2dda709728
+DIST navi2ch-1.8.4.tar.gz 470499 SHA256 a2647881d1c20539148f8a01fcfa6f230d59582331ffd2d930effcbba307c603 SHA512 3028ea05c1e264f734f5a7578a0eb7e7aa5f23dbe33ccf9b0659344dbbb36c140842100923bb77e82614307e9793fb73e2bff42d6308438410d80102e33a3184 WHIRLPOOL 66b73d26e4b161d65a3720f6d16aca576c3ac9a7585d6bffd9e1e29d4082ed750f83ea625bad87fa6ef81265103514c13b7c031965ab22d309cdd5c482ff52f4
diff --git a/app-emacs/navi2ch/files/50navi2ch-gentoo.el b/app-emacs/navi2ch/files/50navi2ch-gentoo.el
new file mode 100644
index 000000000000..512b80d45248
--- /dev/null
+++ b/app-emacs/navi2ch/files/50navi2ch-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'navi2ch "navi2ch" "Navigator for 2ch for Emacs." t)
diff --git a/app-emacs/navi2ch/metadata.xml b/app-emacs/navi2ch/metadata.xml
new file mode 100644
index 000000000000..7751814d02a5
--- /dev/null
+++ b/app-emacs/navi2ch/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="sourceforge">navi2ch</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/navi2ch/navi2ch-1.8.3-r1.ebuild b/app-emacs/navi2ch/navi2ch-1.8.3-r1.ebuild
new file mode 100644
index 000000000000..5961018b720f
--- /dev/null
+++ b/app-emacs/navi2ch/navi2ch-1.8.3-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+inherit elisp
+
+DESCRIPTION="A navigator for the Japanese textboard 2ch"
+HOMEPAGE="http://navi2ch.sourceforge.net/"
+SRC_URI="mirror://sourceforge/navi2ch/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf \
+ --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ --with-icondir="${EPREFIX}${SITEETC}/${PN}"
+}
+
+# This is NOT redundant, elisp.eclass redefines src_compile
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ elisp-install ${PN} contrib/*.el || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ dodoc ChangeLog* NEWS README TODO || die
+ newdoc contrib/README README.contrib || die
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ elog
+ elog "Please add to your ~/.emacs"
+ elog "If you use mona-font,"
+ elog "\t(setq navi2ch-mona-enable t)"
+ elog "If you use izonmoji-mode,"
+ elog "\t(require 'izonmoji-mode)"
+ elog "\t(add-hook 'navi2ch-bm-mode-hook 'izonmoji-mode-on)"
+ elog "\t(add-hook 'navi2ch-article-mode-hook 'izonmoji-mode-on)"
+ elog "\t(add-hook 'navi2ch-popup-article-mode-hook 'izonmoji-mode-on)"
+ elog
+}
diff --git a/app-emacs/navi2ch/navi2ch-1.8.4.ebuild b/app-emacs/navi2ch/navi2ch-1.8.4.ebuild
new file mode 100644
index 000000000000..5961018b720f
--- /dev/null
+++ b/app-emacs/navi2ch/navi2ch-1.8.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+inherit elisp
+
+DESCRIPTION="A navigator for the Japanese textboard 2ch"
+HOMEPAGE="http://navi2ch.sourceforge.net/"
+SRC_URI="mirror://sourceforge/navi2ch/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf \
+ --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ --with-icondir="${EPREFIX}${SITEETC}/${PN}"
+}
+
+# This is NOT redundant, elisp.eclass redefines src_compile
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ elisp-install ${PN} contrib/*.el || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ dodoc ChangeLog* NEWS README TODO || die
+ newdoc contrib/README README.contrib || die
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ elog
+ elog "Please add to your ~/.emacs"
+ elog "If you use mona-font,"
+ elog "\t(setq navi2ch-mona-enable t)"
+ elog "If you use izonmoji-mode,"
+ elog "\t(require 'izonmoji-mode)"
+ elog "\t(add-hook 'navi2ch-bm-mode-hook 'izonmoji-mode-on)"
+ elog "\t(add-hook 'navi2ch-article-mode-hook 'izonmoji-mode-on)"
+ elog "\t(add-hook 'navi2ch-popup-article-mode-hook 'izonmoji-mode-on)"
+ elog
+}
diff --git a/app-emacs/nxml-docbook5-schemas/Manifest b/app-emacs/nxml-docbook5-schemas/Manifest
new file mode 100644
index 000000000000..82aa008d0f0f
--- /dev/null
+++ b/app-emacs/nxml-docbook5-schemas/Manifest
@@ -0,0 +1 @@
+DIST docbookxi.rnc 292523 SHA256 cf4360946a2a7120b463721b6379f73e7a9589e08943e5d3eb20244e4b22a336 SHA512 13309beb2dbf76168889a962782d3dd1849fb254ebf1941ffd4fcfc272353ba0ddece509a9b74250462b3e1eff12f31fc408aa790e0efea01d527482b3fa3a48 WHIRLPOOL 2567079c80825ac01c4c2d814df33a434d79a1317b3eccc5cf38a67d7fbf35bf0bcac7f071b58d44dd07121f71205edc69f98a21490c646e1a63308b186e7a29
diff --git a/app-emacs/nxml-docbook5-schemas/files/60nxml-docbook5-schemas-gentoo.el b/app-emacs/nxml-docbook5-schemas/files/60nxml-docbook5-schemas-gentoo.el
new file mode 100644
index 000000000000..c574746e6576
--- /dev/null
+++ b/app-emacs/nxml-docbook5-schemas/files/60nxml-docbook5-schemas-gentoo.el
@@ -0,0 +1,5 @@
+;; This must be executed after rng-schema-locating-files
+;; is set in rng-loc (which is part of nxml-mode).
+(eval-after-load "rng-loc"
+ '(add-to-list 'rng-schema-locating-files
+ "@SITEETC@/schemas.xml"))
diff --git a/app-emacs/nxml-docbook5-schemas/files/schemas.xml b/app-emacs/nxml-docbook5-schemas/files/schemas.xml
new file mode 100644
index 000000000000..c114447627a9
--- /dev/null
+++ b/app-emacs/nxml-docbook5-schemas/files/schemas.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
+ <namespace ns="http://docbook.org/ns/docbook" uri="docbookxi.rnc"/>
+</locatingRules>
diff --git a/app-emacs/nxml-docbook5-schemas/metadata.xml b/app-emacs/nxml-docbook5-schemas/metadata.xml
new file mode 100644
index 000000000000..d0e321d9a75d
--- /dev/null
+++ b/app-emacs/nxml-docbook5-schemas/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<maintainer>
+ <email>flameeyes@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-emacs/nxml-docbook5-schemas/nxml-docbook5-schemas-20080922.ebuild b/app-emacs/nxml-docbook5-schemas/nxml-docbook5-schemas-20080922.ebuild
new file mode 100644
index 000000000000..3e4e0f6a4192
--- /dev/null
+++ b/app-emacs/nxml-docbook5-schemas/nxml-docbook5-schemas-20080922.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Add support for DocBook 5 schemas to NXML"
+HOMEPAGE="http://www.docbook.org/schemas/5x.html"
+SRC_URI="http://www.docbook.org/xml/5.0/rng/docbookxi.rnc"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+S="${WORKDIR}"
+SITEFILE="60${PN}-gentoo.el"
+
+src_unpack() { :; }
+
+src_compile() { :; }
+
+src_install() {
+ insinto ${SITEETC}/${PN}
+ doins "${FILESDIR}"/schemas.xml "${DISTDIR}"/docbookxi.rnc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+}
diff --git a/app-emacs/nxml-gentoo-schemas/Manifest b/app-emacs/nxml-gentoo-schemas/Manifest
new file mode 100644
index 000000000000..afe9ca7dbcfe
--- /dev/null
+++ b/app-emacs/nxml-gentoo-schemas/Manifest
@@ -0,0 +1,2 @@
+DIST nxml-gentoo-schemas-20111129.tar.bz2 10795 SHA256 654b72aee0f27c034ff351e5f9549abf4489d8c42590124aa95ea46538f9b8c7 SHA512 5ed86f6d72d8ab91d0473c1104458223f6b7ae9c03331638ee6d802706d18338dcf75a38dc82de237f2810bf3ef228f65f49d322527641618fa6e910e4ee3fbb WHIRLPOOL 5d94fac30df20cc94da0cae29bc631aa8f0364e9cd55b56265ee0cbcab460e3f3850e7247f798282a617ca0ac60b398e20c10310661df02b065b2e79fb7a5aa9
+DIST nxml-gentoo-schemas-20150428.tar.xz 11100 SHA256 79436da79a4e75a2e70855fa9c98410c7dced30525e72c23520c4a6231388b6b SHA512 a43b21f03072f31709499d9d7a5aca578c8c23d1fe9ab9658d973298a471cfd3408072298dfb467a69b50a26a10b86860cd9109e26cb6237b1e50bc943ef54d2 WHIRLPOOL 37cddfbb719982b0d4471aff21d3a2a429c266bec7ce663106a9978482392306622cad4b24108a20253ef21e1523f2cd9d896391ff2d8327d2c1446320c71b6c
diff --git a/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el b/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el
new file mode 100644
index 000000000000..c574746e6576
--- /dev/null
+++ b/app-emacs/nxml-gentoo-schemas/files/60nxml-gentoo-schemas-gentoo.el
@@ -0,0 +1,5 @@
+;; This must be executed after rng-schema-locating-files
+;; is set in rng-loc (which is part of nxml-mode).
+(eval-after-load "rng-loc"
+ '(add-to-list 'rng-schema-locating-files
+ "@SITEETC@/schemas.xml"))
diff --git a/app-emacs/nxml-gentoo-schemas/metadata.xml b/app-emacs/nxml-gentoo-schemas/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/nxml-gentoo-schemas/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20111129.ebuild b/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20111129.ebuild
new file mode 100644
index 000000000000..5099cd500660
--- /dev/null
+++ b/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20111129.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Extension for nxml-mode with Gentoo-specific schemas"
+HOMEPAGE="http://dev.gentoo.org/~flameeyes/nxml-gentoo-schemas/"
+SRC_URI="http://dev.gentoo.org/~flameeyes/${PN}/${P}.tar.bz2"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+SITEFILE="60${PN}-gentoo.el"
+
+src_compile() { :; }
+
+src_install() {
+ insinto "${SITEETC}/${PN}"
+ doins schemas.xml *.rnc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc DONATING
+}
diff --git a/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20150428.ebuild b/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20150428.ebuild
new file mode 100644
index 000000000000..74e0178f330b
--- /dev/null
+++ b/app-emacs/nxml-gentoo-schemas/nxml-gentoo-schemas-20150428.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Extension for nxml-mode with Gentoo-specific schemas"
+HOMEPAGE="http://dev.gentoo.org/~flameeyes/nxml-gentoo-schemas/"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+SITEFILE="60${PN}-gentoo.el"
+
+src_compile() { :; }
+
+src_install() {
+ insinto "${SITEETC}/${PN}"
+ doins schemas.xml *.rnc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc DONATING
+}
diff --git a/app-emacs/nxml-libvirt-schemas/Manifest b/app-emacs/nxml-libvirt-schemas/Manifest
new file mode 100644
index 000000000000..db2166feebfd
--- /dev/null
+++ b/app-emacs/nxml-libvirt-schemas/Manifest
@@ -0,0 +1,2 @@
+DIST libvirt-0.9.7.tar.gz 17853636 SHA256 29ff05bfe5177d6680c02c279ed2573dcfae993f2824bffa192a3a2cdd05af23 SHA512 ac082f3872b37fc7aad891ba3f2a9614bdc85123b3d626fc7a2e43327a7ec346a0ec154c25161592a4337e3f694d9b27d031544190dec7d6086343f15fe9ba2d WHIRLPOOL 1704503c979b20a7bb31da4007724b7fd537d7f4f95dc7c0d8929d24f5f7c297c4d1f4d4d2a541265fa9c87b2bfba1d27a8b61c9ab29b092916dedb7a5a52a23
+DIST libvirt-1.2.1.tar.gz 27228694 SHA256 bc29b5751bf36753c17e2fdbb75e70c7b07df3d9527586d3426e90f5f4abb898 SHA512 6184840623156ca01ee7f59078ebf031bc84c25b37bb110372c7bcf230a79b74e267475f989fb73db5e3c096dcc74f03cb30adfc5de022f756ed2cd6ab05bfd0 WHIRLPOOL 75c2a37b1101950474aad8931d999564ff575512d38c9e8d2cf989cef3ad7057853046b738b20bd77be80c1e6677319aea7227797ae95ce91512dc36bd05a142
diff --git a/app-emacs/nxml-libvirt-schemas/files/60nxml-libvirt-schemas-gentoo.el b/app-emacs/nxml-libvirt-schemas/files/60nxml-libvirt-schemas-gentoo.el
new file mode 100644
index 000000000000..c574746e6576
--- /dev/null
+++ b/app-emacs/nxml-libvirt-schemas/files/60nxml-libvirt-schemas-gentoo.el
@@ -0,0 +1,5 @@
+;; This must be executed after rng-schema-locating-files
+;; is set in rng-loc (which is part of nxml-mode).
+(eval-after-load "rng-loc"
+ '(add-to-list 'rng-schema-locating-files
+ "@SITEETC@/schemas.xml"))
diff --git a/app-emacs/nxml-libvirt-schemas/files/Makefile-trang b/app-emacs/nxml-libvirt-schemas/files/Makefile-trang
new file mode 100644
index 000000000000..699cf676ff45
--- /dev/null
+++ b/app-emacs/nxml-libvirt-schemas/files/Makefile-trang
@@ -0,0 +1,6 @@
+# -*- makefile -*-
+
+all: $(patsubst %.rng,%.rnc,$(wildcard *.rng))
+
+%.rnc: %.rng
+ trang -I rng -O rnc $< $@
diff --git a/app-emacs/nxml-libvirt-schemas/files/schemas.xml b/app-emacs/nxml-libvirt-schemas/files/schemas.xml
new file mode 100644
index 000000000000..47936ab24a16
--- /dev/null
+++ b/app-emacs/nxml-libvirt-schemas/files/schemas.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
+ <!-- As far as I can see there is no way to apply more than one to
+ search for a file, so we're going to use some very generic
+ locating rules… yes it's bad, but upstream libvirt doesn't
+ intend to change that anytime soon.
+ -->
+
+ <documentElement localName="domain" uri="domain.rnc" />
+ <documentElement localName="pool" uri="storagepool.rnc" />
+ <documentElement localName="network" uri="network.rnc" />
+</locatingRules>
diff --git a/app-emacs/nxml-libvirt-schemas/metadata.xml b/app-emacs/nxml-libvirt-schemas/metadata.xml
new file mode 100644
index 000000000000..a178e33b29d2
--- /dev/null
+++ b/app-emacs/nxml-libvirt-schemas/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<herd>virtualization</herd>
+<maintainer>
+ <email>flameeyes@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.9.7.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.9.7.ebuild
new file mode 100644
index 000000000000..2932487db480
--- /dev/null
+++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-0.9.7.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+#BACKPORTS=
+
+inherit elisp eutils
+
+MY_P="libvirt-${PV/_rc/-rc}"
+
+DESCRIPTION="Extension for nxml-mode with libvirt schemas"
+HOMEPAGE="http://www.libvirt.org/"
+SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
+ ${BACKPORTS:+mirror://gentoo/${MY_P}-backports-${BACKPORTS}.tar.bz2}"
+
+# This is the license of the package, but the schema files are
+# provided without license, maybe it's bad.
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Yes this requires Java, but I'd rather not repackage this, if you
+# know something better in C, I'll be glad to use that.
+DEPEND="app-text/trang"
+RDEPEND=""
+
+SITEFILE="60${PN}-gentoo.el"
+S="${WORKDIR}/${MY_P%-rc*}"
+
+src_prepare() {
+ if [[ -d "${WORKDIR}/patches" ]]; then
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ EPATCH_SOURCE="${WORKDIR}/patches" \
+ epatch
+ fi
+}
+
+src_compile() {
+ emake -C docs/schemas -f "${FILESDIR}/Makefile-trang"
+}
+
+src_test() {
+ # No we don't need tests here... trang will take care of checking
+ # the well-formedness of the schema files for us
+ :
+}
+
+src_install() {
+ insinto ${SITEETC}/${PN}
+ doins "${FILESDIR}/schemas.xml" docs/schemas/*.rnc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+}
diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-1.2.1.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-1.2.1.ebuild
new file mode 100644
index 000000000000..5f1a1d664864
--- /dev/null
+++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-1.2.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+#BACKPORTS=
+
+inherit elisp eutils
+
+MY_P="libvirt-${PV/_rc/-rc}"
+
+DESCRIPTION="Extension for nxml-mode with libvirt schemas"
+HOMEPAGE="http://www.libvirt.org/"
+SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
+ ${BACKPORTS:+mirror://gentoo/${MY_P}-backports-${BACKPORTS}.tar.bz2}"
+
+# This is the license of the package, but the schema files are
+# provided without license, maybe it's bad.
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Yes this requires Java, but I'd rather not repackage this, if you
+# know something better in C, I'll be glad to use that.
+DEPEND="app-text/trang"
+RDEPEND=""
+
+SITEFILE="60${PN}-gentoo.el"
+S="${WORKDIR}/${MY_P%-rc*}"
+
+src_prepare() {
+ if [[ -d "${WORKDIR}/patches" ]]; then
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ EPATCH_SOURCE="${WORKDIR}/patches" \
+ epatch
+ fi
+}
+
+src_compile() {
+ emake -C docs/schemas -f "${FILESDIR}/Makefile-trang"
+}
+
+src_test() {
+ # No we don't need tests here... trang will take care of checking
+ # the well-formedness of the schema files for us
+ :
+}
+
+src_install() {
+ insinto ${SITEETC}/${PN}
+ doins "${FILESDIR}/schemas.xml" docs/schemas/*.rnc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+}
diff --git a/app-emacs/nxml-svg-schemas/Manifest b/app-emacs/nxml-svg-schemas/Manifest
new file mode 100644
index 000000000000..a61e6a3baa08
--- /dev/null
+++ b/app-emacs/nxml-svg-schemas/Manifest
@@ -0,0 +1 @@
+DIST w3c-svg-rng-1.1.20081123.zip 48420 SHA256 995d72804ae518363080544999ea3f356fac168e193d0967ce9944fe0f8c31cf SHA512 69e44a7c04a3af77d0fed8f19372cfcad7998e262a44b520145fe2c0ad03bf20daf57e1e97f71ff27f0e06bd3f07d1ec0b0976fdd893d77df2f82709f7c1ce1f WHIRLPOOL 706509d058a187d7581612c103a333d83cc758a0fd436686d20c8de7fe07bb7e6be63169f3c14aee662ac9475d7e7718a696d68b8cfff6a8a0adfe941712e4be
diff --git a/app-emacs/nxml-svg-schemas/files/60nxml-svg-schemas-gentoo.el b/app-emacs/nxml-svg-schemas/files/60nxml-svg-schemas-gentoo.el
new file mode 100644
index 000000000000..c574746e6576
--- /dev/null
+++ b/app-emacs/nxml-svg-schemas/files/60nxml-svg-schemas-gentoo.el
@@ -0,0 +1,5 @@
+;; This must be executed after rng-schema-locating-files
+;; is set in rng-loc (which is part of nxml-mode).
+(eval-after-load "rng-loc"
+ '(add-to-list 'rng-schema-locating-files
+ "@SITEETC@/schemas.xml"))
diff --git a/app-emacs/nxml-svg-schemas/files/Makefile-trang b/app-emacs/nxml-svg-schemas/files/Makefile-trang
new file mode 100644
index 000000000000..699cf676ff45
--- /dev/null
+++ b/app-emacs/nxml-svg-schemas/files/Makefile-trang
@@ -0,0 +1,6 @@
+# -*- makefile -*-
+
+all: $(patsubst %.rng,%.rnc,$(wildcard *.rng))
+
+%.rnc: %.rng
+ trang -I rng -O rnc $< $@
diff --git a/app-emacs/nxml-svg-schemas/files/schemas.xml b/app-emacs/nxml-svg-schemas/files/schemas.xml
new file mode 100644
index 000000000000..baebe4af596c
--- /dev/null
+++ b/app-emacs/nxml-svg-schemas/files/schemas.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
+ <!-- This version of the locatingRules does not support having
+ enough details to distinguish between different SVG versions,
+ maybe in the future it will.
+ -->
+
+ <uri pattern="*.svg" typeId="SVG" />
+ <namespace ns="http://www.w3.org/2000/svg" typeId="SVG" />
+ <documentElement localName="svg" typeId="SVG" />
+
+ <typeId id="SVG" uri="svg11.rnc" />
+</locatingRules>
diff --git a/app-emacs/nxml-svg-schemas/metadata.xml b/app-emacs/nxml-svg-schemas/metadata.xml
new file mode 100644
index 000000000000..d0e321d9a75d
--- /dev/null
+++ b/app-emacs/nxml-svg-schemas/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<maintainer>
+ <email>flameeyes@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-emacs/nxml-svg-schemas/nxml-svg-schemas-1.1.20081123.ebuild b/app-emacs/nxml-svg-schemas/nxml-svg-schemas-1.1.20081123.ebuild
new file mode 100644
index 000000000000..7c0bf8a174f9
--- /dev/null
+++ b/app-emacs/nxml-svg-schemas/nxml-svg-schemas-1.1.20081123.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Extension for nxml-mode with SVG 1.1 schemas"
+HOMEPAGE="http://www.w3.org/TR/SVG11/"
+# original SRC_URI is http://www.w3.org/Graphics/SVG/1.1/rng/rng.zip
+# but since it's unversioned, I versioned it and got it locally.
+SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/w3c-svg-rng-${PV}.zip"
+
+LICENSE="HPND"
+# In a future we might have 1.2 schemas too, but for now we can only
+# install this one anyway because the schemas.xml syntax is not
+# sophisticated enough.
+SLOT="1.1"
+KEYWORDS="amd64 ~x86"
+
+# Yes this requires Java, but I'd rather not repackage this, if you
+# know something better in C, I'll be glad to use that.
+DEPEND="app-text/trang"
+RDEPEND=""
+
+S="${WORKDIR}"
+SITEFILE="60${PN}-gentoo.el"
+
+src_prepare() {
+ # we don't need the doctype for our work
+ sed -i -e '/DOCTYPE grammar/d' *.rng || die "sed failed"
+}
+
+src_compile() {
+ emake -f "${FILESDIR}/Makefile-trang"
+}
+
+src_install() {
+ insinto "${SITEETC}/${PN}"
+ doins "${FILESDIR}/schemas.xml" *.rnc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+}
diff --git a/app-emacs/ocaml-mode/Manifest b/app-emacs/ocaml-mode/Manifest
new file mode 100644
index 000000000000..b6602e1fa506
--- /dev/null
+++ b/app-emacs/ocaml-mode/Manifest
@@ -0,0 +1,2 @@
+DIST ocaml-3.12.1.tar.bz2 2949124 SHA256 edcf563da75e0b91f09765649caa98ab1535e0c7498f0737b5591b7de084958d SHA512 cbb050aabcbe19a4aa070d6cb74f3774cb136692dfd9433ca977f0f9520ad2f583b6cfb1a9cedfedc92e7dc794ac4a869e20aa5a67a4739002feb290435dc7e7 WHIRLPOOL b7bf4844452ab52027e6b785159df6e4defc548d2f3d31eb73dc0dc05214e7c19ed654c8b3ff234a85691599df0be568ba02fafe257856be7f603177584a7ca0
+DIST ocaml-4.00.1.tar.bz2 2762205 SHA256 33c3f4acff51685f5bfd7c260f066645e767d4e865877bf1613c176a77799951 SHA512 77899430706394af558666361b152d47df3a3e21831059875f8b317d0ff9d1a010177bf1e5851e522e086c20768e92c71344aa53eda0ce003f278752870ab5da WHIRLPOOL 3fdc090e1158ae72c91685aef62c751f897f4e3efcfbdc07e00d92e83351494fd126bdaca31039c1bf5dc4107072d978bb30e02c879caafc215dbc913f2d6ed1
diff --git a/app-emacs/ocaml-mode/files/50ocaml-mode-gentoo-3.12.1.el b/app-emacs/ocaml-mode/files/50ocaml-mode-gentoo-3.12.1.el
new file mode 100644
index 000000000000..bea123308024
--- /dev/null
+++ b/app-emacs/ocaml-mode/files/50ocaml-mode-gentoo-3.12.1.el
@@ -0,0 +1,10 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'auto-mode-alist '("\\.ml[iylp]?\\'" . caml-mode))
+(autoload 'caml-mode "caml" "Major mode for editing Caml code." t)
+(autoload 'run-caml "inf-caml" "Run an inferior Caml process." t)
+(autoload 'camldebug "camldebug"
+ "Run camldebug on program FILE in buffer *camldebug-FILE*." t)
+(autoload 'inferior-caml-set-font-lock "caml-font")
+
+(eval-after-load "caml" '(require 'caml-font))
+(add-hook 'inferior-caml-mode-hooks 'inferior-caml-set-font-lock)
diff --git a/app-emacs/ocaml-mode/files/50ocaml-mode-gentoo.el b/app-emacs/ocaml-mode/files/50ocaml-mode-gentoo.el
new file mode 100644
index 000000000000..8f45033a3fce
--- /dev/null
+++ b/app-emacs/ocaml-mode/files/50ocaml-mode-gentoo.el
@@ -0,0 +1,10 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'auto-mode-alist '("\\.ml[iylp]?\\'" . caml-mode))
+(autoload 'caml-mode "caml" "Major mode for editing Caml code." t)
+(autoload 'run-caml "inf-caml" "Run an inferior Caml process." t)
+(autoload 'camldebug "camldebug"
+ "Run camldebug on program FILE in buffer *camldebug-FILE*." t)
+(autoload 'inferior-caml-mode-font-hook "caml-font")
+
+(eval-after-load "caml" '(require 'caml-font))
+(add-hook 'inferior-caml-mode-hooks 'inferior-caml-mode-font-hook)
diff --git a/app-emacs/ocaml-mode/metadata.xml b/app-emacs/ocaml-mode/metadata.xml
new file mode 100644
index 000000000000..d3eb2339e1fa
--- /dev/null
+++ b/app-emacs/ocaml-mode/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>ml</herd>
+ <herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/ocaml-mode/ocaml-mode-3.12.1-r1.ebuild b/app-emacs/ocaml-mode/ocaml-mode-3.12.1-r1.ebuild
new file mode 100644
index 000000000000..1674d494eda6
--- /dev/null
+++ b/app-emacs/ocaml-mode/ocaml-mode-3.12.1-r1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+MY_P=${P/-mode/}
+DESCRIPTION="Emacs mode for OCaml"
+HOMEPAGE="http://www.ocaml.org/"
+SRC_URI="http://caml.inria.fr/distrib/${MY_P%.*}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
+
+S="${WORKDIR}/${MY_P}/emacs"
+SITEFILE="50${PN}-gentoo-${PV}.el"
+DOCS="README README.itz"
diff --git a/app-emacs/ocaml-mode/ocaml-mode-3.12.1.ebuild b/app-emacs/ocaml-mode/ocaml-mode-3.12.1.ebuild
new file mode 100644
index 000000000000..00b718954e09
--- /dev/null
+++ b/app-emacs/ocaml-mode/ocaml-mode-3.12.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+MY_P=${P/-mode/}
+
+DESCRIPTION="Emacs mode for OCaml"
+HOMEPAGE="http://www.ocaml.org/"
+SRC_URI="http://caml.inria.fr/distrib/${MY_P%.*}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}/emacs"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README README.itz"
diff --git a/app-emacs/ocaml-mode/ocaml-mode-4.00.1.ebuild b/app-emacs/ocaml-mode/ocaml-mode-4.00.1.ebuild
new file mode 100644
index 000000000000..b51729bb386d
--- /dev/null
+++ b/app-emacs/ocaml-mode/ocaml-mode-4.00.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+MY_P=${P/-mode/}
+DESCRIPTION="Emacs mode for OCaml"
+HOMEPAGE="http://www.ocaml.org/"
+SRC_URI="http://caml.inria.fr/distrib/${MY_P%.*}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux"
+
+S="${WORKDIR}/${MY_P}/emacs"
+SITEFILE="50${PN}-gentoo-3.12.1.el"
+DOCS="README README.itz"
diff --git a/app-emacs/org-mode/Manifest b/app-emacs/org-mode/Manifest
new file mode 100644
index 000000000000..d1a0efcefc3b
--- /dev/null
+++ b/app-emacs/org-mode/Manifest
@@ -0,0 +1,3 @@
+DIST org-8.2.1.tar.gz 4215666 SHA256 625e2b6786158bcf6c43194075f7638ab8048c68a60025289a051c407e467823 SHA512 366504c8bc4637c96d6255603e949951fed1d89b9b58aa938072c982cca14d5eedfa2a45aabbae55d4862aa9dcc984b379f969cf5b6da50f73d2e0044cd687fb WHIRLPOOL 024166ee4eb6bb994f44249ea819ac3b4aad9c133bfcbc438d57a4dce54b3c8a108519eabf9318e769768be36d1733066bbec58cfaf03fc600de72fd55e3c29d
+DIST org-8.2.5h.tar.gz 4220242 SHA256 f0f4924c9d57557b12f535c032f5f8584cc27ab6af2afc9939f9acf1af2c5d80 SHA512 e486a6f831de935fbe9cbcff18042a5a5ff9ecb60ffd755455c70488f95c6c103f7870d7d69f9808043b2b87fe64441adfd5c9ddb417b33fd8f9469d1943db49 WHIRLPOOL 72290244aaabd09660fd290a100d8ae2ed05b64d3b842464f247c20c634a75e2738c07e85d414b852685f2fade0b2aea92a1a2835d178d90b7eab5650710066b
+DIST org-8.2.6.tar.gz 4221803 SHA256 a14a20f3d11855758ad8859e8ccdc50922c31bd64b493d44b856d46441362938 SHA512 a64e975738f26b5315584b51332dbcd29eb6e5b03cb505d638d611455beb921c5e0b728b23fb63f380d46d2e33092865b02de01259cff8985693febebcc1a8a3 WHIRLPOOL b834203c48948a84d6458b7f455451cfd3f40fccd0ae55f150cf105ef937f46fb52492642990cf33c90a2464b93d184d85d922680adf4e66a2af5308d3ac631c
diff --git a/app-emacs/org-mode/files/50org-mode-gentoo.el b/app-emacs/org-mode/files/50org-mode-gentoo.el
new file mode 100644
index 000000000000..431f52ce467a
--- /dev/null
+++ b/app-emacs/org-mode/files/50org-mode-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
diff --git a/app-emacs/org-mode/metadata.xml b/app-emacs/org-mode/metadata.xml
new file mode 100644
index 000000000000..191bd8718bc9
--- /dev/null
+++ b/app-emacs/org-mode/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ Org-mode is a mode for keeping notes, maintaining ToDo lists, and doing
+ project planning with a fast and effective plain-text system.
+
+ Org-mode develops organizational tasks around NOTES files that contain
+ information about projects as plain text. Org-mode is implemented on top of
+ outline-mode, which makes it possible to keep the content of large files
+ well structured. Visibility cycling and structure editing help to work with
+ the tree. Tables are easily created with a built-in table editor. Org-mode
+ supports ToDo items, deadlines, time stamps, and scheduling. It dynamically
+ compiles entries into an agenda. Plain text URL-like links connect to
+ websites, emails, Usenet messages, BBDB entries, and any files related to
+ the projects. For printing and sharing of notes, an Org-mode file can be
+ exported as a structured ASCII file, HTML, and LaTeX.
+</longdescription>
+<use>
+ <flag name='contrib'>Install user-contributed files</flag>
+ <flag name='odt-schema'>Install non-free schema files
+ for OpenDocument Text exporter</flag>
+</use>
+</pkgmetadata>
diff --git a/app-emacs/org-mode/org-mode-8.2.1.ebuild b/app-emacs/org-mode/org-mode-8.2.1.ebuild
new file mode 100644
index 000000000000..add2bf6cc72d
--- /dev/null
+++ b/app-emacs/org-mode/org-mode-8.2.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs mode for notes and project planning"
+HOMEPAGE="http://www.orgmode.org/"
+SRC_URI="http://orgmode.org/org-${PV}.tar.gz"
+
+LICENSE="GPL-3+ FDL-1.3+ contrib? ( GPL-2+ MIT ) odt-schema? ( OASIS-Open )"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-macos"
+IUSE="contrib doc odt-schema"
+RESTRICT="test"
+
+DEPEND="doc? ( virtual/texi2dvi )"
+
+S="${WORKDIR}/org-${PV}"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ emake datadir="${EPREFIX}${SITEETC}/${PN}"
+ use doc && emake pdf card
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ ETCDIRS="styles $(use odt-schema && echo schema)" \
+ lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ datadir="${EPREFIX}${SITEETC}/${PN}" \
+ infodir="${EPREFIX}/usr/share/info" \
+ install
+
+ cp "${FILESDIR}/${SITEFILE}" "${T}/${SITEFILE}" || die
+
+ if use contrib; then
+ elisp-install ${PN}/contrib contrib/lisp/{org,ob,ox}*.el
+ insinto /usr/share/doc/${PF}/contrib
+ doins -r contrib/README contrib/scripts
+ find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
+ -exec rm -f '{}' '+'
+ # add the contrib subdirectory to load-path
+ sed -i -e 's:\(.*@SITELISP@\)\(.*\):&\n\1/contrib\2:' \
+ "${T}/${SITEFILE}" || die
+ fi
+
+ elisp-site-file-install "${T}/${SITEFILE}"
+ dodoc README doc/library-of-babel.org doc/orgcard.txt etc/ORG-NEWS
+ use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
+}
diff --git a/app-emacs/org-mode/org-mode-8.2.5h.ebuild b/app-emacs/org-mode/org-mode-8.2.5h.ebuild
new file mode 100644
index 000000000000..2cb05e9b8b55
--- /dev/null
+++ b/app-emacs/org-mode/org-mode-8.2.5h.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs mode for notes and project planning"
+HOMEPAGE="http://www.orgmode.org/"
+SRC_URI="http://orgmode.org/org-${PV}.tar.gz"
+
+LICENSE="GPL-3+ FDL-1.3+ contrib? ( GPL-2+ MIT ) odt-schema? ( OASIS-Open )"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd ~x86-macos"
+IUSE="contrib doc odt-schema"
+RESTRICT="test"
+
+DEPEND="doc? ( virtual/texi2dvi )"
+
+S="${WORKDIR}/org-${PV}"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ emake datadir="${EPREFIX}${SITEETC}/${PN}"
+ use doc && emake pdf card
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ ETCDIRS="styles $(use odt-schema && echo schema)" \
+ lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ datadir="${EPREFIX}${SITEETC}/${PN}" \
+ infodir="${EPREFIX}/usr/share/info" \
+ install
+
+ cp "${FILESDIR}/${SITEFILE}" "${T}/${SITEFILE}" || die
+
+ if use contrib; then
+ elisp-install ${PN}/contrib contrib/lisp/{org,ob,ox}*.el
+ insinto /usr/share/doc/${PF}/contrib
+ doins -r contrib/README contrib/scripts
+ find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
+ -exec rm -f '{}' '+'
+ # add the contrib subdirectory to load-path
+ sed -i -e 's:\(.*@SITELISP@\)\(.*\):&\n\1/contrib\2:' \
+ "${T}/${SITEFILE}" || die
+ fi
+
+ elisp-site-file-install "${T}/${SITEFILE}"
+ dodoc README doc/library-of-babel.org doc/orgcard.txt etc/ORG-NEWS
+ use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
+}
diff --git a/app-emacs/org-mode/org-mode-8.2.6.ebuild b/app-emacs/org-mode/org-mode-8.2.6.ebuild
new file mode 100644
index 000000000000..add2bf6cc72d
--- /dev/null
+++ b/app-emacs/org-mode/org-mode-8.2.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs mode for notes and project planning"
+HOMEPAGE="http://www.orgmode.org/"
+SRC_URI="http://orgmode.org/org-${PV}.tar.gz"
+
+LICENSE="GPL-3+ FDL-1.3+ contrib? ( GPL-2+ MIT ) odt-schema? ( OASIS-Open )"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-macos"
+IUSE="contrib doc odt-schema"
+RESTRICT="test"
+
+DEPEND="doc? ( virtual/texi2dvi )"
+
+S="${WORKDIR}/org-${PV}"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ emake datadir="${EPREFIX}${SITEETC}/${PN}"
+ use doc && emake pdf card
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ ETCDIRS="styles $(use odt-schema && echo schema)" \
+ lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ datadir="${EPREFIX}${SITEETC}/${PN}" \
+ infodir="${EPREFIX}/usr/share/info" \
+ install
+
+ cp "${FILESDIR}/${SITEFILE}" "${T}/${SITEFILE}" || die
+
+ if use contrib; then
+ elisp-install ${PN}/contrib contrib/lisp/{org,ob,ox}*.el
+ insinto /usr/share/doc/${PF}/contrib
+ doins -r contrib/README contrib/scripts
+ find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
+ -exec rm -f '{}' '+'
+ # add the contrib subdirectory to load-path
+ sed -i -e 's:\(.*@SITELISP@\)\(.*\):&\n\1/contrib\2:' \
+ "${T}/${SITEFILE}" || die
+ fi
+
+ elisp-site-file-install "${T}/${SITEFILE}"
+ dodoc README doc/library-of-babel.org doc/orgcard.txt etc/ORG-NEWS
+ use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
+}
diff --git a/app-emacs/outline-magic/Manifest b/app-emacs/outline-magic/Manifest
new file mode 100644
index 000000000000..2b2996de7804
--- /dev/null
+++ b/app-emacs/outline-magic/Manifest
@@ -0,0 +1 @@
+DIST outline-magic-0.9.el.bz2 6823 SHA256 5b6cb179c3fc118ec518269e1cf0f820ad1d532b87d7e33d01a4a63e16050b69 SHA512 46c404954642cb88da4bfe82432e4d45b9c05671d81333dd6bfd422a5311c1fd76daf1893be3875044e68ce43bb8b70928017a420715a7e08da76d366d969a49 WHIRLPOOL c55f97a785732fafc02a1f46d3783aee841cba90f3763830c20ba109895e059daa6cde7616d84183cc82141e2c859cca432097bf8f65966c63d5707a893ec5db
diff --git a/app-emacs/outline-magic/files/50outline-magic-gentoo.el b/app-emacs/outline-magic/files/50outline-magic-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/outline-magic/files/50outline-magic-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/outline-magic/metadata.xml b/app-emacs/outline-magic/metadata.xml
new file mode 100644
index 000000000000..0e07ff7b6d4c
--- /dev/null
+++ b/app-emacs/outline-magic/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="github">tj64/outline-magic</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/outline-magic/outline-magic-0.9.ebuild b/app-emacs/outline-magic/outline-magic-0.9.ebuild
new file mode 100644
index 000000000000..8750b00de91e
--- /dev/null
+++ b/app-emacs/outline-magic/outline-magic-0.9.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Outline mode extensions for Emacs"
+HOMEPAGE="https://github.com/tj64/outline-magic
+ http://www.emacswiki.org/emacs/OutlineMagic"
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/paredit/Manifest b/app-emacs/paredit/Manifest
new file mode 100644
index 000000000000..77822c9c255e
--- /dev/null
+++ b/app-emacs/paredit/Manifest
@@ -0,0 +1 @@
+DIST paredit-23.tar.xz 24204 SHA256 c501d5a716258a6b6758cc40d3e12b3d7271e62b457202271402e8ad43053478 SHA512 33ae10d95d3b2d8fe2466fba20d6aa0abac56684807fb381ab0db2798e99e2358c6dca71794b95768b53be661b9181f458e932bb37c31ba7ebba155a57f1bb01 WHIRLPOOL 4e2f6ee89f6cf9edd4b0b88e03f8b26f288f646cca14324025d022d34d756e44cfb8bb8289345ca77f3bdeecc1d1c114c90a496d094149d4d0f59ce28affce93
diff --git a/app-emacs/paredit/files/50paredit-gentoo.el b/app-emacs/paredit/files/50paredit-gentoo.el
new file mode 100644
index 000000000000..a23e03ae81fa
--- /dev/null
+++ b/app-emacs/paredit/files/50paredit-gentoo.el
@@ -0,0 +1,10 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'paredit-mode "paredit"
+ "Minor mode for pseudo-structurally editing Lisp code." t)
+(let ((turn-on-paredit-mode (lambda () (paredit-mode 1))))
+ ;; some hooks: lisp-mode-hook and scheme-mode-hook are recommended
+ ;; in the paredit source code
+ (add-hook 'lisp-mode-hook turn-on-paredit-mode)
+ (add-hook 'scheme-mode-hook turn-on-paredit-mode)
+ (add-hook 'emacs-lisp-mode-hook turn-on-paredit-mode)
+ (add-hook 'slime-mode-hook turn-on-paredit-mode))
diff --git a/app-emacs/paredit/metadata.xml b/app-emacs/paredit/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/paredit/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/paredit/paredit-23-r1.ebuild b/app-emacs/paredit/paredit-23-r1.ebuild
new file mode 100644
index 000000000000..9ec5d88766d8
--- /dev/null
+++ b/app-emacs/paredit/paredit-23-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Minor mode for performing structured editing of S-expressions"
+HOMEPAGE="http://mumble.net/~campbell/emacs/
+ http://www.emacswiki.org/emacs/ParEdit"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_install() {
+ elisp_src_install
+ dohtml *.html
+}
diff --git a/app-emacs/php-mode/Manifest b/app-emacs/php-mode/Manifest
new file mode 100644
index 000000000000..97b083cfa359
--- /dev/null
+++ b/app-emacs/php-mode/Manifest
@@ -0,0 +1 @@
+DIST php-mode-1.5.0.tar.gz 42687 SHA256 d8b179941141994d9cc9e77d244e91df3b4d845f4c6e1818eeefc59bc97bcead SHA512 e05cf9eeff3d17f6af29b03d08f279e4c04f79a2c018de5ddcf097adbf9e67978eeb9f0f9e67b9406c1f33c494597ab1bfa629bdab131d668de40b81d68e796f WHIRLPOOL fd5a92af5c006abc00d10803770a64452f49d803c16c3b57a77f3f87ebf984ad3db951304d6ece9fad395cd46ac4a0e7ec2d256e3dbe7c75d68b276bc178ab74
diff --git a/app-emacs/php-mode/files/50php-mode-gentoo.el b/app-emacs/php-mode/files/50php-mode-gentoo.el
new file mode 100644
index 000000000000..50c4ef71afa3
--- /dev/null
+++ b/app-emacs/php-mode/files/50php-mode-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'php-mode "php-mode" "Major mode for editing PHP code." t)
+(add-to-list 'auto-mode-alist '("\\.php[s34]?\\'" . php-mode))
+(add-to-list 'auto-mode-alist '("\\.phtml\\'" . php-mode))
+(add-to-list 'auto-mode-alist '("\\.inc\\'" . php-mode))
diff --git a/app-emacs/php-mode/metadata.xml b/app-emacs/php-mode/metadata.xml
new file mode 100644
index 000000000000..f7f0dd4460a2
--- /dev/null
+++ b/app-emacs/php-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="sourceforge">php-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/php-mode/php-mode-1.5.0.ebuild b/app-emacs/php-mode/php-mode-1.5.0.ebuild
new file mode 100644
index 000000000000..a3aa7f843caf
--- /dev/null
+++ b/app-emacs/php-mode/php-mode-1.5.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="GNU Emacs major mode for editing PHP code"
+HOMEPAGE="http://php-mode.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
+
+SITEFILE="50${PN}-gentoo.el"
+ELISP_TEXINFO="${PN}.texi"
+DOCS="ChangeLog"
diff --git a/app-emacs/planner/Manifest b/app-emacs/planner/Manifest
new file mode 100644
index 000000000000..3aaa1e6132e0
--- /dev/null
+++ b/app-emacs/planner/Manifest
@@ -0,0 +1 @@
+DIST planner-3.42.tar.gz 412086 SHA256 4dc66bf7103ad9dce21e34c40530b040a9718e4b61c16870b3a0f43e1e387129 SHA512 6c0674a1b780005c37850f25ec8b20c72b3d34b6f4e8ad463392e887e498807567af41c0c6ef0f4141230e2d3bf8c702acebae869efc37f72b1e984519c23b3e WHIRLPOOL bcf5ddfca6aa1705108e69a6c973988b0f708ec279fee09d192932861743b28b441da1a198487abe01c1d7a7a6f4b83f29c61179ca096431613c62bd34379979
diff --git a/app-emacs/planner/files/80planner-gentoo.el b/app-emacs/planner/files/80planner-gentoo.el
new file mode 100644
index 000000000000..b7583c2298dc
--- /dev/null
+++ b/app-emacs/planner/files/80planner-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'planner-autoloads)
+(setq remember-handler-functions '(remember-planner-append))
+(defvaralias 'remember-annotation-functions 'planner-annotation-functions)
diff --git a/app-emacs/planner/metadata.xml b/app-emacs/planner/metadata.xml
new file mode 100644
index 000000000000..27000b3f07e8
--- /dev/null
+++ b/app-emacs/planner/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+Planner is a personal information manager (PIM) for Emacs. You can use
+it to manage your tasks, schedules, notes and anything else you want
+to store in a free-text richly-hyperlinked personal information
+manager integrated into Emacs.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/planner/planner-3.42.ebuild b/app-emacs/planner/planner-3.42.ebuild
new file mode 100644
index 000000000000..d493f914d8a2
--- /dev/null
+++ b/app-emacs/planner/planner-3.42.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Maintain a local Wiki using Emacs-friendly markup"
+HOMEPAGE="http://www.emacswiki.org/emacs/PlannerMode"
+SRC_URI="http://download.gna.org/planner-el/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+RESTRICT="test"
+
+DEPEND=">=app-emacs/muse-3.02.6a
+ app-emacs/bbdb
+ app-emacs/emacs-w3m"
+RDEPEND="${DEPEND}"
+PDEPEND="app-emacs/remember"
+
+SITEFILE="80${PN}-gentoo.el"
+ELISP_TEXINFO="planner-el.texi"
+DOCS="AUTHORS COMMENTARY ChangeLog* NEWS README"
+
+src_compile() {
+ default
+}
diff --git a/app-emacs/po-mode/Manifest b/app-emacs/po-mode/Manifest
new file mode 100644
index 000000000000..69f5eaf9c67d
--- /dev/null
+++ b/app-emacs/po-mode/Manifest
@@ -0,0 +1,3 @@
+DIST gettext-0.18.3.2.tar.gz 16189249 SHA256 d1a4e452d60eb407ab0305976529a45c18124bd518d976971ac6dc7aa8b4c5d7 SHA512 0cf8f2bb844b9d94f5e63a0f4bddc133e2388d103fd4189614d2fc157a94e27836ec399eb32ab69410e2214425676e6bc195bbf13238cc5ad32b454ec6e2b5ef WHIRLPOOL 0bb2e33788a12fbeaa4756aaa354a308424cdea5008d6b686bbd8601b7b7c513483d79f323904ebaf94e1fd67f65dfa7cb993ba5c5751e16a297b94b3307ae66
+DIST gettext-0.19.3.tar.gz 17414357 SHA256 93952d505a3d3b1ec10c69d340c7d438b1f9c332710d583981c0608be3eeb3f6 SHA512 2ec02065b376cf9ec2b9d32328a7181d292ac940356a710f785450f37e03a8513e07d4b981824374671cfa2f60024e4649fc89ad79ee0adda87a8b9b63ad28e8 WHIRLPOOL cbf86dab685fe3a5f4dbe5bcb39295809511904fdc65d9e0ef188c228bbe38c408ea38c14ac0ad38634ef1f5d79474d38399e95ab50ff6922cb0087ccfe434be
+DIST gettext-0.19.4.tar.gz 17717034 SHA256 8ac9f1ed1a5f8c4e656a2f37f5ba6b9ee04c4df79a575e876b0b6946aa417f3f SHA512 274e00fe0149468e3073562f8f3b292597e9dbd82dfe8d068e4a1983914d25b603bb26f3fa4aa10e9fcd65826e3552c1871218342270927481e95eb64288ad97 WHIRLPOOL 2eb56c47d76f63b6557ae825538a35ae59f3f77da35321688547d9c420f47879c79ca1ab8ebd6bc6b4a3a8ce59ed620648884cd46455f6218213587f76967918
diff --git a/app-emacs/po-mode/files/50po-mode-gentoo.el b/app-emacs/po-mode/files/50po-mode-gentoo.el
new file mode 100644
index 000000000000..47adee8f6c5a
--- /dev/null
+++ b/app-emacs/po-mode/files/50po-mode-gentoo.el
@@ -0,0 +1,8 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'po-mode "po-mode" "Major mode for translators to edit PO files" t)
+(or (fboundp 'po-find-file-coding-system)
+ (autoload 'po-find-file-coding-system "po-compat"))
+
+(add-to-list 'auto-mode-alist '("\\.po\\'\\|\\.po\\." . po-mode))
+(modify-coding-system-alist 'file "\\.po\\'\\|\\.po\\."
+ 'po-find-file-coding-system)
diff --git a/app-emacs/po-mode/metadata.xml b/app-emacs/po-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/po-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/po-mode/po-mode-0.18.3.2.ebuild b/app-emacs/po-mode/po-mode-0.18.3.2.ebuild
new file mode 100644
index 000000000000..8c8f2f159db7
--- /dev/null
+++ b/app-emacs/po-mode/po-mode-0.18.3.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Major mode for GNU gettext PO files"
+HOMEPAGE="http://www.gnu.org/software/gettext/"
+SRC_URI="mirror://gnu/gettext/gettext-${PV}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
+
+S="${WORKDIR}/gettext-${PV}/gettext-tools/misc"
+ELISP_REMOVE="start-po.el"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/po-mode/po-mode-0.19.3.ebuild b/app-emacs/po-mode/po-mode-0.19.3.ebuild
new file mode 100644
index 000000000000..b1f27d0c5520
--- /dev/null
+++ b/app-emacs/po-mode/po-mode-0.19.3.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Major mode for GNU gettext PO files"
+HOMEPAGE="http://www.gnu.org/software/gettext/"
+SRC_URI="mirror://gnu/gettext/gettext-${PV}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
+
+S="${WORKDIR}/gettext-${PV}/gettext-tools/misc"
+ELISP_REMOVE="start-po.el"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/po-mode/po-mode-0.19.4.ebuild b/app-emacs/po-mode/po-mode-0.19.4.ebuild
new file mode 100644
index 000000000000..d78717f14094
--- /dev/null
+++ b/app-emacs/po-mode/po-mode-0.19.4.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Major mode for GNU gettext PO files"
+HOMEPAGE="http://www.gnu.org/software/gettext/"
+SRC_URI="mirror://gnu/gettext/gettext-${PV}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
+
+S="${WORKDIR}/gettext-${PV}/gettext-tools/misc"
+ELISP_REMOVE="start-po.el"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/popwin/Manifest b/app-emacs/popwin/Manifest
new file mode 100644
index 000000000000..a6e406923460
--- /dev/null
+++ b/app-emacs/popwin/Manifest
@@ -0,0 +1 @@
+DIST popwin-0.6.2.tar.gz 16821 SHA256 77069e5c642ccee21788f462dc2bdc30ac4789d658585da950cf7097fa41d6e9 SHA512 3c086361d6b79d7c68583cdbfb76cfd95b6ed56883382e42a863137d93e2a64fa8dce7b7873a4c46ce04a742942dd5f16367c691be608438079555578709b108 WHIRLPOOL 2739efa75f9e88296f28ab2df93990dac5630a4e6b3a7d094fed1b0ee23066c51f2ff42301cbefec9dff132ec2ddbdab2c532bd49b6f7e20903f382d9f4aa208
diff --git a/app-emacs/popwin/files/50popwin-gentoo.el b/app-emacs/popwin/files/50popwin-gentoo.el
new file mode 100644
index 000000000000..bd00744ede00
--- /dev/null
+++ b/app-emacs/popwin/files/50popwin-gentoo.el
@@ -0,0 +1,6 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'popwin:display-buffer "popwin"
+ "Display BUFFER-OR-NAME, if possible, in a popup window, or as usual.
+This function can be used as a value of `display-buffer-function'." t)
+(autoload 'popwin:special-display-popup-window "popwin"
+ "The `special-display-function' with a popup window.")
diff --git a/app-emacs/popwin/metadata.xml b/app-emacs/popwin/metadata.xml
new file mode 100644
index 000000000000..62aa791f2446
--- /dev/null
+++ b/app-emacs/popwin/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<maintainer>
+ <email>naota@gentoo.org</email>
+</maintainer>
+<upstream>
+ <remote-id type="github">m2ym/popwin-el</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/popwin/popwin-0.6.2.ebuild b/app-emacs/popwin/popwin-0.6.2.ebuild
new file mode 100644
index 000000000000..5885ce8b4144
--- /dev/null
+++ b/app-emacs/popwin/popwin-0.6.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp eutils
+
+DESCRIPTION="Popup window manager for Emacs"
+HOMEPAGE="https://github.com/m2ym/popwin-el/"
+SRC_URI="https://github.com/m2ym/${PN}-el/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README.md NEWS.md"
+
+src_unpack() {
+ unpack ${A}
+ mv m2ym-popwin-el-* ${P} || die
+}
diff --git a/app-emacs/pov-mode/Manifest b/app-emacs/pov-mode/Manifest
new file mode 100644
index 000000000000..1a8259a74138
--- /dev/null
+++ b/app-emacs/pov-mode/Manifest
@@ -0,0 +1,2 @@
+DIST pov-mode-3.2.tar.gz 65120 SHA256 b98f6c1a1778d4d7f9ecbccdf20fa233ccf9f502306a43fd2f52bf8ef3d019e6 SHA512 da8cc0172fb47fe201457609bff36ff9c9b3b9930c23ee02eb2d302c44275e8402916f3a6424013573a190d0ebc0e652f88a6f47283ba0e5953009ececf8ce31 WHIRLPOOL f3a70ed0aa0d12cc161dc003a7b208f626b5b7f7cbc07b01e211a94e7f9e8cbdfcdf49ada05625fc3a5d8602c832a53b8c1a5a5197d1e22c391358adc4f980a3
+DIST pov-mode-3.3.tar.gz 65929 SHA256 ff766da83af91d17a2ab4103ded50fa2025a6e79dd97114c9cc96cd0d34587d8 SHA512 e705f25f1eb719152dbf5ec17c833f67b4c7be5b1ff9ddab94f67830d9d2caddabc47bcc6ce4864521eedd2728f4b59a6d2c0ddaba83f0b194bb0834d86e9396 WHIRLPOOL 51d9661dc7cfbd63da87eafc4951c9d9321f77ffd933f22f51d83a37280d374014b90e35630207f1a395bd83f28802f186197eb5a89a9ea45d9a1e750a76e395
diff --git a/app-emacs/pov-mode/files/50pov-mode-gentoo.el b/app-emacs/pov-mode/files/50pov-mode-gentoo.el
new file mode 100644
index 000000000000..0489820ec5f6
--- /dev/null
+++ b/app-emacs/pov-mode/files/50pov-mode-gentoo.el
@@ -0,0 +1,9 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'pov-mode "pov-mode" "PoVray scene file mode" t)
+(add-to-list 'auto-mode-alist '("\\.pov\\'" . pov-mode))
+;;(add-to-list 'auto-mode-alist '("\\.inc\\'" . pov-mode))
+
+;; Override customization variables setting various directories.
+(setq pov-include-dir "/usr/share/povray/include")
+(setq pov-insertmenu-location "@SITEETC@/InsertMenu")
+(setq pov-icons-location "@SITEETC@/")
diff --git a/app-emacs/pov-mode/metadata.xml b/app-emacs/pov-mode/metadata.xml
new file mode 100644
index 000000000000..f09c9defae46
--- /dev/null
+++ b/app-emacs/pov-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="gitorious">pov-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/pov-mode/pov-mode-3.2.ebuild b/app-emacs/pov-mode/pov-mode-3.2.ebuild
new file mode 100644
index 000000000000..f9ee93a5b39f
--- /dev/null
+++ b/app-emacs/pov-mode/pov-mode-3.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Emacs mode for povray"
+HOMEPAGE="https://gitorious.org/pov-mode/pov-mode/trees/master"
+#SRC_URI="http://tromey.com/elpa/${P}.tar"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-3 FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+SITEFILE="50${PN}-gentoo.el"
+ELISP_TEXINFO="info/${PN}.texi"
+DOCS="README"
+
+src_prepare() {
+ rm -f *.info || die # ensure we build them from source
+}
+
+src_install() {
+ elisp_src_install
+ insinto ${SITEETC}/${PN}
+ doins *.xpm
+ doins -r InsertMenu/
+}
diff --git a/app-emacs/pov-mode/pov-mode-3.3.ebuild b/app-emacs/pov-mode/pov-mode-3.3.ebuild
new file mode 100644
index 000000000000..29c3440d9eba
--- /dev/null
+++ b/app-emacs/pov-mode/pov-mode-3.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Emacs mode for povray"
+HOMEPAGE="http://gitorious.org/pov-mode/"
+SRC_URI="http://gitorious.org/${PN}/${PN}/archive-tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-3 FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${PN}-${PN}"
+SITEFILE="50${PN}-gentoo.el"
+ELISP_REMOVE="${PN}-pkg.el ${PN}.info"
+ELISP_TEXINFO="info/${PN}.texi"
+DOCS="README"
+
+src_install() {
+ elisp_src_install
+ insinto ${SITEETC}/${PN}
+ doins *.xpm
+ doins -r InsertMenu/
+}
diff --git a/app-emacs/prom-wl/Manifest b/app-emacs/prom-wl/Manifest
new file mode 100644
index 000000000000..edd09b227447
--- /dev/null
+++ b/app-emacs/prom-wl/Manifest
@@ -0,0 +1 @@
+DIST prom-wl-2.7.0.tar.gz 10563 SHA256 964c3106e42cca9f0c069c502b19bd8157d71c0e2b513ca190f015bcb654de48 SHA512 c05d61761b8c050bb6c09f3028f54351d3ffed5a17bb8519be76c8c706df825569cccfc8cd1ff2b656ef885a9606768eeb1b3dc0955ff4316bbe35c5db8ed989 WHIRLPOOL d039fb4f2436299e70077730686fc3b8b997684f3d5001ab5fa48b33dba3155fdee727f9f037bab241b9d76b4d6b194993d8262a308ee19cd9fe6b5c80e61036
diff --git a/app-emacs/prom-wl/files/50prom-wl-gentoo.el b/app-emacs/prom-wl/files/50prom-wl-gentoo.el
new file mode 100644
index 000000000000..8eab391ee220
--- /dev/null
+++ b/app-emacs/prom-wl/files/50prom-wl-gentoo.el
@@ -0,0 +1,5 @@
+
+;;; prom-wl site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'prom-wl "prom-wl" nil t)
diff --git a/app-emacs/prom-wl/metadata.xml b/app-emacs/prom-wl/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/prom-wl/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/prom-wl/prom-wl-2.7.0-r1.ebuild b/app-emacs/prom-wl/prom-wl-2.7.0-r1.ebuild
new file mode 100644
index 000000000000..e9963e4db123
--- /dev/null
+++ b/app-emacs/prom-wl/prom-wl-2.7.0-r1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit elisp
+
+DESCRIPTION="Procmail reader for Wanderlust"
+HOMEPAGE="http://www.h6.dion.ne.jp/~nytheta/software/prom-wl.html"
+SRC_URI="http://www.h6.dion.ne.jp/~nytheta/software/pub/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="app-emacs/wanderlust"
+
+SITEFILE=50${PN}-gentoo.el
+DOCS="prom-wl-usage.jis"
diff --git a/app-emacs/proofgeneral/Manifest b/app-emacs/proofgeneral/Manifest
new file mode 100644
index 000000000000..3789e04d25cb
--- /dev/null
+++ b/app-emacs/proofgeneral/Manifest
@@ -0,0 +1 @@
+DIST ProofGeneral-4.2.tgz 1613190 SHA256 3567b68077798396ccd55c501b7ea7bd2c4d6300e4c74ff609dc19837d050b27 SHA512 102c56a1bc113439b1fa8aa10efe571d47d68b344d3489fe18ca3bdbf8828bb31fd2302a68a4bd639c59c429d41e82e5d933abddd3444781cb0e8a603db432ab WHIRLPOOL 9c4e54cf3b1528ee6cbdfac19b0c589f0c2640defbac15d5aaf0a1bfd64680bff45d2faa17f669210f47f30debb768d593590d350acac9c2669d24dc109bb4d8
diff --git a/app-emacs/proofgeneral/files/50proofgeneral-gentoo.el b/app-emacs/proofgeneral/files/50proofgeneral-gentoo.el
new file mode 100644
index 000000000000..4839b17f1f58
--- /dev/null
+++ b/app-emacs/proofgeneral/files/50proofgeneral-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@/generic")
+(require 'proof-site)
diff --git a/app-emacs/proofgeneral/files/proofgeneral-4.2-bytecomp-warn.patch b/app-emacs/proofgeneral/files/proofgeneral-4.2-bytecomp-warn.patch
new file mode 100644
index 000000000000..b34321bf392b
--- /dev/null
+++ b/app-emacs/proofgeneral/files/proofgeneral-4.2-bytecomp-warn.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/445242
+http://proofgeneral.inf.ed.ac.uk/trac/ticket/458
+
+--- ProofGeneral-4.2-orig/Makefile
++++ ProofGeneral-4.2/Makefile
+@@ -62,7 +62,7 @@
+ # only during compilation. Another idea: put a function in proof-site
+ # to output the compile-time load path and ELISP_DIRS so these are set
+ # just in that one place.
+-BYTECOMP = $(BATCHEMACS) -eval '(setq load-path (append (mapcar (lambda (d) (concat "${PWD}/" (symbol-name d))) (quote (${ELISP_DIRS}))) load-path))' -eval '(progn (require (quote bytecomp)) (require (quote mouse)) (require (quote tool-bar)) (require (quote fontset)) (setq byte-compile-warnings (remove (quote cl-functions) (remove (quote noruntime) byte-compile-warning-types))) (setq byte-compile-error-on-warn t))' -f batch-byte-compile
++BYTECOMP = $(BATCHEMACS) -eval '(setq load-path (append (mapcar (lambda (d) (concat "${PWD}/" (symbol-name d))) (quote (${ELISP_DIRS}))) load-path))' -eval '(progn (require (quote bytecomp)) (require (quote mouse)) (require (quote tool-bar)) (require (quote fontset)))' -f batch-byte-compile
+ EL=$(shell for f in $(ELISP_DIRS); do ls $$f/*.el; done)
+ ELC=$(EL:.el=.elc)
+
diff --git a/app-emacs/proofgeneral/metadata.xml b/app-emacs/proofgeneral/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/proofgeneral/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/proofgeneral/proofgeneral-4.2.ebuild b/app-emacs/proofgeneral/proofgeneral-4.2.ebuild
new file mode 100644
index 000000000000..ee26d59d7606
--- /dev/null
+++ b/app-emacs/proofgeneral/proofgeneral-4.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+MY_PN="ProofGeneral"
+DESCRIPTION="A generic interface for proof assistants"
+HOMEPAGE="http://proofgeneral.inf.ed.ac.uk/"
+SRC_URI="http://proofgeneral.inf.ed.ac.uk/releases/${MY_PN}-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+DEPEND=">=app-emacs/mmm-mode-0.4.8-r2"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+ELISP_PATCHES="${P}-bytecomp-warn.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ elisp_src_prepare
+ sed -i -e '/^OTHER_ELISP/s:contrib/mmm::' Makefile || die
+}
+
+src_compile() {
+ # remove precompiled lisp files
+ emake clean
+ emake -j1 compile EMACS=emacs
+}
+
+src_install() {
+ emake -j1 install EMACS=emacs PREFIX="${D}"/usr
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" ${MY_PN}
+
+ doinfo doc/*.info*
+ doman doc/proofgeneral.1
+ dohtml doc/ProofGeneral/*.html doc/PG-adapting/*.html
+ dodoc AUTHORS BUGS CHANGES COMPATIBILITY FAQ INSTALL README REGISTER
+
+ # clean up
+ rm -rf "${D}/usr/share/emacs/site-lisp/site-start.d"
+ rm -rf "${D}/usr/share/application-registry"
+ rm -rf "${D}/usr/share/mime-info"
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "Please register your use of Proof General on the web at:"
+ elog " http://proofgeneral.inf.ed.ac.uk/register "
+ elog "(see the REGISTER file for more information)"
+}
diff --git a/app-emacs/protbuf/Manifest b/app-emacs/protbuf/Manifest
new file mode 100644
index 000000000000..f43e1b5e6637
--- /dev/null
+++ b/app-emacs/protbuf/Manifest
@@ -0,0 +1 @@
+DIST protbuf-1.7.tar.bz2 2270 SHA256 a3c78450bc9e04934d842913984e36f674a7c8d54eaf1c63aef61d8904d2fca5 SHA512 9dad81784b71234812ac35be695895c3063e5337dddbed73b28fde800d12110cec6bb9faa42b6ed74d9a2d4f12da96b8e692d193edfc775fd33a7922a019b8b2 WHIRLPOOL a55039d8f4d4dedf4b8c7083204c9cf45c8d9de18b9763ad1f1e05ecd92af93e3c10a0c745b8c3888d6d797704d61dcab0272e2dfffa0c36fade9e89d9a4903f
diff --git a/app-emacs/protbuf/files/50protbuf-gentoo.el b/app-emacs/protbuf/files/50protbuf-gentoo.el
new file mode 100644
index 000000000000..f64466f67ed8
--- /dev/null
+++ b/app-emacs/protbuf/files/50protbuf-gentoo.el
@@ -0,0 +1,12 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'protect-buffer-from-kill-mode "protbuf"
+ "Protect buffer from being killed.
+To remove this protection, call this command with a negative prefix argument."
+ t)
+(autoload 'protect-process-buffer-from-kill-mode "protbuf"
+ "Protect buffer from being killed as long as it has an active process.
+To remove this protection, call this command with a negative prefix argument."
+ t)
+(autoload 'protect-buffer-from-kill "protbuf")
+(autoload 'protect-process-buffer-from-kill "protbuf")
diff --git a/app-emacs/protbuf/metadata.xml b/app-emacs/protbuf/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/protbuf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/protbuf/protbuf-1.7-r1.ebuild b/app-emacs/protbuf/protbuf-1.7-r1.ebuild
new file mode 100644
index 000000000000..4b614ad68967
--- /dev/null
+++ b/app-emacs/protbuf/protbuf-1.7-r1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Protect Emacs buffers from accidental killing"
+HOMEPAGE="http://www.splode.com/~friedman/software/emacs-lisp/
+ http://www.emacswiki.org/emacs/ProtectingBuffers"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/psgml/Manifest b/app-emacs/psgml/Manifest
new file mode 100644
index 000000000000..0863d1c80706
--- /dev/null
+++ b/app-emacs/psgml/Manifest
@@ -0,0 +1 @@
+DIST psgml-1.4.0.tar.gz 262246 SHA256 a1c4d5ae3c27b475bebbea539c0933b7a7356dd69c5e1498a4125e5ee2db46e5 SHA512 99bab6440a0f437009edff6371412c16f47d48c6b1eaa5b894523130e3a8d604ea79dc81f1895ceecd4283d0c7fd908d4e5bdeace63e54b9ac048a80fc0f6f44 WHIRLPOOL 12d300e30702beae1c67975388625f961cffb90aa13e3a62e32d3a0ce65bd15c3baf27cd5ddd99d768027f980f8f4b246de21322a3341577948cac957330bb5c
diff --git a/app-emacs/psgml/files/50psgml-gentoo.el b/app-emacs/psgml/files/50psgml-gentoo.el
new file mode 100644
index 000000000000..e69efe77d8f0
--- /dev/null
+++ b/app-emacs/psgml/files/50psgml-gentoo.el
@@ -0,0 +1,6 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)
+(autoload 'xml-mode "psgml" "Major mode to edit XML files." t)
+(setq sgml-catalog-files '("CATALOG" "/etc/sgml/catalog"))
+(setq sgml-display-char-list-filename
+ "@SITEETC@/iso88591.map")
diff --git a/app-emacs/psgml/metadata.xml b/app-emacs/psgml/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/psgml/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/psgml/psgml-1.4.0.ebuild b/app-emacs/psgml/psgml-1.4.0.ebuild
new file mode 100644
index 000000000000..64e892ef8dab
--- /dev/null
+++ b/app-emacs/psgml/psgml-1.4.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A GNU Emacs Major Mode for editing SGML and XML coded documents"
+HOMEPAGE="http://sourceforge.net/projects/psgml/
+ http://www.emacswiki.org/emacs/PsgmlMode"
+SRC_URI="http://www.fsavigny.de/gpled-software/${P}.tar.gz"
+
+LICENSE="GPL-2+ Texinfo-manual"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+DEPEND="app-text/openjade"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ ${EMACS} ${EMACSFLAGS} --load psgml-maint.el -f psgml-compile-files || die
+}
+
+src_install() {
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ insinto "${SITEETC}/${PN}"
+ doins *.map
+ doinfo psgml.info psgml-api.info
+ dodoc ChangeLog INSTALL README.psgml psgml.ps
+}
diff --git a/app-emacs/pymacs/Manifest b/app-emacs/pymacs/Manifest
new file mode 100644
index 000000000000..0ad92dcc70cd
--- /dev/null
+++ b/app-emacs/pymacs/Manifest
@@ -0,0 +1,2 @@
+DIST Pymacs-0.23.tar.gz 92161 SHA256 eb419e307c9670ac5ad76de44c8803bd91ff0a1a8d6b6035fa4d0427a85f5163 SHA512 c07cc4fa75ca3f03a517563172c9647f1f8402bfe7cdac45aa285c838fe15ab4fd08cb2a0364d985fc4d0ad5670436c4f2c6fa81efe1424b10d2a430699308d3 WHIRLPOOL 5477b4eaf9c134f80101be9a83c2285d8105aeaa189e4f39190abb024073e942c660fe74eff2defb42f5422d64fe73cb24b8e206c53f624aec0e1a9795db4f58
+DIST pymacs-0.25.tar.gz 120597 SHA256 51dc21b33316e6e244e78e5e88d8ae9a88afc0dcef34ba702ea9be589839bec2 SHA512 e17f7ee754413e21403d23894ee263fb0edae180a60c746b02cf101b2f0c782116e7bb61215bd0a8c689a991e211d780d220d4672b58f43108e7218a6f0c8dc0 WHIRLPOOL 90a211d1b62387e05deb759786fd82eeed23c1800307f1345e1c06c579c0455480433c24fda34a881f887595e169076a6ed56f6e8774933f0431aa96940e0152
diff --git a/app-emacs/pymacs/files/50pymacs-gentoo.el b/app-emacs/pymacs/files/50pymacs-gentoo.el
new file mode 100644
index 000000000000..8c59be7e3365
--- /dev/null
+++ b/app-emacs/pymacs/files/50pymacs-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'pymacs-load "pymacs" nil t)
+(autoload 'pymacs-eval "pymacs" nil t)
+(autoload 'pymacs-apply "pymacs")
+(autoload 'pymacs-call "pymacs")
diff --git a/app-emacs/pymacs/metadata.xml b/app-emacs/pymacs/metadata.xml
new file mode 100644
index 000000000000..3f864cf6504f
--- /dev/null
+++ b/app-emacs/pymacs/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<herd>python</herd>
+<upstream>
+ <remote-id type="github">pinard/Pymacs</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/pymacs/pymacs-0.23-r1.ebuild b/app-emacs/pymacs/pymacs-0.23-r1.ebuild
new file mode 100644
index 000000000000..3172e9a607d5
--- /dev/null
+++ b/app-emacs/pymacs/pymacs-0.23-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+PYTHON_DEPEND="2"
+
+inherit distutils elisp
+
+MY_P=Pymacs-${PV}
+DESCRIPTION="A tool that allows both-side communication beetween Python and Emacs Lisp"
+HOMEPAGE="http://pymacs.progiciels-bpi.ca/"
+SRC_URI="http://pymacs.progiciels-bpi.ca/archives/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm hppa ia64 ppc ppc64 s390 sh x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="doc"
+
+# additional doc? dependencies for multirow.sty and aeguill.sty (bug 247703)
+DEPEND="
+ doc? ( dev-python/docutils
+ virtual/latex-base
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-langfrench )"
+RDEPEND=""
+
+SITEFILE=50${PN}-gentoo.el
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_compile() {
+ emake || die "emake failed"
+ elisp-compile pymacs.el || die "elisp-compile failed"
+ if use doc; then
+ VARTEXFONTS="${T}"/fonts \
+ emake pymacs.pdf || die "emake pymacs.pdf failed"
+ fi
+}
+
+src_install() {
+ elisp_src_install
+ distutils_src_install
+ dodoc THANKS pymacs.rst
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins pymacs.pdf
+ fi
+}
diff --git a/app-emacs/pymacs/pymacs-0.25-r1.ebuild b/app-emacs/pymacs/pymacs-0.25-r1.ebuild
new file mode 100644
index 000000000000..4f1f9b6eec2c
--- /dev/null
+++ b/app-emacs/pymacs/pymacs-0.25-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit elisp distutils-r1 vcs-snapshot
+
+DESCRIPTION="A tool that allows both-side communication beetween Python and Emacs Lisp"
+HOMEPAGE="http://www.emacswiki.org/emacs/PyMacs"
+SRC_URI="https://github.com/pinard/Pymacs/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="doc"
+
+DEPEND="doc? ( >=dev-python/docutils-0.7
+ virtual/latex-base )"
+RDEPEND=""
+
+DISTUTILS_IN_SOURCE_BUILD=1
+SITEFILE="50${PN}-gentoo.el"
+
+# called by distutils-r1 for every python implementation
+python_configure() {
+ # pre-process the files but don't run distutils
+ emake PYSETUP=: PYTHON=${EPYTHON}
+}
+
+# called once
+python_compile_all() {
+ elisp_src_compile
+ if use doc; then
+ VARTEXFONTS="${T}"/fonts emake RST2LATEX=rst2latex.py pymacs.pdf
+ fi
+}
+
+python_install_all() {
+ elisp_src_install
+ distutils-r1_python_install_all
+ dodoc pymacs.rst
+ use doc && dodoc pymacs.pdf
+}
diff --git a/app-emacs/python-mode/Manifest b/app-emacs/python-mode/Manifest
new file mode 100644
index 000000000000..3ce8be3efc94
--- /dev/null
+++ b/app-emacs/python-mode/Manifest
@@ -0,0 +1,4 @@
+DIST python-mode-5.2.0.tgz 73566 SHA256 84ee977fb7c639bc96cd4e8db0145c7a182489456e4d95a71c3612258b5013ac SHA512 cc31962bd99f76d5a250418ce53a88d6b06282810389d737c383637fba867716a8845a72390c0f87213963647315af34de857e5beb674b921461bf02212b62ca WHIRLPOOL 38e2097f65737bcf0e208bd50b2e34b8d2478160344806b8fcbddebb74f7622ffda97014be551515b996235900a7973fae912930853b1fb362dbb3d763de449d
+DIST python-mode.el-6.0.12.tar.gz 297981 SHA256 85a1ae9b8514330613887ef2cd305cef22c8338192942c09a82c6feab211cd39 SHA512 1b9c86e994d3e607a13cbfe743f5a7b527c00def756ad9a21d04681a755707580919517e5957cb16e64cf31e9204bc56e490e8d11c00d016590d04061a9ecb42 WHIRLPOOL 385296fd06b0c055e25d113f43a5bbf0a0cbc7280234508af7d334d5ae992551f1e4d8dec02eafc4c080650b071b4c36cf4bcc2e2c7ab75b249dacf493b7d3d9
+DIST python-mode.el-6.1.1.tar.gz 313595 SHA256 3eea9722d8407024dcad38b26029992333b357009c9f0d755e2ef7ac06c55a85 SHA512 66226db207421cd33812505e74b986b279534876386fa1b2bc90d58fb35cacfb9fd2790a3dd760becd2797a390d0960035f2ee0d5636c83daf6d0c699d122609 WHIRLPOOL a020e7ce9ceccb8e8d34e88e45bcee668462d286463a6b87ce26c14108c6c66b862bcd78ea7a962ff3f6644a6d4c8ffa06e290eff2a8fb828a21d5f45b44f441
+DIST python-mode.el-6.1.2.tar.gz 330107 SHA256 ae1223bba504c6db08b7a4fc5ef2e148ad861048b4146f5966ddb4ce39e244e3 SHA512 967ad7fdb3503c2dc37df79ba9f45ed7627a5b8e287cae9e8963a259a6568282c16d509e873c7d8b97e4acaafbd71dcec00e5ac71ed695b20ecddca5da20ba96 WHIRLPOOL 05a9f6f60fa0dca16695c1b9fd43fe5c9d9304cc564292412df12d1894f971c119b0d4a57c297684968e58e0bb4a5e9f4472700d7d9fff461f20294c4c5faabe
diff --git a/app-emacs/python-mode/files/50python-mode-gentoo.el b/app-emacs/python-mode/files/50python-mode-gentoo.el
new file mode 100644
index 000000000000..75812316482a
--- /dev/null
+++ b/app-emacs/python-mode/files/50python-mode-gentoo.el
@@ -0,0 +1,11 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'python-mode "python-mode" "Major mode for editing Python files." t)
+(autoload 'jython-mode "python-mode" "Major mode for editing Jython files." t)
+(autoload 'py-shell "python-mode"
+ "Start an interactive Python interpreter in another window." t)
+
+(add-to-list 'auto-mode-alist '("\\.py$" . python-mode))
+(add-to-list 'auto-mode-alist '("\\.pyx$" . python-mode))
+(add-to-list 'interpreter-mode-alist '("python" . python-mode))
+(add-to-list 'interpreter-mode-alist '("jython" . jython-mode))
diff --git a/app-emacs/python-mode/metadata.xml b/app-emacs/python-mode/metadata.xml
new file mode 100644
index 000000000000..4c84d631ad42
--- /dev/null
+++ b/app-emacs/python-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="launchpad">python-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/python-mode/python-mode-5.2.0.ebuild b/app-emacs/python-mode/python-mode-5.2.0.ebuild
new file mode 100644
index 000000000000..9d3fd3b82b76
--- /dev/null
+++ b/app-emacs/python-mode/python-mode-5.2.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+inherit elisp
+
+DESCRIPTION="An Emacs major mode for editing Python source"
+HOMEPAGE="https://launchpad.net/python-mode"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tgz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 arm hppa ia64 ppc ppc64 s390 sh x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE=""
+
+S="${WORKDIR}/${PN}"
+# doctest-mode has its own package, pycomplete is not yet ready for production
+ELISP_REMOVE="doctest-mode.el pycomplete.el"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="NEWS"
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "Note that doctest support is split out to app-emacs/doctest-mode."
+}
diff --git a/app-emacs/python-mode/python-mode-6.0.12.ebuild b/app-emacs/python-mode/python-mode-6.0.12.ebuild
new file mode 100644
index 000000000000..740e012612fb
--- /dev/null
+++ b/app-emacs/python-mode/python-mode-6.0.12.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+MY_P="${PN}.el-${PV}"
+DESCRIPTION="An Emacs major mode for editing Python source"
+HOMEPAGE="https://launchpad.net/python-mode"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${MY_P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 arm hppa ia64 ppc ppc64 s390 sh x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+S="${WORKDIR}/${MY_P}"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="NEWS README"
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "Note that doctest and pymacs are in their own packages,"
+ elog "app-emacs/doctest-mode and app-emacs/pymacs, respectively."
+}
diff --git a/app-emacs/python-mode/python-mode-6.1.1.ebuild b/app-emacs/python-mode/python-mode-6.1.1.ebuild
new file mode 100644
index 000000000000..6ff5dafb5d7e
--- /dev/null
+++ b/app-emacs/python-mode/python-mode-6.1.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+MY_P="${PN}.el-${PV}"
+DESCRIPTION="An Emacs major mode for editing Python source"
+HOMEPAGE="https://launchpad.net/python-mode"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${MY_P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+S="${WORKDIR}/${MY_P}"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="NEWS README"
+DOC_CONTENTS="Note that doctest and pymacs are in their own packages,
+ app-emacs/doctest-mode and app-emacs/pymacs, respectively."
diff --git a/app-emacs/python-mode/python-mode-6.1.2.ebuild b/app-emacs/python-mode/python-mode-6.1.2.ebuild
new file mode 100644
index 000000000000..6ff5dafb5d7e
--- /dev/null
+++ b/app-emacs/python-mode/python-mode-6.1.2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+MY_P="${PN}.el-${PV}"
+DESCRIPTION="An Emacs major mode for editing Python source"
+HOMEPAGE="https://launchpad.net/python-mode"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${MY_P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+S="${WORKDIR}/${MY_P}"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="NEWS README"
+DOC_CONTENTS="Note that doctest and pymacs are in their own packages,
+ app-emacs/doctest-mode and app-emacs/pymacs, respectively."
diff --git a/app-emacs/quack/Manifest b/app-emacs/quack/Manifest
new file mode 100644
index 000000000000..fbe43305a328
--- /dev/null
+++ b/app-emacs/quack/Manifest
@@ -0,0 +1 @@
+DIST quack-0.47.el.xz 44508 SHA256 9f3173d0b8ab9bf070ef8e823c0d7c65e4992cef47df94f1a6eeaed96316956e SHA512 41775f5850518a8738aae9d7185c733ad4d5a778859a9d9a7235c84184fb7b84dd49d37a607291f39fac4ddc1cd507806a01dd19ab3351646ecf35e747feb8ce WHIRLPOOL ab284d3d520b49368726ed00164811ac8601a0d298d2bddc54f4677a621ca1c0ff2ebb3c244c59c18f7929e9dc8c2c6014f95036bf325ec531c3cc597e9d69c5
diff --git a/app-emacs/quack/files/50quack-gentoo.el b/app-emacs/quack/files/50quack-gentoo.el
new file mode 100644
index 000000000000..22cca093d956
--- /dev/null
+++ b/app-emacs/quack/files/50quack-gentoo.el
@@ -0,0 +1,10 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'quack-scheme-mode-hookfunc "quack")
+(autoload 'quack-inferior-scheme-mode-hookfunc "quack")
+(autoload 'quack-pltfile-mode "quack"
+ "Major mode for viewing PLT Scheme `.plt' package files." t)
+
+(add-hook 'scheme-mode-hook 'quack-scheme-mode-hookfunc)
+(add-hook 'inferior-scheme-mode-hook 'quack-inferior-scheme-mode-hookfunc)
+(add-to-list 'auto-mode-alist '("\\.plt\\'" . quack-pltfile-mode))
diff --git a/app-emacs/quack/metadata.xml b/app-emacs/quack/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/quack/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/quack/quack-0.47.ebuild b/app-emacs/quack/quack-0.47.ebuild
new file mode 100644
index 000000000000..9a4995c9b9be
--- /dev/null
+++ b/app-emacs/quack/quack-0.47.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Enhances Emacs support for Scheme"
+HOMEPAGE="http://www.neilvandyke.org/quack/"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/quilt-el/Manifest b/app-emacs/quilt-el/Manifest
new file mode 100644
index 000000000000..36c6431a0248
--- /dev/null
+++ b/app-emacs/quilt-el/Manifest
@@ -0,0 +1 @@
+DIST quilt-el-0.48.0.tar.gz 13147 SHA256 6c7a80d7f121d4958e989ad98065667d328905b893551f2f3e6f56449506ad24 SHA512 0a198ef0f8354c927c4527bb7a3e99fd6d12f17cbe65c736341c527de440d144581205337163912ce04f83749c31833221cc4153d5736ffec060ad4ade73c694 WHIRLPOOL fc083629a622500105315ab8553f81721b9902132bb63ebf0a4132aee8303ba304a6779cdff9a6db282cc01b3cc66fd30ace4a9e27eb4adb5e795ea34d6e997b
diff --git a/app-emacs/quilt-el/files/50quilt-el-gentoo.el b/app-emacs/quilt-el/files/50quilt-el-gentoo.el
new file mode 100644
index 000000000000..ccdd69d19ab9
--- /dev/null
+++ b/app-emacs/quilt-el/files/50quilt-el-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'quilt-mode "quilt"
+ "Toggle quilt-mode. With positive arg, enable quilt-mode." t)
+(autoload 'quilt-hook "quilt"
+ "Enable quilt mode for quilt-controlled files.")
+(add-hook 'find-file-hooks 'quilt-hook)
+(add-hook 'after-revert-hook 'quilt-hook)
diff --git a/app-emacs/quilt-el/files/quilt-el-0.45.4-header-window.patch b/app-emacs/quilt-el/files/quilt-el-0.45.4-header-window.patch
new file mode 100644
index 000000000000..b2f532617f76
--- /dev/null
+++ b/app-emacs/quilt-el/files/quilt-el-0.45.4-header-window.patch
@@ -0,0 +1,10 @@
+--- quilt-el.orig/quilt.el
++++ quilt-el/quilt.el
+@@ -399,6 +399,7 @@
+ (cd quilt-header-directory)
+ (shell-command (concat "EDITOR=cat quilt -r header <" tmp))
+ (kill-buffer (current-buffer))
++ (delete-window)
+ (delete-file tmp)))
+
+ (defvar quilt-header-mode-map (make-keymap))
diff --git a/app-emacs/quilt-el/files/quilt-el-0.48.0-tramp-recursion.patch b/app-emacs/quilt-el/files/quilt-el-0.48.0-tramp-recursion.patch
new file mode 100644
index 000000000000..aa1bf5c97e8d
--- /dev/null
+++ b/app-emacs/quilt-el/files/quilt-el-0.48.0-tramp-recursion.patch
@@ -0,0 +1,11 @@
+--- quilt-el-0.48.0-orig/quilt.el
++++ quilt-el-0.48.0/quilt.el
+@@ -49,7 +49,7 @@
+
+ (defun quilt-find-dir (fn)
+ "Return the top level dir of quilt from FN."
+- (if (or (not fn) (equal fn "/"))
++ (if (or (not fn) (equal fn (file-name-directory fn)))
+ nil
+ (let ((d (file-name-directory fn)))
+ (if (file-accessible-directory-p (concat d "/.pc"))
diff --git a/app-emacs/quilt-el/metadata.xml b/app-emacs/quilt-el/metadata.xml
new file mode 100644
index 000000000000..dc70d2e97d27
--- /dev/null
+++ b/app-emacs/quilt-el/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ quilt-el is an Emacs minor mode for quilt. By using this, it becomes easy to
+ edit files controlled by quilt. The main features are as follows:
+ * Automatically detects files that are in a quilt hierarchy and enables
+ itself.
+ * Only files in topmost patch can be writable.
+ * Some handy shortcut keys of quilt commands.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/quilt-el/quilt-el-0.48.0.ebuild b/app-emacs/quilt-el/quilt-el-0.48.0.ebuild
new file mode 100644
index 000000000000..5de0684b57a1
--- /dev/null
+++ b/app-emacs/quilt-el/quilt-el-0.48.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp eutils
+
+DESCRIPTION="Quilt mode for Emacs"
+HOMEPAGE="http://satoru-takeuchi.org/dev/quilt-el/"
+SRC_URI="http://satoru-takeuchi.org/dev/${PN}/download/${P}.tar.gz"
+
+LICENSE="GPL-1+"
+SLOT="0"
+KEYWORDS="amd64 arm ppc ppc64 sparc x86"
+
+RDEPEND="dev-util/quilt"
+
+ELISP_PATCHES="${P}-tramp-recursion.patch
+ ${PN}-0.45.4-header-window.patch"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README changelog"
diff --git a/app-emacs/qwerty/Manifest b/app-emacs/qwerty/Manifest
new file mode 100644
index 000000000000..d2975b48fbd8
--- /dev/null
+++ b/app-emacs/qwerty/Manifest
@@ -0,0 +1 @@
+DIST qwerty-1.1.tar.gz 3629 SHA256 e420815acb8bea40e2cfac7f241b275bd131e5079abdf9e0164872bffaef6a7d SHA512 1e808f758c2db054a1ae9fbfd961a1ca279226738d2cfcfc640e1613814469320dba75a2b6be00641403ce165e0fd02da04b791928979506deb8ef98cb9b9ada WHIRLPOOL 5cb0feed5d84f530691e5f0da78373005a81947802df1f592401eb1d186511ff9ae8a59754031dbc0b356634b44228e46fd2f5871724523f517f9ecfd6b71e25
diff --git a/app-emacs/qwerty/files/50qwerty-gentoo.el b/app-emacs/qwerty/files/50qwerty-gentoo.el
new file mode 100644
index 000000000000..20580cfc7c11
--- /dev/null
+++ b/app-emacs/qwerty/files/50qwerty-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'qwerty "qwerty"
+ "Switch between QWERTY and DVORAK without changing the system keymap" t)
diff --git a/app-emacs/qwerty/metadata.xml b/app-emacs/qwerty/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/qwerty/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/qwerty/qwerty-1.1.ebuild b/app-emacs/qwerty/qwerty-1.1.ebuild
new file mode 100644
index 000000000000..88e6f62aaaf2
--- /dev/null
+++ b/app-emacs/qwerty/qwerty-1.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Switch between QWERTY and DVORAK without changing the console keymap"
+# gnu.emacs.sources Message-ID: <NJ104.93Mar1125218@bootes.cus.cam.ac.uk>
+HOMEPAGE="http://groups.google.com/group/gnu.emacs.sources/msg/eab31c752dfdd3a5"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-1+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/redo+/Manifest b/app-emacs/redo+/Manifest
new file mode 100644
index 000000000000..e3f913a50aa0
--- /dev/null
+++ b/app-emacs/redo+/Manifest
@@ -0,0 +1 @@
+DIST redo+-1.19.el.xz 4160 SHA256 71376025c285c9baf7dd24e3ca2d99c8ec920a160a90156ff0fc02dccec3c2b4 SHA512 e6e436b3e11d90b637e66328f2f1bfeffe0c7fe4e4f1778825e95cdb2bdf934797e9ed5563f8d83bef4fcdbf5fa4f4ab4d85bcd35b967615fdd5bce45ba39d95 WHIRLPOOL 20da0f2c05de55df019bdbd584f4564e95effad9bc18f4b092c8c435c7912e2e70643c72e72fc431d0ab4ba69a1715ea8f523ae22af862a7ab74cf96bd40d2ed
diff --git a/app-emacs/redo+/files/50redo+-gentoo.el b/app-emacs/redo+/files/50redo+-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/redo+/files/50redo+-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/redo+/metadata.xml b/app-emacs/redo+/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/redo+/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/redo+/redo+-1.19.ebuild b/app-emacs/redo+/redo+-1.19.ebuild
new file mode 100644
index 000000000000..51880c79888e
--- /dev/null
+++ b/app-emacs/redo+/redo+-1.19.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Redo/undo system for Emacs"
+HOMEPAGE="http://www.emacswiki.org/emacs/RedoPlus
+ http://www11.atwiki.jp/s-irie/pages/18.html"
+# taken from http://www.emacswiki.org/emacs/${PN}.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
+DOC_CONTENTS="Add \"(require 'redo+)\" to your ~/.emacs file
+ to enable the redo/undo system."
diff --git a/app-emacs/regress/Manifest b/app-emacs/regress/Manifest
new file mode 100644
index 000000000000..2af0e04c9894
--- /dev/null
+++ b/app-emacs/regress/Manifest
@@ -0,0 +1 @@
+DIST regress-1.5.1.tar.gz 8633 SHA256 9be43cde347106c3979526b1049cf7af080dd9a6f8c71446562e78f1d871c81d SHA512 8718d44fc8cd62b9f02f53e59b0843f23cd9f1852c8f3c3038a3009b72f65efff94ac0fa9a18356d5efe7dde593e4643ed17fb54b5cc602f60c730cbb5cbd64a WHIRLPOOL d2c3f7d94e3d1a9807fba12e938ed6ca5accbb2a5d68283160996a01fbcbed5b350b037970562a894f046da5514a611b2375161b5713913b21cbd05835195e08
diff --git a/app-emacs/regress/files/1.5.1-regress.el-gentoo.patch b/app-emacs/regress/files/1.5.1-regress.el-gentoo.patch
new file mode 100644
index 000000000000..a66081ed759c
--- /dev/null
+++ b/app-emacs/regress/files/1.5.1-regress.el-gentoo.patch
@@ -0,0 +1,11 @@
+--- regress-1.5.1.orig/regress.el 2005-06-29 12:53:39.000000000 -0500
++++ regress-1.5.1/regress.el 2005-06-30 10:11:38.000000000 -0500
+@@ -114,6 +114,8 @@
+ ;; regression test fails and FAILURE-INDICATION is non-nil, it will
+ ;; be printed along with the results.
+
++(eval-when-compile
++ (require 'cl))
+
+ ;; Here are some contrived, simple examples. Much of regress.el
+ ;; itself contains regression tests. Search for "eval-when-compile",
diff --git a/app-emacs/regress/files/50regress-gentoo.el b/app-emacs/regress/files/50regress-gentoo.el
new file mode 100644
index 000000000000..307bf13f1477
--- /dev/null
+++ b/app-emacs/regress/files/50regress-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'regress-insert-suite "regress" nil t)
+(autoload 'regress-insert-call "regress" nil t)
+(autoload 'regress-forget "regress" nil t)
+(autoload 'regress "regress" nil t)
diff --git a/app-emacs/regress/metadata.xml b/app-emacs/regress/metadata.xml
new file mode 100644
index 000000000000..97e784644cc2
--- /dev/null
+++ b/app-emacs/regress/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+This module provides support for writing and executing regression
+tests for Emacs Lisp code.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/regress/regress-1.5.1.ebuild b/app-emacs/regress/regress-1.5.1.ebuild
new file mode 100644
index 000000000000..a1d9796cbf73
--- /dev/null
+++ b/app-emacs/regress/regress-1.5.1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Regression test harness for Emacs Lisp code"
+HOMEPAGE="http://www.emacswiki.org/emacs/WikifiedEmacsLispList"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-1+"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc x86"
+
+ELISP_PATCHES="${PV}-regress.el-gentoo.patch"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/remember/Manifest b/app-emacs/remember/Manifest
new file mode 100644
index 000000000000..56a20730ba06
--- /dev/null
+++ b/app-emacs/remember/Manifest
@@ -0,0 +1 @@
+DIST remember-2.0.tar.gz 48096 SHA256 95a7a69e6418d8cb9a5edd65b38f40a2bf3c81fa8c5f79f5aa662dd9c3017711 SHA512 c5d1a55904699565af6375d19e88924a31364cf6f9b09b6e5510ac3e65c9bddbb2e0a5aa668dfd6e541ea6572209cad8af68694b7376b1bfe964032d247e5e01 WHIRLPOOL df32bd6456a0475bfa361c5504ca30c1ced4b076d96e06c296e626f2c48f78a395c7fabbabc1dd0d67b1bd54f8e0655de271e2867c388e40b548dd9c3f2c31fa
diff --git a/app-emacs/remember/files/50remember-gentoo.el b/app-emacs/remember/files/50remember-gentoo.el
new file mode 100644
index 000000000000..d12bde7b24b1
--- /dev/null
+++ b/app-emacs/remember/files/50remember-gentoo.el
@@ -0,0 +1,8 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'remember "remember" "Remember an arbitrary piece of data." t)
+(autoload 'remember-region "remember" "Remember the data from BEG to END." t)
+(autoload 'remember-clipboard "remember"
+ "Remember the contents of the current clipboard." t)
+(autoload 'remember-buffer "remember"
+ "Remember the contents of the current buffer." t)
diff --git a/app-emacs/remember/files/remember-1.9-make-elc.patch b/app-emacs/remember/files/remember-1.9-make-elc.patch
new file mode 100644
index 000000000000..fb0bf1beb57d
--- /dev/null
+++ b/app-emacs/remember/files/remember-1.9-make-elc.patch
@@ -0,0 +1,11 @@
+--- remember-1.9/Makefile~ 2006-08-06 03:38:34.000000000 +0200
++++ remember-1.9/Makefile 2007-06-25 07:13:22.000000000 +0200
+@@ -21,7 +21,7 @@
+
+ %.elc: %.el
+ @$(EMACS) -q $(SITEFLAG) -batch -l ./scripts/$(PROJECT)-build.el \
+- -f batch-byte-compile $< || :
++ -f batch-byte-compile $<
+
+ %.info: %.texi
+ makeinfo $<
diff --git a/app-emacs/remember/metadata.xml b/app-emacs/remember/metadata.xml
new file mode 100644
index 000000000000..f4406812d32f
--- /dev/null
+++ b/app-emacs/remember/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ 'Remember' is a mode for remembering data. It uses whatever back-end is
+ appropriate to record and correlate the data, but its main intention is to
+ allow you to express as little structure as possible up front. If you later
+ want to express more powerful relationships between your data, or state
+ assumptions that were at first too implicit to be recognized, you can
+ 'study' the data later and rearrange it. But the initial 'just remember
+ this' impulse should be as close to simply throwing the data at Emacs as
+ possible.
+</longdescription>
+<use>
+ <flag name='bbdb'>Include support for <pkg>app-emacs/bbdb</pkg></flag>
+ <flag name='planner'>Include support for <pkg>app-emacs/planner</pkg></flag>
+</use>
+</pkgmetadata>
diff --git a/app-emacs/remember/remember-2.0.ebuild b/app-emacs/remember/remember-2.0.ebuild
new file mode 100644
index 000000000000..bb741f06e07b
--- /dev/null
+++ b/app-emacs/remember/remember-2.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Simplify writing short notes in emacs"
+HOMEPAGE="http://www.emacswiki.org/emacs/RememberMode"
+SRC_URI="http://download.gna.org/${PN}-el/${P}.tar.gz"
+
+LICENSE="GPL-3+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="bbdb planner"
+# tests require bibl-mode, restrict for now
+RESTRICT="test"
+
+RDEPEND="bbdb? ( app-emacs/bbdb )
+ planner? ( app-emacs/planner )"
+DEPEND="${RDEPEND}"
+
+ELISP_PATCHES="${PN}-1.9-make-elc.patch"
+SITEFILE="50${PN}-gentoo.el"
+ELISP_TEXINFO="remember.texi remember-extra.texi"
+DOCS="ChangeLog* NEWS"
+
+src_compile() {
+ local EL="remember.el read-file-name.el"
+ use bbdb && EL+=" remember-bbdb.el"
+ use planner && EL+=" remember-planner.el remember-experimental.el"
+ emake EL="${EL}"
+}
diff --git a/app-emacs/rfcview/Manifest b/app-emacs/rfcview/Manifest
new file mode 100644
index 000000000000..4c62df04bb72
--- /dev/null
+++ b/app-emacs/rfcview/Manifest
@@ -0,0 +1 @@
+DIST rfcview-0.13.el.xz 8836 SHA256 eff317b01824832288abe4e60884665fc22e3dbec315a1fb1779cf679f0a8d89 SHA512 84cda45b5e941808e2ddc50d5f03d7b2d3831208d08dddd2fe2121a20ddcbb7d24b148b2ec2ba07e0b9a04da81ae4d14269d0062955961679ac5c7532de1e6e5 WHIRLPOOL 6f10e4cd4f2d027804f030ff90430b80b89bfbb1df01b4ed8c30fcba049f11d0d3bb192ad18f453d73c81fbf3406b92f92817c3b9c0fa8c74860a371fbd341b1
diff --git a/app-emacs/rfcview/files/50rfcview-gentoo.el b/app-emacs/rfcview/files/50rfcview-gentoo.el
new file mode 100644
index 000000000000..a53d51851eb5
--- /dev/null
+++ b/app-emacs/rfcview/files/50rfcview-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'rfcview-mode "rfcview" nil t)
+(add-to-list 'auto-mode-alist
+ '("/rfc[0-9]+\\.txt\\(\\.gz\\)?\\'" . rfcview-mode))
diff --git a/app-emacs/rfcview/metadata.xml b/app-emacs/rfcview/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/rfcview/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/rfcview/rfcview-0.13.ebuild b/app-emacs/rfcview/rfcview-0.13.ebuild
new file mode 100644
index 000000000000..d686a43cd893
--- /dev/null
+++ b/app-emacs/rfcview/rfcview-0.13.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs mode that reformats IETF RFCs for display"
+HOMEPAGE="http://www.loveshack.ukfsn.org/emacs/
+ http://www.emacswiki.org/emacs/RfcView"
+# taken from http://www.loveshack.ukfsn.org/emacs/${PN}.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="alpha amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/riece/Manifest b/app-emacs/riece/Manifest
new file mode 100644
index 000000000000..bf79cbde07ac
--- /dev/null
+++ b/app-emacs/riece/Manifest
@@ -0,0 +1,2 @@
+DIST riece-8.0.0.tar.gz 432370 SHA256 e2da635832a07c8a44bdc4ff57e6f427d270fad9a5c71423b8de5811f21ef5a6 SHA512 ac219f882c2dedcba2bf3d75e5b934c363dfdd6d8f9e35ce11040d85fca526f8368a57535b729952d6f2731f3ec328bad3913426d0bb0b4bff78a407bfd63a96 WHIRLPOOL d5840e6a723d4a5c3faf62a3ae1c819722ac811c3b33260dd46c99b7bdbcfdc4c779ffde68b98c8f8a788642286a63420c31a3ac0e9e90306762f422a997b433
+DIST riece-9.0.0.tar.gz 438553 SHA256 88928dc21df3f3b15158e64b77268882544e6afa1d93f3545435ce430837fd2d SHA512 3fbfa4a6d898a713248ce217939af208729eb441ab7ecea2d2c028ce228db1363cb7d90d0de4636bd9fe10813c73f9ef70fb003cfc2fe64ec25b71c9821e8bf6 WHIRLPOOL 0897c79535aadd004cf3953428d1785ecf410ab3aa13ea1345df9384af72ec3bae8d8ab30260897c068f2c160f4e70e0b171fbd5e4feb4c3ca28cf94e3e9b776
diff --git a/app-emacs/riece/files/50riece-gentoo.el b/app-emacs/riece/files/50riece-gentoo.el
new file mode 100644
index 000000000000..e319fe63308d
--- /dev/null
+++ b/app-emacs/riece/files/50riece-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'riece "riece" "Start riece." t)
diff --git a/app-emacs/riece/metadata.xml b/app-emacs/riece/metadata.xml
new file mode 100644
index 000000000000..9cc80b349a64
--- /dev/null
+++ b/app-emacs/riece/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>emacs</herd>
+ <herd>net-irc</herd>
+</pkgmetadata>
diff --git a/app-emacs/riece/riece-8.0.0.ebuild b/app-emacs/riece/riece-8.0.0.ebuild
new file mode 100644
index 000000000000..e4a016c796cf
--- /dev/null
+++ b/app-emacs/riece/riece-8.0.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="A redesign of Liece IRC client"
+HOMEPAGE="http://www.nongnu.org/riece/"
+SRC_URI="http://download.savannah.gnu.org/releases/riece/${P}.tar.gz"
+
+LICENSE="GPL-2+ FDL-1.1+"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="linguas_ja"
+RESTRICT="test"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf --with-lispdir="${EPREFIX}${SITELISP}"
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ lispdir="${ED}${SITELISP}" \
+ install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc AUTHORS NEWS README doc/HACKING lisp/ChangeLog*
+
+ if use linguas_ja; then
+ dodoc NEWS.ja README.ja doc/HACKING.ja
+ else
+ rm -f "${ED}"/usr/share/info/riece-ja.info*
+ fi
+}
diff --git a/app-emacs/riece/riece-9.0.0.ebuild b/app-emacs/riece/riece-9.0.0.ebuild
new file mode 100644
index 000000000000..961a2f7f722a
--- /dev/null
+++ b/app-emacs/riece/riece-9.0.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A redesign of Liece IRC client"
+HOMEPAGE="http://www.nongnu.org/riece/"
+SRC_URI="http://download.savannah.gnu.org/releases/riece/${P}.tar.gz"
+
+LICENSE="GPL-2+ FDL-1.1+"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="linguas_ja"
+RESTRICT="test"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ econf --with-lispdir="${EPREFIX}${SITELISP}"
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ lispdir="${ED}${SITELISP}" \
+ install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc AUTHORS NEWS README doc/HACKING lisp/ChangeLog*
+
+ if use linguas_ja; then
+ dodoc NEWS.ja README.ja doc/HACKING.ja
+ else
+ rm -f "${ED}"/usr/share/info/riece-ja.info*
+ fi
+}
diff --git a/app-emacs/rnc-mode/Manifest b/app-emacs/rnc-mode/Manifest
new file mode 100644
index 000000000000..b90cddc62811
--- /dev/null
+++ b/app-emacs/rnc-mode/Manifest
@@ -0,0 +1 @@
+DIST RncMode-1_0b3.tgz 3420 SHA256 135cc63a65e079598d64fd2603500653b65e7ce1359acc9ceae4b65b8c7a3619 SHA512 0118e7b03dc039568ed427f9268878075077c360e34cd7fd9a565a11418161037890b08cc6169ddf92289ca1bdb66a1e373910b67735085a18618089729416cd WHIRLPOOL 02411df6699cc3301b37d7536cc5130eefc6775a5aeddb0770a4adc33f1b8cbeae48e06fccce56e8bb53362e7f57a57741b7db01a292df38275e603bb62616f3
diff --git a/app-emacs/rnc-mode/files/50rnc-mode-gentoo.el b/app-emacs/rnc-mode/files/50rnc-mode-gentoo.el
new file mode 100644
index 000000000000..a820f181e3ff
--- /dev/null
+++ b/app-emacs/rnc-mode/files/50rnc-mode-gentoo.el
@@ -0,0 +1,7 @@
+
+;;; rnc-mode site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'rnc-mode "rnc-mode")
+(add-to-list 'auto-mode-alist '("\\.rnc\\'" . rnc-mode))
diff --git a/app-emacs/rnc-mode/metadata.xml b/app-emacs/rnc-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/rnc-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/rnc-mode/rnc-mode-1.0_beta3.ebuild b/app-emacs/rnc-mode/rnc-mode-1.0_beta3.ebuild
new file mode 100644
index 000000000000..bc7e31ea1ce9
--- /dev/null
+++ b/app-emacs/rnc-mode/rnc-mode-1.0_beta3.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit elisp
+
+MY_PV=${PV/./_}
+MY_PV=${MY_PV/_beta/b}
+
+DESCRIPTION="An Emacs mode for editing Relax NG compact schema files"
+HOMEPAGE="http://www.pantor.com/"
+SRC_URI="http://www.pantor.com/RncMode-${MY_PV}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+SITEFILE=50${PN}-gentoo.el
+
+S="${WORKDIR}"
diff --git a/app-emacs/rpm-spec-mode/Manifest b/app-emacs/rpm-spec-mode/Manifest
new file mode 100644
index 000000000000..71efde5ec397
--- /dev/null
+++ b/app-emacs/rpm-spec-mode/Manifest
@@ -0,0 +1 @@
+DIST rpm-spec-mode-0.15.el.xz 11176 SHA256 f065ac2545eca293b4eef8e00a01640990e6b8f9e57412d0472c0af5a12eae1f SHA512 cd2f1dc1d3b7bc18512d14bdbc8b73183b0d917e93911aa5c88bd847cbf24f090480cdac46f9f8a82336085ea801abbbed567fce19498cc70661d051dfa287dc WHIRLPOOL 95e1f38ce57483dcb188c44ab571fb3e4a2a176449fe68551629c7af2c442beb06b4082eee4f8d7f7729a26af29c2f85eab0292e09af01edc15eb16edda5ecdc
diff --git a/app-emacs/rpm-spec-mode/files/50rpm-spec-mode-gentoo.el b/app-emacs/rpm-spec-mode/files/50rpm-spec-mode-gentoo.el
new file mode 100644
index 000000000000..9075e02c5b7d
--- /dev/null
+++ b/app-emacs/rpm-spec-mode/files/50rpm-spec-mode-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'rpm-spec-mode "rpm-spec-mode"
+ "Major mode for editing RPM spec files." t)
+(add-to-list 'auto-mode-alist '("\\.spec\\'" . rpm-spec-mode))
diff --git a/app-emacs/rpm-spec-mode/metadata.xml b/app-emacs/rpm-spec-mode/metadata.xml
new file mode 100644
index 000000000000..417d155c0e49
--- /dev/null
+++ b/app-emacs/rpm-spec-mode/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<maintainer>
+ <email>sochotnicky@gentoo.org</email>
+ <name>Stanislav Ochotnicky</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-emacs/rpm-spec-mode/rpm-spec-mode-0.15.ebuild b/app-emacs/rpm-spec-mode/rpm-spec-mode-0.15.ebuild
new file mode 100644
index 000000000000..52a4038071a0
--- /dev/null
+++ b/app-emacs/rpm-spec-mode/rpm-spec-mode-0.15.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Emacs mode to ease editing of RPM spec files"
+HOMEPAGE="http://www.emacswiki.org/emacs/RpmSpecMode"
+# taken from http://www.tihlde.org/~stigb/${PN}.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/ruby-mode/Manifest b/app-emacs/ruby-mode/Manifest
new file mode 100644
index 000000000000..8eb79a20c952
--- /dev/null
+++ b/app-emacs/ruby-mode/Manifest
@@ -0,0 +1,5 @@
+DIST ruby-1.9.3-p429.tar.bz2 10042323 SHA256 9d8949c24cf6fe810b65fb466076708b842a3b0bac7799f79b7b6a8791dc2a70 SHA512 c61216f34ed2ac02dba71e88da59d369e5aed1691039f19dbe4124a1cb3349fdafdf5c1a8993ddc1122312909cf69c5bb140edbd7112ca09147b40ec6244ffe3 WHIRLPOOL e4ff8f3b5f6525b9bd54febb00f132267b5efb163cf428774e3077fff3f0e94e0419dc7e8ff4f657ec5fd6f753056666725d26a0c8b10c0641438c51173ea04c
+DIST ruby-2.0.0-p247.tar.bz2 10804581 SHA256 08e3d4b85b8a1118a8e81261f59dd8b4ddcfd70b6ae554e0ec5ceb99c3185e8a SHA512 9bd793d0df8f0704fb1521a937c09ecc89b777851312793f0b3391df11dec8239808585697b932c4a94665fa29c7781503166dbd109f269811788c4c648f285f WHIRLPOOL 59eb0a5d71125b63226435d825f5793fd9ff7f065851b902ee45f974fdaf5f5498d12b07d8e20e668a1e4636dbc8f34d025f8713bd98e3c565327484e484a863
+DIST ruby-2.1.5.tar.xz 9371780 SHA256 22ba1eb8d475c9ed7e0541418d86044c1ea4c093ab79c300c38fc0f721afe9a3 SHA512 8a257da64158d49bc2810695baf4b5849ef83e3dde452bf1e4823e52e8261225427d729fce2fb4e9b53d6d17ca9c96d491f242535c2f963738b74f90944e2a0b WHIRLPOOL 7dab5db91e56ba95a221c456fbcebfb86aff038a084b7638f504e91e4c9b45a0ad7ee0296d6531281c33d75a31ee4f5ad05af6567a93034316f3992ebc5d6bf3
+DIST ruby-2.2.0.tar.xz 10304244 SHA256 848714e280fc5fb44dbac3b060b206e56c1947006324ee68a174d68b483ef8ca SHA512 cd7e52faa464df8aca7ccfa23a5f06248e1ad82bc8c9f1829aa1b51ff37b15973b8caaa68e914d837325b8d59427fda4f3cad82c50925e1c84e688324a2a155d WHIRLPOOL 6d06101015b6dee7f0f4409597b481d3ad08679237ad884866e513bbad2d851afc09ac414c60871d2ceeb9221013497f0c482c481c95c3e8f20a4664e95148fa
+DIST ruby-2.2.2.tar.xz 10463044 SHA256 f033b5d08ab57083e48c1d81bcd7399967578c370b664da90e12a32891424462 SHA512 bd72d0a4c017e2527659f64ef2781bbe8bd540a2302eaa60234a12282fd53c359e04205c56385402c67e81bb9dab3b88de53de82e12bb13e3386c26301043b64 WHIRLPOOL ee9c3a664ac1d67bd9ff4ed8fcc7d4c8e9b6e2f5774c938f876223b22022b498932afc41990890a03b560c65ffe29a039761d18bbeeab46fe13cbfff515bc115
diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.1.5.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.1.5.el
new file mode 100644
index 000000000000..691abdfdaf99
--- /dev/null
+++ b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.1.5.el
@@ -0,0 +1,12 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t)
+
+(add-to-list 'auto-mode-alist '("Rakefile\\'" . ruby-mode))
+(add-to-list 'auto-mode-alist '("\\.\\(rake\\|rb\\)\\'" . ruby-mode))
+(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
+
+(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t)
+(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
+
+(add-hook 'ruby-mode-hook 'inf-ruby-keys)
diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.0.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.0.el
new file mode 100644
index 000000000000..691abdfdaf99
--- /dev/null
+++ b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.0.el
@@ -0,0 +1,12 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t)
+
+(add-to-list 'auto-mode-alist '("Rakefile\\'" . ruby-mode))
+(add-to-list 'auto-mode-alist '("\\.\\(rake\\|rb\\)\\'" . ruby-mode))
+(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
+
+(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t)
+(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
+
+(add-hook 'ruby-mode-hook 'inf-ruby-keys)
diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.2.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.2.el
new file mode 100644
index 000000000000..691abdfdaf99
--- /dev/null
+++ b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.2.el
@@ -0,0 +1,12 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t)
+
+(add-to-list 'auto-mode-alist '("Rakefile\\'" . ruby-mode))
+(add-to-list 'auto-mode-alist '("\\.\\(rake\\|rb\\)\\'" . ruby-mode))
+(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
+
+(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t)
+(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
+
+(add-hook 'ruby-mode-hook 'inf-ruby-keys)
diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el
new file mode 100644
index 000000000000..c1f9602d19d8
--- /dev/null
+++ b/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el
@@ -0,0 +1,11 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t)
+
+(add-to-list 'auto-mode-alist '("\\.rb\\'" . ruby-mode))
+(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
+
+(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t)
+(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
+
+(add-hook 'ruby-mode-hook 'inf-ruby-keys)
diff --git a/app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch b/app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch
new file mode 100644
index 000000000000..4d4bb2775c83
--- /dev/null
+++ b/app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch
@@ -0,0 +1,22 @@
+commit 595825dc577616862b271ffac4c58eb27f0610af
+Author: hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
+Date: Sun Apr 21 10:04:54 2013 +0000
+
+ Replace use of obsolete variable `last-command-char` by @maser [fix GH-290]
+
+
+ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
+
+diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
+index dcaa396..ace0f27 100644
+--- a/misc/ruby-mode.el
++++ b/misc/ruby-mode.el
+@@ -874,7 +874,7 @@ Also ignores spaces after parenthesis when 'space."
+
+ (defun ruby-electric-brace (arg)
+ (interactive "P")
+- (insert-char last-command-char 1)
++ (insert-char last-command-event 1)
+ (ruby-indent-line t)
+ (delete-char -1)
+ (self-insert-command (prefix-numeric-value arg)))
diff --git a/app-emacs/ruby-mode/metadata.xml b/app-emacs/ruby-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/ruby-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/ruby-mode/ruby-mode-1.9.3_p429.ebuild b/app-emacs/ruby-mode/ruby-mode-1.9.3_p429.ebuild
new file mode 100644
index 000000000000..c3bbd7fdf867
--- /dev/null
+++ b/app-emacs/ruby-mode/ruby-mode-1.9.3_p429.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+MY_PV=${PV/_/-}
+DESCRIPTION="Emacs major mode for editing Ruby code"
+HOMEPAGE="http://www.ruby-lang.org/"
+SRC_URI="mirror://ruby/ruby-${MY_PV}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+S="${WORKDIR}/ruby-${MY_PV}/misc"
+DOCS="README"
+ELISP_PATCHES="${P}-last-command-char.patch"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/ruby-mode/ruby-mode-2.0.0_p247.ebuild b/app-emacs/ruby-mode/ruby-mode-2.0.0_p247.ebuild
new file mode 100644
index 000000000000..7577f8b505ce
--- /dev/null
+++ b/app-emacs/ruby-mode/ruby-mode-2.0.0_p247.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+MY_PV=${PV/_/-}
+DESCRIPTION="Emacs major mode for editing Ruby code"
+HOMEPAGE="http://www.ruby-lang.org/"
+SRC_URI="mirror://ruby/ruby-${MY_PV}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+S="${WORKDIR}/ruby-${MY_PV}/misc"
+DOCS="README"
+ELISP_PATCHES="${PN}-1.9.3_p429-last-command-char.patch"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/ruby-mode/ruby-mode-2.1.5.ebuild b/app-emacs/ruby-mode/ruby-mode-2.1.5.ebuild
new file mode 100644
index 000000000000..a0f0bf21c3f0
--- /dev/null
+++ b/app-emacs/ruby-mode/ruby-mode-2.1.5.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for editing Ruby code"
+HOMEPAGE="http://www.ruby-lang.org/"
+SRC_URI="mirror://ruby/ruby-${PV}.tar.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+S="${WORKDIR}/ruby-${PV}/misc"
+DOCS="README"
+SITEFILE="50${PN}-gentoo-${PV}.el"
diff --git a/app-emacs/ruby-mode/ruby-mode-2.2.0.ebuild b/app-emacs/ruby-mode/ruby-mode-2.2.0.ebuild
new file mode 100644
index 000000000000..a0f0bf21c3f0
--- /dev/null
+++ b/app-emacs/ruby-mode/ruby-mode-2.2.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for editing Ruby code"
+HOMEPAGE="http://www.ruby-lang.org/"
+SRC_URI="mirror://ruby/ruby-${PV}.tar.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+S="${WORKDIR}/ruby-${PV}/misc"
+DOCS="README"
+SITEFILE="50${PN}-gentoo-${PV}.el"
diff --git a/app-emacs/ruby-mode/ruby-mode-2.2.2.ebuild b/app-emacs/ruby-mode/ruby-mode-2.2.2.ebuild
new file mode 100644
index 000000000000..863448f9e06a
--- /dev/null
+++ b/app-emacs/ruby-mode/ruby-mode-2.2.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for editing Ruby code"
+HOMEPAGE="http://www.ruby-lang.org/"
+SRC_URI="mirror://ruby/ruby-${PV}.tar.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+S="${WORKDIR}/ruby-${PV}/misc"
+DOCS="README"
+SITEFILE="50${PN}-gentoo-${PV}.el"
diff --git a/app-emacs/rudel/Manifest b/app-emacs/rudel/Manifest
new file mode 100644
index 000000000000..02d61da43c98
--- /dev/null
+++ b/app-emacs/rudel/Manifest
@@ -0,0 +1 @@
+DIST rudel-0.3_pre20110721.tar.xz 416060 SHA256 7c0a3ba5ff7d8c5bfdb7a53c1d2d138977e2795025388a1b5fdaf0f031e6b2af SHA512 abf6c8eb4fcaf4acafb9bed7cafff5d3c8e19e3fecd2aa779065bfb11ce5cb198ef14cc9deed360ac895166ea159a821e24dc92dbeda4f5481d1bb3bc2f8c023 WHIRLPOOL 5160716cd66ab4c4df18e8f02a31807ae9e6f239d532ddc1837a3d34c548ae5abd349ba86abc3b9613f44d5a7450d82837b18f5fbca7eaa52b617a1345c4d626
diff --git a/app-emacs/rudel/files/60rudel-gentoo.el b/app-emacs/rudel/files/60rudel-gentoo.el
new file mode 100644
index 000000000000..2383074cfe17
--- /dev/null
+++ b/app-emacs/rudel/files/60rudel-gentoo.el
@@ -0,0 +1,13 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'rudel-join-session "rudel-loaddefs"
+ "Start a collaborative Rudel session" t)
+(autoload 'rudel-host-session "rudel-loaddefs"
+ "Host a collaborative Rudel session" t)
+(autoload 'rudel-speedbar "rudel-loaddefs"
+ "Show connected users and documents for the Rudel session in speedbar" t)
+(autoload 'global-rudel-minor-mode "rudel-loaddefs"
+ "Bindings for rudel session-level commands" t)
+
+;;(global-set-key (kbd "C-c c j") 'rudel-join-session)
+
+(setq rudel-icons-directory "@SITEETC@/icons/")
diff --git a/app-emacs/rudel/metadata.xml b/app-emacs/rudel/metadata.xml
new file mode 100644
index 000000000000..8a0c53e6c406
--- /dev/null
+++ b/app-emacs/rudel/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ Rudel is collaborative editing environment for GNU Emacs. Its purpose
+ is tod share buffers with other users in order to edit the contents
+ of those buffers collaboratively. Rudel supports multiple backends to
+ enable communication with other collaborative editors using different
+ protocols, though currently Obby (for use with the Gobby editor) is
+ the only fully-functional one.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/rudel/rudel-0.3_pre20110721.ebuild b/app-emacs/rudel/rudel-0.3_pre20110721.ebuild
new file mode 100644
index 000000000000..71ef62d767a4
--- /dev/null
+++ b/app-emacs/rudel/rudel-0.3_pre20110721.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Collaborative editing environment for GNU Emacs"
+HOMEPAGE="http://rudel.sourceforge.net/
+ http://www.emacswiki.org/emacs/Rudel"
+# snapshot of bzr://rudel.bzr.sourceforge.net/bzrroot/rudel/trunk
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/${PN}"
+SITEFILE="60${PN}-gentoo.el"
+
+src_compile() {
+ ${EMACS} ${EMACSFLAGS} -l rudel-compile.el || die
+}
+
+src_install() {
+ local dir
+
+ for dir in . adopted infinote jupiter obby socket telepathy tls \
+ xmpp zeroconf
+ do
+ insinto "${SITELISP}/${PN}/${dir}"
+ doins ${dir}/*.{el,elc}
+ done
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ insinto "${SITEETC}/${PN}"
+ doins -r icons
+
+ dodoc README INSTALL ChangeLog TODO doc/card.pdf
+
+ DOC_CONTENTS="Connections to Gobby servers require the gnutls-cli program
+ (net-libs/gnutls).
+ \\n\\nThe Avahi daemon (net-dns/avahi) is required for automatic
+ session discovery and advertising."
+ readme.gentoo_create_doc
+}
diff --git a/app-emacs/rust-mode/Manifest b/app-emacs/rust-mode/Manifest
new file mode 100644
index 000000000000..5cbb71c204cc
--- /dev/null
+++ b/app-emacs/rust-mode/Manifest
@@ -0,0 +1 @@
+DIST rust-mode-1_beta20150411.tar.gz 18155 SHA256 ac29e082fa09a98f864213553685bd085fe48ba3ec871032ef3cec19b2388c3a SHA512 fc9fe74ba4924cf54664f37c5a88d86b38e17e4ad5e0d4d924afd7f3c8428764dece81cfbe40397460685859f34c3eb841b2c83aef8f34526f4ed3f065cc504e WHIRLPOOL a4ba69d96701bc48049bb16513b71a836cd2faf197f346d6c4f7fadcb18cf9dc4143e6f82e965d6875c3913f16cda3a4cce2dc83821885a0fa2e4bcfb5ce74a1
diff --git a/app-emacs/rust-mode/files/50rust-mode-gentoo.el b/app-emacs/rust-mode/files/50rust-mode-gentoo.el
new file mode 100644
index 000000000000..0df93798a429
--- /dev/null
+++ b/app-emacs/rust-mode/files/50rust-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'rust-mode "rust-mode" nil t)
+(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
diff --git a/app-emacs/rust-mode/metadata.xml b/app-emacs/rust-mode/metadata.xml
new file mode 100644
index 000000000000..b1bfa491b811
--- /dev/null
+++ b/app-emacs/rust-mode/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>emacs</herd>
+ <maintainer>
+ <email>jauhien@gentoo.org</email>
+ <name>Jauhien Piatlicki</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-emacs/rust-mode/rust-mode-1_beta20150411.ebuild b/app-emacs/rust-mode/rust-mode-1_beta20150411.ebuild
new file mode 100644
index 000000000000..fb89009283d0
--- /dev/null
+++ b/app-emacs/rust-mode/rust-mode-1_beta20150411.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A major emacs mode for editing Rust source code"
+HOMEPAGE="http://www.rust-lang.org/"
+SRC_URI="http://dev.gentoo.org/~jauhien/distfiles/${P}.tar.gz"
+
+LICENSE="|| ( MIT Apache-2.0 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/scala-mode/Manifest b/app-emacs/scala-mode/Manifest
new file mode 100644
index 000000000000..8c4f03cf1ed6
--- /dev/null
+++ b/app-emacs/scala-mode/Manifest
@@ -0,0 +1 @@
+DIST scala-tool-support-2.10.3.tgz 26040 SHA256 d0f67730614f81e7387cdc3cbab633bd0b823a8d84e9d01ac545fd91c5d8e050 SHA512 77bd695d1e577d05884a8b70d4edcc6a0af1da13de0f8cdf54d5636e0e93c22ec919ccd3d79e92382b6a9fe8085a08af37b9f5428c1ed14359faf8fc860a81b5 WHIRLPOOL be1742f55c03f80a819a4336bf01d89d32ab6d0cfc080e08c7b27479cb76d19a2d03aefc66ee286f5eb28e0aa9952586801534dba2df2ab24f2d317b245be780
diff --git a/app-emacs/scala-mode/files/50scala-mode-gentoo.el b/app-emacs/scala-mode/files/50scala-mode-gentoo.el
new file mode 100644
index 000000000000..2602df3b4173
--- /dev/null
+++ b/app-emacs/scala-mode/files/50scala-mode-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'scala-mode-auto)
diff --git a/app-emacs/scala-mode/metadata.xml b/app-emacs/scala-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/scala-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/scala-mode/scala-mode-2.10.3.ebuild b/app-emacs/scala-mode/scala-mode-2.10.3.ebuild
new file mode 100644
index 000000000000..29c5d696f15f
--- /dev/null
+++ b/app-emacs/scala-mode/scala-mode-2.10.3.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+MY_P="scala-tool-support-${PV}"
+DESCRIPTION="Scala mode for Emacs"
+HOMEPAGE="http://www.scala-lang.org/"
+SRC_URI="http://www.scala-lang.org/files/archive/${MY_P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="dev-lang/scala"
+
+S="${WORKDIR}/${MY_P}/scala-emacs-mode"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="AUTHORS FUTURE README"
diff --git a/app-emacs/scheme-complete/Manifest b/app-emacs/scheme-complete/Manifest
new file mode 100644
index 000000000000..3a09df9208be
--- /dev/null
+++ b/app-emacs/scheme-complete/Manifest
@@ -0,0 +1,2 @@
+DIST scheme-complete-0.8.10.el.gz 38713 SHA256 9af540763d75ba894ff3e84546cfea191f045f57a85ff9578bb5599c2a61950a SHA512 7058983a57f1fe3cbbc4066f62075b755bd8e9a83ce65bf26a3568889d05abc9972d4b7be57ac54867fc4abe5567e223c9640bd8c898dbc6422d449f41090956 WHIRLPOOL 073e880810c30e3f4fc9a3e0f2a9013597805f85c8e8e36450a9a49b3347ecc6be6c81756cb7fcf03c92601406253fe2b8b44434f4aed20decb04093007960b2
+DIST scheme-complete-0.8.11.el.gz 38847 SHA256 19663b5104044d84b1326d48b4ef8801da9b4da18bea3577dc52830b3a4233ce SHA512 90fe73dfee3377f19eca2107deb6c9d88260b2097358416dab5ad839dabc0a0678b7254ab6dbdc058cae2be5feeaa4cba2f66296e49060df5251c1888044fea8 WHIRLPOOL 6688e3a917fc2a6a400979203c5b8cf3e0f573849522822231e8a41acf91796d8b268e424266935a264db783e4bf659dd394d02c8a4b980179320c06729e4e2c
diff --git a/app-emacs/scheme-complete/files/60scheme-complete-gentoo.el b/app-emacs/scheme-complete/files/60scheme-complete-gentoo.el
new file mode 100644
index 000000000000..ab5aee4beaaf
--- /dev/null
+++ b/app-emacs/scheme-complete/files/60scheme-complete-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'scheme-smart-complete "scheme-complete" nil t)
+(autoload 'scheme-complete-or-indent "scheme-complete" nil t)
+(autoload 'scheme-get-current-symbol-info "scheme-complete")
diff --git a/app-emacs/scheme-complete/metadata.xml b/app-emacs/scheme-complete/metadata.xml
new file mode 100644
index 000000000000..51ab1920de63
--- /dev/null
+++ b/app-emacs/scheme-complete/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ Very smart tab-completion and autodoc for Scheme code in Emacs, complete
+ with type inferencing and lexical environment awareness.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/scheme-complete/scheme-complete-0.8.10.ebuild b/app-emacs/scheme-complete/scheme-complete-0.8.10.ebuild
new file mode 100644
index 000000000000..359a12b8948c
--- /dev/null
+++ b/app-emacs/scheme-complete/scheme-complete-0.8.10.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Scheme tab-completion and word-completion for Emacs"
+HOMEPAGE="http://synthcode.com/"
+SRC_URI="http://synthcode.com/emacs/${P}.el.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE=""
+
+SITEFILE="60${PN}-gentoo.el"
diff --git a/app-emacs/scheme-complete/scheme-complete-0.8.11.ebuild b/app-emacs/scheme-complete/scheme-complete-0.8.11.ebuild
new file mode 100644
index 000000000000..83d2235e6b62
--- /dev/null
+++ b/app-emacs/scheme-complete/scheme-complete-0.8.11.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Scheme tab-completion and word-completion for Emacs"
+HOMEPAGE="http://synthcode.com/"
+SRC_URI="http://synthcode.com/emacs/${P}.el.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos"
+
+SITEFILE="60${PN}-gentoo.el"
diff --git a/app-emacs/scim-bridge-el/Manifest b/app-emacs/scim-bridge-el/Manifest
new file mode 100644
index 000000000000..f3836e10498b
--- /dev/null
+++ b/app-emacs/scim-bridge-el/Manifest
@@ -0,0 +1 @@
+DIST scim-bridge-el-0.8.2.tar.gz 67369 SHA256 c70edd7a2688d67781901f87f36854a3f6f74c46b6768381da5258463f151b87 SHA512 2d173acb2d0182cd4c1fb6301cb34de0a5a08f4776e9dcec16bf2d1342bea98765c55d61cb7d666c42c2bb8c63d3083f4d4e59dbbec13a6ec72c7c48350c5c0c WHIRLPOOL 5c9d2e9034e3f395fb6fe446895e413a65d35b56139835cf8f4ff559e45bb2287339d094a7f03a2c82d07b585ef73a19875a56ed31d4393ca8328a44e41551bf
diff --git a/app-emacs/scim-bridge-el/files/scim-bridge-el-0.8.2-im-agent.patch b/app-emacs/scim-bridge-el/files/scim-bridge-el-0.8.2-im-agent.patch
new file mode 100644
index 000000000000..678eabdae246
--- /dev/null
+++ b/app-emacs/scim-bridge-el/files/scim-bridge-el-0.8.2-im-agent.patch
@@ -0,0 +1,25 @@
+run against scim-im-agent, after scim-bridge integration into scim.
+
+http://www.scim-im.org/news/scim_news/a_new_stable_version_has_been_released_the_main_change_is_the_incorporation_of_scim_bridge
+--- a/scim-bridge.el
++++ b/scim-bridge.el
+@@ -649,7 +649,7 @@
+ (defvar scim-bridge-compat-version "0.3.0")
+ (defvar scim-bridge-socket-dir "/tmp/")
+ (defvar scim-bridge-socket-name "socket")
+-(defvar scim-bridge-name "scim-bridge")
++(defvar scim-bridge-name "scim-im-agent")
+ (defvar scim-bridge-host-name "localhost")
+ (defvar scim-bridge-socket-path-common
+ (concat scim-bridge-socket-dir scim-bridge-name "-"
+@@ -2485,8 +2485,8 @@
+ (i 0)
+ proc error)
+ (unless (file-exists-p socket)
+- (scim-message "Launch SCIM-Bridge..."))
+- (call-process-shell-command scim-bridge-name nil 0 nil "--noexit")
++ (scim-message "Launch SCIM-Bridge...")
++ (call-process-shell-command scim-bridge-name nil 0 nil "--noexit"))
+ (while (and (not (processp proc))
+ (< i 10)) ; Try connection 10 times at maximum
+ (sleep-for (* 0.1 i))
diff --git a/app-emacs/scim-bridge-el/metadata.xml b/app-emacs/scim-bridge-el/metadata.xml
new file mode 100644
index 000000000000..a3dc60932031
--- /dev/null
+++ b/app-emacs/scim-bridge-el/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<maintainer>
+ <email>heroxbd@gentoo.org</email>
+</maintainer>
+<longdescription>
+ A SCIM-Bridge client for Emacs.
+</longdescription>
+<upstream>
+ <remote-id type="launchpad">scim-bridge.el</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/scim-bridge-el/scim-bridge-el-0.8.2.ebuild b/app-emacs/scim-bridge-el/scim-bridge-el-0.8.2.ebuild
new file mode 100644
index 000000000000..3dd091c8b54b
--- /dev/null
+++ b/app-emacs/scim-bridge-el/scim-bridge-el-0.8.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit elisp versionator
+
+MY_PN=${PN/-el/.el}
+MY_BR=$(get_version_component_range 1-2)
+DESCRIPTION="a SCIM-Bridge client for Emacs"
+HOMEPAGE="https://launchpad.net/scim-bridge.el"
+SRC_URI="https://launchpad.net/${MY_PN}/${MY_BR}/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="app-i18n/scim"
+
+src_prepare () {
+ epatch "${FILESDIR}"/${PN}-0.8.2-im-agent.patch
+}
diff --git a/app-emacs/scss-mode/Manifest b/app-emacs/scss-mode/Manifest
new file mode 100644
index 000000000000..d5b122b69272
--- /dev/null
+++ b/app-emacs/scss-mode/Manifest
@@ -0,0 +1,2 @@
+DIST scss-mode-20130215-git.tar.gz 2632 SHA256 79c5360c7f3e76851d6aeb810d20d9ac66362f4420f967d9847338adb7df5f2a SHA512 2241d7e0c2689ba3997e4ffdf1ed167409c1d99a4f6a11911de39775a409d3299ba7e1bb2f7f0878b5b0d91e46706b65ef8e25cef83278894d8842af8bbc95be WHIRLPOOL 67792f4c20dc370e0dd078dc6212ddfd16030226a1fded057a69b514b984b79168e5a994d2126b32b9e17e4147a2597b16b5c1f788dbd378c71b45bd15772834
+DIST scss-mode-20150107-git.tar.gz 2718 SHA256 6f412eab87db85cdf3172d67c28841b0a0b910c473bf020c3babbb31ddd4ea2f SHA512 68a33d14166289af119625a5609c4dec47a05eb8c8452b42cf8e819368cc7561270c8223ac0624fee989f8c51592f456f91009c153fb857549d9c7e7c7e801a2 WHIRLPOOL 639653ccc9cdba87b7982a04ddd66236eaa4f2c8137839fdf35c5a015611fa01e160d790c9f698d0d1ac3e7033a29eb3f523554bff5ccdecaa8390dc3de13834
diff --git a/app-emacs/scss-mode/files/50scss-mode-gentoo.el b/app-emacs/scss-mode/files/50scss-mode-gentoo.el
new file mode 100644
index 000000000000..ac09f6c30786
--- /dev/null
+++ b/app-emacs/scss-mode/files/50scss-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'scss-mode "scss-mode" "Simple mode to edit SCSS." t)
+(add-to-list 'auto-mode-alist '("\\.scss\\'" . scss-mode))
diff --git a/app-emacs/scss-mode/metadata.xml b/app-emacs/scss-mode/metadata.xml
new file mode 100644
index 000000000000..86027b0987d0
--- /dev/null
+++ b/app-emacs/scss-mode/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<maintainer>
+ <email>flameeyes@gentoo.org</email>
+</maintainer>
+<upstream>
+ <remote-id type="github">antonj/scss-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/scss-mode/scss-mode-20130215.ebuild b/app-emacs/scss-mode/scss-mode-20130215.ebuild
new file mode 100644
index 000000000000..87310e245ed5
--- /dev/null
+++ b/app-emacs/scss-mode/scss-mode-20130215.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+GITHUB_SHA1=3452e92800c345690195f55a74ba4118c5c4d004
+
+DESCRIPTION="Major mode for editing SCSS files in Emacs"
+HOMEPAGE="https://github.com/antonj/scss-mode"
+SRC_URI="${HOMEPAGE}/archive/${GITHUB_SHA1}.tar.gz -> ${P}-git.tar.gz"
+S="${WORKDIR}/${PN}-${GITHUB_SHA1}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DOCS="README.org"
+SITEFILE="50${PN}-gentoo.el"
+
+DEPEND="dev-ruby/sass"
diff --git a/app-emacs/scss-mode/scss-mode-20150107.ebuild b/app-emacs/scss-mode/scss-mode-20150107.ebuild
new file mode 100644
index 000000000000..8332cedd1064
--- /dev/null
+++ b/app-emacs/scss-mode/scss-mode-20150107.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+GITHUB_SHA1=b010d134f499c4b4ad33fe8a669a81e9a531b0b2
+
+DESCRIPTION="Major mode for editing SCSS files in Emacs"
+HOMEPAGE="https://github.com/antonj/scss-mode"
+SRC_URI="${HOMEPAGE}/archive/${GITHUB_SHA1}.tar.gz -> ${P}-git.tar.gz"
+S="${WORKDIR}/${PN}-${GITHUB_SHA1}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DOCS="README.org"
+SITEFILE="50${PN}-gentoo.el"
+
+DEPEND="dev-ruby/sass"
diff --git a/app-emacs/semi/Manifest b/app-emacs/semi/Manifest
new file mode 100644
index 000000000000..d24f94ef9c2c
--- /dev/null
+++ b/app-emacs/semi/Manifest
@@ -0,0 +1 @@
+DIST semi-1.14.6.tar.gz 142549 SHA256 717fe9261863b2a36cf5882cc669452848d6b91f48ce6a695d81118500ed1bfb SHA512 1011271c58414f4ca23da079f16f273b408643e0d9f4961db321b65c1ed9a7d4ca66a7d7cb5b0c9fa2b4904fa992c9188858de6131180ee30132d3cadaeef33f WHIRLPOOL 1922f3647acaa8ccb4f1e4cffb471164d7ea44fcc0e98a9b118b6477d02aae0ccce8efaea0581c7710ffc59e8101fbdb8ae7affbd29c19e769be312b40aad88e
diff --git a/app-emacs/semi/files/65semi-gentoo.el b/app-emacs/semi/files/65semi-gentoo.el
new file mode 100644
index 000000000000..785c9bdd420d
--- /dev/null
+++ b/app-emacs/semi/files/65semi-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'mime-setup)
diff --git a/app-emacs/semi/files/semi-info.patch b/app-emacs/semi/files/semi-info.patch
new file mode 100644
index 000000000000..7a585bcab35b
--- /dev/null
+++ b/app-emacs/semi/files/semi-info.patch
@@ -0,0 +1,30 @@
+diff -urN semi-1.14.6.orig/mime-ui-en.texi semi-1.14.6/mime-ui-en.texi
+--- semi-1.14.6.orig/mime-ui-en.texi 2002-10-15 15:59:21.000000000 +0900
++++ semi-1.14.6/mime-ui-en.texi 2004-08-21 02:31:44.479200664 +0900
+@@ -6,6 +6,11 @@
+ @author MORIOKA Tomohiko <morioka@@jaist.ac.jp>
+ @subtitle 1998/07/03
+ @end titlepage
++@dircategory GNU Emacs Lisp
++@direntry
++* Semi-en: (mime-ui-en). MIME user interface for GNU Emacs.
++@end direntry
++
+ @node Top, Introduction, (dir), (dir)
+ @top SEMI 1.14 Manual
+
+diff -urN semi-1.14.6.orig/mime-ui-ja.texi semi-1.14.6/mime-ui-ja.texi
+--- semi-1.14.6.orig/mime-ui-ja.texi 2002-10-15 15:59:21.000000000 +0900
++++ semi-1.14.6/mime-ui-ja.texi 2004-08-21 02:31:33.727835120 +0900
+@@ -6,6 +6,11 @@
+ @author $B<i2,(B $BCNI'(B <morioka@@jaist.ac.jp>
+ @subtitle 1998/07/03
+ @end titlepage
++@dircategory GNU Emacs Lisp
++@direntry
++* Semi-ja: (mime-ui-ja). MIME user interface for GNU Emacs.
++@end direntry
++
+ @node Top, Introduction, (dir), (dir)
+ @top SEMI 1.14 $B@bL@=q(B
+
diff --git a/app-emacs/semi/metadata.xml b/app-emacs/semi/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/semi/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/semi/semi-1.14.6-r2.ebuild b/app-emacs/semi/semi-1.14.6-r2.ebuild
new file mode 100644
index 000000000000..c5be55db6cd1
--- /dev/null
+++ b/app-emacs/semi/semi-1.14.6-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp eutils
+
+DESCRIPTION="A library to provide MIME feature for GNU Emacs"
+HOMEPAGE="http://git.chise.org/elisp/semi/"
+SRC_URI="http://git.chise.org/elisp/dist/${PN}/${P%.*}-for-flim-1.14/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="linguas_ja"
+
+DEPEND=">=app-emacs/apel-10.6
+ virtual/emacs-flim"
+RDEPEND="${DEPEND}"
+
+ELISP_PATCHES="${PN}-info.patch"
+SITEFILE="65${PN}-gentoo.el"
+
+src_compile() {
+ emake PREFIX="${ED}"/usr \
+ LISPDIR="${ED}/${SITELISP}" \
+ VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}"
+
+ ${EMACS} ${EMACSFLAGS} --visit mime-ui-en.texi -f texi2info \
+ || die "texi2info failed"
+ if use linguas_ja; then
+ ${EMACS} ${EMACSFLAGS} \
+ --eval "(set-default-coding-systems 'iso-2022-jp)" \
+ --visit mime-ui-ja.texi -f texi2info \
+ || die "texi2info failed"
+ fi
+}
+
+src_install() {
+ emake PREFIX="${ED}/usr" \
+ LISPDIR="${ED}/${SITELISP}" \
+ VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}" install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ doinfo mime-ui-en.info
+ dodoc README.en ChangeLog VERSION NEWS
+ if use linguas_ja; then
+ doinfo mime-ui-ja.info
+ dodoc README.ja
+ fi
+}
diff --git a/app-emacs/session/Manifest b/app-emacs/session/Manifest
new file mode 100644
index 000000000000..c868af674e47
--- /dev/null
+++ b/app-emacs/session/Manifest
@@ -0,0 +1 @@
+DIST session-2.3a.tar.gz 26648 SHA256 592237b1380f3cbbdfa83629f386d5f82b15171930832bd8baf1db26342ad9e2 SHA512 eb0721c780256ca5dfcdf5071d73a89e3e7e477bbe2ddc380adaf7a7cbf870bbc0e334192f59362df93571ff91063d53df918761322e31d7c6ffa8059d4bc15a WHIRLPOOL 63e2084204dbf3680c407aa48fbad18633f190ffde64b7699cbeb6c282604dc3c26910d2f557d3f031ee287b9873d93412d3ae2bf896f65840de174b2ea23d76
diff --git a/app-emacs/session/files/50session-gentoo.el b/app-emacs/session/files/50session-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/session/files/50session-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/session/metadata.xml b/app-emacs/session/metadata.xml
new file mode 100644
index 000000000000..1839c43c667a
--- /dev/null
+++ b/app-emacs/session/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="sourceforge">emacs-session</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/session/session-2.3a.ebuild b/app-emacs/session/session-2.3a.ebuild
new file mode 100644
index 000000000000..f1e5816ee492
--- /dev/null
+++ b/app-emacs/session/session-2.3a.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="When you start Emacs, Session restores various variables from your last session"
+HOMEPAGE="http://emacs-session.sourceforge.net/"
+SRC_URI="mirror://sourceforge/emacs-session/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+S="${WORKDIR}/${PN}/lisp"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="../INSTALL ../README ChangeLog"
+DOC_CONTENTS="Add the following to your ~/.emacs to use session:
+ \n\t(require 'session)
+ \n\t(add-hook 'after-init-hook 'session-initialize)"
diff --git a/app-emacs/setnu/Manifest b/app-emacs/setnu/Manifest
new file mode 100644
index 000000000000..ea211a9a0759
--- /dev/null
+++ b/app-emacs/setnu/Manifest
@@ -0,0 +1 @@
+DIST setnu-1.06.tar.gz 4488 SHA256 cfc5c3b67f0779bf4c33933eb8ac4c6407f1ca06d3db59d928287c19af8e2345 SHA512 84ff5ba3da8c8d1c205f251ac408ff1f5b1368d5a418826dbe55e86e26e8dd9ea9a65d89c3432d45126adc2b4e6ed7b210b2c1bfe6abe38d77aba76a85d2792e WHIRLPOOL 92a8c8aac4b4e4bae0403230cbf32c43276321cd58b39fbc9d87f66aed4b507a731485c123458dc8924a3364048023252143991fbba99bcfdf76f253990341e7
diff --git a/app-emacs/setnu/files/50setnu-gentoo.el b/app-emacs/setnu/files/50setnu-gentoo.el
new file mode 100644
index 000000000000..8af7133ade6e
--- /dev/null
+++ b/app-emacs/setnu/files/50setnu-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'setnu-mode "setnu" "Toggle setnu-mode." t)
+(autoload 'turn-on-setnu-mode "setnu" "Turn on setnu-mode." nil)
diff --git a/app-emacs/setnu/metadata.xml b/app-emacs/setnu/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/setnu/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/setnu/setnu-1.06.ebuild b/app-emacs/setnu/setnu-1.06.ebuild
new file mode 100644
index 000000000000..a68d59f89faf
--- /dev/null
+++ b/app-emacs/setnu/setnu-1.06.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Display line numbers in Emacs buffers"
+HOMEPAGE="http://www.wonderworks.com/
+ http://www.emacswiki.org/emacs/LineNumbers"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/slime/Manifest b/app-emacs/slime/Manifest
new file mode 100644
index 000000000000..ee07c1c27c70
--- /dev/null
+++ b/app-emacs/slime/Manifest
@@ -0,0 +1,6 @@
+DIST slime-2.0_p20080731-patches.tar.bz2 4966 SHA256 0b032a7f6744dac372bfd2036789efd4e9cc7c509e7836e27fee4abc9072a12a SHA512 12dafeeeeab9bc4b63113e6a3cb4e2695867c0f8dd8e08f38af8c1cc403b25ead6a94b0d3ac2ede2c88e2152f01af49964b811301e761545f9589fa969617d85 WHIRLPOOL 5b99322502466f06ccf22a411053316bb31d510eef4f9189f15a544609cd5d1a47f89de6b5a8366a6c62939dfb012133083305404e3a512077b9e1ac7108e04e
+DIST slime-2.0_p20080731.tar.bz2 596093 SHA256 7c5f3ab65a0e76ff042230a34213f558d9a57c00ef22380876bf9cde9717354b SHA512 c991c6d41c5e694a64c71cd9010aeeb7f79ef308ec1d9e1df63ff4031946cf88f7d2b6819725a17f98fcdf6a1a35f82352a817c1c064b7b205b82c363691b7bc WHIRLPOOL 6f62a33600ca7831dfe0cdc0a94db1b5c849fcc3c8392f5709a65c588f45eec70f78c9930e471652f4926398328d2f2ff9a3c6e9475eb14f9c6233213e6c9416
+DIST slime-2.0_p20101103-patches.tar.bz2 4730 SHA256 9cab942f4ea64ec2f0e127db3b5428513c51899e5518d9f8c2bd9143c644fd19 SHA512 7990a3ffa4a5867fe84e326034aa794d3396dd2a74125e256be33524e2e737e052094fa11f2f486db34dc619e89e9343d4c5d2f84f3972139c2c7ac33248ce2c WHIRLPOOL a11ebfdf6b9054ed07ea8af667a5ef909cbe129531ee63dd3b4556fedc4d0e334ed913423a23acab176312b1c781f3c25f1c499184d7f2c6bfe459d4b67c368b
+DIST slime-2.0_p20101103.tar.bz2 725888 SHA256 0596532fa8cb78e59f685557474bd0ac5d00a79ac84c361ab93f079797a4041f SHA512 cb0cc3232304ef6efec5e01d3660cc649abb3e5803f17c82785b154b6f0b581889ea3b2dcf261be39b16ff22c912c34c7ec84c400856f5c4a29fbeaf7c49851d WHIRLPOOL 3421ea5aa5ed96a3d7b552fe74804bc3e7e822dd21623c0b36f7f84d7ad726fa57d0eb496e15d4ef9ea5027f0c247a3ba8ae7ae46118851c3f0ed13ec1cf482f
+DIST slime-2.11.tar.gz 1054516 SHA256 d63962c22f983a52519fb51b5ca28183aeb23ff6892804d02311e54d73ec8b2a SHA512 9507a4460a2f0d5b4f0857824fcaa36f6efeb09aebde7ca682bdc0214b6a722e471180c34ddce26a8f94d7cf3aae959954565ada314729e803d36767afc3e850 WHIRLPOOL 530c5b341f2ca4a95c954cea848c67cfd027345691feb9c246eb56ecaf6c420b642ed1991f1d615dabc0ca1f54bc6b28482e57c800498cf25a17ce39a7dc0ba3
+DIST slime-2.12.tar.gz 1057243 SHA256 29d57d1036abe69cb62809b5bb31d08c76c3e0e559b7e601b9d76fb7a554d53b SHA512 f18c79cba3eb75761982f2d1f163aab8213b77fa72a689d110fe91b1aa40953516566adc5f771638eee95d33ba8b4c8842ddf99738804483ccfb76a00290b2a1 WHIRLPOOL b0b78101f114514c16cba823dee02aac8a1fee74d23d5623838c2fdedaaa4fda953e6ee9bfcfcd6cf5a174d245f4ba801596c16e0bb67c1729d73a69d0ebc0b1
diff --git a/app-emacs/slime/files/2.0_p20110617/70slime-gentoo.el b/app-emacs/slime/files/2.0_p20110617/70slime-gentoo.el
new file mode 100644
index 000000000000..358af67d918d
--- /dev/null
+++ b/app-emacs/slime/files/2.0_p20110617/70slime-gentoo.el
@@ -0,0 +1,15 @@
+;;; site-lisp configuration for SLIME
+
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'load-path "@SITELISP@/contrib")
+(autoload 'slime-highlight-edits-mode "slime-highlight-edits")
+
+(require 'slime-autoloads)
+(slime-setup '(slime-fancy slime-asdf slime-banner))
+
+;; this allows us not to require dev-lisp/hyperspec
+;; (which is non-free) as a hard dependency
+(setq common-lisp-hyperspec-root
+ (if (file-exists-p "/usr/share/doc/hyperspec/HyperSpec")
+ "file:///usr/share/doc/hyperspec/HyperSpec/"
+ "http://www.lispworks.com/reference/HyperSpec/"))
diff --git a/app-emacs/slime/files/2.0_p20110617/gentoo-dont-call-init.patch b/app-emacs/slime/files/2.0_p20110617/gentoo-dont-call-init.patch
new file mode 100644
index 000000000000..410c3913a2a1
--- /dev/null
+++ b/app-emacs/slime/files/2.0_p20110617/gentoo-dont-call-init.patch
@@ -0,0 +1,16 @@
+Author: Stelian Ionescu <sionescu@cddr.org>
+Date: 2010-05-14
+Status: Gentoo-only
+Description: Dont' call SWANK-LOADER:INIT on startup since we don't use
+ the upstream swank-loader.lisp
+
+--- a/slime.el
++++ b/slime.el
+@@ -1323,7 +1323,6 @@ See `slime-start'."
+ `(progn
+ (load ,(slime-to-lisp-filename (expand-file-name loader))
+ :verbose t)
+- (funcall (read-from-string "swank-loader:init"))
+ (funcall (read-from-string "swank:start-server")
+ ,(slime-to-lisp-filename port-filename)
+ :coding-system ,encoding)))))
diff --git a/app-emacs/slime/files/2.0_p20110617/swank.asd b/app-emacs/slime/files/2.0_p20110617/swank.asd
new file mode 100644
index 000000000000..b33ca6e67cb0
--- /dev/null
+++ b/app-emacs/slime/files/2.0_p20110617/swank.asd
@@ -0,0 +1,98 @@
+;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
+
+(defpackage #:swank-system
+ (:use #:common-lisp #:asdf))
+
+(in-package #:swank-system)
+
+(defun load-user-init-file ()
+ "Load the user init file, return NIL if it does not exist."
+ (load (merge-pathnames (user-homedir-pathname)
+ (make-pathname :name ".swank" :type "lisp"))
+ :if-does-not-exist nil))
+
+(defun load-site-init-file ()
+ (load (make-pathname :name "site-init" :type "lisp"
+ :defaults (truename
+ (asdf:system-definition-pathname
+ (asdf:find-system :swank))))
+ :if-does-not-exist nil))
+
+(defclass no-load-file (cl-source-file) ())
+
+(defmethod perform ((op load-op) (c no-load-file)) nil)
+
+(defmacro define-swank-system (sysdep-files)
+ `(defsystem :swank
+ :description "Swank is the Common Lisp back-end to SLIME"
+ :serial t
+ :components ((:file "swank-backend")
+ (:file "nregex")
+ ,@(mapcar #'(lambda (component)
+ (if (atom component)
+ (list :file component)
+ component))
+ sysdep-files)
+ (:file "swank-match")
+ (:file "swank-rpc")
+ (:file "swank")
+ (:module "contrib"
+ :components ((:no-load-file "swank-c-p-c")
+ (:no-load-file "swank-arglists"
+ :depends-on ("swank-c-p-c"))
+ (:no-load-file "swank-asdf")
+ (:no-load-file "swank-clipboard")
+ (:no-load-file "swank-fancy-inspector")
+ (:no-load-file "swank-fuzzy"
+ :depends-on ("swank-c-p-c"))
+ (:no-load-file "swank-hyperdoc")
+ (:no-load-file "swank-indentation")
+ (:no-load-file "swank-listener-hooks")
+ (:no-load-file "swank-media")
+ (:no-load-file "swank-motd")
+ (:no-load-file "swank-package-fu")
+ (:no-load-file "swank-presentations")
+ (:no-load-file "swank-presentation-streams"
+ :depends-on ("swank-presentations"))
+ (:no-load-file "swank-sbcl-exts"
+ :depends-on ("swank-arglists"))
+ (:no-load-file "swank-snapshot")
+ (:no-load-file "swank-sprof"))))
+ :depends-on (#+sbcl sb-bsd-sockets)
+ :perform (load-op :after (op swank)
+ (load-site-init-file)
+ (load-user-init-file))))
+
+#+(or cmu scl sbcl openmcl clozurecl lispworks allegro clisp armedbear cormanlisp ecl)
+(define-swank-system
+ #+cmu (swank-source-path-parser swank-source-file-cache swank-cmucl)
+ #+scl (swank-source-path-parser swank-source-file-cache swank-scl)
+ #+sbcl (swank-source-path-parser swank-source-file-cache swank-sbcl swank-gray)
+ #+(or openmcl clozurecl) (metering
+ #.(if (and (find-package "CCL")
+ (fboundp (intern "COMPUTE-APPLICABLE-METHODS-USING-CLASSES" "CCL")))
+ 'swank-ccl
+ 'swank-openmcl)
+ swank-gray)
+ #+lispworks (swank-lispworks swank-gray)
+ #+allegro (swank-allegro swank-gray)
+ #+clisp (xref metering swank-clisp swank-gray)
+ #+armedbear (swank-abcl)
+ #+cormanlisp (swank-corman swank-gray)
+ #+ecl (swank-source-path-parser swank-source-file-cache swank-ecl swank-gray))
+
+#-(or cmu scl sbcl openmcl clozurecl lispworks allegro clisp armedbear cormanlisp ecl)
+(error "Your CL implementation is not supported !")
+
+(defpackage #:swank-loader
+ (:use #:common-lisp)
+ (:export #:*source-directory*))
+
+(in-package #:swank-loader)
+
+(defparameter *source-directory*
+ (asdf:component-pathname (asdf:find-system :swank)))
+
+;; (funcall (intern (string :warn-unimplemented-interfaces) :swank-backend))
+
+;; swank.asd ends here
diff --git a/app-emacs/slime/files/2.0_p20130214/gentoo-module-load.patch b/app-emacs/slime/files/2.0_p20130214/gentoo-module-load.patch
new file mode 100644
index 000000000000..c25a248d04ab
--- /dev/null
+++ b/app-emacs/slime/files/2.0_p20130214/gentoo-module-load.patch
@@ -0,0 +1,84 @@
+--- slime-9999-orig/contrib/swank-arglists.lisp 2012-08-14 06:50:34.000000000 +1000
++++ slime-9999/contrib/swank-arglists.lisp 2013-02-14 21:33:26.879124163 +1100
+@@ -9,8 +9,7 @@
+
+ (in-package :swank)
+
+-(eval-when (:compile-toplevel :load-toplevel :execute)
+- (swank-require :swank-c-p-c))
++(swank-require :swank-c-p-c)
+
+ ;;;; Utilities
+
+--- slime-9999-orig/contrib/swank-fuzzy.lisp 2013-02-02 20:48:51.000000000 +1100
++++ slime-9999/contrib/swank-fuzzy.lisp 2013-02-14 21:35:32.059873714 +1100
+@@ -10,9 +10,8 @@
+
+ (in-package :swank)
+
+-(eval-when (:compile-toplevel :load-toplevel :execute)
+- (swank-require :swank-util)
+- (swank-require :swank-c-p-c))
++(swank-require :swank-util)
++(swank-require :swank-c-p-c)
+
+ ;;; For nomenclature of the fuzzy completion section, please read
+ ;;; through the following docstring.
+--- slime-9999-orig/contrib/swank-sbcl-exts.lisp 2009-09-25 16:43:33.000000000 +1000
++++ slime-9999/contrib/swank-sbcl-exts.lisp 2013-02-14 21:33:26.880124185 +1100
+@@ -7,8 +7,7 @@
+
+ (in-package :swank)
+
+-(eval-when (:compile-toplevel :load-toplevel :execute)
+- (swank-require :swank-arglists))
++(swank-require :swank-arglists)
+
+ ;; We need to do this so users can place `slime-sbcl-exts' into their
+ ;; ~/.emacs, and still use any implementation they want.
+--- slime-9999-orig/swank.lisp 2013-01-11 20:00:30.000000000 +1100
++++ slime-9999/swank.lisp 2013-02-14 22:15:39.624982175 +1100
+@@ -2535,14 +2535,17 @@
+ "Load the module MODULE."
+ (dolist (module (ensure-list modules))
+ (unless (member (string module) *modules* :test #'string=)
+- (require module (if filename
+- (filename-to-pathname filename)
+- (module-filename module)))
++ (let ((*load-print* nil)
++ (*load-verbose* nil)
++ #+cmu (ext:*gc-verbose* nil))
++ (require module (if filename
++ (filename-to-pathname filename)
++ (module-filename module))))
+ (assert (member (string module) *modules* :test #'string=)
+ () "Required module ~s was not provided" module)))
+ *modules*)
+
+-(defvar *find-module* 'find-module
++(defvar *find-module* 'find-module-gentoo
+ "Pluggable function to locate modules.
+ The function receives a module name as argument and should return
+ the filename of the module (or nil if the file doesn't exist).")
+@@ -2572,6 +2575,21 @@
+ (some (lambda (dir) (some #'probe-file (module-canditates name dir)))
+ *load-path*)))
+
++(defun swank-fasl-pathname ()
++ (make-pathname :name nil :type nil
++ :defaults (car (asdf:output-files
++ (make-instance 'asdf:compile-op)
++ (car (asdf:module-components
++ (asdf:find-system :swank)))))))
++
++(defun append-dir (pathname dir)
++ (make-pathname :directory (append (pathname-directory pathname) dir)))
++
++(defun find-module-gentoo (module)
++ (or (let ((*load-path* (list (append-dir (swank-fasl-pathname) '("contrib"))
++ (append-dir swank-loader:*source-directory* '("contrib")))))
++ (find-module module))
++ (find-module module)))
+
+ ;;;; Macroexpansion
+
diff --git a/app-emacs/slime/files/2.11/dont-load-sbcl-pprint.patch b/app-emacs/slime/files/2.11/dont-load-sbcl-pprint.patch
new file mode 100644
index 000000000000..c7dafb6cb91a
--- /dev/null
+++ b/app-emacs/slime/files/2.11/dont-load-sbcl-pprint.patch
@@ -0,0 +1,13 @@
+diff --git a/contrib/swank-presentation-streams.lisp b/contrib/swank-presentation-streams.lisp
+index 0c24bda..bd5a990 100644
+--- a/contrib/swank-presentation-streams.lisp
++++ b/contrib/swank-presentation-streams.lisp
+@@ -65,7 +65,7 @@ be sensitive and remember what object it is in the repl if predicate is true"
+ (funcall ,continue)))))
+
+ ;;; Get pretty printer patches for SBCL at load (not compile) time.
+-#+sbcl
++#+#:disable-dangerous-patching ; #+sbcl
+ (eval-when (:load-toplevel)
+ (handler-bind ((simple-error
+ (lambda (c)
diff --git a/app-emacs/slime/files/2.11/gentoo-changelog-date.patch b/app-emacs/slime/files/2.11/gentoo-changelog-date.patch
new file mode 100644
index 000000000000..4d7669a34d29
--- /dev/null
+++ b/app-emacs/slime/files/2.11/gentoo-changelog-date.patch
@@ -0,0 +1,20 @@
+--- slime-2.11-orig/slime.el 2014-12-01 21:05:54.000000000 +1100
++++ slime-2.11/slime.el 2014-12-19 11:57:45.455393436 +1100
+@@ -134,16 +134,7 @@
+ "Return the datestring of the latest entry in the ChangeLog file.
+ Return nil if the ChangeLog file cannot be found."
+ (interactive "p")
+- (let ((changelog (expand-file-name "ChangeLog" slime-path))
+- (date nil))
+- (when (file-exists-p changelog)
+- (with-temp-buffer
+- (insert-file-contents-literally changelog nil 0 100)
+- (goto-char (point-min))
+- (setq date (symbol-name (read (current-buffer))))))
+- (when interactivep
+- (message "Slime ChangeLog dates %s." date))
+- date)))
++ "@SLIME-CHANGELOG-DATE@"))
+
+ (defvar slime-protocol-version nil)
+ (setq slime-protocol-version
diff --git a/app-emacs/slime/files/70slime-gentoo.el b/app-emacs/slime/files/70slime-gentoo.el
new file mode 100644
index 000000000000..6dfd505133e2
--- /dev/null
+++ b/app-emacs/slime/files/70slime-gentoo.el
@@ -0,0 +1,13 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'load-path "@SITELISP@/contrib")
+(autoload 'slime-highlight-edits-mode "slime-highlight-edits" nil t)
+
+(require 'slime-autoloads)
+(slime-setup '(slime-fancy slime-asdf slime-banner))
+
+;; this allows us not to require dev-lisp/hyperspec
+;; (which is non-free) as a hard dependency
+(setq common-lisp-hyperspec-root
+ (if (file-exists-p "/usr/share/doc/hyperspec/HyperSpec")
+ "file:///usr/share/doc/hyperspec/HyperSpec/"
+ "http://www.lispworks.com/reference/HyperSpec/"))
diff --git a/app-emacs/slime/files/swank-loader.lisp b/app-emacs/slime/files/swank-loader.lisp
new file mode 100644
index 000000000000..4d9b157312e6
--- /dev/null
+++ b/app-emacs/slime/files/swank-loader.lisp
@@ -0,0 +1,4 @@
+
+;; This file is NOT part of SLIME
+
+(asdf:oos 'asdf:load-op :swank)
diff --git a/app-emacs/slime/metadata.xml b/app-emacs/slime/metadata.xml
new file mode 100644
index 000000000000..907cce48a952
--- /dev/null
+++ b/app-emacs/slime/metadata.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<herd>common-lisp</herd>
+<longdescription>
+ SLIME: The Superior Lisp Interaction Mode for Emacs. SLIME is a
+ fresh, new Emacs mode for Common Lisp development inspired by existing
+ systems such Emacs Lisp and ILISP. Feature highlights include:
+
+ * slime-mode: An Emacs minor-mode to enhance lisp-mode with:
+ o Code evaluation, compilation, and macroexpansion.
+ o Online documentation (describe, apropos, hyperspec).
+ o Definition finding (aka Meta-Point aka M-.).
+ o Symbol and package name completion.
+ o Automatic macro indentation based on &amp;body.
+ o Cross-reference interface (WHO-CALLS, etc).
+ o ... and more.
+
+ * SLDB: Common Lisp debugger with an Emacs-based user interface.
+
+ * REPL: The Read-Eval-Print Loop ("top-level") is written in Emacs
+ Lisp for tighter integration with Emacs. The REPL also has builtin
+ "shortcut" commands similar those of the McCLIM Listener.
+
+ * Compilation notes: SLIME is able to take compiler messages and
+ annotate them directly into source buffers.
+
+ * Inspector: Interactive object-inspector in an Emacs buffer.
+</longdescription>
+<use>
+ <flag name="xref">Install xref.lisp cross-referencing tool</flag>
+</use>
+<upstream>
+ <remote-id type="github">slime/slime</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/slime/slime-2.0_p20080731-r1.ebuild b/app-emacs/slime/slime-2.0_p20080731-r1.ebuild
new file mode 100644
index 000000000000..4be63c9c22ed
--- /dev/null
+++ b/app-emacs/slime/slime-2.0_p20080731-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+inherit common-lisp elisp eutils
+
+DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
+HOMEPAGE="http://common-lisp.net/project/slime/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${P}-patches.tar.bz2"
+
+LICENSE="GPL-2 xref? ( xref.lisp )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="doc xref"
+
+RDEPEND="virtual/commonlisp
+ dev-lisp/asdf"
+DEPEND="${RDEPEND}
+ doc? ( virtual/texi2dvi )"
+
+CLPACKAGE=swank
+SITEFILE="70${PN}-gentoo.el"
+
+src_prepare() {
+ EPATCH_SUFFIX=patch epatch
+ mv "${WORKDIR}/swank.asd" "${S}" || die
+
+ # extract date of last update from ChangeLog, bug 233270
+ SLIME_CHANGELOG_DATE=$(awk '/^[-0-9]+ / { print $1; exit; }' ChangeLog)
+ [ -n "${SLIME_CHANGELOG_DATE}" ] || die "cannot determine ChangeLog date"
+
+ sed -i "/(defvar \*swank-wire-protocol-version\*/s:nil:\"${SLIME_CHANGELOG_DATE}\":" swank.lisp || die
+ sed -i "s:@SLIME-CHANGELOG-DATE@:${SLIME_CHANGELOG_DATE}:" slime.el || die
+
+ # Remove xref.lisp (which is non-free) unless USE flag is set
+ use xref || rm -f xref.lisp
+}
+
+src_compile() {
+ elisp-compile *.el || die
+ BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
+ elisp-compile contrib/*.el || die
+ emake -j1 -C doc slime.info || die
+
+ if use doc; then
+ VARTEXFONTS="${T}/fonts" emake -j1 -C doc slime.{ps,pdf} || die
+ fi
+}
+
+src_install() {
+ ## install core
+ elisp-install ${PN} *.{el,elc} "${FILESDIR}/swank-loader.lisp" || die
+ sed "s:/usr/:${EPREFIX}&:g" "${FILESDIR}/${SITEFILE}" >"${T}/${SITEFILE}" \
+ || die
+ elisp-site-file-install "${T}/${SITEFILE}" || die
+
+ # remove upstream swank-loader, since it won't be used
+ rm "${S}/swank-loader.lisp"
+
+ insinto "${CLSOURCEROOT%/}/swank"
+ doins *.lisp swank.asd || die
+ dodir "${CLSYSTEMROOT}" || die
+ dosym "${CLSOURCEROOT%/}/swank/swank.asd" "${CLSYSTEMROOT}" || die
+
+ ## install contribs
+ elisp-install ${PN}/contrib/ contrib/*.{el,elc,scm,goo} || die
+ insinto "${CLSOURCEROOT%/}/swank/contrib"
+ doins contrib/*.lisp || die
+
+ ## install docs
+ doinfo doc/slime.info || die
+ dodoc README* ChangeLog HACKING NEWS PROBLEMS
+ newdoc contrib/README README.contrib
+ newdoc contrib/ChangeLog ChangeLog.contrib
+ use doc && dodoc doc/slime.{ps,pdf}
+}
diff --git a/app-emacs/slime/slime-2.0_p20080731.ebuild b/app-emacs/slime/slime-2.0_p20080731.ebuild
new file mode 100644
index 000000000000..64157e2a78b9
--- /dev/null
+++ b/app-emacs/slime/slime-2.0_p20080731.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit common-lisp elisp eutils
+
+DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
+HOMEPAGE="http://common-lisp.net/project/slime/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${P}-patches.tar.bz2"
+
+LICENSE="GPL-2 xref.lisp"
+SLOT="0"
+KEYWORDS="amd64 ppc ~sparc x86"
+IUSE="doc"
+
+RDEPEND="virtual/commonlisp dev-lisp/asdf"
+DEPEND="${RDEPEND}
+ doc? ( virtual/texi2dvi )"
+
+CLPACKAGE=swank
+SITEFILE=70${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ EPATCH_SUFFIX=patch epatch
+ mv "${WORKDIR}/swank.asd" "${S}" || die
+
+ # extract date of last update from ChangeLog, bug 233270
+ SLIME_CHANGELOG_DATE=$(awk '/^[-0-9]+ / { print $1; exit; }' ChangeLog)
+ [ -n "${SLIME_CHANGELOG_DATE}" ] || die "cannot determine ChangeLog date"
+
+ sed -i "/(defvar \*swank-wire-protocol-version\*/s:nil:\"${SLIME_CHANGELOG_DATE}\":" swank.lisp \
+ || die "sed swank.lisp failed"
+ sed -i "s:@SLIME-CHANGELOG-DATE@:${SLIME_CHANGELOG_DATE}:" slime.el \
+ || die "sed slime.el failed"
+}
+
+src_compile() {
+ elisp-compile *.el || die "Cannot compile core Elisp files"
+ BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
+ elisp-compile contrib/*.el || die "Cannot compile contrib Elisp files"
+ emake -j1 -C doc slime.info || die "Cannot build info docs"
+ if use doc; then
+ VARTEXFONTS="${T}"/fonts \
+ emake -j1 -C doc slime.{ps,pdf} || die "emake doc failed"
+ fi
+}
+
+src_install() {
+ ## install core
+ elisp-install ${PN} *.el{,c} "${FILESDIR}"/swank-loader.lisp \
+ || die "Cannot install SLIME core"
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} \
+ || die "elisp-site-file-install failed"
+ # remove upstream swank-loader, since it won't be used
+ rm "${S}"/swank-loader.lisp
+ insinto "${CLSOURCEROOT%/}"/swank
+ doins *.lisp swank.asd
+ dodir "${CLSYSTEMROOT}"
+ dosym "${CLSOURCEROOT%/}"/swank/swank.asd "${CLSYSTEMROOT}"
+ dosym "${SITELISP}"/${PN}/swank-version.el "${CLSOURCEROOT%/}"/swank
+
+ ## install contribs
+ elisp-install ${PN}/contrib/ contrib/*.{el,elc,scm,goo} \
+ || die "Cannot install contribs"
+ insinto "${CLSOURCEROOT%/}"/swank/contrib
+ doins contrib/*.lisp
+
+ ## install docs
+ dodoc README* ChangeLog HACKING NEWS PROBLEMS
+ newdoc contrib/README README.contrib
+ newdoc contrib/ChangeLog ChangeLog.contrib
+ doinfo doc/slime.info
+ use doc && dodoc doc/slime.{ps,pdf}
+}
diff --git a/app-emacs/slime/slime-2.0_p20101103.ebuild b/app-emacs/slime/slime-2.0_p20101103.ebuild
new file mode 100644
index 000000000000..69de96669513
--- /dev/null
+++ b/app-emacs/slime/slime-2.0_p20101103.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+inherit common-lisp elisp eutils
+
+DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
+HOMEPAGE="http://common-lisp.net/project/slime/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ mirror://gentoo/${P}-patches.tar.bz2"
+
+LICENSE="GPL-2 xref? ( xref.lisp )"
+SLOT="0"
+KEYWORDS="amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="doc xref"
+
+RDEPEND="virtual/commonlisp
+ dev-lisp/asdf"
+DEPEND="${RDEPEND}
+ doc? ( virtual/texi2dvi )"
+
+CLPACKAGE=swank
+SITEFILE="70${PN}-gentoo.el"
+
+src_prepare() {
+ EPATCH_SUFFIX=patch epatch
+ mv "${WORKDIR}/swank.asd" "${S}" || die
+
+ # extract date of last update from ChangeLog, bug 233270
+ SLIME_CHANGELOG_DATE=$(awk '/^[-0-9]+ / { print $1; exit; }' ChangeLog)
+ [ -n "${SLIME_CHANGELOG_DATE}" ] || die "cannot determine ChangeLog date"
+
+ sed -i '/^section :=/d' doc/Makefile || die
+ sed -i "/(defvar \*swank-wire-protocol-version\*/s:nil:\"${SLIME_CHANGELOG_DATE}\":" swank.lisp || die
+ sed -i "s:@SLIME-CHANGELOG-DATE@:${SLIME_CHANGELOG_DATE}:" slime.el || die
+ sed -i "s/@itemx INIT-FUNCTION/@item INIT-FUNCTION/" doc/slime.texi \
+ || die "sed doc/slime.texi failed"
+
+ # Remove xref.lisp (which is non-free) unless USE flag is set
+ use xref || rm -f xref.lisp
+}
+
+src_compile() {
+ elisp-compile *.el || die
+ BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
+ elisp-compile contrib/*.el || die
+ emake -j1 -C doc slime.info || die
+
+ if use doc; then
+ VARTEXFONTS="${T}/fonts" emake -j1 -C doc slime.pdf || die
+ fi
+}
+
+src_install() {
+ ## install core
+ elisp-install ${PN} *.{el,elc} "${FILESDIR}/swank-loader.lisp" || die
+ sed "s:/usr/:${EPREFIX}&:g" "${FILESDIR}/${SITEFILE}" >"${T}/${SITEFILE}" \
+ || die
+ elisp-site-file-install "${T}/${SITEFILE}" || die
+
+ # remove upstream swank-loader, since it won't be used
+ rm "${S}/swank-loader.lisp"
+
+ insinto "${CLSOURCEROOT%/}/swank"
+ doins *.lisp swank.asd || die
+ dodir "${CLSYSTEMROOT}" || die
+ dosym "${CLSOURCEROOT%/}/swank/swank.asd" "${CLSYSTEMROOT}" || die
+
+ ## install contribs
+ elisp-install ${PN}/contrib/ contrib/*.{el,elc,scm,goo} || die
+ insinto "${CLSOURCEROOT%/}/swank/contrib"
+ doins contrib/*.lisp || die
+
+ ## install docs
+ doinfo doc/slime.info || die
+ dodoc README* ChangeLog HACKING NEWS PROBLEMS
+ newdoc contrib/README README.contrib
+ newdoc contrib/ChangeLog ChangeLog.contrib
+ use doc && dodoc doc/slime.pdf
+}
diff --git a/app-emacs/slime/slime-2.11.ebuild b/app-emacs/slime/slime-2.11.ebuild
new file mode 100644
index 000000000000..effd2445cafc
--- /dev/null
+++ b/app-emacs/slime/slime-2.11.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+[[ ${PV} = *9999* ]] && GIT_ECLASS="git-r3" || GIT_ECLASS=""
+
+inherit common-lisp-3 ${GIT_ECLASS} elisp eutils
+
+DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
+HOMEPAGE="http://common-lisp.net/project/slime/"
+if [[ ${PV} != *9999* ]]; then
+ SRC_URI="https://github.com/slime/slime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="GPL-2 xref? ( xref.lisp )"
+SLOT="0"
+if [[ ${PV} == *9999* ]]; then
+ KEYWORDS=""
+else
+ KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+fi
+IUSE="doc xref"
+RESTRICT=test # tests fail to contact sbcl
+
+RDEPEND="virtual/commonlisp
+ dev-lisp/asdf"
+DEPEND="${RDEPEND}
+ >=sys-apps/texinfo-5.1
+ doc? ( virtual/texi2dvi )"
+
+CLPACKAGE=swank
+CLSYSTEMS=swank
+SITEFILE=70${PN}-gentoo.el
+
+src_unpack() {
+ if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/slime/slime.git"
+ ${GIT_ECLASS}_src_unpack
+ fi
+ elisp_src_unpack
+}
+
+src_prepare() {
+ if [[ "${PV}" == "2.11" ]]; then
+ epatch "${FILESDIR}"/2.11/dont-load-sbcl-pprint.patch
+ fi
+ epatch "${FILESDIR}"/2.0_p20130214/gentoo-module-load.patch
+ epatch "${FILESDIR}"/2.0_p20110617/gentoo-dont-call-init.patch
+ has_version ">=app-editors/emacs-24" && rm -f lib/cl-lib.el
+
+ # extract date of last update from ChangeLog, bug 233270
+ SLIME_CHANGELOG_DATE=$(awk '/^[-0-9]+ / { print $1; exit; }' ChangeLog)
+ [ -n "${SLIME_CHANGELOG_DATE}" ] || die "cannot determine ChangeLog date"
+
+ # SLIME uses the changelog date to make sure that the emacs side and the CL side
+ # are in sync. We hardcode it instead of letting slime determine it at runtime
+ # because ChangeLog doesn't get installed to $EMACSDIR
+ epatch "${FILESDIR}"/2.11/gentoo-changelog-date.patch
+
+ # When starting slime in emacs, slime looks for ${S}/swank/backend.lisp as
+ # /usr/share/common-lisp/source/swank/swank-backend.lisp
+ pushd swank || die
+ for i in *.lisp
+ do
+ mv ${i} ../swank-${i}
+ done
+ popd
+
+ sed -i "/(defvar \*swank-wire-protocol-version\*/s:nil:\"${SLIME_CHANGELOG_DATE}\":" swank.lisp \
+ || die "sed swank.lisp failed"
+ sed -i "s:@SLIME-CHANGELOG-DATE@:${SLIME_CHANGELOG_DATE}:" slime.el \
+ || die "sed slime.el failed"
+ sed -i "s/@itemx INIT-FUNCTION/@item INIT-FUNCTION/" doc/slime.texi \
+ || die "sed doc/slime.texi failed"
+
+ # Remove xref.lisp (which is non-free) unless USE flag is set
+ use xref || rm -f xref.lisp
+}
+
+src_compile() {
+ elisp-compile *.el || die
+ BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
+ elisp-compile contrib/*.el lib/*.el || die
+ emake -j1 -C doc slime.info || die "Cannot build info docs"
+
+ if use doc; then
+ VARTEXFONTS="${T}"/fonts \
+ emake -j1 -C doc slime.pdf || die "emake doc failed"
+ fi
+}
+
+src_install() {
+ ## install core
+ elisp-install ${PN} *.{el,elc} "${FILESDIR}"/swank-loader.lisp \
+ || die "Cannot install SLIME core"
+ sed "s:/usr/:${EPREFIX}&:g" "${FILESDIR}"/2.0_p20110617/${SITEFILE} \
+ >"${T}"/${SITEFILE} || die "sed failed"
+ elisp-site-file-install "${T}"/${SITEFILE} || die
+ cp "${FILESDIR}"/2.0_p20110617/swank.asd "${S}"
+ # remove upstream swank-loader, since it won't be used
+ rm "${S}"/swank-loader.lisp
+ common-lisp-install-sources *.lisp
+ common-lisp-install-asdf swank.asd
+
+ ## install contribs
+ elisp-install ${PN}/contrib/ contrib/*.{el,elc,scm,goo} \
+ || die "Cannot install contribs"
+ common-lisp-install-sources contrib/*.lisp
+
+ ## install lib
+ elisp-install ${PN}/lib/ lib/*.{el,elc} \
+ || die "Cannot install libs"
+
+ ## install docs
+ dodoc README.md ChangeLog CONTRIBUTING.md NEWS PROBLEMS
+ newdoc contrib/README.md README-contrib.md
+ newdoc contrib/ChangeLog ChangeLog.contrib
+ doinfo doc/slime.info
+ use doc && dodoc doc/*.pdf
+}
diff --git a/app-emacs/slime/slime-2.12.ebuild b/app-emacs/slime/slime-2.12.ebuild
new file mode 100644
index 000000000000..c0a8ff269529
--- /dev/null
+++ b/app-emacs/slime/slime-2.12.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+[[ ${PV} = *9999* ]] && GIT_ECLASS="git-r3" || GIT_ECLASS=""
+
+inherit common-lisp-3 ${GIT_ECLASS} elisp eutils
+
+DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)"
+HOMEPAGE="http://common-lisp.net/project/slime/"
+if [[ ${PV} != *9999* ]]; then
+ SRC_URI="https://github.com/slime/slime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="GPL-2 xref? ( xref.lisp )"
+SLOT="0"
+if [[ ${PV} == *9999* ]]; then
+ KEYWORDS=""
+else
+ KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+fi
+IUSE="doc xref"
+RESTRICT=test # tests fail to contact sbcl
+
+RDEPEND="virtual/commonlisp
+ dev-lisp/asdf"
+DEPEND="${RDEPEND}
+ >=sys-apps/texinfo-5.1
+ doc? ( virtual/texi2dvi )"
+
+CLPACKAGE=swank
+CLSYSTEMS=swank
+SITEFILE=70${PN}-gentoo.el
+
+src_unpack() {
+ if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/slime/slime.git"
+ ${GIT_ECLASS}_src_unpack
+ fi
+ elisp_src_unpack
+}
+
+src_prepare() {
+ if [[ "${PV}" == "2.11" ]]; then
+ epatch "${FILESDIR}"/2.11/dont-load-sbcl-pprint.patch
+ fi
+ epatch "${FILESDIR}"/2.0_p20130214/gentoo-module-load.patch
+ epatch "${FILESDIR}"/2.0_p20110617/gentoo-dont-call-init.patch
+ has_version ">=app-editors/emacs-24" && rm -f lib/cl-lib.el
+
+ # extract date of last update from ChangeLog, bug 233270
+ SLIME_CHANGELOG_DATE=$(awk '/^[-0-9]+ / { print $1; exit; }' ChangeLog)
+ [ -n "${SLIME_CHANGELOG_DATE}" ] || die "cannot determine ChangeLog date"
+
+ # SLIME uses the changelog date to make sure that the emacs side and the CL side
+ # are in sync. We hardcode it instead of letting slime determine it at runtime
+ # because ChangeLog doesn't get installed to $EMACSDIR
+ epatch "${FILESDIR}"/2.11/gentoo-changelog-date.patch
+
+ # When starting slime in emacs, slime looks for ${S}/swank/backend.lisp as
+ # /usr/share/common-lisp/source/swank/swank-backend.lisp
+ pushd swank || die
+ for i in *.lisp
+ do
+ mv ${i} ../swank-${i}
+ done
+ popd
+
+ sed -i "/(defvar \*swank-wire-protocol-version\*/s:nil:\"${SLIME_CHANGELOG_DATE}\":" swank.lisp \
+ || die "sed swank.lisp failed"
+ sed -i "s:@SLIME-CHANGELOG-DATE@:${SLIME_CHANGELOG_DATE}:" slime.el \
+ || die "sed slime.el failed"
+ sed -i "s/@itemx INIT-FUNCTION/@item INIT-FUNCTION/" doc/slime.texi \
+ || die "sed doc/slime.texi failed"
+
+ # Remove xref.lisp (which is non-free) unless USE flag is set
+ use xref || rm -f xref.lisp
+}
+
+src_compile() {
+ elisp-compile *.el || die
+ BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \
+ elisp-compile contrib/*.el lib/*.el || die
+ emake -j1 -C doc slime.info || die "Cannot build info docs"
+
+ if use doc; then
+ VARTEXFONTS="${T}"/fonts \
+ emake -j1 -C doc slime.pdf || die "emake doc failed"
+ fi
+}
+
+src_install() {
+ ## install core
+ elisp-install ${PN} *.{el,elc} "${FILESDIR}"/swank-loader.lisp \
+ || die "Cannot install SLIME core"
+ sed "s:/usr/:${EPREFIX}&:g" "${FILESDIR}"/2.0_p20110617/${SITEFILE} \
+ >"${T}"/${SITEFILE} || die "sed failed"
+ elisp-site-file-install "${T}"/${SITEFILE} || die
+ cp "${FILESDIR}"/2.0_p20110617/swank.asd "${S}"
+ # remove upstream swank-loader, since it won't be used
+ rm "${S}"/swank-loader.lisp
+ common-lisp-install-sources *.lisp
+ common-lisp-install-asdf swank.asd
+
+ ## install contribs
+ elisp-install ${PN}/contrib/ contrib/*.{el,elc,scm,goo} \
+ || die "Cannot install contribs"
+ common-lisp-install-sources contrib/*.lisp
+
+ ## install lib
+ elisp-install ${PN}/lib/ lib/*.{el,elc} \
+ || die "Cannot install libs"
+
+ ## install docs
+ dodoc README.md ChangeLog CONTRIBUTING.md NEWS PROBLEMS
+ newdoc contrib/README.md README-contrib.md
+ newdoc contrib/ChangeLog ChangeLog.contrib
+ doinfo doc/slime.info
+ use doc && dodoc doc/*.pdf
+}
diff --git a/app-emacs/sml-mode/Manifest b/app-emacs/sml-mode/Manifest
new file mode 100644
index 000000000000..fe102abdf116
--- /dev/null
+++ b/app-emacs/sml-mode/Manifest
@@ -0,0 +1,3 @@
+DIST sml-mode-5.0.tar.gz 73324 SHA256 4aecb081ef839e94345aec31840a9c3805771c857298e87d8c153ec52ddb9fb5 SHA512 250dd6a25e8e456fc0c002e77b2bd27a5de6f13d7c6f530a71213853fcca0bda340474f68411c7bba237282d47d1e91334e05b521ee4990f0bda1daf8966b2ee WHIRLPOOL 8f7c004f82a663c97a647461d0dd2842e739f54d0fceab5fcfa3295eb1749443d18f585edfd07435a702deaa4094bca38531404abc5c186d16fb76874621ef69
+DIST sml-mode-6.1.el.xz 19012 SHA256 6a9cf07a199bc01d1f4163ada0d44b0669cf1ef4e2fa5bf6372d98fc84c634a6 SHA512 fd7566cc345b7df262f30648fcd7c8196b1615b9a9c4bc290db9125cedccda1340c07214eb9d9f17151c1c161ac72942e9ba35935133e8a6a857502ae89cff09 WHIRLPOOL bb2e9276900c36d2de1506710ff33cb4aceee641cb0ea23436f55487390fc9e4be0db053d85d7b693afbf72ba70579b2590c8fef0e738a47026b8f53b70a10b0
+DIST sml-mode-6.4.el.xz 20512 SHA256 ce524bd955fe3bd7e548e00ea4f568fd2b045f635268a086167b86a5d3760efe SHA512 238c69cf34bdd9b825fdc00e65741a458e64bf4bf38ed96ba0518154dd92f25877d56d09f4c13271577ea8641ca828023db950db07a42fe1a02659527b65cb5b WHIRLPOOL 16c534d6aa9e354804ab74717bdd9872dea8d67645ec541ba230b4cc7cea0a79c376ef9067ad4e9d6b1e0aaa56d47cc47329081293c4f2f519bb4e2c6f2d9f2b
diff --git a/app-emacs/sml-mode/files/50sml-mode-gentoo-6.1.el b/app-emacs/sml-mode/files/50sml-mode-gentoo-6.1.el
new file mode 100644
index 000000000000..feb0eb3a9551
--- /dev/null
+++ b/app-emacs/sml-mode/files/50sml-mode-gentoo-6.1.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "sml-mode-autoloads" nil t)
diff --git a/app-emacs/sml-mode/files/50sml-mode-gentoo.el b/app-emacs/sml-mode/files/50sml-mode-gentoo.el
new file mode 100644
index 000000000000..bae8d0c06942
--- /dev/null
+++ b/app-emacs/sml-mode/files/50sml-mode-gentoo.el
@@ -0,0 +1 @@
+(load "@SITELISP@/sml-mode-startup" nil t)
diff --git a/app-emacs/sml-mode/metadata.xml b/app-emacs/sml-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/sml-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/sml-mode/sml-mode-5.0.ebuild b/app-emacs/sml-mode/sml-mode-5.0.ebuild
new file mode 100644
index 000000000000..76967bb6b4b1
--- /dev/null
+++ b/app-emacs/sml-mode/sml-mode-5.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for editing Standard ML"
+HOMEPAGE="http://www.iro.umontreal.ca/~monnier/elisp/"
+SRC_URI="http://www.iro.umontreal.ca/~monnier/elisp/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+SITEFILE="50${PN}-gentoo.el"
+ELISP_TEXINFO="${PN}.texi"
+DOCS="BUGS ChangeLog NEWS README TODO"
+
+src_compile() {
+ default
+}
diff --git a/app-emacs/sml-mode/sml-mode-6.1-r1.ebuild b/app-emacs/sml-mode/sml-mode-6.1-r1.ebuild
new file mode 100644
index 000000000000..e4db1c4174d1
--- /dev/null
+++ b/app-emacs/sml-mode/sml-mode-6.1-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for editing Standard ML"
+HOMEPAGE="http://www.iro.umontreal.ca/~monnier/elisp/"
+# taken from http://bzr.sv.gnu.org/r/emacs/elpa
+SRC_URI="mirror://gentoo/${P}.el.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc x86"
+
+DEPEND="app-arch/xz-utils"
+
+SITEFILE="50${PN}-gentoo-${PV}.el"
+
+src_compile() {
+ elisp-compile *.el || die
+ elisp-make-autoload-file || die
+}
diff --git a/app-emacs/sml-mode/sml-mode-6.4.ebuild b/app-emacs/sml-mode/sml-mode-6.4.ebuild
new file mode 100644
index 000000000000..fa0bec00396e
--- /dev/null
+++ b/app-emacs/sml-mode/sml-mode-6.4.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+NEED_EMACS=24
+
+inherit elisp
+
+DESCRIPTION="Emacs major mode for editing Standard ML"
+HOMEPAGE="http://www.iro.umontreal.ca/~monnier/elisp/"
+# taken from http://elpa.gnu.org/packages/${P}.el
+SRC_URI="mirror://gentoo/${P}.el.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc x86"
+
+SITEFILE="50${PN}-gentoo-6.1.el"
+
+src_compile() {
+ elisp-compile *.el
+ elisp-make-autoload-file
+}
diff --git a/app-emacs/sokoban/Manifest b/app-emacs/sokoban/Manifest
new file mode 100644
index 000000000000..b0e5679da1f1
--- /dev/null
+++ b/app-emacs/sokoban/Manifest
@@ -0,0 +1 @@
+DIST sokoban-1.4.tar 61440 SHA256 8127798c25bb19ae8d9a4d8d9d3e24b43a5a1ec45b0c79f1003a66991157d3f9 SHA512 8c04f509013e1d8f6e8cc1e182ec253fc84870e5733623038ea03f2447952dcbc77236c64b158ea4e4613dafce192f2c4b50aac3e1e219a049a6a951a44a7ac1 WHIRLPOOL ca5cde6a3418a05c289b03352add8a9c615381c93e2ec13238e2955de8b3c06267ac351c873cdc0eba1abdc125d02d57275a72d1f4a1b4318434d437ec737e2f
diff --git a/app-emacs/sokoban/files/50sokoban-gentoo.el b/app-emacs/sokoban/files/50sokoban-gentoo.el
new file mode 100644
index 000000000000..418d409b1335
--- /dev/null
+++ b/app-emacs/sokoban/files/50sokoban-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'sokoban "sokoban" nil t)
+(setq sokoban-level-file "@SITEETC@/sokoban.levels")
diff --git a/app-emacs/sokoban/metadata.xml b/app-emacs/sokoban/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/sokoban/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/sokoban/sokoban-1.4.ebuild b/app-emacs/sokoban/sokoban-1.4.ebuild
new file mode 100644
index 000000000000..1e6bc43068b4
--- /dev/null
+++ b/app-emacs/sokoban/sokoban-1.4.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Implementation of Sokoban for Emacs"
+HOMEPAGE="http://elpa.gnu.org/packages/sokoban.html"
+SRC_URI="http://elpa.gnu.org/packages/${P}.tar"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+ELISP_REMOVE="sokoban-pkg.el"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="ChangeLog"
+
+src_install() {
+ elisp_src_install
+ insinto "${SITEETC}/${PN}"
+ doins sokoban.levels
+}
diff --git a/app-emacs/ssh/Manifest b/app-emacs/ssh/Manifest
new file mode 100644
index 000000000000..9606c6656b72
--- /dev/null
+++ b/app-emacs/ssh/Manifest
@@ -0,0 +1 @@
+DIST ssh-20120709.el.xz 4876 SHA256 7e3553c4d19c695c6955f89f62991a4a019e78504318956321f8771f9d615910 SHA512 69048f160bdd1b8ca29f0d49734cff7f9c4360ca9dd2abdacfcbca61bb964e84c962bf6388f424c0eb0161f1e8c8c9787dafebc084826b27d94300fba475ab9c WHIRLPOOL 81af759215bf637099aff22685abdae08241dcb37eb2e2eb61a523d94e079b7d3fa511d10f1bb305b059041e2f6a8cbd9288f7cc949fd51e9df15cb40681fa50
diff --git a/app-emacs/ssh/files/50ssh-gentoo.el b/app-emacs/ssh/files/50ssh-gentoo.el
new file mode 100644
index 000000000000..387ffa532256
--- /dev/null
+++ b/app-emacs/ssh/files/50ssh-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'same-window-regexps "^\\*ssh-.*\\*\\(\\|<[0-9]+>\\)")
+(autoload 'ssh "ssh" "Open a network login connection via `ssh'" t)
diff --git a/app-emacs/ssh/metadata.xml b/app-emacs/ssh/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/ssh/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/ssh/ssh-20120709.ebuild b/app-emacs/ssh/ssh-20120709.ebuild
new file mode 100644
index 000000000000..70a04105535a
--- /dev/null
+++ b/app-emacs/ssh/ssh-20120709.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Directory tracking and special character handling support for SSH sessions in Emacs shell buffers"
+HOMEPAGE="http://www.splode.com/~friedman/software/emacs-lisp/index.html#ssh"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/stripes/Manifest b/app-emacs/stripes/Manifest
new file mode 100644
index 000000000000..7c8a42154a25
--- /dev/null
+++ b/app-emacs/stripes/Manifest
@@ -0,0 +1 @@
+DIST stripes-0.2.tar.gz 2203 SHA256 578f9be672e457652ea41e5af3c44c8eb679024f2c90c324fc02e56448d9c83a SHA512 c0e0d7c16f6d593221573268e8ec30f30374a6c4ad6e34458139de90f5cde12cdb02b81e91f40176ea10a9e411921bdeb324eb0bc6aa5f2874602bf38bdf9521 WHIRLPOOL a11659ddf2fb46418b8b5659ea60f745ae76f35886576142c44bf25a96b963a2a679ba65e248d58c6d36166bb4f1f637ea5ce6e831fd0507015524d330f75331
diff --git a/app-emacs/stripes/files/50stripes-gentoo.el b/app-emacs/stripes/files/50stripes-gentoo.el
new file mode 100644
index 000000000000..deeec9acdb6b
--- /dev/null
+++ b/app-emacs/stripes/files/50stripes-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP")
+(autoload 'stripes-mode "stripes" "Toggle Color alternation mode." t)
+(autoload 'turn-on-stripes-mode "stripes" "Turn on color alternation mode." t)
diff --git a/app-emacs/stripes/metadata.xml b/app-emacs/stripes/metadata.xml
new file mode 100644
index 000000000000..e6afb9ae7207
--- /dev/null
+++ b/app-emacs/stripes/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+Highlights every even line with an alternative background
+color. Useful for buffers that display lists of any kind - as a guide
+for your eyes to follow these lines.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/stripes/stripes-0.2-r1.ebuild b/app-emacs/stripes/stripes-0.2-r1.ebuild
new file mode 100644
index 000000000000..d6969a810d4a
--- /dev/null
+++ b/app-emacs/stripes/stripes-0.2-r1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs mode which highlights every even line with an alternative background color"
+HOMEPAGE="http://www.emacswiki.org/emacs/StripesMode"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/sumibi/Manifest b/app-emacs/sumibi/Manifest
new file mode 100644
index 000000000000..98f41a4334d6
--- /dev/null
+++ b/app-emacs/sumibi/Manifest
@@ -0,0 +1 @@
+DIST sumibi-0.5.2.tar.gz 26755 SHA256 345d956a537f56f36139e679e61f18c316908f92d21e31ad5042a92466066fbc SHA512 b630be8b7c73ba5e0babc2c2946ddb05019fa15b0a8aaf5b578c97de32094de174d6ced9c0168b2e802e35e2b30b4a02501a0d8c41b90a8f8bb4a85fe501cff3 WHIRLPOOL eecee77c92267178da091433158d3f991b9aaa42160589b209d4ef3a945a5eabf6434c4fccb9d8e6aa8ce8cef03fbc4f73654d183d64aa39b1716c8d88739fdd
diff --git a/app-emacs/sumibi/files/50sumibi-gentoo.el b/app-emacs/sumibi/files/50sumibi-gentoo.el
new file mode 100644
index 000000000000..e0292e2481bf
--- /dev/null
+++ b/app-emacs/sumibi/files/50sumibi-gentoo.el
@@ -0,0 +1,4 @@
+
+;;; sumibi site-lisp configuration
+
+(require 'sumibi)
diff --git a/app-emacs/sumibi/metadata.xml b/app-emacs/sumibi/metadata.xml
new file mode 100644
index 000000000000..ccebeb74e563
--- /dev/null
+++ b/app-emacs/sumibi/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="sourceforge-jp">sumibi</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/sumibi/sumibi-0.5.2.ebuild b/app-emacs/sumibi/sumibi-0.5.2.ebuild
new file mode 100644
index 000000000000..55cc47f94b39
--- /dev/null
+++ b/app-emacs/sumibi/sumibi-0.5.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit elisp
+
+DESCRIPTION="Statistical Japanese input method using the Internet as a large corpus"
+HOMEPAGE="http://www.sumibi.org/"
+SRC_URI="mirror://sourceforge.jp/sumibi/17176/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+SITEFILE=50${PN}-gentoo.el
+
+src_compile() {
+ cd client/elisp
+ elisp-compile *.el || die "elisp-compile failed"
+}
+
+src_install() {
+ cd client/elisp
+ elisp-install ${PN} *.{el,elc} || die "elisp-install failed"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
+ || die "elisp-site-file-install failed"
+
+ cd "${S}"
+ dodoc README CREDITS CHANGELOG
+}
diff --git a/app-emacs/tdtd/Manifest b/app-emacs/tdtd/Manifest
new file mode 100644
index 000000000000..92fb5f6f9332
--- /dev/null
+++ b/app-emacs/tdtd/Manifest
@@ -0,0 +1 @@
+DIST tdtd071.zip 37673 SHA256 1e4a3b499187ef92b186d5cffa161f3377a9ee7bb44f3e9f5eafaa72cf862844 SHA512 3de529178718352bc437a3e91d3102990a88314d1dc5ad3d3120c6dfcbb1aef008edc00e46ee051fd5c968c698230393a301dd645484aa748b5b982df84e0556 WHIRLPOOL dca2378f48785c7de643791090f9724aa62ddbe16900cfdd50a53da95dcc42304b174ea3c4ebf10d069d373053f0587bf83d8c423b6ffe72bcc2cb3b5019aacd
diff --git a/app-emacs/tdtd/files/50tdtd-gentoo.el b/app-emacs/tdtd/files/50tdtd-gentoo.el
new file mode 100644
index 000000000000..3867c8faa137
--- /dev/null
+++ b/app-emacs/tdtd/files/50tdtd-gentoo.el
@@ -0,0 +1,28 @@
+
+;;; tdtd site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'dtd-mode "tdtd" "Major mode to edit DTD files." t)
+(autoload 'dtd-etags "tdtd"
+ "Execute etags on FILESPEC and match on DTD-specific regular expressions."
+ t)
+(autoload 'dtd-grep "tdtd" "Grep for PATTERN in files matching FILESPEC." t)
+
+;; Turn on font lock when in DTD mode
+(add-hook 'dtd-mode-hooks
+ 'turn-on-font-lock)
+
+(setq auto-mode-alist
+ (append
+ (list
+ '("\\.dcl$" . dtd-mode)
+ '("\\.dec$" . dtd-mode)
+ '("\\.dtd$" . dtd-mode)
+ '("\\.ele$" . dtd-mode)
+ '("\\.ent$" . dtd-mode)
+ '("\\.mod$" . dtd-mode))
+ auto-mode-alist))
+
+;; To use resize-minibuffer-mode, uncomment this and include in your .emacs:
+;;(resize-minibuffer-mode)
diff --git a/app-emacs/tdtd/metadata.xml b/app-emacs/tdtd/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/tdtd/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/tdtd/tdtd-0.7.1-r1.ebuild b/app-emacs/tdtd/tdtd-0.7.1-r1.ebuild
new file mode 100644
index 000000000000..ddc8ece20042
--- /dev/null
+++ b/app-emacs/tdtd/tdtd-0.7.1-r1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit elisp
+
+DESCRIPTION="Emacs Major Mode for SGML and XML DTDs"
+HOMEPAGE="http://www.menteith.com/wiki/tdtd"
+SRC_URI="http://www.menteith.com/raw-attachment/wiki/tdtd/data/${PN}${PV//./}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+S="${WORKDIR}"
+SITEFILE=50${PN}-gentoo.el
+DOCS="TODO changelog.txt readme.txt tutorial.txt"
diff --git a/app-emacs/teco/Manifest b/app-emacs/teco/Manifest
new file mode 100644
index 000000000000..7d6e9564ab6c
--- /dev/null
+++ b/app-emacs/teco/Manifest
@@ -0,0 +1 @@
+DIST teco-7.el.bz2 16372 SHA256 28c04c00f36bc04ffd31291fa2718538a549a5d86dc372a427fba60b40801570 SHA512 7fb050d2d12aadeccc18d852b4191493be301c90ac5426ee4f985a89eba62f9b57d263a2156d5252e88d06bbe68508aca2bebeca65402ff9e8f00937f5189feb WHIRLPOOL 97aea17fe808c44a42cf24485a5f738103e46ee6fc3da86fadde40134f93894639068092a5298d2266a2ca184a11c890f64ef98d282fcfc5a163e88c8bd4c19b
diff --git a/app-emacs/teco/files/50teco-gentoo.el b/app-emacs/teco/files/50teco-gentoo.el
new file mode 100644
index 000000000000..6992ef1e5735
--- /dev/null
+++ b/app-emacs/teco/files/50teco-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'teco:command "teco" "Read and execute a Teco command string." t)
+(autoload 'teco "teco" "Read and execute a Teco command string." t)
+(autoload 'teco:copy-to-q-reg "teco" "Copy region into Teco q-reg REG." t)
diff --git a/app-emacs/teco/files/teco-7-emacs-24.patch b/app-emacs/teco/files/teco-7-emacs-24.patch
new file mode 100644
index 000000000000..0b3251919ddb
--- /dev/null
+++ b/app-emacs/teco/files/teco-7-emacs-24.patch
@@ -0,0 +1,47 @@
+--- teco.el
++++ teco.el
+@@ -312,7 +312,7 @@
+ "Return string describing the version of Teco. When called interactively,
+ displays the version."
+ (interactive)
+- (if (interactive-p)
++ (if (called-interactively-p 'interactive)
+ (message "Teco version %s" (teco-version))
+ teco-version))
+
+@@ -2254,7 +2254,7 @@
+
+ (defun teco:command-self-insert ()
+ (interactive)
+- (teco:command-insert-character last-command-char))
++ (teco:command-insert-character last-command-event))
+
+ (defun teco:command-quit ()
+ (interactive)
+@@ -2267,7 +2267,7 @@
+
+ (defun teco:command-return ()
+ (interactive)
+- (setq last-command-char ?\n)
++ (setq last-command-event ?\n)
+ (teco:command-self-insert))
+
+ (defun teco:command-escape ()
+@@ -2275,7 +2275,7 @@
+ ;; Two ESCs in a row terminate the command string
+ (if (eq last-command 'teco:command-escape)
+ (throw 'teco:command-quit (minibuffer-contents-no-properties)))
+- (teco:command-insert-character last-command-char))
++ (teco:command-insert-character last-command-event))
+
+ (defun teco:command-ctrl-u ()
+ (interactive)
+@@ -2334,7 +2334,7 @@
+ ;; q-register
+ (progn
+ ;; insert the * into the buffer
+- (teco:command-insert-character last-command-char)
++ (teco:command-insert-character last-command-event)
+ ;; read the next character
+ (let ((c (read-char))
+ c1)
diff --git a/app-emacs/teco/files/teco-7-minibuffer-prompt.patch b/app-emacs/teco/files/teco-7-minibuffer-prompt.patch
new file mode 100644
index 000000000000..f46fadc98a39
--- /dev/null
+++ b/app-emacs/teco/files/teco-7-minibuffer-prompt.patch
@@ -0,0 +1,76 @@
+--- teco.el
++++ teco.el
+@@ -2213,9 +2213,11 @@
+ (define-key teco:command-keymap "/" 'teco:command-slash)
+ (define-key teco:command-keymap "*" 'teco:command-star)
+
+-(defvar teco:command-escapes nil
+- "Records where ESCs are, since they are represented in the command buffer
+-by $.")
++(defvar teco:command-display-table
++ (let ((table (make-display-table)))
++ (aset table ?\e [?$])
++ table)
++ "Display table used while reading teco commands.")
+
+ (defun teco:copy-to-q-reg (char start end)
+ "Copy region into Teco q-reg REG.
+@@ -2244,15 +2246,11 @@
+
+ (defun teco:read-command ()
+ "Read a teco command string from the user."
+- (let* ((teco:command-escapes nil)
+- (command (catch 'teco:command-quit
+- (read-from-minibuffer teco:prompt nil
+- teco:command-keymap))))
+- (if command
+- (while teco:command-escapes
+- (aset command (car teco:command-escapes) ?\e)
+- (setq teco:command-escapes (cdr teco:command-escapes))))
+- command))
++ (minibuffer-with-setup-hook
++ (lambda ()
++ (setq buffer-display-table teco:command-display-table))
++ (catch 'teco:command-quit
++ (read-from-minibuffer teco:prompt nil teco:command-keymap))))
+
+ (defun teco:command-self-insert ()
+ (interactive)
+@@ -2276,16 +2274,13 @@
+ (interactive)
+ ;; Two ESCs in a row terminate the command string
+ (if (eq last-command 'teco:command-escape)
+- (throw 'teco:command-quit (buffer-string)))
++ (throw 'teco:command-quit (minibuffer-contents-no-properties)))
+ (teco:command-insert-character last-command-char))
+
+ (defun teco:command-ctrl-u ()
+ (interactive)
+ ;; delete the characters
+ (kill-line 0)
+- ;; forget that they were ESCs
+- (while (and teco:command-escapes (<= (point) (car teco:command-escapes)))
+- (setq teco:command-escapes (cdr teco:command-escapes)))
+ ;; decide whether to shrink the window
+ (while (let ((a (insert ?\n))
+ (b (pos-visible-in-window-p))
+@@ -2297,9 +2292,6 @@
+ (interactive)
+ ;; delete the character
+ (backward-delete-char 1)
+- ;; forget that it was an ESC
+- (if (and teco:command-escapes (= (1- (point)) (car teco:command-escapes)))
+- (setq teco:command-escapes (cdr teco:command-escapes)))
+ ;; decide whether to shrink the window
+ (insert ?\n)
+ (if (prog1 (pos-visible-in-window-p)
+@@ -2362,9 +2354,6 @@
+
+ ;; Insert a single command character
+ (defun teco:command-insert-character (c)
+- (if (eq c ?\e)
+- (setq teco:command-escapes (cons (1- (point)) teco:command-escapes)
+- c ?$))
+ (insert c)
+ (if (not (pos-visible-in-window-p))
+ (enlarge-window 1)))
diff --git a/app-emacs/teco/metadata.xml b/app-emacs/teco/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/teco/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/teco/teco-7-r1.ebuild b/app-emacs/teco/teco-7-r1.ebuild
new file mode 100644
index 000000000000..fbc0b2538933
--- /dev/null
+++ b/app-emacs/teco/teco-7-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="TECO interpreter for GNU Emacs"
+HOMEPAGE="http://www.emacswiki.org/emacs/TECO"
+# taken from: http://www.emacswiki.org/emacs/teco.el
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+ELISP_PATCHES="${P}-minibuffer-prompt.patch
+ ${P}-emacs-24.patch"
+SITEFILE="50${PN}-gentoo.el"
+DOC_CONTENTS="To be able to invoke Teco directly, define a keybinding
+ for teco:command in your ~/.emacs file, e.g.:
+ \\n\\t(global-set-key \"\\C-z\" 'teco:command)
+ \\nSee ${SITELISP}/${PN}/teco.el for documentation."
diff --git a/app-emacs/template/Manifest b/app-emacs/template/Manifest
new file mode 100644
index 000000000000..69101a66716e
--- /dev/null
+++ b/app-emacs/template/Manifest
@@ -0,0 +1 @@
+DIST template-3.1c.tar.gz 37903 SHA256 d71885ec8d230a5a7cc909f052b97ed7cc30423ca0e2647392424dfd10459845 SHA512 d9fee39b67ff986d7c2dccbd09af3ce208f0e1a616a406fefefe4a6399f69a3527fa5609e87d41f7ceec5bf95818a62cb8da62994b28945998f8a9074821914c WHIRLPOOL 57043085455aefc5a378fa0d48525d823345932d67c34ceee1c5106481d468c1e9fb8559d511f4184d326e71bd46b9416d92f0c080de04607f559da34c163683
diff --git a/app-emacs/template/files/50template-gentoo.el b/app-emacs/template/files/50template-gentoo.el
new file mode 100644
index 000000000000..3da76196f42e
--- /dev/null
+++ b/app-emacs/template/files/50template-gentoo.el
@@ -0,0 +1,20 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'template-single-comment "template"
+ "Decorate the comment in the current line with dashes and alike." t)
+(autoload 'template-block-comment "template"
+ "Decorate the current block of comment-only lines with dashes and alike." t)
+(autoload 'template-update-header "template"
+ "Replace old file name in header with current file name." t)
+(autoload 'template-expand-template "template"
+ "Expand template file TEMPLATE and insert result in current buffer." t)
+(autoload 'template-new-file "template"
+ "Open a new file FILE by using a TEMPLATE." t)
+(autoload 'template-initialize "template"
+ "Initialized package template. See variable `template-initialize'." t)
+
+(setq template-default-directories
+ (list (if (and (not (file-directory-p "~/.templates/"))
+ (file-directory-p "~/lib/templates"))
+ (expand-file-name "~/lib/templates/")
+ (expand-file-name "~/.templates/"))
+ "@SITEETC@/templates"))
diff --git a/app-emacs/template/metadata.xml b/app-emacs/template/metadata.xml
new file mode 100644
index 000000000000..62541310d2d2
--- /dev/null
+++ b/app-emacs/template/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="sourceforge">emacs-template</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/template/template-3.1c-r1.ebuild b/app-emacs/template/template-3.1c-r1.ebuild
new file mode 100644
index 000000000000..21420649b812
--- /dev/null
+++ b/app-emacs/template/template-3.1c-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Use templates, decorate comments, auto-update buffers"
+HOMEPAGE="http://emacs-template.sourceforge.net/"
+SRC_URI="mirror://sourceforge/emacs-template/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/${PN}"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ elisp-compile lisp/*.el
+}
+
+src_install() {
+ elisp-install ${PN} lisp/*.{el,elc}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ insinto "${SITEETC}/${PN}"
+ doins -r templates
+ dodoc README lisp/ChangeLog
+}
diff --git a/app-emacs/tempo-snippets/Manifest b/app-emacs/tempo-snippets/Manifest
new file mode 100644
index 000000000000..2c393d7c6738
--- /dev/null
+++ b/app-emacs/tempo-snippets/Manifest
@@ -0,0 +1 @@
+DIST tempo-snippets-0.1.5.el.bz2 5369 SHA256 fba98dfe5f8c37fd9367a8ec26cebfb09c483a8667c5f1a29d22c51dabcbd573 SHA512 77b739d3c9def0abc422daee372cdf5602ed79b7cb154125a0aa3ca99e24b025c070fbb8439638ce35849243efadc9cddf187debc53905242ab417ec79acacec WHIRLPOOL e568081d78e53c80dbc80903fd6a282eb618e2613c36ca7942025ec9414acc69b4de760285c1e37fe588d145905cbead2ec72f553ca562f10a8ad767f36439de
diff --git a/app-emacs/tempo-snippets/files/50tempo-snippets-gentoo.el b/app-emacs/tempo-snippets/files/50tempo-snippets-gentoo.el
new file mode 100644
index 000000000000..d35cc3e61bf0
--- /dev/null
+++ b/app-emacs/tempo-snippets/files/50tempo-snippets-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'tempo-define-snippet "tempo-snippets")
diff --git a/app-emacs/tempo-snippets/metadata.xml b/app-emacs/tempo-snippets/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/tempo-snippets/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/tempo-snippets/tempo-snippets-0.1.5.ebuild b/app-emacs/tempo-snippets/tempo-snippets-0.1.5.ebuild
new file mode 100644
index 000000000000..672aef7ba56e
--- /dev/null
+++ b/app-emacs/tempo-snippets/tempo-snippets-0.1.5.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Visual insertion of tempo templates"
+HOMEPAGE="http://nschum.de/src/emacs/tempo-snippets/
+ http://www.emacswiki.org/emacs/TempoSnippets"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/thinks/Manifest b/app-emacs/thinks/Manifest
new file mode 100644
index 000000000000..c79ca2f88015
--- /dev/null
+++ b/app-emacs/thinks/Manifest
@@ -0,0 +1 @@
+DIST thinks-1.9.el.bz2 2989 SHA256 fe51755231be601686a10901af276de9d746ef71b57b0954a21f0e9a98b35d38 SHA512 ba85485df0decb2825a832b60b01a4ae8ef2e32dc356d16b770a4b59a795e138f3c26e14d8eb27e97038d10d2633945c7b2bd14933fdf7815f6c0abc07de5802 WHIRLPOOL 32981107e64cd04aafe8d52ef2bf4a2b3ab2b5589514591437b0422a82ae7fd7e2ab92955a4ecccf58769858fbe0e37765c63db1304acd2fd54fe03a67df0f49
diff --git a/app-emacs/thinks/files/50thinks-gentoo.el b/app-emacs/thinks/files/50thinks-gentoo.el
new file mode 100644
index 000000000000..e9b9968517ac
--- /dev/null
+++ b/app-emacs/thinks/files/50thinks-gentoo.el
@@ -0,0 +1,31 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload (quote thinks) "thinks" "\
+Insert TEXT wrapped in a think bubble.
+
+Prefix a call to this function with \\[universal-argument] if you don't want
+the text to be filled for you.
+
+\(fn TEXT)" t nil)
+
+(autoload (quote thinks-region) "thinks" "\
+Bubble wrap region bounding START and END.
+
+Prefix a call to this function with \\[universal-argument] if you don't want
+the text to be filled for you.
+
+\(fn START END)" t nil)
+
+(autoload (quote thinks-yank) "thinks" "\
+Do a `yank' and bubble wrap the yanked text.
+
+Prefix a call to this function with \\[universal-argument] if you don't want
+the text to be filled for you.
+
+\(fn)" t nil)
+
+(autoload (quote thinks-maybe-region) "thinks" "\
+If region is active, bubble wrap region bounding START and END.
+If not, query for text to insert in bubble.
+
+\(fn)" t nil)
diff --git a/app-emacs/thinks/metadata.xml b/app-emacs/thinks/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/thinks/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/thinks/thinks-1.9.ebuild b/app-emacs/thinks/thinks-1.9.ebuild
new file mode 100644
index 000000000000..dbb5061f49df
--- /dev/null
+++ b/app-emacs/thinks/thinks-1.9.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Insert text in a think bubble"
+HOMEPAGE="http://www.davep.org/emacs/"
+# taken from http://www.davep.org/emacs/${PN}.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="alpha amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/thumbs/Manifest b/app-emacs/thumbs/Manifest
new file mode 100644
index 000000000000..d92efde82d6f
--- /dev/null
+++ b/app-emacs/thumbs/Manifest
@@ -0,0 +1 @@
+DIST thumbs-2.0.el.bz2 6521 SHA256 e7f788f4e19c21b535024cdc49185e922fe91e39f7502486cca09a0125bb6935 SHA512 d4bca861ed5db620a2319659e255bef14241a68067be994402d2d36bb7fe34ab5a22b6b76dea5631aa5288d03caadb3a8163a8ecf439144d8d50cc410cfe078d WHIRLPOOL 3fd85cff14a9e40cf657994c9d44b337ad525dcf13ddede1a2d9262fe249ccfc126d702ee67b2c809bf1a25dc7764d6bc2f447b168abea1e967c0d595bd48573
diff --git a/app-emacs/thumbs/files/50thumbs-gentoo.el b/app-emacs/thumbs/files/50thumbs-gentoo.el
new file mode 100644
index 000000000000..12627d30c75e
--- /dev/null
+++ b/app-emacs/thumbs/files/50thumbs-gentoo.el
@@ -0,0 +1,11 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'thumbs-find-thumb "thumbs" "Display the thumbnail for IMG." t)
+(autoload 'thumbs-show-all-from-dir "thumbs"
+ "Make a preview buffer for all images in DIR." t)
+(autoload 'thumbs-dired-show-marked "thumbs"
+ "In Dired, make a thumbs buffer with all marked files." t)
+(autoload 'thumbs-dired-show-all "thumbs"
+ "In dired, make a thumbs buffer with all files in current directory." t)
+(defalias 'thumbs 'thumbs-show-all-from-dir)
+(autoload 'thumbs-dired-setroot "thumbs"
+ "In dired, Call the setroot program on the image at point." t)
diff --git a/app-emacs/thumbs/metadata.xml b/app-emacs/thumbs/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/thumbs/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/thumbs/thumbs-2.0.ebuild b/app-emacs/thumbs/thumbs-2.0.ebuild
new file mode 100644
index 000000000000..d5998aefa85c
--- /dev/null
+++ b/app-emacs/thumbs/thumbs-2.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Emacs thumbnail previewer for image files"
+HOMEPAGE="http://www.emacswiki.org/emacs/ThumbsMode"
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc sparc x86"
+IUSE=""
+
+RDEPEND="|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/tuareg-mode/Manifest b/app-emacs/tuareg-mode/Manifest
new file mode 100644
index 000000000000..7b3276928fbb
--- /dev/null
+++ b/app-emacs/tuareg-mode/Manifest
@@ -0,0 +1,2 @@
+DIST tuareg-2.0.7.tar.gz 57999 SHA256 7ba8016cdd2195d37ccc1c0e300323f807b8bdc6d3ce9e622ae9a36355d3a9c9 SHA512 6cf290879dd9b7993a046dbebb9944a245fa82d1e7849b46f477b7217b46026ce5195e40e4d9b990e047a03680197827334e6d54d82610da6fc2e62386357d42 WHIRLPOOL 19b6c8fb7e7b6427499aa7aec0b22e0152ca35e93c042c2f3e4a760a76ba4c89c7951df25a128414a2f7df5aee7d76aea255c0b235065c9dcae4e62ed3c05c86
+DIST tuareg-2.0.8.tar.gz 57777 SHA256 13da95153d6d50ef697878c45d81302340f97a42ab14112c61b8c6b0e891512c SHA512 c9e268eb550fd36614e6632335b623a0916d64dd84a0259fd83c6f08e3138196d3871bc7664d6debe62732d4459130ef1e9271b24982138ff69d90442d031990 WHIRLPOOL 08e5f39111e8770ee1e4c8d0fe5104b20a3bcf89bb08a7acac0758d7933243cc55f6933e838c85aae2dadd1836301d3e9988fe38f7863fbe39410f879d17a67e
diff --git a/app-emacs/tuareg-mode/files/50tuareg-mode-gentoo.el b/app-emacs/tuareg-mode/files/50tuareg-mode-gentoo.el
new file mode 100644
index 000000000000..7e970412ac37
--- /dev/null
+++ b/app-emacs/tuareg-mode/files/50tuareg-mode-gentoo.el
@@ -0,0 +1,6 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'tuareg-mode "tuareg" "Major mode for editing Caml code" t)
+(autoload 'tuareg-run-ocaml "tuareg" "Run an OCaml toplevel process." t)
+(autoload 'ocamldebug "ocamldebug" "Run the Caml debugger" t)
+(defalias 'camldebug 'ocamldebug)
+(add-to-list 'auto-mode-alist '("\\.ml[iylp]?\\'" . tuareg-mode))
diff --git a/app-emacs/tuareg-mode/metadata.xml b/app-emacs/tuareg-mode/metadata.xml
new file mode 100644
index 000000000000..0899764535c6
--- /dev/null
+++ b/app-emacs/tuareg-mode/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+<herd>emacs</herd>
+<longdescription>
+ Tuareg is an Object Caml/Camllight mode for Emacs. It handles automatic
+ indentation and syntax highlighting of code. It also supports an interactive
+ Caml top-level and debugger. Tuareg attempts to do a better job than the
+ Emacs mode distributed with the OCaml 3.x source.
+</longdescription>
+<upstream>
+ <remote-id type="github">ocaml/tuareg</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/tuareg-mode/tuareg-mode-2.0.7.ebuild b/app-emacs/tuareg-mode/tuareg-mode-2.0.7.ebuild
new file mode 100644
index 000000000000..1220f4d21a83
--- /dev/null
+++ b/app-emacs/tuareg-mode/tuareg-mode-2.0.7.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Objective Caml/Camllight mode for Emacs"
+HOMEPAGE="http://forge.ocamlcore.org/projects/tuareg/"
+SRC_URI="http://forge.ocamlcore.org/frs/download.php/1304/tuareg-${PV}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+
+S="${WORKDIR}/tuareg-${PV}"
+ELISP_REMOVE="tuareg-pkg.el tuareg-site-file.el"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README"
diff --git a/app-emacs/tuareg-mode/tuareg-mode-2.0.8.ebuild b/app-emacs/tuareg-mode/tuareg-mode-2.0.8.ebuild
new file mode 100644
index 000000000000..6b383a9c6adb
--- /dev/null
+++ b/app-emacs/tuareg-mode/tuareg-mode-2.0.8.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Objective Caml/Camllight mode for Emacs"
+HOMEPAGE="http://forge.ocamlcore.org/projects/tuareg/"
+SRC_URI="https://github.com/ocaml/tuareg/releases/download/${PV}/tuareg-${PV}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+S="${WORKDIR}/tuareg-${PV}"
+ELISP_REMOVE="tuareg-pkg.el tuareg-site-file.el"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README.md"
diff --git a/app-emacs/twittering-mode/Manifest b/app-emacs/twittering-mode/Manifest
new file mode 100644
index 000000000000..173bf340891c
--- /dev/null
+++ b/app-emacs/twittering-mode/Manifest
@@ -0,0 +1,2 @@
+DIST twittering-mode-2.0.0.tar.gz 615223 SHA256 164f6c46eae1e8ac65c60bdd40fb315df0044a5819ef25ce5ebc639b2b4ac1cd SHA512 318768c54c99c03c7641bfeb8396fdcaf65752121da6a64e6af9c071b6c429f73e44d1698df600915c4c7042233ef96cf86c037eece21b00d8e52a01ae569601 WHIRLPOOL 4b686e543a3b9ba0bc176141f6f6908a02cbd4c81984c5518092d489613595697d6bed1c7abc29675fcaa50b8fb961c413da5f69ee4640072b8755a8d81b5817
+DIST twittering-mode-3.0.0.tar.gz 1363235 SHA256 4848c4df0aad547d77412d04ad5f2c5c690a853cc39605a0a220fdfe828e350a SHA512 c696a8f31abcf6944c127575719d3e9b24a2bfb6271e0193e2a6faa8137c6468c7686b88d1e4ec0c3cc3b833e26853b435726d1acb422e9f37d3c0334e278494 WHIRLPOOL f926861a842bd1325f103ae2f0178b543e6a3c8cc366fbbbaf71005d200927c9d9286edd302517897099020e30708f835e97483723fb20023714f168e606b7c8
diff --git a/app-emacs/twittering-mode/metadata.xml b/app-emacs/twittering-mode/metadata.xml
new file mode 100644
index 000000000000..3da2601fe3c2
--- /dev/null
+++ b/app-emacs/twittering-mode/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<maintainer>
+ <email>naota@gentoo.org</email>
+</maintainer>
+<upstream>
+ <remote-id type="sourceforge">twmode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild b/app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild
new file mode 100644
index 000000000000..c79b9ea0e1ed
--- /dev/null
+++ b/app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp elisp-common eutils
+
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="git://github.com/hayamiz/twittering-mode.git"
+ inherit git-2
+ SRC_URI=""
+ KEYWORDS=""
+ IUSE="doc"
+else
+ SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ RESTRICT="test"
+ IUSE=""
+fi
+
+DESCRIPTION="Emacs major mode for Twitter"
+HOMEPAGE="http://twmode.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="app-crypt/gnupg"
+
+src_compile() {
+ elisp-compile twittering-mode.el || die
+ [ "${PV}" = "9999" ] && use doc && emake -C doc/manual
+}
+
+src_test() {
+ emake check
+}
+
+src_install() {
+ [ "${PV}" = "9999" ] && use doc && dodoc doc/manual/twmode/twmode.html
+ elisp-install ${PN} twittering-mode.el *.elc || die
+}
diff --git a/app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild b/app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild
new file mode 100644
index 000000000000..c79b9ea0e1ed
--- /dev/null
+++ b/app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp elisp-common eutils
+
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="git://github.com/hayamiz/twittering-mode.git"
+ inherit git-2
+ SRC_URI=""
+ KEYWORDS=""
+ IUSE="doc"
+else
+ SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ RESTRICT="test"
+ IUSE=""
+fi
+
+DESCRIPTION="Emacs major mode for Twitter"
+HOMEPAGE="http://twmode.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="app-crypt/gnupg"
+
+src_compile() {
+ elisp-compile twittering-mode.el || die
+ [ "${PV}" = "9999" ] && use doc && emake -C doc/manual
+}
+
+src_test() {
+ emake check
+}
+
+src_install() {
+ [ "${PV}" = "9999" ] && use doc && dodoc doc/manual/twmode/twmode.html
+ elisp-install ${PN} twittering-mode.el *.elc || die
+}
diff --git a/app-emacs/twittering-mode/twittering-mode-9999.ebuild b/app-emacs/twittering-mode/twittering-mode-9999.ebuild
new file mode 100644
index 000000000000..c79b9ea0e1ed
--- /dev/null
+++ b/app-emacs/twittering-mode/twittering-mode-9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp elisp-common eutils
+
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="git://github.com/hayamiz/twittering-mode.git"
+ inherit git-2
+ SRC_URI=""
+ KEYWORDS=""
+ IUSE="doc"
+else
+ SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ RESTRICT="test"
+ IUSE=""
+fi
+
+DESCRIPTION="Emacs major mode for Twitter"
+HOMEPAGE="http://twmode.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="app-crypt/gnupg"
+
+src_compile() {
+ elisp-compile twittering-mode.el || die
+ [ "${PV}" = "9999" ] && use doc && emake -C doc/manual
+}
+
+src_test() {
+ emake check
+}
+
+src_install() {
+ [ "${PV}" = "9999" ] && use doc && dodoc doc/manual/twmode/twmode.html
+ elisp-install ${PN} twittering-mode.el *.elc || die
+}
diff --git a/app-emacs/typing/Manifest b/app-emacs/typing/Manifest
new file mode 100644
index 000000000000..512973ddd110
--- /dev/null
+++ b/app-emacs/typing/Manifest
@@ -0,0 +1 @@
+DIST typing-1.1.4.el.xz 5092 SHA256 6f1c812481f21f610599e446ed408b28cb450b9c9a6923e06bbb73bffc13602a SHA512 9033b4ca2d23de98f8721796c708392b97d49b6719544ad4ee6d73f11ef253600d9c2a0d2b8ea89ef58355d1bfa36244ccd527994170ae0f43404c6ac19b62f3 WHIRLPOOL 2b7be549c67b55e9974e1fa40af0364c0554b8bf672225d2be3f43fc04a7f315907f3b54d2d732bcd04c68fcf894af33a9ce2c6a01660446189386b65ea92b09
diff --git a/app-emacs/typing/files/50typing-gentoo.el b/app-emacs/typing/files/50typing-gentoo.el
new file mode 100644
index 000000000000..20dbe6dea160
--- /dev/null
+++ b/app-emacs/typing/files/50typing-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'typing-of-emacs "typing" "Play the game The Typing Of Emacs." t)
diff --git a/app-emacs/typing/metadata.xml b/app-emacs/typing/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/typing/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/typing/typing-1.1.4.ebuild b/app-emacs/typing/typing-1.1.4.ebuild
new file mode 100644
index 000000000000..04354d3b2d13
--- /dev/null
+++ b/app-emacs/typing/typing-1.1.4.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="The Typing of Emacs -- an Elisp parody of The Typing of the Dead for Dreamcast"
+HOMEPAGE="http://www.emacswiki.org/emacs/TypingOfEmacs"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/uboat/Manifest b/app-emacs/uboat/Manifest
new file mode 100644
index 000000000000..0985b267e268
--- /dev/null
+++ b/app-emacs/uboat/Manifest
@@ -0,0 +1 @@
+DIST uboat-1.2.tar.bz2 1978 SHA256 c00a7b6f293358d3daed9db306473a51f9a79270dd2c114167aef04058675a62 SHA512 f77de2c0859a5eb8c09f03aea5be068e2f61f96e10c72d9f18ec6c3fdcc19ab7ca62d606d06aa669b07a89e9f677f5bcb6d3e211b7b7710840cacf9d4f3e307c WHIRLPOOL d4d3f3128fc52203642bcc1f5180c49f610a1865f10c1934a0af116408062c92e73dff0081cbd4c90c4b0a2a4ebeab5cafc6bf0914896fd7bf899d15dbcef3b2
diff --git a/app-emacs/uboat/files/50uboat-gentoo.el b/app-emacs/uboat/files/50uboat-gentoo.el
new file mode 100644
index 000000000000..79bff147aba3
--- /dev/null
+++ b/app-emacs/uboat/files/50uboat-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'uboat-death-message "uboat" nil t)
diff --git a/app-emacs/uboat/metadata.xml b/app-emacs/uboat/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/uboat/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/uboat/uboat-1.2.ebuild b/app-emacs/uboat/uboat-1.2.ebuild
new file mode 100644
index 000000000000..f08f9b2aacad
--- /dev/null
+++ b/app-emacs/uboat/uboat-1.2.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Generate u-boat-death messages, patterned after Iron Coffins"
+HOMEPAGE="http://www.splode.com/~friedman/software/emacs-lisp/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+# Noah Friedman and Bob Manson have confirmed that this is in the public domain
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/undo-tree/Manifest b/app-emacs/undo-tree/Manifest
new file mode 100644
index 000000000000..7d04bd7b61c8
--- /dev/null
+++ b/app-emacs/undo-tree/Manifest
@@ -0,0 +1,2 @@
+DIST undo-tree-0.5.2.el.bz2 27985 SHA256 35b3bef32c39a99656fb46d9ca7b2eccde4287ca2d226a93c90d8fd12f5354dc SHA512 62b355cbebd4e17a59b70acdae69bdddc9a6fd57d5c684d0560eb03dfac69121bc63941ef6520853b174a6de0a5ae54dc4f240a55f0623312a86e799ea3785d0 WHIRLPOOL 41aef615a8aadd29b5012bf3b3adbdbffdee75d0ce8fa1b50fa78371ed2c2a40ae932e8f50fe870be5541ae2e67f2271071645623589587b36b42533856823c3
+DIST undo-tree-0.6.4.el.xz 31124 SHA256 1d84f368a2a4c60c4f2d05e30c61bfa01a7f0804dab6eeb5744e1cc1ee400183 SHA512 e7017b23cceaf544de855bb21059959df539f5380db9c15b62f171d037b6ebb2d31f86f7ab3b724b048dafddfc3d2ace65dfac84c3eb0f6847489afb7f4b99cc WHIRLPOOL 949d6403a568e161ab09db0ab8974cdcc58f0e93bb4f1f3c48e897a57d6d20193644433ca7a3352462d0a0b70545eb6e7e52c163dac3a20f5c536a23df5d882a
diff --git a/app-emacs/undo-tree/files/50undo-tree-gentoo.el b/app-emacs/undo-tree/files/50undo-tree-gentoo.el
new file mode 100644
index 000000000000..faba34afbe35
--- /dev/null
+++ b/app-emacs/undo-tree/files/50undo-tree-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'undo-tree-mode "undo-tree" "Enable undo-trees" t)
+(autoload 'global-undo-tree-mode "undo-tree" "Enable undo-trees globally" t)
diff --git a/app-emacs/undo-tree/metadata.xml b/app-emacs/undo-tree/metadata.xml
new file mode 100644
index 000000000000..dbcd421d2b18
--- /dev/null
+++ b/app-emacs/undo-tree/metadata.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>tomka@gentoo.org</email>
+ <name>Thomas Kahle</name>
+</maintainer>
+<herd>emacs</herd>
+<longdescription lang="en">
+ Emacs has a powerful undo system. Unlike the standard undo/redo system in
+ most software, it allows you to recover *any* past state of a buffer
+ (whereas the standard undo/redo system can lose past states as soon as you
+ redo). However, this power comes at a price: many people find Emacs' undo
+ system confusing and difficult to use, spawning a number of packages that
+ replace it with the less powerful but more intuitive undo/redo system.
+
+ Both the loss of data with standard undo/redo, and the confusion of Emacs'
+ undo, stem from trying to treat undo history as a linear sequence of
+ changes. It's not. The `undo-tree-mode' provided by this package replaces
+ Emacs' undo system with a system that treats undo history as what it is: a
+ branching tree of changes. This simple idea allows the more intuitive
+ behaviour of the standard undo/redo system to be combined with the power of
+ never losing any history. An added side bonus is that undo history can in
+ some cases be stored more efficiently, allowing more changes to accumulate
+ before Emacs starts discarding history.
+
+ The only downside to this more advanced yet simpler undo system is that it
+ was inspired by Vim. But, after all, most successful religions steal the
+ best ideas from their competitors!
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/undo-tree/undo-tree-0.5.2.ebuild b/app-emacs/undo-tree/undo-tree-0.5.2.ebuild
new file mode 100644
index 000000000000..5d2783463ec3
--- /dev/null
+++ b/app-emacs/undo-tree/undo-tree-0.5.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Undo trees and visualization"
+HOMEPAGE="http://www.dr-qubit.org/emacs.php#undo-tree"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "To enable undo trees globally, place '(global-undo-tree-mode)'"
+ elog "in your .emacs file."
+}
diff --git a/app-emacs/undo-tree/undo-tree-0.6.4.ebuild b/app-emacs/undo-tree/undo-tree-0.6.4.ebuild
new file mode 100644
index 000000000000..02058620c0b3
--- /dev/null
+++ b/app-emacs/undo-tree/undo-tree-0.6.4.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+NEED_EMACS=24
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Undo trees and visualization"
+HOMEPAGE="http://www.dr-qubit.org/emacs.php#undo-tree"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
+DOC_CONTENTS="To enable undo trees globally, place '(global-undo-tree-mode)'
+ in your .emacs file."
diff --git a/app-emacs/uptimes/Manifest b/app-emacs/uptimes/Manifest
new file mode 100644
index 000000000000..f14b0cea8950
--- /dev/null
+++ b/app-emacs/uptimes/Manifest
@@ -0,0 +1 @@
+DIST uptimes-2.3.tar.bz2 3637 SHA256 7cbf6843f3fafbb0e89ce4dd05241a021381270efc67f127012a9e25c700d423 SHA512 31a8e4da410c1c02e96b3aa910fb3afe99c924af0f8299465e1c1b4b22e925aeb427b1ad349df459f93d2efd8bbf66804186f26486957d9e8196eda1b50eb5ba WHIRLPOOL 71aea7b2bb4c1756ded2decacf558a957b542de8f4faf22d66575a9c13efc7d971f1887e715e4b469ad734fd40456343ed43e4adb9dad64806ca0d5790bbbdf4
diff --git a/app-emacs/uptimes/files/50uptimes-gentoo.el b/app-emacs/uptimes/files/50uptimes-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/uptimes/files/50uptimes-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/uptimes/metadata.xml b/app-emacs/uptimes/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/uptimes/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/uptimes/uptimes-2.3-r2.ebuild b/app-emacs/uptimes/uptimes-2.3-r2.ebuild
new file mode 100644
index 000000000000..54fbe7bdf91b
--- /dev/null
+++ b/app-emacs/uptimes/uptimes-2.3-r2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Track and display emacs session uptimes"
+HOMEPAGE="http://www.davep.org/emacs/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
+DOC_CONTENTS="Uptimes is not enabled as a site default. Add the following
+ line to your ~/.emacs file to enable tracking of session uptimes:
+ \n(require 'uptimes)"
diff --git a/app-emacs/vhdl-mode/Manifest b/app-emacs/vhdl-mode/Manifest
new file mode 100644
index 000000000000..00758b4bdc06
--- /dev/null
+++ b/app-emacs/vhdl-mode/Manifest
@@ -0,0 +1,3 @@
+DIST vhdl-mode-3.34.2.tar.gz 313856 SHA256 83f5fdb56652bc328698584cf2cbd80f09f9b901e7085dc0a181bcaf6984431c SHA512 38b3275fd4d92966bc806e16362bfea3d3ed8789330ba891fa0c149633d938abb1c8ea32085dd0b06a17fdd98a645121a5fe60a8c4c5fd3261d1f45d14ee4a6f WHIRLPOOL 23df41f11a0fb2df36333b39f83d3f54bd9e5066a83fdeef6b5416af0ac91e23c32759a3779a42c70f1e3e31b4d7479fadd44af9d3eaf4bc05d3110925c51f7b
+DIST vhdl-mode-3.35.1.tar.gz 316090 SHA256 2947e298c50629cb668cd65ce6b60d5a4c09ddc0d55114a166561ccf9c6b5655 SHA512 963d4c8c938c9c9279a7ab862da6fc91257ab270e8eefb185d73b9c9217c4cc7b7330f2b33300bb7b604ed348543621d8371685e7e4a8f29d596e76ce8795f1c WHIRLPOOL 58de56ccb64bcc521194e372d995636b837a4d4f54b861501c5379afb7a8df711f3744a872acdce509b4a08aab7560d56893ae07b2370da29a79968f86f5ce69
+DIST vhdl-mode-3.38.1.tar.gz 318400 SHA256 bc2a87a0a176e2639fe1e2ad08c9cfde27f8b87b347b1102a78a482407b50307 SHA512 2cc12994e17658d65cffa348c59ac3208cc0f498731941b8f64da68e258ca57d6aa500d72103b005996cf3496e119cf59b52bbc1c4b740401685030b42f272a8 WHIRLPOOL a60a529d8b29a70beaeb470a6e414f2ce37b8c2366883ce94eb5acf24ec390c995f7bdb18cbcf803a3f9bd5efbd5e0a8fc442a21343c4ff787dc95f3be7aa680
diff --git a/app-emacs/vhdl-mode/files/50vhdl-mode-gentoo.el b/app-emacs/vhdl-mode/files/50vhdl-mode-gentoo.el
new file mode 100644
index 000000000000..eaf968096ab9
--- /dev/null
+++ b/app-emacs/vhdl-mode/files/50vhdl-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'vhdl-mode "vhdl-mode" "VHDL Mode" t)
+(add-to-list 'auto-mode-alist '("\\.vhdl?\\'" . vhdl-mode))
diff --git a/app-emacs/vhdl-mode/files/vhdl-mode-info-dir-gentoo.patch b/app-emacs/vhdl-mode/files/vhdl-mode-info-dir-gentoo.patch
new file mode 100644
index 000000000000..a8aa416a49b8
--- /dev/null
+++ b/app-emacs/vhdl-mode/files/vhdl-mode-info-dir-gentoo.patch
@@ -0,0 +1,14 @@
+--- vhdl-mode-3.33.21-orig/vhdl-mode.info 2007-08-10 12:07:23.000000000 +0200
++++ vhdl-mode-3.33.21/vhdl-mode.info 2007-09-23 17:37:09.000000000 +0200
+@@ -1,6 +1,11 @@
+ This is vhdl-mode.info, produced by makeinfo version 4.0 from
+ vhdl-mode.texi.
+
++INFO-DIR-SECTION Emacs
++START-INFO-DIR-ENTRY
++* VHDL Mode: (vhdl-mode). Emacs mode for editing VHDL files.
++END-INFO-DIR-ENTRY
++
+ Copyright (C) 1997 - 2002 Reto Zimmermann <reto@gnu.org> Copyright
+ (C) 1995 - 1997 Rodney J. Whitby <software.vhdl-mode@rwhitby.net>
+
diff --git a/app-emacs/vhdl-mode/metadata.xml b/app-emacs/vhdl-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/vhdl-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/vhdl-mode/vhdl-mode-3.34.2.ebuild b/app-emacs/vhdl-mode/vhdl-mode-3.34.2.ebuild
new file mode 100644
index 000000000000..be371e1c9d20
--- /dev/null
+++ b/app-emacs/vhdl-mode/vhdl-mode-3.34.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="VHDL-mode for Emacs"
+HOMEPAGE="http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html"
+SRC_URI="http://www.iis.ee.ethz.ch/~zimmi/emacs/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+ELISP_PATCHES="${PN}-info-dir-gentoo.patch"
+ELISP_REMOVE="site-start.*"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="ChangeLog README"
+
+src_install() {
+ elisp_src_install
+ doinfo vhdl-mode.info
+}
diff --git a/app-emacs/vhdl-mode/vhdl-mode-3.35.1.ebuild b/app-emacs/vhdl-mode/vhdl-mode-3.35.1.ebuild
new file mode 100644
index 000000000000..9019f5f92fba
--- /dev/null
+++ b/app-emacs/vhdl-mode/vhdl-mode-3.35.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="VHDL-mode for Emacs"
+HOMEPAGE="http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html"
+SRC_URI="http://www.iis.ee.ethz.ch/~zimmi/emacs/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+ELISP_PATCHES="${PN}-info-dir-gentoo.patch"
+ELISP_REMOVE="site-start.*"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="ChangeLog README"
+
+src_install() {
+ elisp_src_install
+ doinfo vhdl-mode.info
+}
diff --git a/app-emacs/vhdl-mode/vhdl-mode-3.38.1.ebuild b/app-emacs/vhdl-mode/vhdl-mode-3.38.1.ebuild
new file mode 100644
index 000000000000..be20be4f3472
--- /dev/null
+++ b/app-emacs/vhdl-mode/vhdl-mode-3.38.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="VHDL-mode for Emacs"
+HOMEPAGE="http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html"
+SRC_URI="http://www.iis.ee.ethz.ch/~zimmi/emacs/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+ELISP_PATCHES="${PN}-info-dir-gentoo.patch"
+ELISP_REMOVE="site-start.*"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="ChangeLog README"
+
+src_install() {
+ elisp_src_install
+ doinfo vhdl-mode.info
+}
diff --git a/app-emacs/visual-basic-mode/Manifest b/app-emacs/visual-basic-mode/Manifest
new file mode 100644
index 000000000000..36fa354843ad
--- /dev/null
+++ b/app-emacs/visual-basic-mode/Manifest
@@ -0,0 +1 @@
+DIST visual-basic-mode-1.4.12.el.xz 16872 SHA256 c25a800f09748359d700acb61c64955474e9d63842193d70f18a54960f816ed3 SHA512 ef8fdb883dbaa957d1d7526e0548611f755a7d3700a62d32790aafc0e25d97b3f6784969b584dcdda39da681b4e59253daff217bde5a783b923257e77e9549ca WHIRLPOOL 92b3f239d6758100b1e2ec4d3a763830a8f5fdb284bd2c8041391c30b5db885f74a09b85de66a4fefe790c4dfc3759d2133d0a5ecb30a4d6a5c1e36a31eaab93
diff --git a/app-emacs/visual-basic-mode/files/50visual-basic-mode-gentoo.el b/app-emacs/visual-basic-mode/files/50visual-basic-mode-gentoo.el
new file mode 100644
index 000000000000..ab6b2bd4927f
--- /dev/null
+++ b/app-emacs/visual-basic-mode/files/50visual-basic-mode-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'visual-basic-mode "visual-basic-mode"
+ "A mode for editing Visual Basic programs" t)
+(add-to-list 'auto-mode-alist
+ '("\\.\\(vbs?\\|class\\.asp\\)\\'" . visual-basic-mode))
diff --git a/app-emacs/visual-basic-mode/metadata.xml b/app-emacs/visual-basic-mode/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/visual-basic-mode/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/visual-basic-mode/visual-basic-mode-1.4.12.ebuild b/app-emacs/visual-basic-mode/visual-basic-mode-1.4.12.ebuild
new file mode 100644
index 000000000000..af96974663ee
--- /dev/null
+++ b/app-emacs/visual-basic-mode/visual-basic-mode-1.4.12.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A mode for editing Visual Basic programs"
+HOMEPAGE="http://www.emacswiki.org/emacs/VisualBasicMode"
+# taken from http://www.emacswiki.org/emacs/${PN}.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/vm/Manifest b/app-emacs/vm/Manifest
new file mode 100644
index 000000000000..9eb4077e349c
--- /dev/null
+++ b/app-emacs/vm/Manifest
@@ -0,0 +1,2 @@
+DIST vm-8.1.2.tgz 703527 SHA256 c779f65d422ea169a1030b1c86c72e8b6f8e6c589396331c4688d8e1d0814636 SHA512 6b879e237d6509ecd95aff3fb5e26018cb38dd19b29a57545bd28b0ca45961a7106cefd6fdd42e123119ac465a4b9ef66b683c47a9f1d9ac683a954b484a0ff4 WHIRLPOOL 2c459cadc4944ee8e5719cfe5d5b5edda281e58edd13ce697748b3b2da2bb6d085b5473c069da3521618ad86a7239e0cfd8b65ecccc63b6e64665aaa37bcea8f
+DIST vm-8.2.0b.tgz 839789 SHA256 6945821a521844a429ae3d0e25db69755185fa848343fdc3c754ab16344d2a12 SHA512 37b642975e8fe7e350c0a648f83608b28d8616417d376d9888c89b37c90d8bdb3c91cdc4c91a0f5072d29ac81bfea3d88f9b36699379bf8a5bdd15dd5a70858d WHIRLPOOL c35abe4d3ae3e9470733d761b3f6b8087dbda19b68cc99ed73b7d489e218e6fa257defccca72ed1b242d447ee43041da9bd8a3482d5b8df3893d5c81203d1578
diff --git a/app-emacs/vm/files/50vm-gentoo-8.0.el b/app-emacs/vm/files/50vm-gentoo-8.0.el
new file mode 100644
index 000000000000..554b6634a2ee
--- /dev/null
+++ b/app-emacs/vm/files/50vm-gentoo-8.0.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(setq vm-toolbar-pixmap-directory "@SITEETC@")
+(setq vm-image-directory "@SITEETC@")
+(require 'vm-autoloads)
diff --git a/app-emacs/vm/files/50vm-gentoo.el b/app-emacs/vm/files/50vm-gentoo.el
new file mode 100644
index 000000000000..d823436d3bd2
--- /dev/null
+++ b/app-emacs/vm/files/50vm-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'vm-autoloads)
diff --git a/app-emacs/vm/files/vm-8.0-no-pcrisis.patch b/app-emacs/vm/files/vm-8.0-no-pcrisis.patch
new file mode 100644
index 000000000000..33b1a1a9679e
--- /dev/null
+++ b/app-emacs/vm/files/vm-8.0-no-pcrisis.patch
@@ -0,0 +1,21 @@
+--- vm-8.0.1-465-orig/info/Makefile.in 2007-06-29 00:35:41.000000000 +0200
++++ vm-8.0.1-465/info/Makefile.in 2007-07-13 20:07:38.000000000 +0200
+@@ -35,7 +35,7 @@
+
+ all: info
+
+-info: vm.info vm-pcrisis.info
++info: vm.info
+
+ Makefile: @srcdir@/Makefile.in
+ cd @srcdir@/..; ./config.status
+--- vm-8.0.1-465-orig/lisp/Makefile.in 2007-06-29 00:35:41.000000000 +0200
++++ vm-8.0.1-465/lisp/Makefile.in 2007-07-13 20:08:00.000000000 +0200
+@@ -30,7 +30,6 @@
+ SOURCES += vm-motion.el
+ SOURCES += vm-mouse.el
+ SOURCES += vm-page.el
+-SOURCES += vm-pcrisis.el
+ SOURCES += vm-pgg.el
+ SOURCES += vm-pine.el
+ SOURCES += vm-pop.el
diff --git a/app-emacs/vm/files/vm-8.2.0_beta-datadir.patch b/app-emacs/vm/files/vm-8.2.0_beta-datadir.patch
new file mode 100644
index 000000000000..86608e77c97a
--- /dev/null
+++ b/app-emacs/vm/files/vm-8.2.0_beta-datadir.patch
@@ -0,0 +1,31 @@
+--- vm-8.2.0b-orig/lisp/Makefile.in
++++ vm-8.2.0b/lisp/Makefile.in
+@@ -96,7 +96,10 @@
+ datadir= @datadir@
+ datarootdir= @datarootdir@
+ lispdir = @lispdir@
++etcdir= @etcdir@
+ pixmapdir= @pixmapdir@
++docdir = @docdir@
++infodir = @infodir@
+
+ EMACS_PROG = @EMACS_PROG@
+ EMACS_FLAVOR = @EMACS_FLAVOR@
+@@ -137,7 +140,7 @@
+ "$(EMACS_PROG)" $(FLAGS) -l autoload \
+ -f vm-built-autoloads "@abs_builddir@/$@" "`pwd`")
+ echo "(custom-add-load 'vm 'vm-cus-load)" | tr -d '\015' >> $@
+- echo "(setq vm-configure-datadir \"${datadir}/vm\")" | tr -d '\015' >> $@
++ echo "(setq vm-configure-datadir \"${etcdir}\")" | tr -d '\015' >> $@
+ echo "(setq vm-configure-pixmapdir \"${pixmapdir}\")" | tr -d '\015' >> $@
+ echo "(setq vm-configure-docdir \"${docdir}\")" | tr -d '\015' >> $@
+ echo "(setq vm-configure-infodir \"${infodir}\")" | tr -d '\015' >> $@
+@@ -168,7 +171,7 @@
+ cat $@.tmp >> $@
+ echo "(setq features (delete 'vm-autoloads features))" >> $@
+ echo "(require 'vm-vars)" >> $@
+- echo "(setq vm-configure-datadir \"${datadir}\")" >> $@
++ echo "(setq vm-configure-datadir \"${etcdir}\")" >> $@
+ echo "(setq vm-configure-pixmapdir \"${pixmapdir}\")" >> $@
+ $(RM) $@.tmp
+
diff --git a/app-emacs/vm/files/vm-8.2.0_beta-texinfo-5.patch b/app-emacs/vm/files/vm-8.2.0_beta-texinfo-5.patch
new file mode 100644
index 000000000000..92ea4b0df578
--- /dev/null
+++ b/app-emacs/vm/files/vm-8.2.0_beta-texinfo-5.patch
@@ -0,0 +1,250 @@
+--- vm-8.2.0b-orig/info/vm.texinfo
++++ vm-8.2.0b/info/vm.texinfo
+@@ -914,7 +914,8 @@
+
+ @example
+ ``pop:@var{HOST}:@var{PORT}:@var{AUTH}:@var{USER}:@var{PASSWORD}''
+-``imap:@var{HOST}:@var{PORT}:@var{MAILBOX}:@var{AUTH}:@var{USER}:@var{PASSWORD}''@end example
++``imap:@var{HOST}:@var{PORT}:@var{MAILBOX}:@var{AUTH}:@var{USER}:@var{PASSWORD}''
++@end example
+
+ @noindent Remote mailboxes accessed by VM in this fashion are referred
+ to as @dfn{server folders} (and @dfn{@acronym{POP} folders} or @dfn{@acronym{IMAP}
+@@ -1207,8 +1208,8 @@
+ ((@var{IMAPDROP} @var{NAME}) ...)
+ @end example
+
+-@var{IMAPDROP} is an @acronym{IMAP} maildrop specification (@ref{maildrop
+- specification}).
++@var{IMAPDROP} is an @acronym{IMAP} maildrop specification
++(@ref{maildrop specification}).
+
+ @var{NAME} is a string that should give a less cumbersome name that you
+ will use to refer to this maildrop when using @code{vm-visit-imap-folder}.
+@@ -2814,7 +2815,7 @@
+ * @acronym{MIME} preview:: Previewing a @acronym{MIME} message before sending.
+ @end menu
+
+-@node @acronym{MIME} attachments, @acronym{MIME} characters, Sending @acronym{MIME} Messages, Sending @acronym{MIME} Messages,
++@node @acronym{MIME} attachments, @acronym{MIME} characters, Sending @acronym{MIME} Messages, Sending @acronym{MIME} Messages
+ @unnumberedsec @acronym{MIME} attachments
+
+ @kindex C-c C-a
+@@ -2868,7 +2869,7 @@
+ before invoking this command. All the marked messages will be
+ attached as a digest in the outgoing message.
+
+-@unnumberedsubsubsec Point-to-point attachment operations
++@unnumberedsubsec Point-to-point attachment operations
+
+ @cindex point-to-point attachment operations
+ A number of @dfn{point-to-point operations} allow you to attach objects
+@@ -3425,7 +3426,7 @@
+ works like @code{vm-delete-after-saving} but applies to the @kbd{A}
+ (@code{vm-auto-archive-messages}) command (see below).
+
+-@unnumberedsubsec vm-auto-folder-alist
++@unnumberedsec vm-auto-folder-alist
+
+ @vindex vm-auto-folder-alist
+ The variable @code{vm-auto-folder-alist} is used to specify
+@@ -3477,7 +3478,7 @@
+ always case-insensitive because the Internet message standard RFC 822
+ specifies that header names are case indistinct.
+
+-@unnumberedsubsec Other commands
++@unnumberedsec Other commands
+
+ @table @kbd
+ @findex vm-save-message-sans-headers
+@@ -5174,7 +5175,7 @@
+ been expunged in the cache folder are expunged on the server.
+
+ @anchor{@acronym{UIDVALIDITY}}
+-@unnumberedsubsec @acronym{UIDVALIDITY}
++@unnumberedsec @acronym{UIDVALIDITY}
+
+ @cindex @acronym{UIDVALIDITY}
+ Messages on an @acronym{IMAP} server have unique id numbers called UID's.
+@@ -5198,7 +5199,7 @@
+ setting the @code{vm-enable-external-messages} flag to @code{(imap)} before
+ you refresh the cache so that it will be quicker. @pxref{External Messages}.
+
+-@unnumberedsubsec Operations for the IMAP server
++@unnumberedsec Operations for the IMAP server
+
+ @cindex vm-list-imap-folders
+ The command @code{vm-list-imap-folders} lists the folders available on the
+@@ -6021,7 +6022,7 @@
+ Useful ways to customize VM.
+ @section Reading messages
+
+-@unnumberedsubsubsec Shrunken headers
++@unnumberedsubsec Shrunken headers
+
+ @cindex headers, shrunken
+ @vindex vm-enable-addons
+@@ -6045,7 +6046,7 @@
+
+ (This add-on was provided by Robert Fenk.)
+
+-@unnumberedsubsubsec @acronym{MIME} alternatives
++@unnumberedsubsec @acronym{MIME} alternatives
+ @cindex @acronym{MIME} alternatives
+ The default setting of VM for handling @acronym{MIME} alternatives is
+ @code{best-internal}, which means the best alternative that can be
+@@ -6069,7 +6070,7 @@
+
+ @section Saving messages and attachments
+
+-@unnumberedsubsubsec Auto saving attachments
++@unnumberedsubsec Auto saving attachments
+
+ Messages with attachments get bulky and increase the size of VM
+ folders, slowing down VM. The functions
+@@ -6179,7 +6180,7 @@
+ @uref{http://launchpad.net/vm}. The ``VM Development Team'' can be
+ reached here using the email address @email{vm@@lists.launchpad.net}.
+
+-@unnumberedsubsec Savannah project site
++@unnumberedsec Savannah project site
+
+ The changes made in each of the releases is described in the @samp{NEWS}
+ file, which can be found in the source code repository. The changes made
+@@ -6197,7 +6198,7 @@
+ takes you to a page that lists various version of VM source code, and
+ gives instructions for downloading it via @samp{Bazaar} (@code{bzr}).
+
+-@unnumberedsubsec Technical support
++@unnumberedsec Technical support
+
+ VM has a dedicated usenet newsgroup @code{gnu.emacs.vm.info} and a
+ gmane newsgroup @code{gmane.emacs.viewmail}, in which the developers
+@@ -6220,7 +6221,7 @@
+
+ The best way to report bugs is via the Launchpad bug tacker. See below.
+
+-@unnumberedsubsec Get Involved
++@unnumberedsec Get Involved
+
+ VM is now supported and maintained by the user community. So, as an
+ active user, your participation is key to keep the project going.
+@@ -6249,7 +6250,7 @@
+ and merge your branch with the main development when your changes
+ are ready.
+
+-@unnumberedsubsec Contributors
++@unnumberedsec Contributors
+
+ Contributions to the code from the following members of the VM community
+ are gratefully acknowledged:
+@@ -6276,7 +6277,7 @@
+
+ Please let us know if any other contributors have been missed out.
+
+-@unnumberedsubsec Selected Releases of Kyle Jones
++@unnumberedsec Selected Releases of Kyle Jones
+ @itemize
+ @item Version 4.10, released in 1989.
+ @item Version 5.00, released in 1990.
+@@ -6291,7 +6292,7 @@
+ @end itemize
+
+
+-@unnumberedsubsec Releases of Robert Widhopf-Fenk
++@unnumberedsec Releases of Robert Widhopf-Fenk
+ @itemize
+ @item Version 8.0.0, released 31 May, 2007.
+ @item Version 8.0.1, released 29 June, 2007.
+@@ -6311,7 +6312,7 @@
+ @end itemize
+
+
+-@unnumberedsubsec Releases of VM development team
++@unnumberedsec Releases of VM development team
+ @itemize
+ @item Version 8.1.0, released 21 March, 2010.
+ @item Version 8.1.1, released 25 April, 2010.
+@@ -6545,7 +6546,7 @@
+ @acronym{IMAP} folders.)
+ @end itemize
+
+-@unnumberedsubsubsec Folder variables
++@unnumberedsubsec Folder variables
+
+ Internal to Emacs, VM stores the folder as simply a text buffer. However, it
+ remembers a variety of data about the message contents in the buffer
+@@ -6712,7 +6713,7 @@
+ undoing cycle.
+ @end itemize
+
+-@unnumberedsubsubsec vm-folder-access-data
++@unnumberedsubsec vm-folder-access-data
+
+ The variable @code{vm-folder-access-data} is a vector storing data about the
+ state of the mail server (for @acronym{POP} and @acronym{IMAP} servers). It contains the
+--- vm-8.2.0b-orig/info/vm-pcrisis.texinfo
++++ vm-8.2.0b/info/vm-pcrisis.texinfo
+@@ -1179,7 +1179,7 @@
+
+ @c ***************************************************************************
+
+-@unnumberedsubsec vmpc-auto-profiles-file
++@unnumberedsec vmpc-auto-profiles-file
+ @vindex vmpc-auto-profiles-file
+
+ The variable @code{vmpc-auto-profiles-file} contains the name of the
+@@ -1191,7 +1191,7 @@
+
+ @c ***************************************************************************
+
+-@unnumberedsubsec vmpc-auto-profiles-expunge-days
++@unnumberedsec vmpc-auto-profiles-expunge-days
+ @vindex vmpc-auto-profiles-expunge-days
+
+ In order to keep vmpc-auto-profiles-file from becoming massive,
+@@ -1203,7 +1203,7 @@
+
+ @c ***************************************************************************
+
+-@unnumberedsubsec vmpc-sig-face
++@unnumberedsec vmpc-sig-face
+ @vindex vmpc-sig-face
+
+ This is the face used to highlight the signature. You can use
+@@ -1212,7 +1212,7 @@
+
+ @c ***************************************************************************
+
+-@unnumberedsubsec vmpc-pre-sig-face
++@unnumberedsec vmpc-pre-sig-face
+ @vindex vmpc-pre-sig-face
+
+ This is the face used to highlight the pre-signature. You can use
+@@ -1221,7 +1221,7 @@
+
+ @c ***************************************************************************
+
+-@unnumberedsubsec vmpc-intangible-sig
++@unnumberedsec vmpc-intangible-sig
+ @vindex vmpc-intangible-sig
+ @anchor{vmpc-intangible-sig}
+
+@@ -1240,7 +1240,7 @@
+
+ @c ***************************************************************************
+
+-@unnumberedsubsec vmpc-intangible-pre-sig
++@unnumberedsec vmpc-intangible-pre-sig
+ @vindex vmpc-intangible-pre-sig
+
+ The @code{vmpc-intangible-pre-sig} variable works just like
+@@ -1249,7 +1249,7 @@
+
+ @c ***************************************************************************
+
+-@unnumberedsubsec vmpc-expect-default-signature
++@unnumberedsec vmpc-expect-default-signature
+ @vindex vmpc-expect-default-signature
+
+ Traditionally, signatures are added to new mail messages using a
diff --git a/app-emacs/vm/metadata.xml b/app-emacs/vm/metadata.xml
new file mode 100644
index 000000000000..b0fb5c476928
--- /dev/null
+++ b/app-emacs/vm/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ VM is a mail reader that runs inside GNU Emacs and XEmacs. It was written as
+ an alternative to the Emacs RMAIL mail reader. VM is highly configurable and
+ easy to use. It supports POP and IMAP for mail retrieval, understands MIME,
+ and reads both the standard UNIX mailbox format and the BABYL format used by
+ the RMAIL mailer.
+</longdescription>
+<use>
+ <flag name="bbdb">Include support for <pkg>app-emacs/bbdb</pkg></flag>
+</use>
+<upstream>
+ <remote-id type="launchpad">vm</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/vm/vm-8.1.2.ebuild b/app-emacs/vm/vm-8.1.2.ebuild
new file mode 100644
index 000000000000..5213633069fc
--- /dev/null
+++ b/app-emacs/vm/vm-8.1.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp eutils
+
+MY_PV="${PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+DESCRIPTION="The VM mail reader for Emacs"
+HOMEPAGE="http://www.nongnu.org/viewmail/"
+SRC_URI="http://launchpad.net/vm/${PV%.*}.x/${MY_PV}/+download/${MY_P}.tgz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="bbdb ssl"
+
+DEPEND="bbdb? ( app-emacs/bbdb )"
+RDEPEND="!app-emacs/u-vm-color
+ ${DEPEND}
+ ssl? ( net-misc/stunnel )"
+
+S="${WORKDIR}/${MY_P}"
+SITEFILE="50${PN}-gentoo-8.0.el"
+
+src_prepare() {
+ if ! use bbdb; then
+ elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
+ epatch "${FILESDIR}/${PN}-8.0-no-pcrisis.patch"
+ fi
+}
+
+src_configure() {
+ econf \
+ --with-emacs="emacs" \
+ --with-pixmapdir="${SITEETC}/${PN}" \
+ $(use bbdb && echo "--with-other-dirs=${SITELISP}/bbdb")
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc CHANGES NEWS README TODO example.vm
+}
diff --git a/app-emacs/vm/vm-8.2.0_beta.ebuild b/app-emacs/vm/vm-8.2.0_beta.ebuild
new file mode 100644
index 000000000000..409345c2cd90
--- /dev/null
+++ b/app-emacs/vm/vm-8.2.0_beta.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp eutils
+
+MY_PV="${PV/_beta/b}"
+MY_P="${PN}-${MY_PV}"
+DESCRIPTION="The VM mail reader for Emacs"
+HOMEPAGE="http://www.nongnu.org/viewmail/"
+SRC_URI="http://launchpad.net/vm/${PV%.*}.x/${MY_PV}/+download/${MY_P}.tgz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="bbdb ssl"
+
+DEPEND="bbdb? ( app-emacs/bbdb )"
+RDEPEND="!app-emacs/u-vm-color
+ ${DEPEND}
+ ssl? ( net-misc/stunnel )"
+DEPEND="${DEPEND}
+ sys-apps/texinfo"
+
+S="${WORKDIR}/${MY_P}"
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-datadir.patch"
+ epatch "${FILESDIR}/${P}-texinfo-5.patch"
+
+ if ! use bbdb; then
+ elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
+ epatch "${FILESDIR}/${PN}-8.0-no-pcrisis.patch"
+ fi
+}
+
+src_configure() {
+ econf \
+ --with-emacs="emacs" \
+ --with-lispdir="${SITELISP}/${PN}" \
+ --with-etcdir="${SITEETC}/${PN}" \
+ --with-docdir="/usr/share/doc/${PF}" \
+ $(use bbdb && echo "--with-other-dirs=${SITELISP}/bbdb")
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ # delete duplicate documentation
+ find "${D}/${SITEETC}/${PN}" -type d -name pixmaps -prune \
+ -o -type f -exec rm '{}' '+' || die
+ rm "${D}/usr/share/doc/${PF}/COPYING" || die
+
+ dodoc example.vm
+ # NEWS is accessed from lisp and must not be compressed
+ docompress -x /usr/share/doc/${PF}/NEWS
+}
diff --git a/app-emacs/volume/Manifest b/app-emacs/volume/Manifest
new file mode 100644
index 000000000000..05bba8b81cad
--- /dev/null
+++ b/app-emacs/volume/Manifest
@@ -0,0 +1 @@
+DIST volume-1.0.el.bz2 8044 SHA256 e5756c21695d4142259e56aebf5001ff3b469a6ef6453c3fb4af21768a58e588 SHA512 32672ef525571bc022d6c0f5f5f5f9d16bb5f57176e63a3dbaa67f41cef5a8bfef06468093c439601b2b3439f6e77e8e7e6d6c9245b18a77ebb409c64eece510 WHIRLPOOL 55a126c65d78cddd8cdc6ede360240a19d9e92b1c862840dcc9df59339fadd0b844457e5eb0aa7d0b34b506fc5c299038542df3d1e8629272ebd8e2d4cc9bd4a
diff --git a/app-emacs/volume/files/50volume-gentoo.el b/app-emacs/volume/files/50volume-gentoo.el
new file mode 100644
index 000000000000..2ab5a2bb5e04
--- /dev/null
+++ b/app-emacs/volume/files/50volume-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'volume "volume" "Tweak your sound card volume." t)
diff --git a/app-emacs/volume/files/volume-1.0-mode-line.patch b/app-emacs/volume/files/volume-1.0-mode-line.patch
new file mode 100644
index 000000000000..2b3e4ccd33ef
--- /dev/null
+++ b/app-emacs/volume/files/volume-1.0-mode-line.patch
@@ -0,0 +1,14 @@
+Use `mode-line' instead of `modeline' for Emacs 24 compat.
+Patch taken from upstream repo.
+
+--- a/volume.el
++++ b/volume.el
+@@ -973,7 +973,7 @@
+ (select-window
+ (split-window-vertically
+ (if (and (fboundp 'face-attr-construct)
+- (plist-get (face-attr-construct 'modeline) :box))
++ (plist-get (face-attr-construct 'mode-line) :box))
+ -3 -2)))
+ (switch-to-buffer volume-buffer)))
+ ((not (eq (current-buffer) volume-buffer))
diff --git a/app-emacs/volume/metadata.xml b/app-emacs/volume/metadata.xml
new file mode 100644
index 000000000000..4b82c0179582
--- /dev/null
+++ b/app-emacs/volume/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="github">dbrock/volume-el</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/volume/volume-1.0-r1.ebuild b/app-emacs/volume/volume-1.0-r1.ebuild
new file mode 100644
index 000000000000..6edf136cf372
--- /dev/null
+++ b/app-emacs/volume/volume-1.0-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Tweak your sound card volume from Emacs"
+HOMEPAGE="https://github.com/dbrock/volume-el"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+
+# NOTE we might define the following which volume.el can work with by
+# default, but volume.el can really work with anything.
+
+# RDEPEND="|| ( media-sound/aumixer media-sound/alsa-utils )"
+
+ELISP_PATCHES="${P}-mode-line.patch"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/w3mnav/Manifest b/app-emacs/w3mnav/Manifest
new file mode 100644
index 000000000000..c6cd1723666c
--- /dev/null
+++ b/app-emacs/w3mnav/Manifest
@@ -0,0 +1 @@
+DIST w3mnav-0.5.tar.gz 2378 SHA256 23ca6c96bd15e66c4311fd47fdc3e21671369a7e6fa7835ed6d7e895ff2f2581 SHA512 8b04d31307e6fccdfb0d5ebd9bc4c2b52d347c5c2c022ad9b3f342b4c2666858ac201e11acd7a15b77b22dbef287c0cf481119ea18443776b00e5b133431e723 WHIRLPOOL bfc79429c052df6dd5c0a13401453341c305703e648f8fdeef52495a3f42af0b80984a2de100f24dd908d6d29bd0ed00a7cfc74782531b5357b5b9e1d3159cdd
diff --git a/app-emacs/w3mnav/files/75w3mnav-gentoo.el b/app-emacs/w3mnav/files/75w3mnav-gentoo.el
new file mode 100644
index 000000000000..873b58e0d3dd
--- /dev/null
+++ b/app-emacs/w3mnav/files/75w3mnav-gentoo.el
@@ -0,0 +1,12 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'w3m-nav-go-top "w3mnav" nil t)
+(autoload 'w3m-nav-go-prev "w3mnav" nil t)
+(autoload 'w3m-nav-go-next "w3mnav" nil t)
+
+(add-hook 'w3m-mode-hook
+ (lambda ()
+ (setq w3m-mode-map w3m-info-like-map)
+ (define-key w3m-mode-map "t" 'w3m-nav-go-top)
+ (define-key w3m-mode-map "[" 'w3m-nav-go-prev)
+ (define-key w3m-mode-map "]" 'w3m-nav-go-next)))
diff --git a/app-emacs/w3mnav/metadata.xml b/app-emacs/w3mnav/metadata.xml
new file mode 100644
index 000000000000..affa9b85b291
--- /dev/null
+++ b/app-emacs/w3mnav/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+w3mnav.el is an Emacs add-on that kludges some Info-like navigation keys to the
+w3m Web browser. This functionality was originally part of the Scheme support
+package Quack, and was intended to work with the numerous Scheme books that were
+converted to HTML from LaTeX format. It also works with some other HTML pages
+that have book-like &quot;next page&quot; and &quot;previous page&quot; links.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/w3mnav/w3mnav-0.5-r3.ebuild b/app-emacs/w3mnav/w3mnav-0.5-r3.ebuild
new file mode 100644
index 000000000000..5c8464f120d7
--- /dev/null
+++ b/app-emacs/w3mnav/w3mnav-0.5-r3.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Add Info-like navigation keys to the emacs-w3m web browser"
+HOMEPAGE="http://www.neilvandyke.org/w3mnav/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="app-emacs/emacs-w3m"
+RDEPEND="${DEPEND}"
+
+SITEFILE="75${PN}-gentoo.el"
+
+src_compile() {
+ ${EMACS} ${EMACSFLAGS} -L "${SITELISP}/emacs-w3m" \
+ -f batch-byte-compile w3mnav.el || die "byte-compile failed"
+}
diff --git a/app-emacs/wanderlust/Manifest b/app-emacs/wanderlust/Manifest
new file mode 100644
index 000000000000..90e01d0372da
--- /dev/null
+++ b/app-emacs/wanderlust/Manifest
@@ -0,0 +1,3 @@
+DIST wanderlust-2.14.0-20050405.patch.gz 3926 SHA256 240f32ece554b2afe7142ea557b41d0eb9667b8003ca00d390abe62e4b68ce16 SHA512 103e8eda374eab453363f3a735d877e313ff341e09abd66093bd090b404738d42d98edf5d1c9c8e8966963bf972d462aebc28ea6e470126af9266188247c4044 WHIRLPOOL 22518205351c26fe38e4c734778a3754fced5309a21395bd471b82f76e19baddeb333561572b8b4be9d02d744c8d9f7212c97270167af463e983d336393b280b
+DIST wanderlust-2.15.9_p20130619.tar.xz 818124 SHA256 cabc2f1a025d6c93484bc60dcda0672a9a8eef6c2c1932a21cfa6f2e2f377bcb SHA512 91bdcc1b29370b7be7a2072f4d8c638b3c0604ba31b5419952b848af268e73a3f199f07a88caabec56f66b38013e0f9cd7c1de26b46d1062ddff782e8080d4e0 WHIRLPOOL 99eac7cb2a623389161dc1e9cc0883b89e92d411c93757180140d94c7ce352d0b76a392bdd4439f551ecc5bd934b70a15391df6a60103ad97f1b3fd63de6b95a
+DIST wl-2.14.0.tar.gz 1101505 SHA256 883b61e7e9560aff35efcf7d0d48b0ddd7cde598895ffd111ff214072253eb1f SHA512 edb49c0c9ddbd50cba4ce4cdd1b2d609cee9553d063aeb4775d0b43e0ed83cc6374aa47b11b3ff94a55827f7a9a29f7c1054e0fd9b3a5a25a2c410b241d268d2 WHIRLPOOL 14e3c879e98ffbe2ae7e4ed1b63328f1937b7ca31aebae500b1bf100a6ca5db78f72c87ecd2f0aa65d1e3468741d2753e0ac2ddc98d9108482935bef0590a03b
diff --git a/app-emacs/wanderlust/files/50wanderlust-gentoo.el b/app-emacs/wanderlust/files/50wanderlust-gentoo.el
new file mode 100644
index 000000000000..ec27dd4eb5ee
--- /dev/null
+++ b/app-emacs/wanderlust/files/50wanderlust-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'wl "wl" "Wanderlust" t)
+(autoload 'wl-other-frame "wl" "Wanderlust on new frame." t)
+(autoload 'wl-draft "wl-draft" "Write draft with Wanderlust." t)
+
+(setq wl-icon-directory "@SITEETC@/icons")
diff --git a/app-emacs/wanderlust/files/wanderlust-2.14.0-smtp-end-of-line.patch b/app-emacs/wanderlust/files/wanderlust-2.14.0-smtp-end-of-line.patch
new file mode 100644
index 000000000000..f03542522ed2
--- /dev/null
+++ b/app-emacs/wanderlust/files/wanderlust-2.14.0-smtp-end-of-line.patch
@@ -0,0 +1,16 @@
+http://bugs.gentoo.org/280248
+Don't bind smtp-end-of-line. Patch from upstream CVS, by Yoichi NAKAYAMA.
+
+--- wl/wl-draft.el 28 Jan 2006 09:03:41 -0000 1.258
++++ wl/wl-draft.el 9 Feb 2006 03:57:39 -0000 1.259
+@@ -147,10 +147,6 @@
+ (if (eq wl-smtp-connection-type 'ssl)
+ #'open-ssl-stream
+ smtp-open-connection-function))
+- (smtp-end-of-line
+- (if (eq wl-smtp-connection-type 'ssl)
+- "\n"
+- smtp-end-of-line))
+ smtp-sasl-user-name smtp-sasl-properties sasl-read-passphrase)
+ (setq smtp-sasl-user-name wl-smtp-posting-user
+ smtp-sasl-properties (when wl-smtp-authenticate-realm
diff --git a/app-emacs/wanderlust/files/wanderlust-2.14.0-texinfo-garbage.patch b/app-emacs/wanderlust/files/wanderlust-2.14.0-texinfo-garbage.patch
new file mode 100644
index 000000000000..6be41a99b70c
--- /dev/null
+++ b/app-emacs/wanderlust/files/wanderlust-2.14.0-texinfo-garbage.patch
@@ -0,0 +1,11 @@
+--- wl-2.14.0-orig/doc/wl.texi 2005-02-25 16:05:48.000000000 +0100
++++ wl-2.14.0/doc/wl.texi 2009-08-10 16:15:29.000000000 +0200
+@@ -4329,7 +4329,7 @@
+
+ @item wl-summary-resend-use-cache
+ @vindex wl-summary-resend-use-cache
+-The initial setting is @code{nil}If non-nil, messages are resend
++The initial setting is @code{nil}. If non-nil, messages are resend
+ using cache even in the offline status. Note that if you use cache,
+ the message identity is not guaranteed.
+
diff --git a/app-emacs/wanderlust/metadata.xml b/app-emacs/wanderlust/metadata.xml
new file mode 100644
index 000000000000..3fab274a410c
--- /dev/null
+++ b/app-emacs/wanderlust/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<herd>net-mail</herd>
+<use>
+ <flag name="bbdb">Include support for <pkg>app-emacs/bbdb</pkg></flag>
+</use>
+<upstream>
+ <remote-id type="github">wanderlust/wanderlust</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/wanderlust/wanderlust-2.14.0-r6.ebuild b/app-emacs/wanderlust/wanderlust-2.14.0-r6.ebuild
new file mode 100644
index 000000000000..f9e239b86970
--- /dev/null
+++ b/app-emacs/wanderlust/wanderlust-2.14.0-r6.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+MY_P="wl-${PV/_/}"
+DESCRIPTION="Yet Another Message Interface on Emacsen"
+HOMEPAGE="http://www.gohome.org/wl/"
+SRC_URI="ftp://ftp.gohome.org/wl/stable/${MY_P}.tar.gz
+ ftp://ftp.gohome.org/wl/beta/${MY_P}.tar.gz
+ mirror://gentoo/${P}-20050405.patch.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="bbdb ssl linguas_ja"
+
+DEPEND=">=app-emacs/apel-10.6
+ virtual/emacs-flim
+ app-emacs/semi
+ bbdb? ( app-emacs/bbdb )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+ELISP_PATCHES="${P}-20050405.patch
+ ${P}-smtp-end-of-line.patch
+ ${P}-texinfo-garbage.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ local lang="\"en\""
+ use linguas_ja && lang="${lang} \"ja\""
+ echo "(setq wl-info-lang '(${lang}) wl-news-lang '(${lang}))" >>WL-CFG
+ use ssl && echo "(setq wl-install-utils t)" >>WL-CFG
+}
+
+src_compile() {
+ emake
+ emake info
+}
+
+src_install() {
+ emake \
+ LISPDIR="${ED}${SITELISP}" \
+ PIXMAPDIR="${ED}${SITEETC}/wl/icons" \
+ install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" wl
+
+ insinto "${SITEETC}/wl/samples/en"
+ doins samples/en/*
+ doinfo doc/wl*.info
+ dodoc BUGS ChangeLog INSTALL NEWS README
+
+ if use linguas_ja; then
+ insinto "${SITEETC}/wl/samples/ja"
+ doins samples/ja/*
+ dodoc BUGS.ja INSTALL.ja NEWS.ja README.ja
+ fi
+}
diff --git a/app-emacs/wanderlust/wanderlust-2.15.9_p20130619.ebuild b/app-emacs/wanderlust/wanderlust-2.15.9_p20130619.ebuild
new file mode 100644
index 000000000000..156d48628b89
--- /dev/null
+++ b/app-emacs/wanderlust/wanderlust-2.15.9_p20130619.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Yet Another Message Interface on Emacsen"
+HOMEPAGE="https://github.com/wanderlust/wanderlust
+ http://emacswiki.org/emacs/WanderLust"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="bbdb ssl linguas_ja"
+
+DEPEND=">=app-emacs/apel-10.6
+ virtual/emacs-flim
+ app-emacs/semi
+ bbdb? ( app-emacs/bbdb )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ local lang="\"en\""
+ use linguas_ja && lang="${lang} \"ja\""
+ echo "(setq wl-info-lang '(${lang}) wl-news-lang '(${lang}))" >>WL-CFG
+ use ssl && echo "(setq wl-install-utils t)" >>WL-CFG
+}
+
+src_compile() {
+ emake
+ emake info
+}
+
+src_install() {
+ emake \
+ LISPDIR="${ED}${SITELISP}" \
+ PIXMAPDIR="${ED}${SITEETC}/wl/icons" \
+ install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" wl
+
+ insinto "${SITEETC}/wl/samples/en"
+ doins samples/en/*
+ doinfo doc/wl*.info
+ dodoc BUGS ChangeLog INSTALL NEWS README.md
+
+ if use linguas_ja; then
+ insinto "${SITEETC}/wl/samples/ja"
+ doins samples/ja/*
+ dodoc BUGS.ja INSTALL.ja NEWS.ja README.ja
+ fi
+}
diff --git a/app-emacs/wgrep/Manifest b/app-emacs/wgrep/Manifest
new file mode 100644
index 000000000000..ffa70b86401e
--- /dev/null
+++ b/app-emacs/wgrep/Manifest
@@ -0,0 +1 @@
+DIST wgrep-2.1.10.el.xz 8708 SHA256 fa45f5724abd200c432701423f373f8106cec88c939b590bace394ba1b0a7ada SHA512 39761964406d3eedca9253f2f29f81dd9ee71c4e049a985c236ada4dd9b70dc553bf1e9e94cb6d3c8749f065146e2759a46a6ac52ed8e5e5f046e196798bc681 WHIRLPOOL 11b806d10dc1f089c959808ee47a1cc07beba534bc7df8bd3cb9cc17aa4ad7b8ec7ac381de410d84ebf436cb31001e83bca3bbc911e0b8c981ed19dab46650d5
diff --git a/app-emacs/wgrep/files/50wgrep-gentoo.el b/app-emacs/wgrep/files/50wgrep-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/wgrep/files/50wgrep-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/wgrep/metadata.xml b/app-emacs/wgrep/metadata.xml
new file mode 100644
index 000000000000..4be47a3f1ad3
--- /dev/null
+++ b/app-emacs/wgrep/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ wgrep allows you to edit a grep buffer and apply those changes to
+ the file buffer.
+</longdescription>
+<upstream>
+ <remote-id type="github">mhayashi1120/Emacs-wgrep</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/wgrep/wgrep-2.1.10.ebuild b/app-emacs/wgrep/wgrep-2.1.10.ebuild
new file mode 100644
index 000000000000..6694d1ca0f17
--- /dev/null
+++ b/app-emacs/wgrep/wgrep-2.1.10.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Writable grep buffer and apply the changes to files"
+HOMEPAGE="https://github.com/mhayashi1120/Emacs-wgrep"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
+DOC_CONTENTS="See commentary in ${SITELISP}/${PN}/wgrep.el for documentation.
+ \n\nTo activate wgrep, add the following line to your ~/.emacs file:
+ \n\t(require 'wgrep)"
diff --git a/app-emacs/whine/Manifest b/app-emacs/whine/Manifest
new file mode 100644
index 000000000000..c9189b950d3b
--- /dev/null
+++ b/app-emacs/whine/Manifest
@@ -0,0 +1 @@
+DIST whine-20091222.tar.bz2 4452 SHA256 bd08faff510ebfbcd3f27679c2ddbe123cfa35fec620c44407f41c3cf0ad9e11 SHA512 74d02753a991140d5298f111f08fa346f458723bd1e5a46d2b67dc262fb53f513d5b39ff87eab167f37b0f2be1458ad8d0bc92479f6f9a329eb5dbf79f87fc4d WHIRLPOOL 93cde84778e938cddc42c4c8169e16e15660359d2e8adad97fd88e84821828161fb7eaf10882a53e64ef2b55201593e121e0715fd0b21cdfaa8bc9255bb3e9ce
diff --git a/app-emacs/whine/files/50whine-gentoo.el b/app-emacs/whine/files/50whine-gentoo.el
new file mode 100644
index 000000000000..9babd69bec38
--- /dev/null
+++ b/app-emacs/whine/files/50whine-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'whinify "whine"
+ "Make certain global-mode keys whine.
+The command `unwhinify' makes them normal again." t)
diff --git a/app-emacs/whine/metadata.xml b/app-emacs/whine/metadata.xml
new file mode 100644
index 000000000000..ce96f79d40d0
--- /dev/null
+++ b/app-emacs/whine/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ Whine modifies a lot of the commands bound to the main Emacs keys, like SPC
+ and C-f and RET and C-x C-s. They still do the same things they did before,
+ but they whine about it, printing messages which do not in general have
+ anything to do with reality. The main lossage is C-l, which refreshes the
+ screen and then whines about it so that you can't get a clear message line.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/whine/whine-20091222.ebuild b/app-emacs/whine/whine-20091222.ebuild
new file mode 100644
index 000000000000..62bce3da8c63
--- /dev/null
+++ b/app-emacs/whine/whine-20091222.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Complaint generator for GNU Emacs"
+HOMEPAGE="http://www.emacswiki.org/emacs/Whine"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/wikipedia-mode/Manifest b/app-emacs/wikipedia-mode/Manifest
new file mode 100644
index 000000000000..65e3b4332fc9
--- /dev/null
+++ b/app-emacs/wikipedia-mode/Manifest
@@ -0,0 +1 @@
+DIST wikipedia-mode-0.5.el.bz2 14243 SHA256 61941b617f74a6c0da72190e1c83b4b46601062273b70d773c2b0eed1670467f SHA512 d10ddfb13e45fae347fe286df919bd9840ea0c2b38e903b451a9c3b6b6ab768566021d12b898bdc7236d034a89ba582dc8d22827bd3b4d80a0363ab323bd045d WHIRLPOOL bccb1917c2f8230f1d76e0ce28e41fd9fe7ad51c5a66ee26313d525e34e11810b1c6904ddff35851d2c4c1a81cec590fed0730ec1758b7d641c18907df820a9e
diff --git a/app-emacs/wikipedia-mode/files/50wikipedia-mode-gentoo.el b/app-emacs/wikipedia-mode/files/50wikipedia-mode-gentoo.el
new file mode 100644
index 000000000000..1c302088ec70
--- /dev/null
+++ b/app-emacs/wikipedia-mode/files/50wikipedia-mode-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'wikipedia-mode "wikipedia-mode"
+ "Major mode for editing documents in Wikipedia markup." t)
+
+(add-to-list 'auto-mode-alist '("\\.wiki\\'" . wikipedia-mode))
+(add-to-list 'auto-mode-alist '("/[a-z]+\\.wikipedia\\.org" . wikipedia-mode))
diff --git a/app-emacs/wikipedia-mode/files/wikipedia-mode-0.5-require-outline-magic.patch b/app-emacs/wikipedia-mode/files/wikipedia-mode-0.5-require-outline-magic.patch
new file mode 100644
index 000000000000..caefca757631
--- /dev/null
+++ b/app-emacs/wikipedia-mode/files/wikipedia-mode-0.5-require-outline-magic.patch
@@ -0,0 +1,6 @@
+--- wikipedia-mode.el~
++++ wikipedia-mode.el
+@@ -386,2 +386,3 @@
+ (require 'font-lock)
++(require 'outline-magic)
+
diff --git a/app-emacs/wikipedia-mode/metadata.xml b/app-emacs/wikipedia-mode/metadata.xml
new file mode 100644
index 000000000000..526fe57e8937
--- /dev/null
+++ b/app-emacs/wikipedia-mode/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ An Emacs major mode for editing articles in Wikipedia and other wikis
+ running MediaWiki software offline. This mode tweaks Emacs's behavior in
+ several ways to make it easier to edit MediaWiki articles. In particular,
+ wikipedia-mode provides syntax highlighting for MediaWiki markup.
+</longdescription>
+<use>
+ <flag name='outline-magic'>Enable support for outline-mode extensions
+ (<pkg>app-emacs/outline-magic</pkg>)</flag>
+</use>
+</pkgmetadata>
diff --git a/app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild b/app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild
new file mode 100644
index 000000000000..44a2c1448b84
--- /dev/null
+++ b/app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp eutils
+
+DESCRIPTION="Mode for editing Wikipedia articles off-line"
+HOMEPAGE="http://www.emacswiki.org/emacs/WikipediaMode"
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="outline-magic"
+
+DEPEND="outline-magic? ( app-emacs/outline-magic )"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ use outline-magic && epatch "${FILESDIR}/${P}-require-outline-magic.patch"
+}
diff --git a/app-emacs/xclip/Manifest b/app-emacs/xclip/Manifest
new file mode 100644
index 000000000000..adf6e4e4f7d3
--- /dev/null
+++ b/app-emacs/xclip/Manifest
@@ -0,0 +1,2 @@
+DIST xclip-1.0.el.xz 1560 SHA256 ea9bd42646872b6b0c67d352d9b875e23cc6604c56ec131a901a615c0f50184d SHA512 7d18992927f9b0c54db289ac2bdb1612fb6a7fc59b6ec22e83ef62c9e23c963adbffb9da5b8dbeccd9465063ed39884f14ee4b7ad5f0317a7e12ab041ed7d723 WHIRLPOOL 55dde6bd7e65196cc9c226853f5bb74a774da4837e9448341f98512b3f7123f6013bbaa80bbca9a9c3dfc4936c18cadb3c8ef3cac44705f867997209fcdb5e5d
+DIST xclip-1.3.el.xz 2164 SHA256 10ecb4d2f11c65707be3a1646f07b51d56a6670e30c676a94c03664b01930ab5 SHA512 5b51703a365fa3991a97c06734b6baf6473ba672ab2ed572db45330fc6b761258403191079725f8c3e8d72919355a2cadf0c04e31396805718de30474ac08520 WHIRLPOOL b24f22cd7c194897b52df134cfa9d55a40bf158de901ef65c10df0e428202739fcac599bfb476beadfebf88cf80d2ab06c21333a7f791ac7d1fe3890afa17941
diff --git a/app-emacs/xclip/files/50xclip-gentoo.el b/app-emacs/xclip/files/50xclip-gentoo.el
new file mode 100644
index 000000000000..32fe005725b4
--- /dev/null
+++ b/app-emacs/xclip/files/50xclip-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'xclip-mode "xclip"
+ "Minor mode to use the `xclip' program to copy&paste." t)
diff --git a/app-emacs/xclip/metadata.xml b/app-emacs/xclip/metadata.xml
new file mode 100644
index 000000000000..bc306fe58224
--- /dev/null
+++ b/app-emacs/xclip/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/xclip/xclip-1.0.ebuild b/app-emacs/xclip/xclip-1.0.ebuild
new file mode 100644
index 000000000000..3151a102355b
--- /dev/null
+++ b/app-emacs/xclip/xclip-1.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Emacs Interface to XClip"
+HOMEPAGE="http://elpa.gnu.org/packages/"
+SRC_URI="mirror://gentoo/${P}.el.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/xz-utils"
+RDEPEND="x11-misc/xclip"
+
+SITEFILE="50${PN}-gentoo.el"
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "To enable xclip-mode, add (xclip-mode 1) to your ~/.emacs file."
+}
diff --git a/app-emacs/xclip/xclip-1.3.ebuild b/app-emacs/xclip/xclip-1.3.ebuild
new file mode 100644
index 000000000000..4b7f3c91acf4
--- /dev/null
+++ b/app-emacs/xclip/xclip-1.3.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="Emacs Interface to XClip"
+HOMEPAGE="http://elpa.gnu.org/packages/xclip.html"
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-misc/xclip"
+
+SITEFILE="50${PN}-gentoo.el"
+DOC_CONTENTS="To enable xclip-mode, add (xclip-mode 1) to your ~/.emacs file."
diff --git a/app-emacs/xrdb-mode/Manifest b/app-emacs/xrdb-mode/Manifest
new file mode 100644
index 000000000000..984ba41414e4
--- /dev/null
+++ b/app-emacs/xrdb-mode/Manifest
@@ -0,0 +1 @@
+DIST xrdb-mode-3.0.el.xz 5448 SHA256 3fb184b9f186fb762f38751955ebdce63b66bdc9e549cb1901e05c1938f7e4b7 SHA512 1ad0f92edf08cca604b9534a5a715f79d019f73f8ad80bf8297fa3b4a201f8dbd864c23bed86579b7c48ddd9180add7b39e22469f6c23dceef4be9fdfd1ae290 WHIRLPOOL 59c6cd342e7a4517043f2fff4fa577c823edc8064e9909cec6b622899a58cd30b979d033b39025506bed5140a2c32e8824d6dfc90be2b88d67b47f94c37b96ab
diff --git a/app-emacs/xrdb-mode/files/50xrdb-mode-gentoo.el b/app-emacs/xrdb-mode/files/50xrdb-mode-gentoo.el
new file mode 100644
index 000000000000..3cbe7466ec08
--- /dev/null
+++ b/app-emacs/xrdb-mode/files/50xrdb-mode-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'xrdb-mode "xrdb-mode" "Major mode for editing xrdb config files." t)
+(add-to-list
+ 'auto-mode-alist
+ '("\\.\\(Xdefaults\\|Xenvironment\\|Xresources\\|ad\\)\\'" . xrdb-mode))
diff --git a/app-emacs/xrdb-mode/metadata.xml b/app-emacs/xrdb-mode/metadata.xml
new file mode 100644
index 000000000000..fb51ee8b64e7
--- /dev/null
+++ b/app-emacs/xrdb-mode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="launchpad">xrdb-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/xrdb-mode/xrdb-mode-3.0.ebuild b/app-emacs/xrdb-mode/xrdb-mode-3.0.ebuild
new file mode 100644
index 000000000000..9a8ff1e79973
--- /dev/null
+++ b/app-emacs/xrdb-mode/xrdb-mode-3.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="An Emacs major mode for editing X resource database files"
+HOMEPAGE="https://launchpad.net/xrdb-mode
+ http://www.emacswiki.org/emacs/ResourceFiles"
+# taken from https://launchpad.net/${PN}/trunk/3.0/+download/${PN}.el
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/xslide/Manifest b/app-emacs/xslide/Manifest
new file mode 100644
index 000000000000..88ba46366898
--- /dev/null
+++ b/app-emacs/xslide/Manifest
@@ -0,0 +1 @@
+DIST xslide-0.2.2.zip 29051 SHA256 dde9884f1584bcb63a8e218542c1a2d619327f4e94847974b6ece31b36c63c42 SHA512 df658464517704289d2695faed02d733adea9f5858310b497d66bf103be5c3e1c3635aa1aa3c93f63c64cd2927b4948e53e7b2593622564f5292c583d6e245a8 WHIRLPOOL 419a49258c9ddf49f5b8870378867f9f1b591efdca685e12881f8c2edb4ddeb4a64817c206fc87df2ffbf7089d08b9a7b3291c8f60c1ad34749de063832ba952
diff --git a/app-emacs/xslide/files/50xslide-gentoo.el b/app-emacs/xslide/files/50xslide-gentoo.el
new file mode 100644
index 000000000000..3ae228472f1b
--- /dev/null
+++ b/app-emacs/xslide/files/50xslide-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'xsl-mode "xslide" "Major mode for XSL stylesheets." t)
+;; Turn on font lock when in XSL mode
+(add-hook 'xsl-mode-hook
+ 'turn-on-font-lock)
+(add-to-list 'auto-mode-alist
+ '("\\.fo\\'\\|\\.xsl\\'" . xsl-mode))
diff --git a/app-emacs/xslide/metadata.xml b/app-emacs/xslide/metadata.xml
new file mode 100644
index 000000000000..abe614759038
--- /dev/null
+++ b/app-emacs/xslide/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<upstream>
+ <remote-id type="sourceforge">xslide</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/xslide/xslide-0.2.2.ebuild b/app-emacs/xslide/xslide-0.2.2.ebuild
new file mode 100644
index 000000000000..e0f1acd71873
--- /dev/null
+++ b/app-emacs/xslide/xslide-0.2.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="An Emacs major mode for editing XSL stylesheets and running XSL processes"
+HOMEPAGE="http://www.menteith.com/wiki/xslide"
+SRC_URI="mirror://sourceforge/xslide/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+SITEFILE="50${PN}-gentoo.el"
+DOCS="ChangeLog NEWS README.TXT TODO"
+
+src_compile() {
+ emake EMACS=emacs
+}
diff --git a/app-emacs/yaml-mode/Manifest b/app-emacs/yaml-mode/Manifest
new file mode 100644
index 000000000000..0413ecad1b42
--- /dev/null
+++ b/app-emacs/yaml-mode/Manifest
@@ -0,0 +1,2 @@
+DIST yaml-mode-0.0.8.tar.gz 6271 SHA256 88695798a4df55e5d42e880b7d24b18d180cc0a9989f8057ea48ec66365586f5 SHA512 3239d834b1202058d3414130b6374301f502b57e852786396a8d4e4d83e7e6c6a89b845799a0fbfdb458a93a85d8a03a1574522be38f929d032de4bc06f2935b WHIRLPOOL 2ba200432a107f00470dbfec9d5c7ee6cd4c586bf83b5b350987f3c0e7f3cc41be8d9974e65dcec45e2247f2768da56d184826e19ee82f0152a154004b50a9a2
+DIST yaml-mode-0.0.9.tar.gz 6498 SHA256 5d65852d9d738fd1966125f8ae737760ae48e647030e1aa5a78fd703f54358fc SHA512 cdfb0694d2efe5bb86ab5280e78d577d5bdac906a7745c6e988128cbb001f1f78569199288e2c12e7977a35c35f9e47f3271747bf26fcdfab5d2a961295550ea WHIRLPOOL 58ee875ce20ab49595b4372a979417deb672c09647f5b0859d3dddf484302b8bf4b65243e18709d7d6edec757d6528a59814f4b9f56fe98178d4966fcba5018f
diff --git a/app-emacs/yaml-mode/files/50yaml-mode-gentoo.el b/app-emacs/yaml-mode/files/50yaml-mode-gentoo.el
new file mode 100644
index 000000000000..d535ff479b81
--- /dev/null
+++ b/app-emacs/yaml-mode/files/50yaml-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'yaml-mode "yaml-mode" "Simple mode to edit YAML." t)
+(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))
diff --git a/app-emacs/yaml-mode/metadata.xml b/app-emacs/yaml-mode/metadata.xml
new file mode 100644
index 000000000000..dfc7f88ca6dd
--- /dev/null
+++ b/app-emacs/yaml-mode/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<maintainer>
+ <email>flameeyes@gentoo.org</email>
+</maintainer>
+<upstream>
+ <remote-id type="github">yoshiki/yaml-mode</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/yaml-mode/yaml-mode-0.0.8.ebuild b/app-emacs/yaml-mode/yaml-mode-0.0.8.ebuild
new file mode 100644
index 000000000000..502deac5306d
--- /dev/null
+++ b/app-emacs/yaml-mode/yaml-mode-0.0.8.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="A major mode for GNU Emacs for editing YAML files"
+HOMEPAGE="https://github.com/yoshiki/yaml-mode"
+SRC_URI="mirror://github/yoshiki/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS="README Changes"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/yaml-mode/yaml-mode-0.0.9.ebuild b/app-emacs/yaml-mode/yaml-mode-0.0.9.ebuild
new file mode 100644
index 000000000000..bba647646839
--- /dev/null
+++ b/app-emacs/yaml-mode/yaml-mode-0.0.9.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="A major mode for GNU Emacs for editing YAML files"
+HOMEPAGE="https://github.com/yoshiki/yaml-mode"
+SRC_URI="https://github.com/yoshiki/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+S="${WORKDIR}/${PN}-release-${PV}"
+DOCS="README Changes"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/yasnippet/Manifest b/app-emacs/yasnippet/Manifest
new file mode 100644
index 000000000000..86e367508d90
--- /dev/null
+++ b/app-emacs/yasnippet/Manifest
@@ -0,0 +1,6 @@
+DIST yasnippet-0.5.10.tar.bz2 30583 SHA256 0b09c3aff9d60b68fec15d82fe888849685fad7d10094159a336bb7073327eb6 SHA512 2533ca3c9a3f9210d43cbf871ad82fe7c6ad7d850b1c4c9ef36b299c72190cf535706e434f39b54a70611871ad6329f3386527d77c7bb14b709d7594c75ae4a5 WHIRLPOOL 7e60e4884230226748b879160b5e652e90add7de92945e692b5b105fe540727588554a6cbcf0e61c0a79d9a86d40ba17188a6c848ba5a9c6213387aa3ed20849
+DIST yasnippet-0.6.0c.tar.bz2 39844 SHA256 a62f5c1cc6b7187ec861df78858f6d8a02158f98958d51803b6c8b9368b54efd SHA512 ab60149f867ccda7a9b4f8f97b280c22d1130addb811291459df8b32b8a3ec65b4eaea7b36e1b0ffa80c6338b5094430fc9c2812bd03bc46e582321caafee375 WHIRLPOOL 009f839f7ff75415c0ad2ea1a542137739690d2874156d3e1e67adb59bb8bec2b67021852117d80cbea72dce4278316f9e4b5d931489d263416586b383073aa6
+DIST yasnippet-0.6.1c.tar.bz2 47493 SHA256 81ff65691182c59fcc53cf10ff783757d143246bc2f7a2b79c4452d144c17f05 SHA512 ea4c5850ae80e4db9a188788654a099eddc43e29371ef0cb6367e1a39d3ee9f3e9dab7201178955ae47c92bcecbb5120e0b817e47e9c88c5bcef9e561636a603 WHIRLPOOL 99c7c924935879b04bb0790abf6d9f56e8fb81d879b2803b7918c598c4c7587b76e86a2bafce49e00de35b1d592a5d397eec7114b6b42b31708aa7cebe1ad177
+DIST yasnippet-doc-0.5.10.tar.bz2 182436 SHA256 55aa4c731a91bac695cd34fd23a972dcaec957290c2a1002064e4e9f742da071 SHA512 2abdea253a23291089e34366f3cc95dbad6904ec8cf9f603e1fce0d9995ee32fd1b8b69f98f27ddd3fd33318514cb6e269f2418c8575df98240e6a3c3e19a0ed WHIRLPOOL 7c36e2013e6ef940b53c3330d690e3016e0a274fa55da02c713881e70db0091efb6cdf3bdd4516691ec267270bfbabf95b61e8d65c950b5103981b94b1295c81
+DIST yasnippet-doc-0.6.0c.tar.bz2 246554 SHA256 2e4581ac310fa8e13d7deb524c6949e0b4c8ed208e60439ebef366b87c7351c0 SHA512 3e32936e1fed8ab5ac963e9cbb68a61d80f22acde910e4a700cc4005463f0aae0fb5ce6f6f5cbdf2e8dd9bd7e39e912cac8ea05f8efca08d58a07fd35ff26160 WHIRLPOOL 386612504a8685dd98160b703ae661d90692de9dd05d8a2e0ede54068328213f37ec0d9d1179783740c5af2f22b474e3349a74face96e4fc89197c89858be017
+DIST yasnippet-doc-0.6.1c.tar.bz2 490738 SHA256 fc426b1365097c1db2d7d24139e15982c3abd792bfb8990934993f8e49688304 SHA512 c96955cac11f319107e0ea907c92860049598cbfd47b6a2e3211dc2b030face77b03aa9495d7e9d78171be87083f77268e90c6c86b0cc467a96a5bd724daf8f1 WHIRLPOOL d06b8710af363050b7c996c6d7bd0b06457326d589939cbe85bc812d44d6920d62a22449fc6a08a2806c3782ac0816e346698b6bc1b144b41eaff8f528899e3c
diff --git a/app-emacs/yasnippet/files/50yasnippet-gentoo.el b/app-emacs/yasnippet/files/50yasnippet-gentoo.el
new file mode 100644
index 000000000000..d07f448098bd
--- /dev/null
+++ b/app-emacs/yasnippet/files/50yasnippet-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'yas/initialize "yasnippet" "Do necessary initialization.")
+(autoload 'yas/load-directory "yasnippet"
+ "Load snippet definition from a directory hierarchy." t)
diff --git a/app-emacs/yasnippet/metadata.xml b/app-emacs/yasnippet/metadata.xml
new file mode 100644
index 000000000000..6d71c2e5287f
--- /dev/null
+++ b/app-emacs/yasnippet/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>emacs</herd>
+ <longdescription>YASnippet is a re-design and re-write of smart-snippet. It is much cleaner
+ and more powerful than smart-snippet.</longdescription>
+ <upstream>
+ <remote-id type="google-code">yasnippet</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emacs/yasnippet/yasnippet-0.5.10.ebuild b/app-emacs/yasnippet/yasnippet-0.5.10.ebuild
new file mode 100644
index 000000000000..0806d0037994
--- /dev/null
+++ b/app-emacs/yasnippet/yasnippet-0.5.10.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit elisp
+
+DESCRIPTION="Yet another snippet extension for Emacs"
+HOMEPAGE="http://code.google.com/p/yasnippet/"
+SRC_URI="http://yasnippet.googlecode.com/files/${P}.tar.bz2
+ doc? ( http://yasnippet.googlecode.com/files/${PN}-doc-${PV}.tar.bz2 )"
+
+# Homepage says MIT licence, source contains GPL-2 copyright notice
+LICENSE="MIT GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=app-emacs/dropdown-list-20080316"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_unpack() {
+ elisp_src_unpack
+
+ cd "${S}"
+ # remove inlined copy of dropdown-list
+ sed -i -e '/^;;/N;/Contents of dropdown-list\.el/,$d' yasnippet.el || die
+}
+
+src_install() {
+ elisp_src_install
+
+ insinto "${SITEETC}/${PN}"
+ doins -r snippets || die "doins failed"
+
+ if use doc; then
+ dohtml -r "${WORKDIR}"/doc/* || die "dohtml failed"
+ fi
+}
+
+pkg_postinst() {
+ elisp-site-regen
+
+ elog "Please add the following code into your .emacs to use yasnippet:"
+ elog "(yas/initialize)"
+ elog "(yas/load-directory \"${SITEETC}/${PN}/snippets\")"
+}
diff --git a/app-emacs/yasnippet/yasnippet-0.6.0c.ebuild b/app-emacs/yasnippet/yasnippet-0.6.0c.ebuild
new file mode 100644
index 000000000000..967791e14e88
--- /dev/null
+++ b/app-emacs/yasnippet/yasnippet-0.6.0c.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit elisp
+
+DESCRIPTION="Yet another snippet extension for Emacs"
+HOMEPAGE="http://code.google.com/p/yasnippet/"
+SRC_URI="http://yasnippet.googlecode.com/files/${P}.tar.bz2
+ doc? ( http://yasnippet.googlecode.com/files/${PN}-doc-${PV}.tar.bz2 )"
+
+# Homepage says MIT licence, source contains GPL-2 copyright notice
+LICENSE="MIT GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=app-emacs/dropdown-list-20080316"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_unpack() {
+ elisp_src_unpack
+
+ # remove bundled copy of dropdown-list
+ rm "${S}/dropdown-list.el" || die
+}
+
+src_install() {
+ elisp_src_install
+
+ insinto "${SITEETC}/${PN}"
+ doins -r snippets || die "doins failed"
+
+ if use doc; then
+ dohtml -r "${WORKDIR}"/doc/* || die "dohtml failed"
+ fi
+}
+
+pkg_postinst() {
+ elisp-site-regen
+
+ elog "Please add the following code into your .emacs to use yasnippet:"
+ elog "(yas/initialize)"
+ elog "(yas/load-directory \"${SITEETC}/${PN}/snippets\")"
+}
diff --git a/app-emacs/yasnippet/yasnippet-0.6.1c.ebuild b/app-emacs/yasnippet/yasnippet-0.6.1c.ebuild
new file mode 100644
index 000000000000..967791e14e88
--- /dev/null
+++ b/app-emacs/yasnippet/yasnippet-0.6.1c.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit elisp
+
+DESCRIPTION="Yet another snippet extension for Emacs"
+HOMEPAGE="http://code.google.com/p/yasnippet/"
+SRC_URI="http://yasnippet.googlecode.com/files/${P}.tar.bz2
+ doc? ( http://yasnippet.googlecode.com/files/${PN}-doc-${PV}.tar.bz2 )"
+
+# Homepage says MIT licence, source contains GPL-2 copyright notice
+LICENSE="MIT GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=app-emacs/dropdown-list-20080316"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_unpack() {
+ elisp_src_unpack
+
+ # remove bundled copy of dropdown-list
+ rm "${S}/dropdown-list.el" || die
+}
+
+src_install() {
+ elisp_src_install
+
+ insinto "${SITEETC}/${PN}"
+ doins -r snippets || die "doins failed"
+
+ if use doc; then
+ dohtml -r "${WORKDIR}"/doc/* || die "dohtml failed"
+ fi
+}
+
+pkg_postinst() {
+ elisp-site-regen
+
+ elog "Please add the following code into your .emacs to use yasnippet:"
+ elog "(yas/initialize)"
+ elog "(yas/load-directory \"${SITEETC}/${PN}/snippets\")"
+}
diff --git a/app-emacs/yatex/Manifest b/app-emacs/yatex/Manifest
new file mode 100644
index 000000000000..ebca99964371
--- /dev/null
+++ b/app-emacs/yatex/Manifest
@@ -0,0 +1,2 @@
+DIST yatex1.76.tar.gz 357552 SHA256 66c6f162a0ce4ee1edb231bacb4a3926ea4b5a45a4ba004330bb0bc0a7887acf SHA512 ff2afea1cb1b7e4bef223c13d4cc6b942b1d555959321e7cb97595dfe7ca3adbc9efa6db7d7d13cdd0bb5aa62eabc1d3383d07635b1dbbe5b15175bf99c4c416 WHIRLPOOL 878b199d1479a501fb36763daf6565ddfe340df2b607e346c8b4e5523c20df2cefe4a7254dd2a3f415fc4b2bc0371b79f9c504d801d3e4cc8553091bd2b4cd36
+DIST yatex1.77.tar.gz 356721 SHA256 acc3e14c34ea5eba0c1a96cef6b5c7ab850e621f75cf25764e0ae37be483f177 SHA512 d6b909b540b0966cfcd35a36ad7c9e8d8a821ca668ea9b0a4d1f3267a45397800769dd47ce64f5f8cbda65c274a7f415c8e86b6598a365ea41104684cf9df07f WHIRLPOOL 1755e2592b04596f154afb4cf6598371b61ce8e85f0960dbbcbe5172f2543edcb610f7e93185480ae7bed492da2f7a66f450756e7615014e3a0034a928c7e3c9
diff --git a/app-emacs/yatex/files/50yatex-gentoo.el b/app-emacs/yatex/files/50yatex-gentoo.el
new file mode 100644
index 000000000000..c57be338abeb
--- /dev/null
+++ b/app-emacs/yatex/files/50yatex-gentoo.el
@@ -0,0 +1,15 @@
+;; YaTeX-mode
+(setq auto-mode-alist
+ (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
+(autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
+
+;; YaHtml-mode
+(setq auto-mode-alist
+ (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist))
+(autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t)
+
+;; If your Kanji code is EUC-JP, then it is better to add following
+;; lines into .emacs, and it makes file encoding EUC.
+
+(setq YaTeX-kanji-code 3)
+(setq yahtml-kanji-code 3)
diff --git a/app-emacs/yatex/files/yatex-1.76-direntry.patch b/app-emacs/yatex/files/yatex-1.76-direntry.patch
new file mode 100644
index 000000000000..8dc0c5f310f7
--- /dev/null
+++ b/app-emacs/yatex/files/yatex-1.76-direntry.patch
@@ -0,0 +1,60 @@
+--- yatex1.76-orig/docs/yahtmle.tex
++++ yatex1.76/docs/yahtmle.tex
+@@ -1,9 +1,10 @@
+ \def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1
+ \input texinfo
+-@setfilename yahtmle
++@setfilename yahtml.info
+ @settitle Yet Another html-mode for Emacs
++@dircategory Emacs
+ @direntry
+-* yahtml-e: (yahtmle). Yet Another html-mode for Emacs (English).
++* yahtml: (yahtml). Yet Another html-mode for Emacs (English).
+ @end direntry
+
+ @iftex
+--- yatex1.76-orig/docs/yahtmlj.tex
++++ yatex1.76/docs/yahtmlj.tex
+@@ -1,9 +1,10 @@
+ \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1
+ \input texinfo
+-@setfilename yahtmlj
++@setfilename yahtml-ja.info
+ @settitle Yet Another html-mode for Emacs
++@dircategory Emacs
+ @direntry
+-* yahtml: (yahtmlj). Yet Another html-mode for Emacs (Japanese).
++* yahtml-ja: (yahtml-ja). Yet Another html-mode for Emacs (Japanese).
+ @end direntry
+
+ @iftex
+--- yatex1.76-orig/docs/yatexe.tex
++++ yatex1.76/docs/yatexe.tex
+@@ -1,9 +1,10 @@
+ \def\lang{jp} % -*- texinfo -*-
+ \input texinfo.tex
+-@setfilename yatexe
++@setfilename yatex.info
+ @settitle Yet Another tex-mode for Emacs
++@dircategory Emacs
+ @direntry
+-* YaTeX-e: (yatexe). Yet Another tex-mode for Emacs (English).
++* YaTeX: (yatex). Yet Another tex-mode for Emacs (English).
+ @end direntry
+
+ @iftex
+--- yatex1.76-orig/docs/yatexj.tex
++++ yatex1.76/docs/yatexj.tex
+@@ -1,9 +1,10 @@
+ \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1
+ \input texinfo
+-@setfilename yatexj
++@setfilename yatex-ja.info
+ @settitle Yet Another tex-mode for Emacs
++@dircategory Emacs
+ @direntry
+-* YaTeX: (yatexj). Yet Another tex-mode for Emacs (Japanese).
++* YaTeX-ja: (yatex-ja). Yet Another tex-mode for Emacs (Japanese).
+ @end direntry
+
+ @iftex
diff --git a/app-emacs/yatex/files/yatex-1.76-gentoo.patch b/app-emacs/yatex/files/yatex-1.76-gentoo.patch
new file mode 100644
index 000000000000..b961b31798e1
--- /dev/null
+++ b/app-emacs/yatex/files/yatex-1.76-gentoo.patch
@@ -0,0 +1,16 @@
+--- yatex1.73-orig/yatexhlp.el 2006-12-24 07:25:29.000000000 +0100
++++ yatex1.73/yatexhlp.el 2008-05-12 12:19:02.000000000 +0200
+@@ -9,12 +9,7 @@
+ (cond (YaTeX-japan "jp")
+ (t "eng"))))
+ (help-dir
+- (cond
+- ((and (boundp 'site-directory) site-directory) site-directory)
+- ((string-match "\\.app/" doc-directory) ;For Emacs.app(Darwin)
+- (expand-file-name "../site-lisp" doc-directory))
+- (YaTeX-emacs-19 (expand-file-name "../../site-lisp" doc-directory))
+- (t exec-directory))))
++ "/usr/share/emacs/etc/yatex"))
+ (defvar YaTeX-help-file
+ (expand-file-name help-file help-dir)
+ "*Help file of LaTeX/TeX commands or macros.")
diff --git a/app-emacs/yatex/files/yatex-1.77-texinfo-5.patch b/app-emacs/yatex/files/yatex-1.77-texinfo-5.patch
new file mode 100644
index 000000000000..73ff873cce34
--- /dev/null
+++ b/app-emacs/yatex/files/yatex-1.77-texinfo-5.patch
@@ -0,0 +1,86 @@
+--- yatex1.77-orig/docs/yahtmle.tex
++++ yatex1.77/docs/yahtmle.tex
+@@ -1,4 +1,4 @@
+-\def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1
++@c \def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1
+ \input texinfo
+ @setfilename yahtml.info
+ @settitle Yet Another html-mode for Emacs
+--- yatex1.77-orig/docs/yahtmlj.tex
++++ yatex1.77/docs/yahtmlj.tex
+@@ -1,4 +1,4 @@
+-\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1
++@c \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1
+ \input texinfo
+ @setfilename yahtml-ja.info
+ @settitle Yet Another html-mode for Emacs
+--- yatex1.77-orig/docs/yatexe.tex
++++ yatex1.77/docs/yatexe.tex
+@@ -1,4 +1,4 @@
+-\def\lang{jp} % -*- texinfo -*-
++@c \def\lang{jp} % -*- texinfo -*-
+ \input texinfo.tex
+ @setfilename yatex.info
+ @settitle Yet Another tex-mode for Emacs
+@@ -705,7 +705,7 @@
+ @item M-x YaTeX-section-overview
+ @dots{} Generate *Sectioning Lines* buffer
+ @end table
+-@cindex{Generate the listing of sectioning units}
++@cindex Generate the listing of sectioning units
+ from the LaTeX source buffer. In this listing buffer, typing @kbd{u} on
+ the sectioning command shifts up the corresponding sectioning command in
+ source text and @kbd{d} shifts down. After marking lines in the listing
+@@ -1087,7 +1087,7 @@
+ @node Invoking image processor, Jump to main file, Jump to corresponding object, Cursor jump
+ @comment node-name, next, previous, up
+ @section Invoking image processor
+-@cindex{Drawing tool invocation}
++@cindex Drawing tool invocation
+
+ `image-including line' described above means such lines as
+ @code{\epsfile@{file=foo.ps@}}. If you type @kbd{[prefix] g} on that
+@@ -2179,9 +2179,9 @@
+ @table @kbd
+ @item [F]
+ YaTeX:read-position
+-@itemx [A]
++@item [A]
+ Character list which can show up in the brackets
+-@itemx [D]
++@item [D]
+ Return the location specifier such as `[htb]'. When
+ nothing is entered, omit [] itself. If the possible characters
+ are "htbp", call this function as
+@@ -2189,9 +2189,9 @@
+
+ @item [F]
+ YaTeX:read-coordinates
+-@itemx [A]
++@item [A]
+ Base prompt, X-axis prompt, Y-axis prompt (each optional)
+-@itemx [D]
++@item [D]
+ Read the coordinates with the prompt ``BasePrompt X-axisPrompt:'' for
+ X-axis, ``BasePrompt Y-axisPrompt:'' for Y-axis, and return it in the form
+ of ``(X,Y)''. The default prompts are @code{Dimension}, @code{X},
+@@ -2199,9 +2199,9 @@
+
+ @item [F]
+ YaTeX:check-completion-type
+-@itemx [A]
++@item [A]
+ One of the symbols: 'begin, 'section, or 'maketitle
+-@itemx [D]
++@item [D]
+ Check the current completion type is specified one and cause error if
+ not. The variable @code{YaTeX-current-completion-type} holds the symbol
+ according to the current completion type.
+--- yatex1.77-orig/docs/yatexj.tex
++++ yatex1.77/docs/yatexj.tex
+@@ -1,4 +1,4 @@
+-\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1
++@c \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1
+ \input texinfo
+ @setfilename yatex-ja.info
+ @settitle Yet Another tex-mode for Emacs
diff --git a/app-emacs/yatex/metadata.xml b/app-emacs/yatex/metadata.xml
new file mode 100644
index 000000000000..ca038952bd63
--- /dev/null
+++ b/app-emacs/yatex/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<herd>emacs</herd>
+<longdescription lang="en">
+ YaTeX is an intelligent, acquisitive and integrated package which reduces
+ your efforts of composing LaTeX source on Emacs. And yahtml is the honest
+ and bright YaTeX-compatible major-mode package for writing HTML. If you have
+ noticed the power of YaTeX, you can drive yahtml over the HTML files quickly
+ and steadily. And vice versa, of course.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/yatex/yatex-1.76.ebuild b/app-emacs/yatex/yatex-1.76.ebuild
new file mode 100644
index 000000000000..8d03ba44d362
--- /dev/null
+++ b/app-emacs/yatex/yatex-1.76.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp eutils
+
+DESCRIPTION="Yet Another TeX mode for Emacs"
+HOMEPAGE="http://www.yatex.org/"
+SRC_URI="http://www.yatex.org/${P/-/}.tar.gz"
+
+KEYWORDS="amd64 ppc ~ppc64 x86"
+SLOT="0"
+LICENSE="YaTeX"
+IUSE="linguas_ja"
+
+S="${WORKDIR}/${P/-/}"
+ELISP_PATCHES="${PN}-1.76-gentoo.patch
+ ${PN}-1.76-direntry.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ # byte-compilation fails (as of 1.74): yatexlib.el requires fonts
+ # that are only available under X
+
+ cd docs
+ makeinfo yatexe.tex yahtmle.tex || die
+
+ if use linguas_ja; then
+ iconv -f WINDOWS-31J -t UTF-8 yatexj.tex >yatex-ja.texi || die
+ iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex >yahtml-ja.texi || die
+ makeinfo yatex-ja.texi yahtml-ja.texi || die
+ fi
+}
+
+src_install() {
+ elisp-install ${PN} *.el || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+
+ insinto ${SITEETC}/${PN}
+ doins help/YATEXHLP.eng
+ doinfo docs/yatex.info* docs/yahtml.info*
+ dodoc docs/*.eng
+
+ if use linguas_ja; then
+ doins help/YATEXHLP.jp
+ doinfo docs/yatex-ja.info* docs/yahtml-ja.info*
+ dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc
+ fi
+}
diff --git a/app-emacs/yatex/yatex-1.77.ebuild b/app-emacs/yatex/yatex-1.77.ebuild
new file mode 100644
index 000000000000..06874094ce23
--- /dev/null
+++ b/app-emacs/yatex/yatex-1.77.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp eutils
+
+DESCRIPTION="Yet Another TeX mode for Emacs"
+HOMEPAGE="http://www.yatex.org/"
+SRC_URI="http://www.yatex.org/${P/-/}.tar.gz"
+
+KEYWORDS="amd64 ppc ~ppc64 x86"
+SLOT="0"
+LICENSE="YaTeX"
+IUSE="linguas_ja"
+
+S="${WORKDIR}/${P/-/}"
+ELISP_PATCHES="${PN}-1.76-gentoo.patch
+ ${PN}-1.76-direntry.patch
+ ${PN}-1.77-texinfo-5.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ # byte-compilation fails (as of 1.74): yatexlib.el requires fonts
+ # that are only available under X
+
+ cd docs
+ makeinfo yatexe.tex yahtmle.tex || die
+
+ if use linguas_ja; then
+ iconv -f WINDOWS-31J -t UTF-8 yatexj.tex >yatex-ja.texi || die
+ iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex >yahtml-ja.texi || die
+ makeinfo yatex-ja.texi yahtml-ja.texi || die
+ fi
+}
+
+src_install() {
+ elisp-install ${PN} *.el || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+
+ insinto ${SITEETC}/${PN}
+ doins help/YATEXHLP.eng
+ doinfo docs/yatex.info* docs/yahtml.info*
+ dodoc docs/*.eng
+
+ if use linguas_ja; then
+ doins help/YATEXHLP.jp
+ doinfo docs/yatex-ja.info* docs/yahtml-ja.info*
+ dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc
+ fi
+}
diff --git a/app-emacs/yc/Manifest b/app-emacs/yc/Manifest
new file mode 100644
index 000000000000..2bc1bd6320a0
--- /dev/null
+++ b/app-emacs/yc/Manifest
@@ -0,0 +1 @@
+DIST yc-4.0.13.tar.gz 43916 SHA256 5afd06ea819bbf20f5cbfbcd3c60eb58a50b2ef093defc4c93bfdf8ab69444f3 SHA512 2b5430766bbdbc77a0ec3aba6d51478ff91186a257e75a2a3af25a885bbddbf7180fbdf3b0876c1a65c149060bb754a44f77bb399c43cc666bd0add40226ca32 WHIRLPOOL fcd0fbb6729f42cf752a4d590357202ea54763c243e5e29d9f6a9676e420e1b501c1579e0230b0e59d88c15cc7f106c8c1d32effd7411e708bada5f68f3dd380
diff --git a/app-emacs/yc/files/50yc-gentoo.el b/app-emacs/yc/files/50yc-gentoo.el
new file mode 100644
index 000000000000..33bd4a72a454
--- /dev/null
+++ b/app-emacs/yc/files/50yc-gentoo.el
@@ -0,0 +1,4 @@
+
+;;; YC site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/yc/files/sample.dot.emacs-4 b/app-emacs/yc/files/sample.dot.emacs-4
new file mode 100644
index 000000000000..101532e704a6
--- /dev/null
+++ b/app-emacs/yc/files/sample.dot.emacs-4
@@ -0,0 +1,12 @@
+;;;; -*- mode: lisp-interaction; syntax: elisp; coding: iso-2022-7bit -*-
+
+;;;; Configuration for yc
+(setq yc-server-host "unix")
+;If you use inet socket service, enable the following line.
+;(setq yc-server-host "localhost")
+(setq yc-use-color t)
+(if (eq window-system 'x)
+ (setq yc-use-fence nil)
+ (setq yc-use-fence t))
+(load "yc")
+(global-yc-mode 1)
diff --git a/app-emacs/yc/files/sample.hosts.canna b/app-emacs/yc/files/sample.hosts.canna
new file mode 100644
index 000000000000..960d75f5266c
--- /dev/null
+++ b/app-emacs/yc/files/sample.hosts.canna
@@ -0,0 +1,2 @@
+localhost
+unix
diff --git a/app-emacs/yc/metadata.xml b/app-emacs/yc/metadata.xml
new file mode 100644
index 000000000000..df397ea3014c
--- /dev/null
+++ b/app-emacs/yc/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+<herd>emacs</herd>
+</pkgmetadata>
diff --git a/app-emacs/yc/yc-4.0.13.ebuild b/app-emacs/yc/yc-4.0.13.ebuild
new file mode 100644
index 000000000000..b0bb30381b4a
--- /dev/null
+++ b/app-emacs/yc/yc-4.0.13.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+inherit elisp toolchain-funcs
+
+DESCRIPTION="Yet another Canna client on Emacsen"
+HOMEPAGE="http://www.ceres.dti.ne.jp/~knak/yc.html"
+SRC_URI="http://www.ceres.dti.ne.jp/~knak/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha ~amd64 ppc x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=app-i18n/canna-3.6"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ sed -e 's:$(CC) -o $(PROGRAM) $(OBJS):$(CC) ${CFLAGS} ${LDFLAGS} -o $(PROGRAM) $(OBJS):' -i Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ elisp-install ${PN} *.el *.elc || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ dobin icanna || die
+ newdoc "${FILESDIR}"/sample.dot.emacs-4 sample.dot.emacs || die
+ dodoc "${FILESDIR}"/sample.hosts.canna || die
+}
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "See the sample.dot.emacs file in /usr/share/doc/${PF}/."
+ elog
+ elog "And If you use unix domain socket for connecting the canna server, "
+ elog " please confirm that there's *no* following line in your .emacs ."
+ elog " (setq yc-server-host \"localhost\")"
+ elog
+ elog "If you use inet domain socket for connecting the canna server, "
+ elog " please modify as following in /etc/conf.d/canna."
+ elog " CANNASERVER_OPTS=\"-inet\""
+ elog " And create /etc/hosts.canna."
+ elog " (see the sample.hosts.canna file in /usr/share/doc/${PF}/)"
+}
+
+pkg_postrm() {
+ elisp-site-regen
+}
diff --git a/app-emacs/zenburn/Manifest b/app-emacs/zenburn/Manifest
new file mode 100644
index 000000000000..9e0260d1134b
--- /dev/null
+++ b/app-emacs/zenburn/Manifest
@@ -0,0 +1 @@
+DIST zenburn-20110907.el.bz2 6979 SHA256 b376c33ea3f97678d59b7d8103c352899515f3a6e68ab7f294ab787d9b29abd5 SHA512 552f4a751ffadaf2f4174c7f722abc1fb7a8f84934df01f61c2d7cf653328ce8fd18473f0748eaa570ab9221544e5e9c81243e731a2fff5f2c9028b992163062 WHIRLPOOL ab857e75d79745bfbf79675d7b6a784fc3d5f63e7a34492a663de5b9be6606728c41a0711e2cb3038bae578fd2c187ffc0bd2b7d097adbba5a7fa64f4852d4e7
diff --git a/app-emacs/zenburn/files/50zenburn-gentoo.el b/app-emacs/zenburn/files/50zenburn-gentoo.el
new file mode 100644
index 000000000000..0844532b5014
--- /dev/null
+++ b/app-emacs/zenburn/files/50zenburn-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'color-theme-zenburn "zenburn"
+ "Just some alien fruit salad to keep you in the zone." t)
+(defalias 'zenburn 'color-theme-zenburn)
diff --git a/app-emacs/zenburn/metadata.xml b/app-emacs/zenburn/metadata.xml
new file mode 100644
index 000000000000..47a77903d550
--- /dev/null
+++ b/app-emacs/zenburn/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ Zenburn is a low-contrast color theme. It's easy for your eyes and
+ designed to keep you in the zone for long programming sessions.
+</longdescription>
+<upstream>
+ <remote-id type="github">dbrock/zenburn-el</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/zenburn/zenburn-20110907.ebuild b/app-emacs/zenburn/zenburn-20110907.ebuild
new file mode 100644
index 000000000000..0d06ea3518aa
--- /dev/null
+++ b/app-emacs/zenburn/zenburn-20110907.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Zenburn color theme for Emacs"
+HOMEPAGE="http://slinky.imukuppi.org/zenburnpage/
+ https://github.com/dbrock/zenburn-el"
+# snapshot from upstream git repo
+SRC_URI="mirror://gentoo/${P}.el.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="app-emacs/color-theme"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-gentoo.el"
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "To enable zenburn by default, initialise it in your ~/.emacs:"
+ elog " (color-theme-zenburn)"
+}
diff --git a/app-emacs/zenirc/Manifest b/app-emacs/zenirc/Manifest
new file mode 100644
index 000000000000..beaf1bcf8e6a
--- /dev/null
+++ b/app-emacs/zenirc/Manifest
@@ -0,0 +1 @@
+DIST zenirc-2.112.tar.gz 270951 SHA256 05bc964e7845acc0f5be4e385f01ea7da48967ea409a59417507360c155988ab SHA512 3859eb21ad80c8a32e473a272bf2b024039a7a5e4c87a168a71ee2d045f678397daebdce81358be3a50a0dae63c7f8f417600f0964250fdb505def2803a13fac WHIRLPOOL bf90ba7ef0a8f43ca954afb50666c2367a2cea53c34ba7ae7543eaafe3eaebc5229ecd589e616cf9948d57b50fd5ec7680617ce6487a2fd66109cfcd0d7e83f3
diff --git a/app-emacs/zenirc/files/50zenirc-gentoo.el b/app-emacs/zenirc/files/50zenirc-gentoo.el
new file mode 100644
index 000000000000..c52c190d214a
--- /dev/null
+++ b/app-emacs/zenirc/files/50zenirc-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'zenirc "zenirc" "Start ZenIRC" t)
diff --git a/app-emacs/zenirc/metadata.xml b/app-emacs/zenirc/metadata.xml
new file mode 100644
index 000000000000..f4514376b4e9
--- /dev/null
+++ b/app-emacs/zenirc/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ ZenIRC is a full-featured scriptable IRC client for the EMACS text editor.
+ It runs on any OS where EMACS supports sockets. It is compatible with GNU
+ Emacs 18.59 and above, and all versions of XEmacs. ZenIRC is Free Software.
+ ZenIRC supports multiple irc sessions in separate buffers. There is a
+ rudimentary command syntax for use within those sessions, but most user
+ preferences and extensions are written and configured in emacs-lisp. Most
+ features are implemented via module extensions. For example, DCC (Direct
+ Client-to-Client) can be enabled at the user's option.
+</longdescription>
+</pkgmetadata>
diff --git a/app-emacs/zenirc/zenirc-2.112-r1.ebuild b/app-emacs/zenirc/zenirc-2.112-r1.ebuild
new file mode 100644
index 000000000000..bbca2a215066
--- /dev/null
+++ b/app-emacs/zenirc/zenirc-2.112-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit readme.gentoo elisp
+
+DESCRIPTION="A full-featured scriptable IRC client for the Emacs text editor"
+HOMEPAGE="http://www.zenirc.org/"
+SRC_URI="ftp://ftp.zenirc.org/pub/zenirc/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_configure() {
+ # econf won't work because of unknown options
+ ./configure --prefix="${EPREFIX}/usr/" || die "configure failed"
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ elisp-install ${PN} src/*.el src/*.elc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ doinfo doc/zenirc.info
+ dodoc BUGS INSTALL NEWS README TODO
+
+ cd doc
+ docinto doc
+ dodoc 666.conspiracy FAQ README-OLD ctcp.doc irc-operators \
+ server-list tao-of-irc tour.of.irc undernet
+
+ DOC_CONTENTS="Refer to the Info documentation and
+ ${SITELISP}/${PN}/zenirc-example.el for customization hints."
+ readme.gentoo_create_doc
+}