This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH for java.nio FileChannel and MappedByteBuffer


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]