From: Faheem Mitha <faheem@email.unc.edu>
Subject: Re: Angle brackets matching
Date: Mon, 21 Aug 2006 20:16:38 +0000 (UTC) [thread overview]
Message-ID: <slrneek556.vou.faheem@Chrestomanci.home.earth> (raw)
In-Reply-To: pco3bbpeuog.fsf@shuttle.math.ntnu.no
On Mon, 21 Aug 2006 21:49:03 +0200, Harald Hanche-Olsen
<hanche@math.ntnu.no> wrote:
> + 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 ?> ")<")
Hi,
Thanks for replying.
This does not seem to do anything, as far as I can see.
I have the following lines in my .emacs which involve use of the word paren.
'(show-paren-mode t nil (paren))
(custom-set-faces
;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
'(show-paren-match-face ((((class color))
(:foreground "turquoise" :weight bold))))
'(show-paren-mismatch-face ((((class color))
(:foreground "red" :weight bold)))))
Do I need to add something else?
Faheem.
prev parent reply other threads:[~2006-08-21 20:16 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
2006-08-21 20:16 ` Faheem Mitha [this message]
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=slrneek556.vou.faheem@Chrestomanci.home.earth \
--to=faheem@email.unc.edu \
/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).