minad / consult

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

Please provide a mechanism to customise consult-buffer :prompt #1111

Closed bhepple closed 2 hours ago

bhepple commented 2 hours ago

Being possessed of an extremely small brain, I struggle to remember that consult-buffer et al responds to (for example) "m " as a narrowing filter. I don't think this paradigm is common in emacs so I may perhaps be excused.

It might help if the prompt could be customised from 'Switch to:' without having to change consult.el.

Or perhaps just change it to "Switch to: [f|m|b|p]:" as an aide memoire.

Or perhaps just something a bit more explicit in the doco for the function rather than "via the corresponding keys"

bhepple commented 2 hours ago

Blast - I found it!

(consult-customize consult-buffer :prompt "foobar")