kill-buffer prompt gets truncated oddly
n-hebert opened this issue · comments
Install & Config
(use-package mini-frame
:config
(setq mini-frame-resize nil)
(mini-frame-mode +1)
(custom-set-variables
'(mini-frame-show-parameters
'((top . 0.3)
(width . 0.5)
(left . 0.5)
(height . 10)))))
Steps to reproduce
- Open a buffer
- Type some text
- C-x k and select this buffer
Expected Result
It shows the prompt to the user: "Buffer $BUFFER modified; kill anyway?" etc etc
Actual Result
It says yway? (yes/no/save and then kill)
and it's a little confusing. A user can't really answer.
What is completion package used in screenshot? How the prompt looks like with mini-frame mode turned off and with Emacs frame smaller width?
That would be selectrum, and here it is without mini-frame mode:
Good thinking!
So it seems to be related to selectrum and the window width, not strictly mini-frame 😮
Any tips? I can go file an issue over there, if that sounds like the best plan of action.
Cheers
p.s. For now increasing the width of the mini-frame is indeed a work-around for this particular prompt. A more general solution would require a code change, of course, on emacs itself, mini-frame, or selectrum.
Sounds good, I'll file something over there. Cheers!