From: weber <hugows@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: code between '#ifndef' with a different fore/background color
Date: Wed, 23 Jul 2008 14:13:14 -0700 (PDT) [thread overview]
Message-ID: <08d12670-5687-4859-9d78-4fb0afb786fe@2g2000hsn.googlegroups.com> (raw)
In-Reply-To: mailman.15280.1216829450.18990.help-gnu-emacs@gnu.org
On Jul 23, 1:08 pm, Rodrigo Canellas <rodrigo.canel...@tqtvd.com>
wrote:
> Hi,
>
> Is is possible to define that a block of code between a '#ifdef XYZ' -
> '#endif', when 'XYZ' is not defined, is displayed with a different
> foreground (or background) font color?
>
> thanks a lot!
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
I don't think that's be possible, because you can even define a
"DEFINE" by command line to gcc, right?
Just changing background for the region between #ifdef to #endif can
be done, though.
-weber
-weber
next parent reply other threads:[~2008-07-23 21:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.15280.1216829450.18990.help-gnu-emacs@gnu.org>
2008-07-23 21:13 ` weber [this message]
2008-07-24 12:38 ` code between '#ifndef' with a different fore/background color Tim X
2008-07-23 16:08 Rodrigo Canellas
2008-07-23 21:46 ` Lennart Borgman (gmail)
[not found] ` <mailman.15288.1216849621.18990.help-gnu-emacs@gnu.org>
2008-07-24 0:34 ` Jason Rumney
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=08d12670-5687-4859-9d78-4fb0afb786fe@2g2000hsn.googlegroups.com \
--to=hugows@gmail.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.
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.