From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bernardo Newsgroups: gmane.emacs.help Subject: Re: #ifdef color Date: Thu, 23 Jun 2011 21:24:14 +1000 Message-ID: <4E03225E.1020501@pobox.com> References: Reply-To: bernardo.bacic@pobox.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308830093 5596 80.91.229.12 (23 Jun 2011 11:54:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2011 11:54:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 23 13:54:50 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZiUj-0006jM-Tk for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jun 2011 13:54:50 +0200 Original-Received: from localhost ([::1]:44983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZiUi-0002u3-Ba for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jun 2011 07:54:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZi1m-00032L-7n for help-gnu-emacs@gnu.org; Thu, 23 Jun 2011 07:24:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZi1k-0002MA-Sd for help-gnu-emacs@gnu.org; Thu, 23 Jun 2011 07:24:54 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:49785 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZi1k-0002M2-Jt for help-gnu-emacs@gnu.org; Thu, 23 Jun 2011 07:24:52 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id C53F73215 for ; Thu, 23 Jun 2011 07:27:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :date:from:reply-to:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=sasl; bh= 8p5rofS8w5SR1wDrDlkVatge5Uk=; b=lEJN68AjcwUJBSvNTW5warHFtyZRhpmE YlxegO0GIq1L7pRk/J2RfO0BpDkJAJWX7vw2u9t927QoVRk9X2yPfivADKsXm0ax mDjw9TGdhQAQ/xPjX3aWyIFTt3hl1XICLixDllQzKd1Tkb6T3Vtw2JhUIJQ7Yf/u pNQikk9/Ivc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=message-id:date :from:reply-to:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=f7vAgU H9r/oOPavdOm4nwRieXF6EL+sfsVFFnasUnTWG0FPuMVlj0Mclbf9PC090AkgZpm SF5p+1vpwyz82ROHbO2CukZIplfGvN8wDEZcnyWTkgvcdKtc/QTEBPABp51KJQbT JjbLbB7NDXQIk/qWb20sjDy44yrmHeBPa/JcE= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id A43303214 for ; Thu, 23 Jun 2011 07:27:02 -0400 (EDT) Original-Received: from localhost.localdomain (unknown [115.70.111.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 840F73213 for ; Thu, 23 Jun 2011 07:27:01 -0400 (EDT) User-Agent: Thunderbird 2.0.0.24 (X11/20100228) In-Reply-To: X-Pobox-Relay-ID: B705DF12-9D8B-11E0-B18E-5875C023C68D-14340206!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81407 Archived-At: > That editor has very useful feature for me. The feature is dimmed color for > undefined C MACRO. > and we can set the value of C MACRO., if the value is match code block > inside the #ifdef > will be colored, but if the #ifdef value is wrong, the code block will be > colored grey. > > I really need your help to realize this in emacs, because every day I am > working > on a bunch of #ifdef in big code. have you tried hide-ifdef-mode? for more information type C-h f hide-ifdef-mode