Article View: comp.sys.next.programmer
Article #1706How do I set the tab spacing in Edit?
From: David J. Anderson
Date: Thu, 01 Oct 1992 14:37
Date: Thu, 01 Oct 1992 14:37
21 lines
1102 bytes
1102 bytes
Being an emacs user by nature but an edit user by convenience, I had the
same kind of problem with the indentation (I wanted my tabs in edit and
emacs to match...)
Generally we like 3-space indentation, ie:
- foo:bar
{
return [bar [mumble:self]];
}
Easy to do in edit... And in emacs with the little bit of code in your
~/.emacs (kudos to Mike Matlack):
(setq c-mode-hook '(lambda () (setq tab-width 3)))
Happy coding...
____________________________________________________________________
Dave Anderson | ...consequently, society expects all earnestly
the dman | responsible communication to be crisply brief...
dave@afs.com | we are not seeking a license to ramble wordily.
Technical Details
Message-ID:
<1992Oct1.143712.2958@afs.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!rpi!psinntp!psinntp!afs!daveShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!rpi!psinntp!psinntp!afs!dave From: dave@afs.com (David J. Anderson) Subject: How do I set the tab spacing in Edit? Message-ID: <1992Oct1.143712.2958@afs.com> Sender: dave@afs.com Date: Thu, 1 Oct 1992 14:37:12 GMT Lines: 21