summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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=