Anecdotally, this was recently on hacker news: http://ukupat.github.io/tabs-or-spaces/ the OCaml part shows that most OCaml repos on github use 2 spaces, some use 4 spaces, and very few use tabs. Le Tue, 05 Jan 2016, Drup a écrit : > Well, there is an implicit consensus, it's called ocp-indent .... > > Le 05/01/2016 14:46, Christophe Troestler a écrit : > >On Tue, 5 Jan 2016 10:12:24 +0100, Sébastien Hinderer wrote: > >>Dear all, > >> > >>I am wondering whether there are some guidelines that have been proposed > >>regarding the way OCaml code should be presented? > >> > >>More specifically: am I correct that it is considered not such a good > >>practise to mix tabs and spaces in code indentation? And if so, are > >>there objective reasons for that? > >> > >>It seems Emacs is configured to do that (mixing tabs and spaces) by > >>default, can anybody confirm? > >Indeed. You have to put > > > > (setq-default indent-tabs-mode nil) > > > >in your ~/.emacs.d/init.el file. > > > >Best, > >C. > > > > > >P.S. If there is a consensus on this list that TABs shouldn't be used for OCaml code, I can enable this for OCaml files in Tuareg. > > > > > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs -- Simon Cruanes http://weusepgp.info/ key 49AA62B6, fingerprint 949F EB87 8F06 59C6 D7D3 7D8D 4AC0 1D08 49AA 62B6