[slime-devel] Re: #+foo (toplevel-form ...), C-c C-c

Helmut Eller heller at common-lisp.net
Tue Feb 26 22:18:52 UTC 2008


* Tobias C. Rittweiler [2008-02-26 19:26+0100] writes:

> Hi,
>
> on something like
>
>    #+foo (defun foo (...) ...) |
>
> or
>
>    #+foo
>    (defun foo (...)
>       ...) |
>
> Do you think C-c C-c should take the reader conditional into account? 
>
> As `slime-region-for-defun-at-point' happens to be implemented right
> now, it isn't.

I think that C-c C-c should do approximately the same as mark-defun,
i.e. use beginning-of-defun and end-of-defun.  Right now we use and
end-of-defun and beginning-of-sexp.  That should be changed.  Going
beyond would be more difficult and (arguably) too DWIMish.

People who want more smartness can then customize it with
beginning-of-defun-function.

Helmut.




More information about the slime-devel mailing list