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

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

Re: Emacs behavior


From: VICTOR TARABOLA CORTIANO
Subject: Re: Emacs behavior
Date: Tue, 04 May 2010 00:44:12 -0300

> 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 via email to

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