Jim, all, Is there a GNULIB standard for this yet? Paul Eggert just went through my glob_.h and tweaked the cpp spacing in the other direction. I assumed at the time this meant that double-include protection should be ignored for the purposes of indenting compiler directives in headers, but Jim just went the other way here:
2005-09-13 Jim Meyering <[EMAIL PROTECTED]> * canon-host.c: Filter through gnu indent and reword comments slightly. * canon-host.h (ch_strerror_r): Tweak cpp indentation and spacing. [ . . . ] >*** lib/canon-host.h 13 Sep 2005 04:15:15 -0000 1.1 >--- lib/canon-host.h 13 Sep 2005 12:35:24 -0000 1.2 >*************** >*** 25,30 **** > char *canon_host_r (char const *host, int *cherror); > > const char *ch_strerror (void); >! #define ch_strerror_r(cherror) gai_strerror (cherror); > > #endif /* !CANON_HOST_H */ >--- 25,30 ---- > char *canon_host_r (char const *host, int *cherror); > > const char *ch_strerror (void); >! # define ch_strerror_r(cherror) gai_strerror (cherror); > > #endif /* !CANON_HOST_H */ > > I would note that GNU indent doesn't currently support Paul's style. It supports intentation of cpp directives, but only to leave them unmodified or to indent them by a set # of spaces per nested block, without an option to make an exception for the first #if block encountered. Regards, Derek -- Derek R. Price CVS Solutions Architect Ximbiot <http://ximbiot.com> v: +1 717.579.6168 f: +1 717.234.3125 <mailto:[EMAIL PROTECTED]> _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib