[slime-devel] Daily ChangeLog diff

Index: slime/ChangeLog diff -u slime/ChangeLog:1.1728 slime/ChangeLog:1.1729 --- slime/ChangeLog:1.1728 Sat Apr 25 04:53:16 2009 +++ slime/ChangeLog Tue Apr 28 16:41:32 2009 @@ -1,3 +1,22 @@ +2009-04-28 Tobias C. Rittweiler <tcr@freebits.de> + + * slime.el: Fix fontification of suppressed (by reader + conditionals) forms. That is make it reliably and totally work. + + (slime-region-for-extended-defun-at-point): New. Like + `slime-region-for-defun-at-point' but takes preceding reader + conditionals into account. + (slime-extend-region-for-font-lock): New. Make sure that + fontification operates on regions spanning a whole toplevel form + only. So we never operate within the context of a reader + conditional and we never miss any of those. + (slime-search-suppressed-forms): Remove ignore-errors; not needed + anymore now as we extend the region for fontification. + (slime-mark-defun-for-font-lock): New. + (slime-activate-font-lock-magic): Push + `slime-extend-region-for-font-lock' onto + `font-lock-extend-region-functions'. + 2009-04-25 Tobias C. Rittweiler <tcr@freebits.de> * slime.el (slime-show-description): Put the connection name into

Helmut Eller <heller@common-lisp.net> writes:
Index: slime/ChangeLog diff -u slime/ChangeLog:1.1728 slime/ChangeLog:1.1729 --- slime/ChangeLog:1.1728 Sat Apr 25 04:53:16 2009 +++ slime/ChangeLog Tue Apr 28 16:41:32 2009 @@ -1,3 +1,22 @@ +2009-04-28 Tobias C. Rittweiler <tcr@freebits.de> + + * slime.el: Fix fontification of suppressed (by reader + conditionals) forms. That is make it reliably and totally work.
It seems that introduced an infinite loop during fontification on a CCL source file. I'll investigate that later. For the time being, please do not update to HEAD. -T.

"Tobias C. Rittweiler" <tcr@freebits.de> writes:
It seems that introduced an infinite loop during fontification on a CCL source file. I'll investigate that later.
For the time being, please do not update to HEAD.
I committed a fix for that. I'd like if people could update to HEAD and try it on their .lisp files. Reader conditionals should now be suppressed accurately. For the hopefully improbable case that you encounter an infinite loop, you can set `slime-highlight-suppressed-forms' to nil in your .emacs as a quickfix. -T.
participants (2)
-
Helmut Eller
-
Tobias C. Rittweiler