Re: indent style issue

Andrew Shadura <[email protected]> Mon, 5 May 2014 18:41:15 +0200
Newsgroups gmane.comp.gnu.indent.bugs
Message-ID <20140505184115.4938afe6@ileemo>
Hello Zinat,

On Mon, 5 May 2014 15:25:33 +0530
Zinat Shaikh <[email protected]> wrote:

>             I am using indent program where in am using a specific
> style and against that style am checking the difference between the
> two

> this gives me the difference.. So rather then giving  the difference
> i just want to print that its not following the given style, is
> there  a command for the same or can i make  changes to the code if
> so where should i do..

There's currently no easy solution for this. Indent reformats code, but
doesn't check if it's formatted to its rules. Nor can it ‘detect’ some
style, as it's a too weakly defined thing.

If you have any ideas or patches, you're welcome :)

-- 
Cheers,
  Andrew

_______________________________________________
bug-indent mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-indent
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBCAAGBQJTZ78rAAoJEG6k0jEaLSaN4e4P/RBfiX/N4HfHVASoJwc4/xwv
wVcjPlkFjuS0tvUb/yZluEs5Zy/N2IobZ+Ec0f532xWu/4LNODHuVBGgECry6mrh
rNehBHkZCawhdC9CfDpIM04+ANTwyNI1AcdEfhiq1TS7DSVbR1sZoyhERcS+89py
x0OxI6OOOBca3OAW5u5K6Fgqo73RLdGIYMTqIntpcKjjXKHsdrvflRklEfhlUbn7
PtvbpoIaiKBKWb05RG0uzTlVpgskDHU8OZx0iTl22TZtqr8DTD/lpGmmey3O/Vaq
sJP2GcOO5n/KLh8K/3F+8SYNnBcWvkAsg0XmkbkdyqzltoEV7LrNwddFvGPuzTcp
ifHDnTX7ekSduoUwyX1gNrDVyuapuWSsKwoA7iSmz/yXDNiqOM0s9LeyiPScY8db
9kvCSRsbpApIII+qDWAUBWnLyO16bTywx3IEIHlXR4lmY1zaV2B38/EFvAepBDKy
jMMH+KYr4QhTBNSuzRVAlplD9dyzQ3EvF9+W3g98o5JWImXF1sQhOxGl5cKWklik
yvQd0D2d5Dtx+CYIY6gaKBZw9AHJ0a5YTJnPLoSWS5eLT3w/iYNUj7rCptlVfmub
PF5zXg9RE1Rgnve6Yca1qYZJn6l+MSpbmmH6QoGSier7pgBbJOMKggr8Npl1P6Kp
mHlWDQqREImFo3QPCdpi
=bBP3
-----END PGP SIGNATURE-----