summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2005-01-06 19:40:25 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2005-01-06 19:40:25 +0000
commit6e61d04e464205db3fc252e33a43138b3c1222b4 (patch)
tree2438ae2255821eea9a0591d7a9c155ad2f7e8092 /app-emacs/slime/files
parent Added to ~amd64, bug #75342 (Manifest recommit) (diff)
downloadgentoo-2-6e61d04e464205db3fc252e33a43138b3c1222b4.tar.gz
gentoo-2-6e61d04e464205db3fc252e33a43138b3c1222b4.tar.bz2
gentoo-2-6e61d04e464205db3fc252e33a43138b3c1222b4.zip
*** empty log message ***
Diffstat (limited to 'app-emacs/slime/files')
-rw-r--r--app-emacs/slime/files/1.0.20050106/70slime-gentoo.el16
-rw-r--r--app-emacs/slime/files/1.0.20050106/swank-loader-init.lisp21
-rw-r--r--app-emacs/slime/files/1.0.20050106/swank-loader.lisp10
-rw-r--r--app-emacs/slime/files/1.0.20050106/swank.asd54
-rw-r--r--app-emacs/slime/files/digest-slime-1.0.200501062
5 files changed, 103 insertions, 0 deletions
diff --git a/app-emacs/slime/files/1.0.20050106/70slime-gentoo.el b/app-emacs/slime/files/1.0.20050106/70slime-gentoo.el
new file mode 100644
index 000000000000..4fde74012ac1
--- /dev/null
+++ b/app-emacs/slime/files/1.0.20050106/70slime-gentoo.el
@@ -0,0 +1,16 @@
+
+;;; site-lisp configuration for slime-cvs
+
+(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)))
+
+;; this prevents us from requiring the user get dev-lisp/hyperspec
+;; (which is non-free) as a hard dependency
+
+(if (file-exists-p "/usr/share/doc/hyperspec-6.0/HyperSpec")
+ (setq common-lisp-hyperspec-root "file:///usr/share/doc/hyperspec-6.0/HyperSpec/")
+ (setq common-lisp-hyperspec-root "http://www.lispworks.com/reference/HyperSpec/"))
diff --git a/app-emacs/slime/files/1.0.20050106/swank-loader-init.lisp b/app-emacs/slime/files/1.0.20050106/swank-loader-init.lisp
new file mode 100644
index 000000000000..c2e58ff4904c
--- /dev/null
+++ b/app-emacs/slime/files/1.0.20050106/swank-loader-init.lisp
@@ -0,0 +1,21 @@
+;; -*- lisp -*-
+
+;; This file is NOT part of SLIME.
+
+;; This file is provided by the Gentoo port to implement the
+;; user-init-file loader.
+;;
+;; Matthew Kennedy <mkennedy@gentoo.org>
+
+(defpackage #:swank-loader
+ (:use #:common-lisp))
+
+(in-package #:swank-loader)
+
+(defun user-init-file ()
+ "Return the name of the user init file or nil."
+ (probe-file (merge-pathnames (user-homedir-pathname)
+ (make-pathname :name ".swank" :type "lisp"))))
+
+(when (user-init-file)
+ (load (user-init-file)))
diff --git a/app-emacs/slime/files/1.0.20050106/swank-loader.lisp b/app-emacs/slime/files/1.0.20050106/swank-loader.lisp
new file mode 100644
index 000000000000..408415642b65
--- /dev/null
+++ b/app-emacs/slime/files/1.0.20050106/swank-loader.lisp
@@ -0,0 +1,10 @@
+;; -*- lisp -*-
+
+;; This file is NOT part of SLIME.
+
+;; This file is provided by the Gentoo port to load swank via an the
+;; ASDF system (rather than using swank's own system).
+;;
+;; Matthew Kennedy <mkennedy@gentoo.org>
+
+(require :swank)
diff --git a/app-emacs/slime/files/1.0.20050106/swank.asd b/app-emacs/slime/files/1.0.20050106/swank.asd
new file mode 100644
index 000000000000..989414b144ff
--- /dev/null
+++ b/app-emacs/slime/files/1.0.20050106/swank.asd
@@ -0,0 +1,54 @@
+;;; -*- mode: lisp; syntax: common-lisp; package: cl-user -*-
+
+;; This file is NOT part of SLIME.
+
+;; This file is provided by the Gentoo port to load swank via an the
+;; ASDF system (rather than using swank's own system). This file is
+;; constucted from the knowledge encapsulated in SLIME's original
+;; swank-loader.lisp.
+;;
+;; Matthew Kennedy <mkennedy@gentoo.org>
+
+(defpackage #:swank-system
+ (:use #:common-lisp
+ #:asdf))
+
+(in-package #:swank-system)
+
+;; http://www.caddr.com/macho/archives/sbcl-devel/2004-3/3014.html
+
+(defclass unsafe-file (cl-source-file) ())
+
+(defmethod perform :around ((op compile-op) (c unsafe-file))
+ (setf (operation-on-warnings op) :ignore
+ (operation-on-failure op) :warn) ; adjust to taste
+ (call-next-method))
+
+(defsystem #:swank
+ :name "Swank is the Common Lisp back-end to Slime"
+ :licence "GPL-2"
+ :components
+ #+cmu ((:file "swank-loader-init")
+ (:file "swank-backend")
+ (:file "nregex")
+ (:file "swank-source-path-parser")
+ (:file "swank-cmucl")
+ (:file "swank"))
+ #+sbcl ((:file "swank-loader-init")
+ (:file "swank-backend")
+ (:file "nregex")
+ (:file "swank-sbcl")
+ (:file "swank-source-path-parser")
+ (:file "swank-gray")
+ (:unsafe-file "swank"))
+ #+clisp ((:file "swank-loader-init")
+ (:file "swank-backend")
+ (:file "nregex")
+ (:file "xref")
+ (:file "metering")
+ (:file "swank-clisp")
+ (:file "swank-gray")
+ (:file "swank"))
+ :depends-on (#+sbcl :sb-bsd-sockets))
+
+;; swank.asd ends here
diff --git a/app-emacs/slime/files/digest-slime-1.0.20050106 b/app-emacs/slime/files/digest-slime-1.0.20050106
new file mode 100644
index 000000000000..02994fbd234d
--- /dev/null
+++ b/app-emacs/slime/files/digest-slime-1.0.20050106
@@ -0,0 +1,2 @@
+MD5 90666e8860d8d26e3cfa36365544ffcf slime-1.0.tar.gz 309374
+MD5 a3e1809c2e5d88d440c793d8fda6b415 slime-1.0-CVS-2005-01-06-gentoo.patch.bz2 87621