From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dennis Yurichev Newsgroups: gmane.emacs.help Subject: Re: C++ excessive bracketts removal Date: Thu, 11 Oct 2007 15:00:30 -0700 Organization: http://groups.google.com Message-ID: <1192140030.089916.10660@o80g2000hse.googlegroups.com> References: <1192137098.441849.265490@d55g2000hsg.googlegroups.com> <1192138157.259548.25800@d55g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1192170791 24764 80.91.229.12 (12 Oct 2007 06:33:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2007 06:33:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 12 08:33:01 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IgE4w-0002tf-Cu for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Oct 2007 08:32:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgE4q-0006gF-7t for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Oct 2007 02:32:52 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!o80g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 77.123.200.209 Original-X-Trace: posting.google.com 1192140030 17399 127.0.0.1 (11 Oct 2007 22:00:30 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 11 Oct 2007 22:00:30 +0000 (UTC) In-Reply-To: <1192138157.259548.25800@d55g2000hsg.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.21 (Windows NT 5.2; U; en),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: o80g2000hse.googlegroups.com; posting-host=77.123.200.209; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:152851 X-Mailman-Approved-At: Fri, 12 Oct 2007 02:26:13 -0400 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:48359 Archived-At: On Oct 12, 12:29 am, Wojtek wrote: > On Oct 11, 4:11 pm, Dennis Yurichev wrote: > > > Hello. > > Is there any Emacs script which can remove excessive bracketts in all > > expressions in some C++ source code? > > Is there any other tools for C++ source code "cleaning"? > > Can you say more about what you mean by excessive? Is it that you want > ((a && b)) to be turned into (a && b)? Yes! With the respect to operator precedence.