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

rename emacs-hy to hy-mode #258

Closed vhqr0 closed 2 weeks ago

vhqr0 commented 3 months ago

I am the contributor to this piece of code, and after reviewing the entire file recently, I think that perhaps changing "emacs-hy" to "hy-mode" would be more appropriate?

Additionally, I think it might be better to provide a default formatter for all languages: copy the buffer or region, switch to the default major mode, then call indent-region/delete-trailing-whitespace, and finally merge back into the original buffer.