home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / emacs / help / 4120 < prev    next >
Encoding:
Text File  |  1992-09-14  |  837 b   |  38 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!cis.ohio-state.edu!aisg.COM!keith
  3. From: keith@aisg.COM (Keith B. Kee {AISG} )
  4. Subject: c++-mode version 2.195
  5. Message-ID: <9209131836.AA11797@accura_nc.aisg.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
  8. Date: Sun, 13 Sep 1992 18:36:03 GMT
  9. Lines: 27
  10.  
  11. Hi:
  12.     I have just acquired a new version of c++-mode. I love it except that
  13. I do not like the format where I declare an array of variables. For
  14. instance, I like an array to look like that:
  15.     int table[] =
  16.     {
  17.         item1,
  18.         item2,
  19.         .....
  20.     };
  21.  
  22. But the c++-mode formats it like that:
  23.     int table[] =
  24.     {    
  25.         item1,
  26.            item2,
  27.            item3,
  28.            .....
  29.     };
  30.  
  31. Could anyone tell me how I can change the variables so that I can have the
  32. first format? Thanks in advance.
  33.  
  34.         -Keith
  35.  
  36.  
  37.  
  38.