From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: code between '#ifndef' with a different fore/background color
Date: Thu, 24 Jul 2008 22:38:58 +1000 [thread overview]
Message-ID: <87fxpzzcbh.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.15280.1216829450.18990.help-gnu-emacs@gnu.org
Rodrigo Canellas <rodrigo.canellas@tqtvd.com> writes:
> 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?
>
An ability similar to this apparently exists in emacs 23
(CVS). Accoridng to the news file, you can make these constructs
"shaded" rather than just invisible. I'm assuming shading really eans
setting them to different foreground/background colours to the main/rest
of the text.
Tim
--
tcross (at) rapttech dot com dot au
next prev parent reply other threads:[~2008-07-24 12:38 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 ` code between '#ifndef' with a different fore/background color weber
2008-07-24 12:38 ` Tim X [this message]
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=87fxpzzcbh.fsf@lion.rapttech.com.au \
--to=timx@nospam.dev.null \
--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.