Hi all,

Can someone point me to the correct emacs configuration (in .emacs file) that 
follows GDAL c++ coding standards?  


It would be a nice addition to the Developer standards at 
http://trac.osgeo.org/gdal/wiki/rfc8_devguide .

The following seems to work, setting the spacing to 4, using spaces instead of 
tabs and also indenting "case" statements.
Am I missing anything?


(setq-default c-basic-offset 4
          tab-width 4
          indent-tabs-mode nil)
(c-set-offset 'case-label '+)

Thanks,
Etienne
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to