help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unusual C indentation conventions


From: Alan Mackenzie
Subject: Re: Unusual C indentation conventions
Date: Tue, 29 Mar 2005 18:23:39 +0000
User-agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686))

no spam <peoria6384@yahoo.com> wrote on Mon, 28 Mar 2005 23:21:12 GMT:
> hi, I've spent a fair amount of time trying to get emacs to do
> something reasonably close to what's required in my installation, and I
> find that it usually doesn't and I can't figure out why.  I'll manually
> space the bracket { to be where I want it, and then as soon as I start
> typing, it'll re-indent it, .....

This is a recognized problem, and the next version of CC Mode (5.31) will
enable users to disable "electric indentation", though the precise
details of this haven't quite been finalized.

> .... and even the .emacs variables that I would have thought would just
> turn off ALL syntax-directed indentation don't seem to do it.

(setq c-syntactic-indentation nil) should do it.  Have you tried that?

> All complaining aside, though:  ....

Please do complain!  If nobody complained about the things which annoy
them, nothing would get fixed.  ;-)

[ .... ]

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").



reply via email to

[Prev in Thread] Current Thread [Next in Thread]