home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / emacs / help / 3442 < prev    next >
Encoding:
Text File  |  1992-07-22  |  995 b   |  28 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!mips!darwin.sura.net!uvaarpa!murdoch!virginia.edu!gs4t
  3. From: gs4t@virginia.edu (Gnanasekaran  Swaminathan)
  4. Subject: Re: TAB key in (C Fill) mode
  5. Message-ID: <1992Jul22.180640.5161@murdoch.acc.Virginia.EDU>
  6. Sender: usenet@murdoch.acc.Virginia.EDU
  7. Reply-To: gs4t@virginia.edu (Gnanasekaran  Swaminathan)
  8. Organization: University of Virginia
  9. References:  <1992Jul22.163405.12632@ccd.harris.com>
  10. Date: Wed, 22 Jul 1992 18:06:40 GMT
  11. Lines: 15
  12.  
  13. abz@controls.ccd.harris.com (Andrew B. Ziffer) writes:
  14. > I am sick of typing ctrl-Q TAB to get a simple tab in my C code every time
  15. > I want to indent something.  How can I change this so the TAB key alone will
  16. > print a single TAB in (C Fill) mode.
  17.  
  18. Add the following line to your .emacs file.
  19.  
  20. (setq indent-tabs-mode     t)
  21.  
  22. If you also need the tab to be of width 8 characters,
  23. then add the following line also to your .emacs file
  24.  
  25. (setq default-tab-width    8)
  26.  
  27. -Sekar
  28.