From: Gary <help-gnu-emacs@garydjones.name>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs behavior
Date: Tue, 4 May 2010 20:03:48 +0200 [thread overview]
Message-ID: <20100504180348.GA920@mimosa.garydjones.name> (raw)
In-Reply-To: <20100504034413.8008B70000094@urquell.c3sl.ufpr.br>
On Tue, May 04, 2010 at 12:44:12AM -0300, VICTOR TARABOLA CORTIANO wrote:
> > Putting something like
> >
> > (setq c-basic-offset 8
> > indent-tabs-mode t)
> >
> > into ~/.emacs may give some of the behavior you're looking for.
> >
> > You can also try
> >
> > (setq c-indentation-style "linux")
> >
>
> Thank you. I removed my old .emacs and put that instead, it
> works almost perfectly. The only issue is:
>
> function()
> {
>
> }
I think you want "bsd" instead of "linux" for the c-indentation-style if
you want the braces to line up (which of course is the only sensible way
to do it *grin*). Try it, anyway.
http://en.wikipedia.org/wiki/Indent_style#Allman_style_.28bsd_in_Emacs.29
next prev parent reply other threads:[~2010-05-04 18:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-02 5:18 Emacs behavior VICTOR TARABOLA CORTIANO
2010-05-03 2:13 ` Steve Revilak
2010-05-04 3:44 ` VICTOR TARABOLA CORTIANO
2010-05-04 18:03 ` Gary [this message]
2010-05-06 1:21 ` VICTOR TARABOLA CORTIANO
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100504180348.GA920@mimosa.garydjones.name \
--to=help-gnu-emacs@garydjones.name \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).