Quote:
Originally Posted by Bandobras
Ha, so this is emacs fault --- it does not let me mix tabs and spaces with default settings. Instead it fits as many tabs as it can and then a few spaces. Of course it's configurable, for sure...
|
After some experimentation and some googling I'm afraid it's not configurable. Unless I want to script my own c-mode, that is, which I don't. I don't want to part with automatic indentation that Emacs gives me, so I have no choice but to break indentation whenever I contribute, either by inserting too many tabs in some cases (as shown above) or by turning to spaces-only mode.
I'm wondering which way is better and what tab width to assume (4 reads best for me, 3 would be fine, but statements align with conditions in ifs, 2 is not enough visual feedback with such long functions as C has).
No, I won't switch to vi.