summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2006-04-12 16:47:18 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2006-04-12 16:47:18 +0000
commit71e6f85c3e6f26418e6349a4ccdeb641e75824ae (patch)
treeb5f7b6d2976edc2caa2d660631d3b8b949a837d4 /app-emacs/slime-cvs
parentAdded ~alpha keyword wrt Bug #122637. (diff)
downloadhistorical-71e6f85c3e6f26418e6349a4ccdeb641e75824ae.tar.gz
historical-71e6f85c3e6f26418e6349a4ccdeb641e75824ae.tar.bz2
historical-71e6f85c3e6f26418e6349a4ccdeb641e75824ae.zip
Modernize the Emacs Slime site-lisp configuration by simply calling slime-setup.
Package-Manager: portage-2.1_pre7-r4
Diffstat (limited to 'app-emacs/slime-cvs')
-rw-r--r--app-emacs/slime-cvs/ChangeLog10
-rw-r--r--app-emacs/slime-cvs/Manifest19
-rw-r--r--app-emacs/slime-cvs/files/70slime-gentoo.el3
-rw-r--r--app-emacs/slime-cvs/files/README.Gentoo12
-rw-r--r--app-emacs/slime-cvs/files/swank.asd43
-rw-r--r--app-emacs/slime-cvs/slime-cvs-0-r4.ebuild20
6 files changed, 62 insertions, 45 deletions
diff --git a/app-emacs/slime-cvs/ChangeLog b/app-emacs/slime-cvs/ChangeLog
index bb6e99971a0f..9f0e99e896cc 100644
--- a/app-emacs/slime-cvs/ChangeLog
+++ b/app-emacs/slime-cvs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emacs/slime-cvs
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime-cvs/ChangeLog,v 1.18 2005/08/14 08:36:09 mkennedy Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime-cvs/ChangeLog,v 1.19 2006/04/12 16:47:17 mkennedy Exp $
+
+ 12 Apr 2006; Matthew Kennedy <mkennedy@gentoo.org>
+ files/70slime-gentoo.el, +files/README.Gentoo, files/swank.asd,
+ slime-cvs-0-r4.ebuild:
+ Modernize the Emacs Slime site-lisp configuration by simply calling
+ slime-setup.
14 Aug 2005; Matthew Kennedy <mkennedy@gentoo.org>
files/70slime-gentoo.el, -slime-cvs-0.ebuild, -slime-cvs-0-r1.ebuild,
diff --git a/app-emacs/slime-cvs/Manifest b/app-emacs/slime-cvs/Manifest
index 89cc14fe8335..88204cb5cce3 100644
--- a/app-emacs/slime-cvs/Manifest
+++ b/app-emacs/slime-cvs/Manifest
@@ -1,17 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 12ba3cc8b079672ef33a628dc93f1529 ChangeLog 2784
-MD5 185b50ff504c7da6807fffb4e73fc017 metadata.xml 1267
-MD5 1caa527f86025f78b25c0a4667b74a64 slime-cvs-0-r4.ebuild 2223
MD5 cbdca05ee34078c6bd9fb424fd4dda02 files/70slime-gentoo.el 563
-MD5 cd3eddef773c2bdc1eac336383f13ec6 files/swank-loader.lisp 68
-MD5 f728ed37ea34eb35320fb9544f3d5ed6 files/swank.asd 1934
+MD5 1ab5127efd37110d1dc0711ec5626a92 files/README.Gentoo 347
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-slime-cvs-0-r4 0
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFC/wKtyiNZaEAZA+ARAqfVAJ9ZgLm3uaI6xnSIOn7wW/ynPDQqogCdEL78
-yGsx9fYsAzSMGuTTAxkpqYA=
-=CJAb
------END PGP SIGNATURE-----
+MD5 cd3eddef773c2bdc1eac336383f13ec6 files/swank-loader.lisp 68
+MD5 3db8ecc0c00fcdc30651f1a5fb9cb8bf files/swank.asd 2158
+MD5 185b50ff504c7da6807fffb4e73fc017 metadata.xml 1267
+MD5 275e94f10f804b49b39d158fd9d507d4 slime-cvs-0-r4.ebuild 1904
diff --git a/app-emacs/slime-cvs/files/70slime-gentoo.el b/app-emacs/slime-cvs/files/70slime-gentoo.el
index 6f829b1bc938..2687bb5c4f14 100644
--- a/app-emacs/slime-cvs/files/70slime-gentoo.el
+++ b/app-emacs/slime-cvs/files/70slime-gentoo.el
@@ -3,8 +3,7 @@
(add-to-list 'load-path "@SITELISP@")
(require 'slime)
-(add-hook 'lisp-mode-hook (lambda () (slime-mode t)))
-(add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t)))
+(slime-setup)
;; this prevents us from requiring the user get dev-lisp/hyperspec
;; (which is non-free) as a hard dependency
diff --git a/app-emacs/slime-cvs/files/README.Gentoo b/app-emacs/slime-cvs/files/README.Gentoo
new file mode 100644
index 000000000000..99353ee7aa29
--- /dev/null
+++ b/app-emacs/slime-cvs/files/README.Gentoo
@@ -0,0 +1,12 @@
+SLIME notes for Gentoo
+----------------------
+
+If you're interested in hacking this ebuild, Gentoo uses its own
+swank.asd system definition file and swank-loader.lisp.
+
+As always with CVS ebuilds, DO NOT report problems to upstream.
+Always report problems to the Gentoo Bugzilla at
+http://bugs.gentoo.org/.
+
+Matthew Kennedy <mkennedy@gentoo.org>
+
diff --git a/app-emacs/slime-cvs/files/swank.asd b/app-emacs/slime-cvs/files/swank.asd
index 323407a5bd6f..ddcd9f0c97ed 100644
--- a/app-emacs/slime-cvs/files/swank.asd
+++ b/app-emacs/slime-cvs/files/swank.asd
@@ -32,27 +32,50 @@
(:file "swank"))
:depends-on (#+sbcl sb-bsd-sockets)))
-#+sbcl (define-swank-system "swank-sbcl" "swank-source-path-parser"
- "swank-source-file-cache" "swank-gray")
-#+cmu (define-swank-system "swank-source-path-parser"
- "swank-source-file-cache" "swank-cmucl")
-#+clisp (define-swank-system "xref" "metering" "swank-clisp" "swank-gray")
+#+sbcl (define-swank-system
+ "swank-sbcl"
+ "swank-source-path-parser"
+ "swank-source-file-cache"
+ "swank-gray")
+
+#+openmcl (define-swank-system
+ "metering"
+ "swank-openmcl"
+ "swank-gray")
+
+#+cmu (define-swank-system
+ "swank-source-path-parser"
+ "swank-source-file-cache"
+ "swank-cmucl")
+
+#+clisp (define-swank-system
+ "xref"
+ "metering"
+ "swank-clisp"
+ "swank-gray")
+
+#+armedbear (define-swank-system
+ "swank-abcl")
+
+#+ecl (define-swank-system
+ "swank-ecl" "swank-gray")
(in-package #:swank-loader)
(defun load-user-init-file ()
"Load the user init file, return NIL if it does not exist."
(load (merge-pathnames (user-homedir-pathname)
- (make-pathname :name ".swank" :type "lisp"))
- :if-does-not-exist nil))
-(export 'load-user-init-file)
+ (make-pathname :name ".swank" :type "lisp"))
+ :if-does-not-exist nil))
(defun load-site-init-file ()
(load (make-pathname :name "site-init" :type "lisp"
:defaults *load-truename*)
:if-does-not-exist nil))
-(or (load-site-init-file)
- (load-user-init-file))
+;; (funcall (intern (string :warn-unimplemented-interfaces) :swank-backend))
+
+(load-site-init-file)
+(load-user-init-file)
;; swank.asd ends here
diff --git a/app-emacs/slime-cvs/slime-cvs-0-r4.ebuild b/app-emacs/slime-cvs/slime-cvs-0-r4.ebuild
index b5c448eaa3ab..a892d36b985a 100644
--- a/app-emacs/slime-cvs/slime-cvs-0-r4.ebuild
+++ b/app-emacs/slime-cvs/slime-cvs-0-r4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime-cvs/slime-cvs-0-r4.ebuild,v 1.1 2005/04/06 07:24:17 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/slime-cvs/slime-cvs-0-r4.ebuild,v 1.2 2006/04/12 16:47:17 mkennedy Exp $
ECVS_SERVER="common-lisp.net:/project/slime/cvsroot"
if [ -z "${ECVS_BRANCH}" ]; then
@@ -67,19 +67,5 @@ pkg_postrm() {
pkg_postinst() {
register-common-lisp-source $CLPACKAGE || die
elisp-site-regen || die
- while read line; do einfo "${line}"; done <<EOF
-
-SLIME notes for Gentoo
-----------------------
-
-If you're interested in hacking this ebuild, slime-cvs uses its own
-swank.asd system definition file and swank-loader.lisp.
-
-As always with CVS ebuilds, DO NOT report problems to upstream.
-Always report problems to the Gentoo Bugzilla at
-http://bugs.gentoo.org.
-
-Matthew Kennedy <mkennedy@gentoo.org>
-
-EOF
+ zcat /usr/share/doc/${PF}/README.Gentoo |while read line; do einfo "${line}"; done
}