[slime-cvs] CVS update: slime/slime.el

Vladimir Sedach vsedach at common-lisp.net
Mon Jan 12 05:22:11 UTC 2004


Update of /project/slime/cvsroot/slime
In directory common-lisp.net:/tmp/cvs-serv25943

Modified Files:
	slime.el 
Log Message:
Slime-repl-activate now goes to (point-max) at the end. This is the
easiest kludge I could think of to fix the behavior of read-line (for
example, on interactive restarts) which puts the pointer on the line
preceeding the read-line prompt (after emacs has printed slime's
prompt on the last line). Are there any situations where the slime
prompt does not in fact get printed at the end of the buffer??

Date: Mon Jan 12 00:22:11 2004
Author: vsedach

Index: slime/slime.el
diff -u slime/slime.el:1.173 slime/slime.el:1.174
--- slime/slime.el:1.173	Sun Jan 11 19:50:33 2004
+++ slime/slime.el	Mon Jan 12 00:22:11 2004
@@ -1954,7 +1954,8 @@
     (unless (= (point-max) slime-repl-input-end-mark)
       (slime-mark-output-end)
       (slime-with-output-end-mark
-       (slime-repl-insert-prompt)))))
+       (slime-repl-insert-prompt))
+      (goto-char (point-max))))) ;;!! is the prompt always the last line??
 
 (defun slime-repl-current-input ()
   "Return the current input as string.  The input is the region from





More information about the slime-cvs mailing list