all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* CC Mode and GCC/CEDET integration for evaluating macros
@ 2015-05-01 17:03 Oleh Krehel
  2015-05-01 18:11 ` Alan Mackenzie
  0 siblings, 1 reply; 12+ messages in thread
From: Oleh Krehel @ 2015-05-01 17:03 UTC (permalink / raw)
  To: emacs-devel


Hi all,

I just went through the whole CC Mode manual, just to make sure that I'm
not being silly asking for an existing feature.

I'd like to be able to evaluate the current symbolic constant at point
with "C-x C-e" for C/C++.  Moreover, I remember when I was using Visual
Studio 10 years ago, it had a feature of parsing the macros and graying
out #ifdef branches. I found a screenshot of this if it's not clear what
I mean: http://stackoverflow.com/questions/11610549/

I think it would be really cool to add both these features to CC Mode.
So I'd like to ask:

1. Is there any past progress towards these features?

2. How viable is it to implement them? Could they work for the most
common build systems?

3. Could / should they be implemented based on CEDET or GCC?

4. How hard would it be to actually do it all? Are there any predictable
roadblocks?

5. Would other people besides me find these features useful?

Oleh



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-05-03 16:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-01 17:03 CC Mode and GCC/CEDET integration for evaluating macros Oleh Krehel
2015-05-01 18:11 ` Alan Mackenzie
2015-05-01 18:23   ` Oleh Krehel
2015-05-01 18:46     ` Eli Zaretskii
2015-05-01 18:52       ` Oleh Krehel
2015-05-01 19:30         ` Eli Zaretskii
2015-05-01 19:42           ` Oleh Krehel
2015-05-02  8:27             ` Eli Zaretskii
2015-05-02  9:07               ` Eli Zaretskii
2015-05-02  8:57   ` martin rudalics
2015-05-02 12:00     ` Oleh Krehel
2015-05-03 16:45       ` martin rudalics

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.