From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bartosz Lew Newsgroups: gmane.emacs.bugs Subject: bug#5422: syntax highlighting bug Date: Mon, 3 Oct 2011 23:24:29 +0200 Organization: Nicolaus Copernicus University Message-ID: <201110032324.29979.blew@doktorant.umk.pl> References: <201001191321.30279.blew@astro.uni.torun.pl> Reply-To: blew@astro.uni.torun.pl NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1317677379 8160 80.91.229.12 (3 Oct 2011 21:29:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2011 21:29:39 +0000 (UTC) Bcc: rgm@gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 03 23:29:35 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RAq4s-00013Q-OT for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2011 23:29:34 +0200 Original-Received: from localhost ([::1]:36091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAq4s-0000eS-7k for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2011 17:29:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAq41-0000Qo-VS for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 17:28:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAq40-00009Q-Rc for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2011 17:28:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAq3y-00007q-Lo; Mon, 03 Oct 2011 17:28:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RAq5L-0007DG-GL; Mon, 03 Oct 2011 17:30:03 -0400 Resent-From: Bartosz Lew Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Mon, 03 Oct 2011 21:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 5422 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 5422@debbugs.gnu.org, blew@astro.uni.torun.pl Original-Received: via spool by 5422-done@debbugs.gnu.org id=D5422.131767738627673 (code D ref 5422); Mon, 03 Oct 2011 21:30:02 +0000 Original-Received: (at 5422-done) by debbugs.gnu.org; 3 Oct 2011 21:29:46 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAq53-0007CF-88 for submit@debbugs.gnu.org; Mon, 03 Oct 2011 17:29:45 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAq4F-0007AX-0X for 5422-done@debbugs.gnu.org; Mon, 03 Oct 2011 17:28:56 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RAq2r-0002L5-9E for 5422-done@debbugs.gnu.org; Mon, 03 Oct 2011 17:27:29 -0400 Resent-Message-ID: <20106.10433.203083.128747@fencepost.gnu.org> Resent-Date: Mon, 3 Oct 2011 17:27:29 -0400 Resent-From: Glenn Morris Resent-To: 5422-done@debbugs.gnu.org X-Virus-Scanned: amavisd-new at smail.uci.umk.pl In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Bogosity: no, spamicity=0.053518, v1.2.1 User-Agent: KMail/1.13.7 (Linux/2.6.39.2; KDE/4.6.5; x86_64; ; ) X-Mailman-Approved-At: Mon, 03 Oct 2011 17:29:43 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 03 Oct 2011 17:29:45 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Mon, 03 Oct 2011 17:29:31 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52132 Archived-At: Thanks for the email. Well, I don't see this behaviour now either but now I'm working on Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.24.4) of 2011-05-23 on x86-12.phx2.fedoraproject.org installed on a new computer. I sent the bug report one laptop ago and that computer has crushed, so I cannot easily go back to that configuration without system reinstall. Anyway, everything seems fine with my current version. Thanks again. Bartek. On Monday 03 of October 2011 22:59:17 you wrote: > Bartosz Lew wrote: > > This is just to report on some minor C++ syntax highlighting problem > > in emacs. > > > > when I write: > > if (a < b->c()) { do this; } else { do that; } > > > > two two things go wrong: > > 1) parentheses matching doesn't work correctly > > > > emacs matches the closing bracket of the if condition with the > > > > "<" - "smaller > than" sign in the if condition. > > > > 2) the automatic positioning of any code written below gets confused due > > to this parentheses matching problem. > > > > I use: > > GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.6) > > of 2009-09-29 on x86-7.fedora.phx.redhat.com > > I am unable to reproduce this in any version of Emacs, including 23.1. > If you still see the problem in the latest release, please send a > complete example starting from emacs -Q. > > (There seem to have been some fixes in this area, eg > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4847 )