[comp.emacs] Set TAB stops in .emacsrc???

fordke@ingr.com (Keith Ford x8614) (11/14/89)

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-<tab>' 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      __/
   "Fer cryin' out loud, research physicists need porsches too!" -Opus
    "...the Trees are all kept equal by hatchet, axe, and saw." -Rush

nwd@j.cc.purdue.edu (Daniel Lawrence) (11/14/89)

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-<tab>' 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