🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1738

indentation of fn declarations.

#1738
From: Haider Abbas Rizvi
Date: Sun, 13 Oct 1991 21:47
48 lines
1698 bytes
Hi,
I had a problem with the indentation of gnuemacs. When I write a program
with c-mode, I get the following indentation:

#include <stdio.h>

  void main()
{
  
}

int panga()
{
}

My c-mode variables are as following.
;; c-argdecl-indent:
	5
;; c-auto-newline:
	nil
;; c-brace-imaginary-offset:
	0
;; c-brace-offset:
	0
;; c-continued-brace-offset:
	0
;; c-continued-statement-offset:
	2
;; c-indent-level:
	2
;; c-label-offset:
	-2
;; c-tab-always-indent:
	t

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.
  
Thanks in advance. Please email the response if you can.
--

-----------------------------------------------------------------------------
| Haider Abbas Rizvi                   | Deptt of Elect and Computer Engg,  |
| haider@rice.edu     		       | Abercrombie A147, Rice University, |
| (713)-527-8750-3629    	       |      Houston, TX 77251-1892.       |
----------------------------------------------------------------------------
 
Technical Details
Message-ID: <9110132147.AA24897@pi.rice.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!rice.edu!haider

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,379b81911a975a44,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-10-13 15:59:38 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: <9110132147.AA24897@pi.rice.edu>
Date: 13 Oct 91 21:47:00 GMT
Sender: daemon@cis.ohio-state.edu
Reply-To: haider@rice.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 48