[slime-devel] Daily ChangeLog diff

Marco Baringer mbaringer at common-lisp.net
Mon Sep 10 04:35:02 UTC 2007


Index: slime/ChangeLog
diff -u slime/ChangeLog:1.1206 slime/ChangeLog:1.1208
--- slime/ChangeLog:1.1206	Sat Sep  8 18:46:34 2007
+++ slime/ChangeLog	Sun Sep  9 20:42:56 2007
@@ -1,3 +1,40 @@
+2007-09-10  Tobias C. Rittweiler  <tcr at freebits.de>
+
+	* slime.el (slime-cl-symbol-name, slime-cl-symbol-package):
+	Ressurected, as they're still used in this file. 
+	Reported by Edward Cant.
+
+2007-09-10  Tobias C. Rittweiler  <tcr at freebits.de>
+
+	When working on multiple source trees simultaneously, the way
+	`slime-edit-definition' (M-.) works can sometimes be confusing:
+
+	`M-.' visits locations that are present in the current Lisp image,
+	which works perfectly well as long as the image reflects the
+	source tree that one is currently looking at.
+
+	In the other case, however, one can easily end up visiting a file
+	in a different source root directory (the one corresponding to the
+	Lisp image), and is thus easily tricked to modify the wrong source
+	files---which can lead to quite some stressfull cursing.
+
+	If the variable `slime-warn-when-possibly-tricked-by-M-.' is
+	T (the default), a warning message is issued to raise the user's
+	attention whenever `M-.' is about opening a file in a different
+	source root that also exists in the source root directory of the
+	user's _current buffer_.
+
+	There's no guarantee that all possible cases are covered, but if
+	you encounter such a warning, it's a strong indication that you
+	should check twice before modifying.
+	
+	* slime.el (slime-file-name-merge-source-root): New function.
+	(slime-highlight-differences-in-dirname): New function.
+	(slime-maybe-warn-for-different-source-root): New function.
+	(slime-warn-when-possibly-tricked-by-M-.): New variable (T by default.)
+	(slime-goto-location-buffer): Where appropriate, call
+	`slime-maybe-warn-for-different-source-root'
+	
 2007-09-08  Stelian Ionescu  <sionescu at common-lisp.net>
 
 	* slime.el (save-restriction-if-possible): Place macro definition
Index: slime/contrib/ChangeLog
diff -u slime/contrib/ChangeLog:1.37 slime/contrib/ChangeLog:1.38
--- slime/contrib/ChangeLog:1.37	Sat Sep  8 18:23:55 2007
+++ slime/contrib/ChangeLog	Sun Sep  9 20:43:28 2007
@@ -1,3 +1,8 @@
+2007-09-10  Tobias C. Rittweiler <tcr at freebits.de>
+
+	* slime-parse.el (slime-cl-symbol-name, slime-cl-symbol-package):
+	Moved back into slime.el.
+
 2007-09-08  Stelian Ionescu  <sionescu at common-lisp.net>
 
 	* slime-banner.el: Fixed typo to provide `slime-banner', not



More information about the slime-devel mailing list