Xref: utzoo gnu.emacs.help:305 comp.emacs:9491 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!shelby!apple!usc!zaphod.mps.ohio-state.edu!ub!boulder!tramp!baileyc From: baileyc@tramp.Colorado.EDU (BAILEY CHRISTOPHER R) Newsgroups: gnu.emacs.help,comp.emacs Subject: Making TAB = 4 no matter what Keywords: gnuemacs, tab Message-ID: <29564@boulder.Colorado.EDU> Date: 11 Nov 90 23:36:33 GMT Sender: news@boulder.Colorado.EDU Reply-To: baileyc@tramp.Colorado.EDU (BAILEY CHRISTOPHER R) Distribution: usa Organization: University of Colorado, Boulder Lines: 21 Nntp-Posting-Host: tramp.colorado.edu I want to make a tab in emacs go 4 spaces every time I press tab. I am mostly using C-mode, and I have c-indent-level set to 4, and c-tab-always-indent set to nil so I can tab in the middle of a line. However, the tabs in the middle of a line go 8 spaces, and I want them to go only 4 spaces. Also, if I do something like: #ifndef lint static char *RCSid=... #endif The static char line will only be indented 2 instead of 4. I know there must be one of those strange c-mode varaibles dealing with this type of stuff, but I don't know what it is, or if there isn't how do I change this? it's not a big deal for preprocessor stuff, but I'd still like to change it. In other words, I want tab to go 4 spaces in every mode, and every conditions within emacs. How do I do this? Chris Bailey :: baileyc@tramp.Colorado.EDU One Agro Mountain Biker - Dialed in for ultra gonzo badness! "No his mind is not for rent, to any god or government" - RUSH Member of Team Buck Naked of Buckingham Palace