This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: PATCH for java.nio FileChannel and MappedByteBuffer
- From: Andrew Haley <aph at redhat dot com>
- To: Ranjit Mathew <rmathew at hotmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: Thu, 26 Feb 2004 10:24:14 +0000
- Subject: Re: PATCH for java.nio FileChannel and MappedByteBuffer
- References: <71211SSR3PNWRSQIYU8595KJZVJF.403d6fd5@p733><403D9EB6.4030501@bothner.com><c1k9d3$hm6$1@sea.gmane.org>
Ranjit Mathew writes:
> though it does not seem to be mandated (or frowned
> upon) by the GNU coding standards document, stuff
> within #ifdef conditionals looks much better (IMHO)
> when it's indented like stuff within "regular" if
> statements like so:
>
> #ifdef FOO
> #include <snafu.h>
> #endif /* FOO */
>
> or perhaps like so for some older pre-processors:
>
> #ifdef FOO
> # include <snafu.h>
> #endif /* FOO */
The question is "does EMACS do this?" I am human and therefore
fallible, and I know that if I do indentation by hand I'll screw it up
and waste a lot of time trying to get it right. So I don't do
indentation by hand, ever. As far as I am aware thr GNU coding
standards do not mandate anythying that EMACS doesn't do.
Andrew.