I've worked at two places where code is supposed to be indented/formatted according to gnu indent (ie there's a prescribed set of options to gnu indent that's to be used). Is there an easy way to set up emacs to do indentation the same way given the options?
For example, currently I work at a place that uses gst-indent, that is running
indent -br -cbi0 -cli2 -bls -l80 -nut -ce -nlp -ci4 -hnl -ts8 -i2 -lps on the file gives the desired indentation style.
Of course the options aren't all about indentation, ideally I would like emacs to honor other aspects of the parameters as for example limiting line length etc.