minad / consult

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

Use (cons 'buffer . buffer-object) as multi-category for candidates #980

Closed minad closed 1 month ago

minad commented 1 month ago

This fixes the problem where buffers are renamed during completion. Renaming can happen during buffer name uniquify or due to EXWM renaming. See the issues #978 and #979.

Consult buffer preview magically continues to work since get-buffer accepts both string and buffer arguments. I haven't tested Embark yet.

minad commented 1 month ago

This needs testing and coordination with Embark before it can be merged.