Emacs-D-Mode-Maintainers / Emacs-D-Mode

An Emacs mode for D code.
GNU General Public License v3.0
84 stars 21 forks source link

dfmt wrapper? #81

Closed russel closed 5 years ago

russel commented 7 years ago

Per Nordlöw wrote a bit of ELisp last year to make use of dfmt to reformat code in an Emacs buffer. Should we be looking to bring this into the mode?

https://github.com/nordlow/elisp/blob/master/mine/dfmt.el

@nordlow

CyberShadow commented 7 years ago

I think that would be fine, though things that are specific to certain software or other Emacs packages should be separated out into their own subpackage, or at least file.

MartinNowak commented 6 years ago

Permalink to new version https://github.com/nordlow/elisp/blob/f0b9690e0246a0657ee06011eaa54b78018f3028/mine/dfmt2.el.

russel commented 6 years ago

This one is in MELPA.

https://github.com/qsimpleq/elisp-dfmt

CyberShadow commented 5 years ago

Considering that:

I think the current situation is acceptable as far as d-mode is concerned.