summaryrefslogtreecommitdiff
path: root/app-emacs/cldoc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emacs/cldoc
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/cldoc')
-rw-r--r--app-emacs/cldoc/Manifest6
-rw-r--r--app-emacs/cldoc/cldoc-1.16.ebuild19
-rw-r--r--app-emacs/cldoc/files/50cldoc-gentoo.el13
-rw-r--r--app-emacs/cldoc/metadata.xml20
4 files changed, 58 insertions, 0 deletions
diff --git a/app-emacs/cldoc/Manifest b/app-emacs/cldoc/Manifest
new file mode 100644
index 000000000000..8fe842b6378e
--- /dev/null
+++ b/app-emacs/cldoc/Manifest
@@ -0,0 +1,6 @@
+AUX 50cldoc-gentoo.el 438 SHA256 4350ee38a7d514ad6d10b1608af90cc93a240b62201b1e42319381450bbe480a SHA512 8b102bfb58219c061b9512a0449f2c65b92accd76d852bc5cebcd73dc55f5561cc86e690dbd4a55e244c398bdc30e9c3dade20f44201168203db9b5cfccf9844 WHIRLPOOL 498abb6631b2c2e0b451a4f43b263ec4103c315632aa45b5f9645ff92e8faeab656f4ca4ed9048b89673bdf0ed2c1f4201604b2cc697592f22c47096d3c92d23
+DIST cldoc-1.16.el.bz2 16869 SHA256 7f75cb6d05939cced1030b095d8136f4a1d0918981fa1660cba9382edafabf18 SHA512 6b53418252e6c139cca24768b502d58cb9d316fd5778b541306b5e7806e9ddac1d7662e099e7dd90c98932555adaeb8a7481b0a72669d5231c803818133cbacc WHIRLPOOL 79a349253f1d50bb4b068fbeeec363b83c7d1c5f4cf83a2f4b8eead4fc153e2b403afa04a9a1661d4a774ed78a1482a1c8e4c73efdcf29ca37395c694845b511
+EBUILD cldoc-1.16.ebuild 510 SHA256 4765aa39edac559bb40180e062d7c1a8b36bcff84dd3f552a8142bfd810066b7 SHA512 bc2d9ccd0da905ffed2a934ef9c60e3b4b1b9551b7cffc8fe7575db678f82975242d42c9945b5774f5b5457657e80d11a89a7c135aa07759efff8c188e89273e WHIRLPOOL db777661fa30357ca340ee0b5a583385f1e1ffe1712707cd4e2539d805e3c36e52ea0372d21bcd90eba88735493e03dcb96ed0e735c46d347f5c5a85ce0b7394
+MISC ChangeLog 2605 SHA256 16a6f9cd998f1e0bc8985a470544a5bb6a21f848f0e90b6159f9802877a28745 SHA512 343d0a54342af35741a21e7e1ed040070e650a2a60d655a37247daee351d5ed842fce318bf596a2af6ed268f113b2fda5b1a0884409e803aea33322e353bb694 WHIRLPOOL 4a5d3cea29dc987ceba93697e46494c1a8767a8864956c514659a9a7b468d9626b2a0b2281ead32b660d42fa2ca2827eed64cb3fd7eae904ba7307918a42ac37
+MISC ChangeLog-2015 913 SHA256 1a584233130406cc6779484ad69cde2b3231712cfcb88f0502c4f8fa34e38eb2 SHA512 a4a57941231e9f9da29652aa0b3c4d4f65bb5413d5fa3b537cdf1dae4f4b09e10f19b579b26f30cdcde8cc6fd16a367de394ea90094864f3eaa90b290e405dcf WHIRLPOOL d2a91eb4e22b1b23b9cc5725f84d1678dd87dbde8a83ce0b3063763106bacb970952f7aa2f126e112ae740e8b68fcb3d70aa8e0938f90a03acc843bcb8d66d15
+MISC metadata.xml 807 SHA256 09b9650364a5a9176182ebcb703880d95369c8e07498712e1348551c34729798 SHA512 a1f85c0222d0b3bbb458369e1f1c6328c646e817d7a321c387f5724cc8fa36f40878cfd5e998b148230a084d1c4a9e1db57d714495c523fc8109ba22df01e64f WHIRLPOOL ec4a42b463c65dae0573f223b97b6fb11d5bb105a830edbc44b957454ce123c080fb20d8a1061fb75ec420b5ca22bebb1ab63d335f2702ff07e7bcda449d567d
diff --git a/app-emacs/cldoc/cldoc-1.16.ebuild b/app-emacs/cldoc/cldoc-1.16.ebuild
new file mode 100644
index 000000000000..10fbf9fbc056
--- /dev/null
+++ b/app-emacs/cldoc/cldoc-1.16.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="https://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..6279cb8db26a
--- /dev/null
+++ b/app-emacs/cldoc/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<maintainer type="project">
+ <email>common-lisp@gentoo.org</email>
+ <name>Gentoo Common Lisp Project</name>
+</maintainer>
+<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>