Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mcvax!diku!olamb!kimcm From: kimcm@olamb.UUCP (Kim Chr. Madsen) Newsgroups: comp.emacs Subject: Re: check lisp file for unbalanced parentheses Message-ID: <297@olamb.UUCP> Date: Tue, 14-Jul-87 04:47:12 EDT Article-I.D.: olamb.297 Posted: Tue Jul 14 04:47:12 1987 Date-Received: Fri, 17-Jul-87 02:58:26 EDT References: <385@sage.cs.reading.ac.uk> <8707101837.AA20157@ucbvax.Berkeley.EDU> Organization: AmbraSoft A/S (Denmark) Lines: 16 Summary: try out vip-mode In article <8707101837.AA20157@ucbvax.Berkeley.EDU>, jr@LF-SERVER-2.BBN.COM (John Robinson) writes: > One trivial way is to insert a close paren at the end to see if it > matches anything (asuming you are in lisp mode). Slight harder is to > put an extra open at the top, and then the extra close at the end > should match it. But, at least it required no macros (beyond lisp > mode). Another simple way of doing it is to load vip-mode - then the % key will assuming the cursor is on a parentesis move it to the correspondong open or close parentesis (if it exists) it also works on braces and brackets. PS: Once vip-mode is loaded you can easily switch mode between vip-mode and emacs-mode with ctrl-z. Kim Chr. Madsen