[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there a mode that helps enforce coding guidelines?
From: |
Colin Marquardt |
Subject: |
Re: Is there a mode that helps enforce coding guidelines? |
Date: |
Tue, 03 Jun 2003 17:58:23 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (usg-unix-v) |
petter_wintzell@yahoo.com (Petter Wintzell) writes:
> 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.
Take a look at <http://www.jpl.org/elips/develock.el.gz>:
,----
| ;;; Commentary:
|
| ;; Develock is a minor mode which provides the ability to make font-
| ;; lock highlight leading and trailing whitespaces, long lines and the
| ;; other garbages in the file buffer for Lisp modes, ChangeLog mode,
| ;; Texinfo mode, C modes, Java mode, Jde-mode , CPerl mode, Perl mode,
| ;; HTML modes and some Mail modes. Here is an example of how to set
| ;; up your startup file (possibly .emacs) to use Develock:
`----
HTH,
Colin