unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Indenting problem
@ 2003-04-23 22:30 M Wasilewski
  2003-04-24  8:07 ` Alan Mackenzie
  2003-04-24 16:42 ` Kai Großjohann
  0 siblings, 2 replies; 3+ messages in thread
From: M Wasilewski @ 2003-04-23 22:30 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-24 16:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-23 22:30 Indenting problem M Wasilewski
2003-04-24  8:07 ` Alan Mackenzie
2003-04-24 16:42 ` Kai Großjohann

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).