From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?GB2312?B?wO7j5Lri?= Newsgroups: gmane.emacs.help Subject: if there is any way to forbidden "<>" because I never use "<>" as brackets in c/c++ Date: Sat, 3 Mar 2012 21:09:18 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6de14519bc2f104ba5666da X-Trace: dough.gmane.org 1330798316 23070 80.91.229.3 (3 Mar 2012 18:11:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Mar 2012 18:11:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 03 19:11:53 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S3tQv-0007nf-G7 for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Mar 2012 19:11:53 +0100 Original-Received: from localhost ([::1]:37851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3tQu-0002iB-NT for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Mar 2012 13:11:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3oiB-0008BV-Bd for help-gnu-emacs@gnu.org; Sat, 03 Mar 2012 08:09:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3oi9-0006vC-AR for help-gnu-emacs@gnu.org; Sat, 03 Mar 2012 08:09:22 -0500 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:45770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3oi8-0006rY-US for help-gnu-emacs@gnu.org; Sat, 03 Mar 2012 08:09:21 -0500 Original-Received: by wgbdr1 with SMTP id dr1so700833wgb.30 for ; Sat, 03 Mar 2012 05:09:18 -0800 (PST) Received-SPF: pass (google.com: domain of liyuanheng.leo@gmail.com designates 10.216.133.72 as permitted sender) client-ip=10.216.133.72; Authentication-Results: mr.google.com; spf=pass (google.com: domain of liyuanheng.leo@gmail.com designates 10.216.133.72 as permitted sender) smtp.mail=liyuanheng.leo@gmail.com; dkim=pass header.i=liyuanheng.leo@gmail.com Original-Received: from mr.google.com ([10.216.133.72]) by 10.216.133.72 with SMTP id p50mr1167771wei.78.1330780158372 (num_hops = 1); Sat, 03 Mar 2012 05:09:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=TwcPwaf3MWN9Q0UnEnBY64SHSVaFtK+NOmocQ5dDH4Q=; b=hHgCCQpn+4ZhGFx+pfjPtoo2dAndWV2XtKsxamsYkWWPBMjqloRlwENhfQggu1IhCE mwtmwhj8waJzSFnFgK41QHtIkKeZzEbvXHYJmhLIANoN9gZKwGOQQ0kIXncpnvr1erB7 QNg/gFD7eEXG5m7lgw9bbudiUswev757abaXLippxrIeqIkDJbXJ5EffgjPleY3BRQKZ oSNCzDSqhREFcGGFO5EtUkzXUv0W4dq+sg+1UcbIXpetM4iB6n7x8u5Non6Izz7BzJEP 9m4A90r+R+OFXbjTBc0jBMkXkC27P7kNZ9SuHXBGw6999PTuN3c5MyzT0SDNhDh1HLz3 ouVw== Original-Received: by 10.216.133.72 with SMTP id p50mr959176wei.78.1330780158280; Sat, 03 Mar 2012 05:09:18 -0800 (PST) Original-Received: by 10.223.86.206 with HTTP; Sat, 3 Mar 2012 05:09:18 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 X-Mailman-Approved-At: Sat, 03 Mar 2012 13:11:43 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83917 Archived-At: --0016e6de14519bc2f104ba5666da Content-Type: text/plain; charset=ISO-8859-1 Hi, I used Gnu Emacs to code C/C++ on CentOS for about one year. Recently I updated my Emacs to 23.3.4 and I found it is still hard for Emacs to distinguish "< >" and "( )" . For example when I code like if ( ( a < b ) && ( c > d ) ) emacs will be puzzled on Parenthesis Matching and Highlighting... So I send this email to ask if there is any way to forbidden "<>" because I never use "<>" as brackets. I can work with .emacs file with simple Lisp programming language . And could you please solve this c++-mode problem in the future. sincerely yours LiYuanheng --0016e6de14519bc2f104ba5666da Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Hi, I used Gnu Emacs to code = C/C++ on CentOS for about one year. =A0
Recently I u= pdated my Emacs to 23.3.4 and I found it is still hard for Emacs to disting= uish "< >" and "( )" .=A0

For example when I code = like=A0
if ( ( a=A0<=A0b=A0)=A0 && =A0(=A0= c=A0>=A0<= span style>d=A0)=A0) =A0=A0
emacs will be puzzled on=A0Parenthesis Matching and Highlighting...
<= div>
So I send this em= ail to ask if there is any way to forbidden "<>" because I = never use "<>" as brackets.<= /span>
I can work with .emacs file with simple=A0Lisp programming language.

<= div style=3D"text-align:left">And could you please solve= this c++-mode problem in the future.=A0

<= div style=3D"text-align:left">sincerely=A0yours=A0
LiYuanheng<= /div> --0016e6de14519bc2f104ba5666da--