[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auto-indentation
From: |
Mark Skilbeck |
Subject: |
Re: Auto-indentation |
Date: |
Sat, 21 Apr 2012 09:39:02 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Apr 20, 2012 at 01:57:14PM +0100, Richard H Lee wrote:
> I would like to use auto-indentation in emacs.
>
> When I C-j in C syntax it add an extra indent if it is expecting an
> extra code block. It also does so if I type an opening curly
> bracket.
>
> E.g
>
> for(;;;)
> {
>
> I just want emacs to keep the indent of the line I'm on, that is
> all. I don't need emacs to predict indentation for me.
>
> Richard
See c-set-style. Typically bound to "C-c ."
- mgsk.
- Auto-indentation, Richard H Lee, 2012/04/20
- Re: Auto-indentation,
Mark Skilbeck <=