[Top][All Lists]

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

Re: .emacs file to act like Visual C++

From: Le Wang
Subject: Re: .emacs file to act like Visual C++
Date: Sat, 31 Aug 2002 13:39:38 GMT
User-agent: KNode/0.7.1

Ryan Boder wrote:

> Hi, I am using emacs/g++ in a project where the other developers are using
> Visual C++. I would to have my c++-mode alignment and all be the same as
> theirs so that I can continue to do so.
> 1. Is there a .emacs file that is maintained or that some one on the list
> has that accomplishes this?
> or
> 2. The most important thing is that curly braces are aligned with if
> statements and for/while loops when placed on the line beneath them, not 2
> spaces over which is the default for emacs. Can some one tell me how to do
> that?
> Sorry if this is common knowledge, but I couldn't find the answer on the
> web.

c-mode can indent your code in whatever fashion you like.  You're right, this 
is a FAQ, so please check for the appropriate answer.


reply via email to

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