GNU bug report logs - #710
qt-special labels not syntactically recognized?

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs,cc-mode; Reported by: dejfson <at> gmail.com; merged with #715, #9544; dated Wed, 13 Aug 2008 14:35:03 UTC; Maintainer for emacs is bug-gnu-emacs <at> gnu.org.
Merged 710 715 9544. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) unreproducible and moreinfo. Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. Full text available.
Changed bug submitter to 'dejfson <at> gmail.com' from 'bug-gnu-emacs <at> gnu.org' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. Full text available.
bug reassigned from package `emacs' to `emacs,cc-mode'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. Full text available.
Forcibly Merged 710 715. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. Full text available.
bug reassigned from package `emacs,cc-mode' to `emacs'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. Full text available.
bug reassigned from package `emacs' to `emacs,cc-mode'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-6.1 required=4.0 tests=AWL,BAYES_00,
	RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Received: (at submit) by emacsbugs.donarmstrong.com; 13 Aug 2008 14:29:51 +0000
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7DETl1a028859
	for <submit <at> emacsbugs.donarmstrong.com>; Wed, 13 Aug 2008 07:29:49 -0700
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KTHMB-00029B-3x
	for bug-gnu-emacs <at> gnu.org; Wed, 13 Aug 2008 10:29:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KTHM9-00028D-8H
	for bug-gnu-emacs <at> gnu.org; Wed, 13 Aug 2008 10:29:46 -0400
Received: from [199.232.76.173] (port=49098 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1KTHM8-000286-Vw
	for bug-gnu-emacs <at> gnu.org; Wed, 13 Aug 2008 10:29:45 -0400
Received: from colin.muc.de ([193.149.48.1]:1116 helo=mail.muc.de)
	by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60)
	(envelope-from <acm <at> muc.de>)
	id 1KTHM8-0002VK-V7
	for bug-gnu-emacs <at> gnu.org; Wed, 13 Aug 2008 10:29:45 -0400
Received: (qmail 56537 invoked by uid 3782); 13 Aug 2008 14:29:42 -0000
Received: from acm.muc.de (pD9E23E2A.dip.t-dialin.net [217.226.62.42]) by
	colin2.muc.de (tmda-ofmipd) with ESMTP;
	Wed, 13 Aug 2008 16:29:41 +0200
Received: (qmail 7297 invoked by uid 1000); 13 Aug 2008 14:31:48 -0000
Date: Wed, 13 Aug 2008 14:31:48 +0000
To: dejfson <dejfson <at> gmail.com>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: qt-special labels not syntactically recognized?
Message-ID: <20080813143148.GE3010 <at> muc.de>
Reply-To: bug-gnu-emacs <at> gnu.org
References: <e27db2a60808110405r308ef3c0ic85f9e21e441a431 <at> mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <e27db2a60808110405r308ef3c0ic85f9e21e441a431 <at> mail.gmail.com>
User-Agent: Mutt/1.5.9i
X-Delivery-Agent: TMDA/1.1.5 (Fettercairn)
From: Alan Mackenzie <acm <at> muc.de>
X-Primary-Address: acm <at> muc.de
X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9

Hi, dejfson!

On Mon, Aug 11, 2008 at 01:05:40PM +0200, dejfson wrote:
> Dear All,

> i've been working for some time on elisp and c++-mode and I have
> noticed one thing. When using `c-show-syntactic-information' against
> QT class header files, the label structures as 'protected slots:' and
> 'signals:' are not recognized correctly.

> I know that these are not C++ standards, however is there any way how
> to include them to the indent-parser to be recognized?

CC Mode does handle the QT constructs like "signals:" and "slots:",
though there could well be bugs in that bit of the code.

> The 'signals:' label is correctly recognized, however
> indentation/coloring is not the same of kind as
> 'public/protected/private:' labels in class declaration.  The combined
> form 'protected slots' is not recognized at all. It is identified as
> 'statement', colored as the other statements.

These things are handled OK in one of CC Mode's test files.

Could you send me some sample C++ code, preferably reduced to just a few
lines, which illustrates all these problems, please.  Please describe
exactly what you get, and also say what you expect, and how that differs
from what you actually get.

Also, most importantly, would you supply information on what versions of
(X)Emacs/CC Mode you're using.  The easiest way to do that is with C-c
C-b, which initialises an email buffer.  Please do this and send me all
the configuration information that this generates.  This will help me
track down the problem and fix it.

> thanks

> d.

-- 
Alan Mackenzie (Nuremberg, Germany).





Acknowledgement sent to bug-gnu-emacs <at> gnu.org:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#710; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 3 Oct 2011 23:00:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.