unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: dejfson <dejfson@gmail.com>
Cc: bug-gnu-emacs@gnu.org
Subject: bug#710: qt-special labels not syntactically recognized?
Date: Wed, 13 Aug 2008 14:31:48 +0000	[thread overview]
Message-ID: <20080813143148.GE3010@muc.de> (raw)
In-Reply-To: <e27db2a60808110405r308ef3c0ic85f9e21e441a431@mail.gmail.com>

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).







       reply	other threads:[~2008-08-13 14:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e27db2a60808110405r308ef3c0ic85f9e21e441a431@mail.gmail.com>
2008-08-13 14:31 ` Alan Mackenzie [this message]
2008-08-13 14:35   ` bug#710: Acknowledgement (qt-special labels not syntactically recognized?) Emacs bug Tracking System
2008-08-13 21:21   ` bug#715: qt-special labels not syntactically recognized? dejfson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080813143148.GE3010@muc.de \
    --to=acm@muc.de \
    --cc=710@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=dejfson@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).