Reuben Thomas

Results 389 comments of Reuben Thomas

I agree that if editorconfig is active then dtrt-indent should defer to it, but otherwise, it should work as normal: if the user doesn't want to use editorconfig, then dtrt-indent...

It's easy enough to detect whether editorconfig is installed and active, but how to detect whether there is a configuration for the current project? It seems to me that by...

@jscheid That seems reasonable.

There isn't a way. It sounds like this should be possible with some more generic feature, like, instead of adding dtrt-indent-mode to a hook, add a function that delays it?...

Feel free to keep it open!

Great stuff. Is this now ready to be merged as far as you're concerned?

Another week would be great if that's OK by you. I'll also try your branch.

OK to ping me in a week? Many thanks in any case!

I just noticed that your branch isn't working for me, in what looks like a fairly basic case: I have c-basic-offset set to 2, I visit a file that dtrt-indent...

Nothing is logged. If I run `dtrt-indent-diagnosis`, it's getting it right: Guessing offset for /home/rrt/Software/smite/src/storage.c Elapsed time for analysis: 0.005 seconds Total relevant lines: 121 out of 269 (limit: 5000)...