🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1748

indentation of fn declarations.

#1748
From: Haider Abbas Rizvi
Date: Wed, 16 Oct 1991 19:46
33 lines
1205 bytes
> > I want the first function after the macro and include declarations to be on
> > the first column too as the rest of them are. Does anyone have any ideas as
> > to what is causing this and a solution.
> >   
>
> Try this:
>
> (setq 
>  c-tab-always-indent t
>  c-auto-newline nil
>  c-indent-level 3
>  c-continued-statement-offset 3
>  c-continued-brace-offset 0
>  c-brace-offset -3
>  c-brace-imaginary-offset 0
>  c-argdecl-indent 0
>  c-label-offset -3
> )
>
> -kam
>
Still does not work. I get the following,
#include <stdio.h>

   void main()
{
}

int panga()
{
}
--
Haider
Technical Details
Message-ID: <9110161946.AA16411@pi.rice.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!rice.edu!haider
References: <9110160427.AA19118@phecda>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,379b81911a975a44
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-10-17 05:58:16 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!rice.edu!haider
From: haider@rice.edu (Haider Abbas Rizvi)
Newsgroups: gnu.epoch.misc
Subject: indentation of fn declarations.
Message-ID: <9110161946.AA16411@pi.rice.edu>
Date: 16 Oct 91 19:46:45 GMT
References: <9110160427.AA19118@phecda>
Sender: daemon@cis.ohio-state.edu
Reply-To: haider@rice.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 33