help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Is there a mode that helps enforce coding guidelines?


From: Kevin Dziulko
Subject: Re: Is there a mode that helps enforce coding guidelines?
Date: Thu, 29 May 2003 08:44:48 -0400 (EDT)

It's not an answer to your exact question, but one could just make use of 
the different styles, including home made ones.  Just change the value of 
c-set-style.  So while coding at work, you could set it to a personal 
style you've defined,  set it to gnu style while working on open source 
projects, etc.

This won't help you with highlighting rule-breakers, but could be usefull 
in the meantime.
 

On 28 May 2003, Dan Anderson wrote:

> You could probably program one in eLISP.  Don't ask me how, i'm still an
> emacs noob. :)
> 
> -Dan
> 
> On Wed, 2003-05-28 at 10:05, Petter Wintzell wrote:
> > Hi,
> > 
> > Is there an Emacs mode that can help a programmer follow a set of
> > coding guidelines and style rules? I am thinking of the simple rules
> > that exist in many companies and projects regarding line length,
> > comment style, indent style, hanging braces, variable names and what
> > not.
> > 
> > I would like a mode that highlighted the text when I broke a
> > guideline. It would also be nice if the mode could help me correct the
> > error.
> > 
> > One thing that would also be nice is if one could switch between
> > different rule sets, so that I can easily have one set of rules when
> > coding at work, one when coding at home, one when participating in a
> > particular open source project, etc.
> > 
> > Is there any such mode or functionality?
> > 
> > Regards,
> > /Petter
> > _______________________________________________
> > Help-gnu-emacs mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 
> 
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 





reply via email to

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