radian-software / selectrum

🔔 Better solution for incremental narrowing in Emacs.
MIT License
737 stars 33 forks source link

Remove candidates #592

Closed agenbite closed 2 years ago

agenbite commented 2 years ago

Probably this is a silly question, but, is it possible to remove (or strongly demote) candidates from the list? Sometimes there's a silly candidate coming from an error, and I'd like to remove it. I can't find it in the docs...

Thanks for selectrum!

okamsn commented 2 years ago

If you're using Prescient, try the command prescient-forget. This removes the candidate from Prescient's recency and frequency records.

If using Emacs's normal completion features, one option is to just edit the history variables directly. Different commands use different history variables, so you would have to check the command.

agenbite commented 2 years ago

I was looking exactly for that command, thank you so much!! :)