summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-emacs/cldoc
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-emacs/cldoc')
-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
4 files changed, 48 insertions, 0 deletions
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>