Search This Blog

Thursday, December 06, 2007

slime-close-parens-at-point

the default key binding of the function slime-close-parens-at-point is C-c C-q
but it's obsolete from slime-2.0_p20070816-r1,the comments in the source file are as following:

;; SLIME-CLOSE-PARENS-AT-POINT is obsolete:

;; It doesn't work correctly on the REPL, because there
;; BEGINNING-OF-DEFUN-FUNCTION and END-OF-DEFUN-FUNCTION is bound to
;; SLIME-REPL-MODE-BEGINNING-OF-DEFUN (and
;; SLIME-REPL-MODE-END-OF-DEFUN respectively) which compromises the
;; way how they're expect to work (i.e. END-OF-DEFUN does not signal
;; an UNBOUND-PARENTHESES error.)

;; Use SLIME-CLOSE-ALL-PARENS-IN-SEXP instead.


well,bind slime-close-all-parens-in-sexp to C-c C-q,and I can pretend that nothing happened in my world.

No comments: