all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "VICTOR TARABOLA CORTIANO" <vtc10@c3sl.ufpr.br>
To: help-gnu-emacs@gnu.org, steve@srevilak.net
Subject: Re: Emacs behavior
Date: Tue, 04 May 2010 00:44:12 -0300	[thread overview]
Message-ID: <20100504034413.8008B70000094@urquell.c3sl.ufpr.br> (raw)
In-Reply-To: <20100503021304.GD11102@srevilak.net>

> 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()
		{

	}

It puts the first "{" in the wrong place, but it's just a matter of
C-d and then it goes to its place:

	function()
	{

	}

It would be fine to make it right in the first place. But it's good
enough now. It's just a matter of deleting an extra tab...
Thank you very much.




  reply	other threads:[~2010-05-04  3:44 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 [this message]
2010-05-04 18:03     ` Gary
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100504034413.8008B70000094@urquell.c3sl.ufpr.br \
    --to=vtc10@c3sl.ufpr.br \
    --cc=help-gnu-emacs@gnu.org \
    --cc=steve@srevilak.net \
    /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.