[slime-devel] Re: slime-region-for-defun-function

Madhu enometh at meer.net
Thu Sep 25 11:35:07 UTC 2008

* "Tobias C. Rittweiler" <87ej384ndw.fsf at freebits.de> :
Wrote on Thu, 25 Sep 2008 10:53:47 +0200:
|> Heres One case.
|> #+nil
|> (progn
|> (print 1)
|> (print 2))
|> Note the progn and each enclosed sexp all begin at column 0
| Yeah we all know how Emacs' primitive heuristic for beginning-of-defun
| is annoying.

This is irrelevant to my example.

| However, notice that C-M-x is bound to slime-eval-defun,
| so its failure on the above case is traditionally correct. :-)

Assume I am sending C-c C-c if it helps you to understand the issue.

| You're probably looking for C-x C-e which is bound to
| slime-eval-last-expression. (It however, doesn't do the DEFVAR
| reevaluation magic.)

No I am looking for M-C-x.


More information about the slime-devel mailing list