Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!purdue!mentor.cc.purdue.edu!j.cc.purdue.edu!nwd From: nwd@j.cc.purdue.edu (Daniel Lawrence) Newsgroups: comp.emacs Subject: Re: Set TAB stops in .emacsrc??? Summary: setting tabs in uEMACS Keywords: uEMACS tabs Message-ID: <10371@j.cc.purdue.edu> Date: 14 Nov 89 15:05:43 GMT References: <7442@ingr.com> Reply-To: nwd@j.cc.purdue.edu (Daniel Lawrence) Distribution: usa Organization: Purdue University Lines: 31 In article <7442@ingr.com> fordke@ingr.com (Keith Ford x8614) writes: >I am using MicroEMACS 3.9 on UNIX SystemV and 3.10 on MSDOS. I like the >CMODE but don't like the default tab stop spacing. Once uEMACS is up, I >can type 'Mn-' to change the spacing to n, but I would like to have >it do this automatically in .emacsrc or somewhere. Any light bulbs turing >on out there. Thanks! -kef >\__ ...!uunet!ingr!b23b!dragon!keith _OR_ fordke@INGR.COM __/ There are 2 different kinds of tabing used inside of uEMACS. One is called soft tabs and this is where tabbing is simulated with spaces. This is what you are using in your command above. If you wish to set this in your startup file, just add the line n handle-tab where n is the tab size, to your .emacsrc file. The other style of tabs is invoked when soft tabs are set to zero (as it is by default). This kind of tabbing uses the actual tab character. Normal hard tabs are displayed every 8 columns, but this can be set by changing the $hardtab environment variable to what you like. For example, to make hard tabs work ever 4 columns (like in vi) add: set $hardtab 4 to your .emacsrc (emacs.rc on micros) file. Daniel Lawrence voice: (317) 742-5153 arpa: dan@midas.mgmt.purdue.edu The Programmer's Room Fido: 1:201/10 - (317) 742-5533