On Wed, Mar 18, 2026 at 01:11:14AM +0100, Alejandro Colomar via Mutt-dev wrote:
Okay, so I've tried today clang-format(1) for the first time, after someone suggested it in a project I co-maintain, and now have a well formed opinion about it:It's pure crap. Please don't use it.
LOL!
I would like it if you could enable a few options that it would diagnose, and ignore everything else, just like compiler diagnostics have always worked. But it doesn't work like that.> Rene voiced a dislike of formatters, especially when they are run > automatically on a pipeline. Perhaps we could run this formatter once, > clean up the egregious function alignment issues, and then just leave the > format config as "reference"?I agree with Rene.
Okay, you don't have to twist my arm. I resisted formatters myself for a long time already, but started to feel like "everyone else was doing it" and thought I'd give it a look.
Before I drop the proposal, though, are there any Mutt devs/contributors who would like to play devil's advocate?
-- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature
