home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!att!princeton!rutgers!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!decwrl!decwrl!dac!ashok
- From: ashok@cellnet.com (Ashok Bakthavathsalam)
- Newsgroups: gnu.emacs.help
- Subject: C/C++ mode question
- Message-ID: <1992Aug27.175023.19367@cellnet.com>
- Date: 27 Aug 92 17:50:23 GMT
- Distribution: usa
- Organization: Domestic Automation Company
- Lines: 26
-
- I like the default C++ indentation style in the c++-mode. Unfortunately,
- my company's developer's handbook dictates otherwise, and so I have
- grudgingly retorted to modifying the appropriate c-indent variables.
-
- The default indentation style for functions seems to be:
-
- void
- someFunction(
- int some_int,
- char* some_char )
-
- The indentation style for functions that I need is:
-
- void
- someFunction(
- int some_int,
- char* some_char)
-
- I haven't been able to figure out which variable that I need to set/modify
- to get this style. I am not sure whether c-continued-statment-offset is
- something I should set, but won't that unduely affect the identation inside
- statements like `if' and `while' ?
-
- thanks much in advance.
-
- % ashok
-