Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!mcvax!diku!seindal
From: seindal@diku.UUCP (Rene Seindal)
Newsgroups: comp.emacs
Subject: Re: check lisp file for unbalanced parentheses
Message-ID: <3324@diku.UUCP>
Date: Mon, 13-Jul-87 04:07:50 EDT
Article-I.D.: diku.3324
Posted: Mon Jul 13 04:07:50 1987
Date-Received: Wed, 15-Jul-87 04:13:10 EDT
References: <385@sage.cs.reading.ac.uk>
Distribution: world
Organization: DIKU, U of Copenhagen, DK
Lines: 13

In article <385@sage.cs.reading.ac.uk> rmb@sage.cs.reading.ac.uk (Rob Bodington) writes:
>Does anyone know of an emacs macro to check a lisp file for unbalanced 
>parentheses?

If you are using GNU Emacs, you can use the functions forward-sexp (C-M-f)
and backward-sexp (C-M-b) to across whole S-expressions.  These functions
check for unbalanced parantheses as well.  These functions are actually a
part of lisp mode, but are globally bound.

I suppose most other emacs-like editors have similar functions.

Rene' Seindal (seindal@diku.uucp)
The Computer Department, Institute of Datalogy, U. of Copenhagen.