PATCH for java.nio FileChannel and MappedByteBuffer

Andrew Haley aph@redhat.com
Thu Feb 26 10:25:00 GMT 2004


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.



More information about the Java mailing list