unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Richard Riley <rileyrg@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: C preprocessor defines not taken into account by Cedet/Semantic
Date: Mon, 05 Sep 2011 19:02:24 +0200	[thread overview]
Message-ID: <yer53uorbz.fsf@news.eternal-september.org> (raw)
In-Reply-To: 20110905165706.GB4625@srevilak.net

Steve Revilak <steve@srevilak.net> writes:

>>From: Abdellatif El Khlifi
>
>>I am trying to use Emacs as an IDE in my Linux kernel development projects.
>>So I installed CEDET and GNU Global (gtags) with no problems.
>>
>>When I open a C source code belonging to my Linux kernel source folder, the
>>linux project is detected automatically. Functions, variables, headers and
>>other keywords are highlighted correctly.
>>
>>Through the ~/.emacs file I configured semantic's code completion and
>>intellisense. So when I press C-<SPC> the code completion menu appears and I
>>can choose what's needed.
>>
>>The issue is when I use preprocessor defines, the intellisense system shows
>>the menu on the current location but doesn't detect the right things when
>>invoked (C-<SPC>). Even I close and restart emacs the same behavior is
>>reproduced.
>
> I thought that global didn't index preprocessor defines.
>

No, but Cedet should/could/does. It parses the C++ itself.






  reply	other threads:[~2011-09-05 17:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-04 14:46 C preprocessor defines not taken into account by Cedet/Semantic Abdellatif El Khlifi
2011-09-05 16:57 ` Steve Revilak
2011-09-05 17:02   ` Richard Riley [this message]
2011-09-05 20:30     ` Abdellatif El Khlifi

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=yer53uorbz.fsf@news.eternal-september.org \
    --to=rileyrg@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).