home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!jf41+
- From: jf41+@andrew.cmu.edu (Jonathan R. Ferro)
- Newsgroups: gnu.emacs.help
- Subject: Re: Matching Parenthesis
- Message-ID: <0eX1Mdq00VpA0c4mck@andrew.cmu.edu>
- Date: 14 Aug 92 12:23:05 GMT
- Article-I.D.: andrew.0eX1Mdq00VpA0c4mck
- References: <1992Aug13.222811.12442@cbfsb.cb.att.com>
- <KEVIN.92Aug14095203@buffalobill.edscom.demon.co.uk>
- Distribution: usa
- Organization: Carnegie Mellon, Pittsburgh, PA
- Lines: 18
- In-Reply-To: <KEVIN.92Aug14095203@buffalobill.edscom.demon.co.uk>
-
- kevin@edscom.demon.co.uk (Kevin Broadey) writes:
- > anand@cbnewsb.cb.att.com (anand.r.setlur) writes:
- > >
- > > Can someone give me a method in emacs to achieve the equivalent of vi's
- > > "%" command that helps match parenthesis in a given file.
- >
- > I use:-
- >
- > (defun match-paren ()
- > "Go to the matching parenthesis."
-
- This is already built into the default Emacs mappings as
- C-M-f (forward-sexp) and C-M-b (backward-sexp).
-
- --
- Jon Ferro MIT Transportation Modelling Research Center (TMRC)
- jf41+@andrew.cmu.edu "We can hack it!"
- SGNTR VRS VRSN 3.1B: Strppd nd cmprssd fr qckr trnsmssn! nfct yrs tdy!
-