]> code.delx.au - gnu-emacs-elpa/commit
Fix #474 by filtering dabbrev completions at the end
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 28 Feb 2016 22:53:59 +0000 (00:53 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 28 Feb 2016 22:53:59 +0000 (00:53 +0200)
commitbdf6b221c7b404d21e22851f75a6f294e415c641
tree30536002c9891a85376bc88e6979a2de5868c4f6
parente251568e99de9e684b21cc74306fa1c3678444b5
Fix #474 by filtering dabbrev completions at the end

It seems impossible to combine supporting company-dabbrev-char-regexp, with
arbitrary values, with using the "word boundary anchor" (or any of the three
relevant anchors). And without anchors, using the regexp engine without
lookaheads or etc, we must filter completions at the end.

Which is okay, because it can allow us to cache the full list globally and
refresh it less often, as well as implement fuzzy filtering more easily (#418).
company-dabbrev.el