Gnu Emacs is insisting on indenting my typedef as follows:
typedef enum {
horizontal,
vertical,
}
shapes;
I want it to indent as follows:
typedef enum {
horizontal,
vertical,
}
shapes;
What switch can I use to get that?
Gnu Emacs is insisting on indenting my typedef as follows:
typedef enum {
horizontal,
vertical,
}
shapes;
I want it to indent as follows:
typedef enum {
horizontal,
vertical,
}
shapes;
What switch can I use to get that?
Go to the line that "shapes" is on, and hit C-c C-o. Then press 0 (as that's the offset you want). Then press Enter. Then press tab to indent. Done.
The docs are pretty clear about this process:
http://www.cims.nyu.edu/cgi-comment/info2html?(cc-mode.info)Interactive%2520Customization