From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Angle brackets matching Date: Mon, 21 Aug 2006 21:47:19 +0200 Organization: Organization?!? Message-ID: <85bqqd6fco.fsf@lola.goethe.zz> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156192891 3063 80.91.229.2 (21 Aug 2006 20:41:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Aug 2006 20:41:31 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 21 22:41:26 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GFGaA-0002Xl-2Q for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Aug 2006 22:41:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GFGa9-0008Pu-Sk for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Aug 2006 16:41:13 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!ndsoftware.com!border2.nntp.ams.giganews.com!nntp.giganews.com!proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:RgyNw2unXvyeLKRoBdBDpIGBLCM= Original-Lines: 21 Original-NNTP-Posting-Date: 21 Aug 2006 21:47:35 CEST Original-NNTP-Posting-Host: 29f3c168.newsspool4.arcor-online.net Original-X-Trace: DXC==TUEZjjRj1j_0Po7BmQ3]l4IUK\BH3YbdgW3SC?]`_aCV`H8_`hhQd^9QSCVg3dOflR6Nao?@8BTaIEdEIC; 3E1Z7mj Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:141188 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36813 Archived-At: Harald Hanche-Olsen writes: > + Faheem Mitha : > > | 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::typ4>; -- David Kastrup, Kriemhildstr. 15, 44793 Bochum