From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: petter_wintzell@yahoo.com (Petter Wintzell) Newsgroups: gmane.emacs.help Subject: Is there a mode that helps enforce coding guidelines? Date: 28 May 2003 07:05:59 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1054131103 9058 80.91.224.249 (28 May 2003 14:11:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 28 May 2003 14:11:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed May 28 16:11:41 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19L1dK-0002Et-00 for ; Wed, 28 May 2003 16:10:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19L1dt-0002G9-QG for gnu-help-gnu-emacs@m.gmane.org; Wed, 28 May 2003 10:11:01 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 194.237.142.19 Original-X-Trace: posting.google.com 1054130759 12707 127.0.0.1 (28 May 2003 14:05:59 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 28 May 2003 14:05:59 GMT Original-Xref: shelby.stanford.edu comp.emacs:79409 gnu.emacs.help:113787 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10282 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10282 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