How to filter out irrelevant completions?

I am using the crafted-emacs configuration for completions pretty much unchanged, with the addition of yasnippets. I am getting a lot of trash in my pop-up, though, with lots of

cpp4hXVQyFQQeRvatvsMy+LpVFkZG8RhYHPvlLAY62bVZIG9kHn9hksVQUI1ikckKC6vR2s/zwfs

kind of completions. These tend to come from Dabbrev.

So I was wondering if there is a way to prune the output in any meaningful way?

This setting seems to help:
(customize-set-variable 'cape-dabbrev-check-other-buffers 'same-mode-buffers). Instead of checking all the other buffers Dabbrev now only checks the ones of the same kind as the current buffer, if I understand correctly…

It also helps to make sure I don’t have 400+ buffers open :slight_smile: