After a long time looking for solutions to force Emacs to use tab as real characters in C++ code, I realized that the only robust solution is to insert tabs using the "CTRL+Q TAB" key sequence. See https://stackoverflow.com/a/5146702/225186 .
Is there a way to make this the default? That is to output a real TAB character when pressing the TAB key, without the need of typing CTRL+Q TAB.
Is there a way to activate this option from an Emacs "modeline" (first line of text file enclosed by //-*-
and -*-
)?