lassik / emacs-format-all-the-code

Auto-format source code in many languages with one command
https://melpa.org/#/format-all
MIT License
611 stars 106 forks source link

minor: Display error buffer with with-help-window #232

Closed tsilvap closed 1 year ago

tsilvap commented 1 year ago

This makes it so pressing q will kill the window, and it respects the customizable variable help-window-select.


With the current behavior, when format-all displays an error, I have to C-x o into the new window it created, and kill it with C-x k. I think the usability is much better if we display the error buffer in a help-like window. What do you think, @lassik ?

lassik commented 1 year ago

Thanks. I don't understand all the implications, but I tested the PR and it seems to work fine.