emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU coding standard highlighting rules (was: [PATCH] GnuTLS support on W


From: Ted Zlatanov
Subject: GNU coding standard highlighting rules (was: [PATCH] GnuTLS support on Woe32)
Date: Thu, 24 Mar 2011 10:49:35 -0500
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

On Wed, 23 Mar 2011 17:55:04 -0400 Stefan Monnier <address@hidden> wrote: 

>>> Again, the above needs spaces before the open paren.
>> OK, is there a style guide somewhere or better yet a style checker for
>> these kind of faux pas?

SM> No.  But we do have abut 8MB of examples ;-)
SM> Wait, yes there is: the GNU coding standard (www.gnu.org/prep/standards/)

I would love to see highlighting rules for C and ELisp that at least
catch the comment problems: starting with lowercase and a period without
two spaces, etc.  I don't know the Emacs highlighting at all so I can't
write these myself, plus I would probably miss many of the rules through
inexperience.

If those rules could be enabled with a file-local variable that would be
even better.  It would really help people like me and Claudio who don't
work with the Emacs source code often.  It would probably benefit most
GNU projects, not just Emacs, to provide this.

Ted




reply via email to

[Prev in Thread] Current Thread [Next in Thread]