home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / emacs / help / 3886 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.1 KB

  1. 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
  2. From: ashok@cellnet.com (Ashok Bakthavathsalam)
  3. Newsgroups: gnu.emacs.help
  4. Subject: C/C++ mode question
  5. Message-ID: <1992Aug27.175023.19367@cellnet.com>
  6. Date: 27 Aug 92 17:50:23 GMT
  7. Distribution: usa
  8. Organization: Domestic Automation Company
  9. Lines: 26
  10.  
  11. I like the default C++ indentation style in the c++-mode. Unfortunately, 
  12. my company's developer's handbook dictates otherwise, and so I have 
  13. grudgingly retorted to modifying the appropriate c-indent variables. 
  14.  
  15. The default indentation style for functions seems to be: 
  16.  
  17. void
  18. someFunction(
  19.              int some_int,
  20.              char* some_char )
  21.  
  22. The indentation style for functions that I need is:
  23.  
  24. void
  25. someFunction(
  26. int some_int,
  27. char* some_char)
  28.  
  29. I haven't been able to figure out which variable that I need to set/modify
  30. to get this style. I am not sure whether c-continued-statment-offset is
  31. something I should set, but won't that unduely affect the identation inside
  32. statements like `if' and  `while' ? 
  33.  
  34. thanks much in advance.
  35.  
  36.  % ashok
  37.