[slime-cvs] CVS slime

CVS User trittweiler trittweiler at common-lisp.net
Thu Mar 11 09:02:29 UTC 2010


Update of /project/slime/cvsroot/slime
In directory cl-net:/tmp/cvs-serv31437

Modified Files:
	ChangeLog swank-ecl.lisp 
Log Message:
	* swank-ecl.lisp (source-location): Move call to
	TRANSLATE-LOGICAL-PATHNAME from here into MAKE-FILE-LOCATION
	because locations-via-annotations may now also involve logical
	pathnames.


--- /project/slime/cvsroot/slime/ChangeLog	2010/03/10 11:30:22	1.2033
+++ /project/slime/cvsroot/slime/ChangeLog	2010/03/11 09:02:29	1.2034
@@ -1,5 +1,12 @@
 2010-03-10  Tobias C. Rittweiler <tcr at freebits.de>
 
+	* swank-ecl.lisp (source-location): Move call to
+	TRANSLATE-LOGICAL-PATHNAME from here into MAKE-FILE-LOCATION
+	because locations-via-annotations may now also involve logical
+	pathnames.
+
+2010-03-10  Tobias C. Rittweiler <tcr at freebits.de>
+
 	* swank-ecl.lisp (*original-sigint-handler*)
 	(install-sigint-handler): Deleted; we directly implement
 	call-with-user-break-handler instead.
--- /project/slime/cvsroot/slime/swank-ecl.lisp	2010/03/10 11:30:22	1.62
+++ /project/slime/cvsroot/slime/swank-ecl.lisp	2010/03/11 09:02:29	1.63
@@ -249,8 +249,8 @@
 (defun note-buffer-tmpfile (tmp-file buffer-name)
   ;; EXT:COMPILED-FUNCTION-FILE below will return a namestring.
   (let ((tmp-namestring (namestring (truename tmp-file))))
-    (setf (gethash tmp-namestring *tmpfile-map*) buffer-name))
-  tmp-file)
+    (setf (gethash tmp-namestring *tmpfile-map*) buffer-name)
+    tmp-namestring))
 
 (defun tmpfile-to-buffer (tmp-file)
   (gethash tmp-file *tmpfile-map*))
@@ -497,7 +497,7 @@
   ;; start at 1. We specify (:ALIGN T) because the positions comming
   ;; from ECL point at right after the toplevel form appearing before
   ;; the actual target toplevel form; (:ALIGN T) will DTRT in that case.
-  (make-location `(:file ,(namestring file))
+  (make-location `(:file ,(namestring (translate-logical-pathname file)))
                  `(:position ,(1+ file-position))
                  `(:align t)))
 
@@ -616,7 +616,7 @@
               (t
                (assert (probe-file file))
                (assert (not (minusp pos)))
-               (make-file-location (translate-logical-pathname file) pos)))))
+               (make-file-location file pos)))))
      (method
       ;; FIXME: This will always return NIL at the moment; ECL does not
       ;; store debug information for methods yet.





More information about the slime-cvs mailing list