🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189402

C Mode Indentation and Indian Hills Standard

#189402
From: Martin Neath
Date: Tue, 05 Mar 1991 01:10
22 lines
1331 bytes
We've adopted the Indian Hill "Recommended C Style and Coding Standards" at our
company. The problem we have is that  Emacs C Mode  does not cooperate with the
recommended  indentation. We've tried various  values for the  different indent
variables, but with little success. Can anyone provide values and/or patches to
Emacs C mode to allow the following indentation style:

        int
cmp_addr( address, h_addr_list )
	char* address;
	char** h_addr_list;
{
	/*
	 * code goes here
	 */
}
--

Martin
-- 
Martin Neath                                   TIVOLI Systems, Inc.
martin@tivoli.com                              6034 West Courtyard, Suite 210
(512) 794-9070 [794-0623 fax]                  Austin, TX   78730
Technical Details
Message-ID: <MARTIN.91Mar5101009@ayers-rock.tivoli.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!ut-emx!tivoli!martin

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,38bf9e3db33f2160,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-03-06 06:37:46 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!ut-emx!tivoli!martin
From: martin@ayers-rock.tivoli.com (Martin Neath)
Newsgroups: gnu.emacs.help
Subject: C Mode Indentation and Indian Hills Standard
Message-ID: <MARTIN.91Mar5101009@ayers-rock.tivoli.com>
Date: 5 Mar 91 01:10:09 GMT
Sender: news@tivoli.UUCP
Distribution: gnu.emacs.help, gnu.emacs.bug, comp.emacs
Organization: TIVOLI Systems, Inc.
Lines: 22