[slime-devel] slime-goto-location-position patch

when passed a :function-name, slime-goto-location-position would find earlier occurrences of symbols which start with the function name followed by a symbol-constituent character. for example: a function-name of "find" will first match find-if-not if it occurs earlier in the file. this seems to happen a lot with openmcl source. i changed the regexp to require the function-name to be followed by a non-symbol-constituent character \S_. the regexp immediately following for :method may benefit also from the change (\> to \S_) but i didn't have a decent test case. ...bryan

"bryan o'connor" <bryan-slime@lunch.org> writes:
i changed the regexp to require the function-name to be followed by a non-symbol-constituent character \S_.
Thanks. I merged your patch.
the regexp immediately following for :method may benefit also from the change (\> to \S_) but i didn't have a decent test case.
\_> might be most appropriate, but that only works in Emacs 21. Helmut.
participants (2)
-
bryan o'connor
-
Helmut Eller