[slime-cvs] CVS slime/contrib

heller heller at common-lisp.net
Fri Aug 31 14:07:54 UTC 2007


Update of /project/slime/cvsroot/slime/contrib
In directory clnet:/tmp/cvs-serv17575

Modified Files:
	ChangeLog slime-autodoc.el slime-c-p-c.el 
	slime-editing-commands.el 
Log Message:
* slime-autodoc.el: Add installation notes.
* slime-editing-commands.el: Add installation notes.
* slime-c-p-c.el (slime-c-p-c-init): Fix typos.



--- /project/slime/cvsroot/slime/contrib/ChangeLog	2007/08/31 12:23:19	1.17
+++ /project/slime/cvsroot/slime/contrib/ChangeLog	2007/08/31 14:07:54	1.18
@@ -1,5 +1,7 @@
 2007-08-31  Helmut Eller  <heller at common-lisp.net>
 
+	* slime-autodoc.el: Add installation notes.
+	* slime-editing-commands.el: Add installation notes.
 	* slime-c-p-c.el (slime-c-p-c-init): Fix typos.
 
 2007-08-31  Helmut Eller  <heller at common-lisp.net>
--- /project/slime/cvsroot/slime/contrib/slime-autodoc.el	2007/08/31 11:48:23	1.1
+++ /project/slime/cvsroot/slime/contrib/slime-autodoc.el	2007/08/31 14:07:54	1.2
@@ -8,6 +8,13 @@
 ;; 
 ;; License: GNU GPL (same license as Emacs)
 ;;
+;;; Installation:
+;;
+;; Add this to your .emacs: 
+;;
+;;   (add-to-list 'load-path "<directory-of-this-file>")
+;;   (add-hook 'slime-load-hook (lambda () (require 'slime-autodoc)))
+;;
 
 (require 'slime-parse)
 
--- /project/slime/cvsroot/slime/contrib/slime-c-p-c.el	2007/08/31 12:23:12	1.2
+++ /project/slime/cvsroot/slime/contrib/slime-c-p-c.el	2007/08/31 14:07:54	1.3
@@ -157,7 +157,9 @@
 
 (defun slime-c-p-c-init ()
   (setq slime-complete-symbol-function 'slime-complete-symbol*)
-  (add-hook 'slime-connected-hook 'slime-c-p-c-on-connect))
+  (add-hook 'slime-connected-hook 'slime-c-p-c-on-connect)
+  (define-key slime-mode-map "\C-c\C-s" 'slime-complete-form)
+  )
 
 (defun slime-c-p-c-on-connect ()
   (slime-eval-async '(swank:swank-require :swank-arglists)))
--- /project/slime/cvsroot/slime/contrib/slime-editing-commands.el	2007/08/31 11:48:23	1.1
+++ /project/slime/cvsroot/slime/contrib/slime-editing-commands.el	2007/08/31 14:07:54	1.2
@@ -8,8 +8,13 @@
 ;; 
 ;; License: GNU GPL (same license as Emacs)
 ;;
-;;; 
+;;; Installation
 ;;
+;; Add something like this to your .emacs: 
+;;
+;;   (add-to-list 'load-path "<directory-of-this-file>")
+;;   (add-hook 'slime-load-hook (lambda () (require 'slime-editing-commands)))
+;;   (add-hook 'slime-mode-hook 'slime-bind-editing-commands)
 ;;
 
 (defun slime-beginning-of-defun ()
@@ -177,4 +182,9 @@
           (setf end (point)))
         (indent-region start end nil)))))
 
+(defun slime-bind-editing-commands ()
+  (define-key slime-mode-map "\M-\C-a"  'slime-beginning-of-defun)
+  (define-key slime-mode-map "\M-\C-e"  'slime-end-of-defun)
+  (define-key slime-mode-map "\C-c\M-q" 'slime-reindent-defun))
+
 (provide 'slime-editing-commands)




More information about the slime-cvs mailing list