Fuzzy matching for Chicken AutoDoc and Completions
commit04b0b3915741860a61532059b7e5291b7b98e031
authorDan Leslie <dan@ironoxide.ca>
Wed, 20 Jan 2016 04:45:09 +0000 (19 20:45 -0800)
committerDan Leslie <dan@ironoxide.ca>
Wed, 20 Jan 2016 04:45:09 +0000 (19 20:45 -0800)
tree947eb0d9f29f245cbcf5fdca2a1fab3a298c7eb7
parent296c3b687d8eeb520c7ccf52282e46dfe1ef3a4e
Fuzzy matching for Chicken AutoDoc and Completions

Because Chicken allows symbols to be imported with prefixes, and because
'apropos' does not provide any utility to match with the loaded
prefixes, it is difficult to acquire information about prefixed symbols.

This solution hacks around the issue by providing naive
fuzzy-matching. If no match for a symbol can be found then the first
character is dropped and matching is attempted again; the process is
repeated until matches are found or the entire symbol is consumed.

Also removes the (now redundant and slow) geiser-chicken-prefix-delimiters.
elisp/geiser-chicken.el
scheme/chicken/geiser/emacs.scm