Article View: gnu.emacs.bug
Article #98403Re: Emacs C-mode, ANSI-C
From: Peter Mutsaers
Date: Thu, 01 Aug 1991 16:04
Date: Thu, 01 Aug 1991 16:04
33 lines
1798 bytes
1798 bytes
>>>>> On 29 Jul 91 14:38:14 GMT, bobf@hess.geology.yale.edu (Bob Fischer) said: Bob> I'm trying to use GNU Emacs C-mode with ANSI-compatible Bob> C-code I'm writing. It seems to have problems with the Bob> new prototypes, used in place of the old C function Bob> headers. It always wants to indent my variables like: Bob> plot_sources( Bob> Display *dpy, Bob> Window xwin, Bob> GC gc, Bob> Plot_File *m) Bob> I want it indented like: Bob> plot_sources( Bob> Display *dpy, Bob> Window xwin, Bob> GC gc, Bob> Plot_File *m) Bob> Is there a new version of the C-indenting code for ANSI Bob> C? Or am I missing something in which variables to set Bob> which way? The c-mode is quite well for ansi-c, but apparently you want a strange (and to me unreadable) style. Then you'll have to make a strange-c-mode yourself. -- Peter Mutsaers email: muts@fys.ruu.nl Rijksuniversiteit Utrecht muts@fysak.fys.ruu.nl Princetonplein 5 tel: (+31)-(0)30-533880 3584 CG Utrecht, Netherlands
Technical Details
Message-ID:
<MUTS.91Aug1120425@fysaq.fys.ruu.nl>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!fysap.fys.ruu.nl!mutsReferences:
muts@fysap.fys.ruu.nl (Peter Mutsaers)Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,b994f3e4f758b467,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-08-01 09:04:25 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!fysap.fys.ruu.nl!muts From: muts@fysap.fys.ruu.nl (Peter Mutsaers) Newsgroups: gnu.emacs.bug Subject: Re: Emacs C-mode, ANSI-C Message-ID: <MUTS.91Aug1120425@fysaq.fys.ruu.nl> Date: 1 Aug 91 16:04:25 GMT References: muts@fysap.fys.ruu.nl (Peter Mutsaers) Sender: gnulists@ai.mit.edu Distribution: gnu Organization: Rijks Universiteit Utrecht Lines: 33 Approved: bug-gnu-emacs@prep.ai.mit.edu