unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* question on cpp-highlight-buffer
@ 2008-08-22 14:51 Francis Moreau
  0 siblings, 0 replies; only message in thread
From: Francis Moreau @ 2008-08-22 14:51 UTC (permalink / raw)
  To: gnu-emacs-help

Hello,

I'm playing with this command, and if I understood it correctly I need to
define in the buffer named "*CPP Edit*" which macro (conditionnals) is true,
false or both if I don't know.

I'm wondering why this isn't done automatically by using cpp. The command
c-macro-expand already does this.

Does anyone know if it's possible ?

BTW, c-macro-expand command seems broken for this case:

$ cat file.c<<EOF
#define A_TAG 1

#ifdef A_TAG
EOF
$

if I select only "A_TAG" in the last line, runing the expand macro command
fails.

Thanks
-- 
Francis




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-22 14:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-22 14:51 question on cpp-highlight-buffer Francis Moreau

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