From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Anderson Newsgroups: gmane.emacs.help Subject: Re: Is there a mode that helps enforce coding guidelines? Date: 28 May 2003 12:27:52 -0400 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1054139270.19459.4.camel@ny-chicagost2d-72.buf.adelphia.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1054140912 2080 80.91.224.249 (28 May 2003 16:55:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 28 May 2003 16:55:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed May 28 18:55:01 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 19L4BR-0000Oh-00 for ; Wed, 28 May 2003 18:53:50 +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 19L47U-0001UH-NA for gnu-help-gnu-emacs@m.gmane.org; Wed, 28 May 2003 12:49:44 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19L46L-0000vL-Ig for help-gnu-emacs@gnu.org; Wed, 28 May 2003 12:48:33 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19L3yN-0006dR-Hd for help-gnu-emacs@gnu.org; Wed, 28 May 2003 12:40:21 -0400 Original-Received: from [64.246.36.112] (helo=torre.pghoster.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19L3sx-00055k-UQ for help-gnu-emacs@gnu.org; Wed, 28 May 2003 12:34:44 -0400 Original-Received: from ny-chicagost2d-72.buf.adelphia.net (ny-chicagost2d-72.buf.adelphia.net [24.49.119.72]) (authenticated (0 bits)) by torre.pghoster.com (8.11.6/8.11.6) with ESMTP id h4SGYcB32224; Wed, 28 May 2003 11:34:38 -0500 Original-To: Petter Wintzell In-Reply-To: X-Mailer: Ximian Evolution 1.2.4-1.1mdk 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:10289 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10289 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