unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Harald Hanche-Olsen <hanche@math.ntnu.no>
Subject: Re: Angle brackets matching
Date: Mon, 21 Aug 2006 21:49:03 +0200	[thread overview]
Message-ID: <pco3bbpeuog.fsf@shuttle.math.ntnu.no> (raw)
In-Reply-To: slrneeju0k.vou.faheem@Chrestomanci.home.earth

+ 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

  reply	other threads:[~2006-08-21 19:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-21 18:14 Angle brackets matching Faheem Mitha
2006-08-21 19:49 ` Harald Hanche-Olsen [this message]
2006-08-21 19:47   ` David Kastrup
2006-08-21 20:16   ` Faheem Mitha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pco3bbpeuog.fsf@shuttle.math.ntnu.no \
    --to=hanche@math.ntnu.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).