From: David Kastrup <dak@gnu.org>
Subject: Re: Angle brackets matching
Date: Mon, 21 Aug 2006 21:47:19 +0200 [thread overview]
Message-ID: <85bqqd6fco.fsf@lola.goethe.zz> (raw)
In-Reply-To: pco3bbpeuog.fsf@shuttle.math.ntnu.no
Harald Hanche-Olsen <hanche@math.ntnu.no> writes:
> + 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 ?> ")<")
I am not sure. C++ syntax is such a mess. For example, you can write
things like
typedef xxx = wurks::typ<a,sizeof(zap)<<2>4>;
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2006-08-21 19:47 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
2006-08-21 19:47 ` David Kastrup [this message]
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=85bqqd6fco.fsf@lola.goethe.zz \
--to=dak@gnu.org \
/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).