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.