🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by David J. Anderson Thu, 01 Oct 1992 14:37
How do I set the tab spacing in Edit?
#1706
Author: David J. Anderson
Date: Thu, 01 Oct 1992 14:37
21 lines
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads