[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Angle brackets matching
From: |
Harald Hanche-Olsen |
Subject: |
Re: Angle brackets matching |
Date: |
Mon, 21 Aug 2006 21:49:03 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (berkeley-unix) |
+ Faheem Mitha <faheem@email.unc.edu>:
| Emacs has nice functionality for paren matching. Ie. if I put the
| cursor outside a paren, it highlights both that paren and the matching
| paren. However, it does not do the same for angle brackets. This would
| be very useful, particularly when writing C++ templates. :-)
These might be useful, at least if you use paren-mode:
(modify-syntax-entry ?< "(>")
(modify-syntax-entry ?> ")<")
--
* Harald Hanche-Olsen <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
when there is no ground whatsoever for supposing it is true.
-- Bertrand Russell