
21 May
2009
21 May
'09
9:45 a.m.
Madhu <enometh@meer.net> writes:
Consider the following content in a slime buffer with the cursor at the point indicated by the caret
|# (defun foo () (getf ^ (slime-symbol-at-point) returns nil. It should return "getf".
Technically the behaviour is correct. The vertical bar initiates a symbol which is not terminated. If you add a | at the cursor position, `slime-symbol-at-point' will correctly return the whole thing. It's probably rather surprising, though. I committed to fallback to not look at the surrounding context. If you want to overwrite this, you can redefine `slime-beginning-of-symbol' and `slime-end-of-symbol'. -T.