Peter Seibel peter@gigamonkeys.com writes:
"Marco Baringer" mb@bese.it writes:
Alain.Picard@memetrics.com writes:
Marco Baringer writes:
for those of you who don't follow c.l.l (which is probaly a good idea) i commited William Bland's patch[1]. see the ChangeLog for details.
Yeah, that's pretty cool, but there are two major annoyances with it:
- It tries to do it's thing even in the REPL. This seems insane; you only want to do this in source files, IMHO
nikodemus fixed this yesterday..
Hmmm. I see his entry in the ChangeLog but I still get the highlighting in the REPL.
Meanwhile, here's a patch to turn off hilighting when in a comment.
-Peter
Index: ChangeLog =================================================================== RCS file: /project/slime/cvsroot/slime/ChangeLog,v retrieving revision 1.821 diff -u -r1.821 ChangeLog --- ChangeLog 18 Dec 2005 17:24:36 -0000 1.821 +++ ChangeLog 19 Dec 2005 23:29:56 -0000 @@ -1,3 +1,8 @@ +2005-12-19 Peter Seibel peter@gigamonkeys.com + + * slime.el (slime-self-insert-command): Got rid of message about + setting up face and skipping edit-hilights when in a comment. + 2005-12-18 Nikodemus Siivola nikodemus@random-state.net
* slime.el (slime-mode-hook): Bind simple characters to Index: slime.el =================================================================== RCS file: /project/slime/cvsroot/slime/slime.el,v retrieving revision 1.571 diff -u -r1.571 slime.el --- slime.el 18 Dec 2005 17:24:36 -0000 1.571 +++ slime.el 19 Dec 2005 23:30:05 -0000 @@ -9888,8 +9888,9 @@ (defun slime-self-insert-command () (interactive) (self-insert-command 1) - (when (and slime-display-edit-hilights (slime-connected-p)) - (message "Setting up face.") + (when (and slime-display-edit-hilights + (slime-connected-p) + (not (member 'font-lock-comment-face (text-properties-at (point))))) (let ((overlay (make-overlay (- (point) 1) (point)))) (flet ((putp (name value) (overlay-put overlay name value))) (putp 'face 'slime-display-edit-face)