unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Francis Moreau" <francis.moro@gmail.com>
To: gnu-emacs-help@gnu.org
Subject: question on cpp-highlight-buffer
Date: Fri, 22 Aug 2008 16:51:22 +0200	[thread overview]
Message-ID: <38b2ab8a0808220751r43b7e180x846c6d3174163da0@mail.gmail.com> (raw)

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




                 reply	other threads:[~2008-08-22 14:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=38b2ab8a0808220751r43b7e180x846c6d3174163da0@mail.gmail.com \
    --to=francis.moro@gmail.com \
    --cc=gnu-emacs-help@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).