minad / consult

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

Handling buffer renames while switching buffers #978

Closed Stebalien closed 1 month ago

Stebalien commented 1 month ago

If a buffer is renamed after running consult-buffer, attempting to switch to it will open a new blank buffer with the original name. This is especially problematic in my EXWM setup, where previewing a buffer can change the buffer's name (e.g. previewing a slack window clears the unread messages count from the title).

Would it be possible to somehow record the original buffer name to buffer mapping?