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

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

Indenting problem


From: M Wasilewski
Subject: Indenting problem
Date: 23 Apr 2003 22:30:58 GMT
User-agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (AIX/4-3)

I seem to be having a problem with emacs indenting. Under solaris and 
linux my indenting looks like so:

Vector3 cross( const Vector3 &v ) const
{
 return Vector3( y * v.z - z * v.y,
                 z * v.x - x * v.z,
                 x * v.y - y * v.x );
}

No problems. But running emacs under Windows XP with the same .emacs file 
gives me this:

Vector3 cross( const Vector3 &v ) const
{
 return Vector3( y * v.z - z * v.y,
               z * v.x - x * v.z,
               x * v.y - y * v.x );
}

The z and the x are lined up with the bracket rather than the y. Does 
anyone know why this is? Or more importantly how to fix it?
Thanks.

---------------
Mike Wasilewski


reply via email to

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