From: Mark Skilbeck <m@iammark.us>
To: Richard H Lee <ricardohenrylee@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Auto-indentation
Date: Sat, 21 Apr 2012 09:39:02 +0100 [thread overview]
Message-ID: <20120421083901.GA3186@mark-laptop> (raw)
In-Reply-To: <4F915D2A.1040607@gmail.com>
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.
next prev parent reply other threads:[~2012-04-21 8:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-20 12:57 Auto-indentation Richard H Lee
2012-04-21 8:39 ` Mark Skilbeck [this message]
2012-04-21 12:58 ` Auto-indentation Richard H Lee
2012-04-21 13:51 ` Auto-indentation Richard H Lee
2012-04-21 22:38 ` Auto-indentation Ludwig, Mark
[not found] <mailman.124.1139578896.2885.help-gnu-emacs@gnu.org>
2006-02-10 14:02 ` Auto-indentation Zhang Wei
2006-02-10 17:34 ` Auto-indentation Stefan Monnier
2006-02-10 19:24 ` Auto-indentation Alan Mackenzie
2006-02-13 0:26 ` Auto-indentation Paul Whitfield
2006-02-13 0:30 ` Auto-indentation Paul Whitfield
2006-02-13 8:07 ` Auto-indentation Alan Mackenzie
2006-02-14 1:04 ` Auto-indentation Paul Whitfield
-- strict thread matches above, loose matches on Subject: below --
2006-02-10 13:27 Auto-indentation Marcus Husar
2006-02-10 17:30 ` Auto-indentation Kevin Rodgers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120421083901.GA3186@mark-laptop \
--to=m@iammark.us \
--cc=help-gnu-emacs@gnu.org \
--cc=ricardohenrylee@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.