all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Dziulko <dziulko@klaatu.canisius.edu>
Subject: Re: Is there a mode that helps enforce coding guidelines?
Date: Thu, 29 May 2003 08:44:48 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0305290837250.18382-100000@klaatu.canisius.edu> (raw)
In-Reply-To: <1054139270.19459.4.camel@ny-chicagost2d-72.buf.adelphia.net>

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
> > Help-gnu-emacs@gnu.org
> > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 
> 
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

  reply	other threads:[~2003-05-29 12:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28 14:05 Is there a mode that helps enforce coding guidelines? Petter Wintzell
2003-05-28 16:27 ` Dan Anderson
2003-05-29 12:44   ` Kevin Dziulko [this message]
2003-05-28 16:43 ` Kai Großjohann
2003-05-28 17:03   ` Phillip Lord
2003-05-28 18:29     ` Kai Großjohann
2003-05-29 14:09       ` Phillip Lord
2003-05-28 17:50 ` Sandip Chitale
2003-05-29  3:38 ` Peter Milliken
2003-06-01 21:45   ` Alan Mackenzie
2003-06-02 10:37   ` Petter Wintzell
2003-06-03 15:58 ` Colin Marquardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0305290837250.18382-100000@klaatu.canisius.edu \
    --to=dziulko@klaatu.canisius.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.