[slime-devel] edit-definition of *something*

Is it just me, or is it broken to edit definition on a symbol which has "*" at the end? It appears that the culprit is \> in the function-name regular expression in slime-goto-location-position. This is supposed to match a word break but according to M-x describe-syntax "*" is "symbol" as opposed to "word". I fixed it in my version by changing \\> to \\(\\>\\|\\s \\) but didn't want to put this into cvs before someone else commented. Should the syntax table be changed instead, or am I barking up the wrong tree? -Alan

Alan Ruttenberg <alanr-l@mumble.net> writes:
I fixed it in my version by changing \\> to \\(\\>\\|\\s \\) but didn't want to put this into cvs before someone else commented. Should the syntax table be changed instead, or am I barking up the wrong tree?
Changing the regexps looks like the right fix. Perhaps even \\(\\>\\|\\S_\\). Apparently there's no concise way to express "end-of-symbol" with Emacs' regexps, but I think we shouldn't change the syntax table. "Symbol constituent" sounds like the right character class for '*', event though '*' is used mostly at the start or end of symbols. Helmut.
participants (2)
-
Alan Ruttenberg
-
Helmut Eller