minad / consult

:mag: consult.el - Consulting completing-read
GNU General Public License v3.0
1.14k stars 99 forks source link

Usage of :history in consult--read? #1013

Closed armindarvish closed 1 month ago

armindarvish commented 1 month ago

As part of my experiments in consult-web, I have been trying to get async sources to sort candidates (meaning they remember my previous selectios with orderless), however whenever I set the :history to '(:input hist-var) to get the search query in the history as opposed to the selected candidate. sorting stops working. Here is a demo of it with @karthink's consult-web-mini prototype:

consult-history

@minad Is there some limit in underlying completing-read causing this or is there a work around for this?