From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Tim X <timx@nospam.dev.null>
Newsgroups: gmane.emacs.help
Subject: Re: unckeck attributes in .Xresources?
Date: Fri, 18 Apr 2008 18:42:44 +1000
Organization: Rapt Technologies
Message-ID: <87y77bzh8b.fsf@lion.rapttech.com.au>
References: <bf46c58d-2b66-4220-bc6e-c456aff9e52c@a1g2000hsb.googlegroups.com>
	<mailman.10484.1208441213.18990.help-gnu-emacs@gnu.org>
	<df0b51b4-ecb7-4ec1-a678-146d03f1aa0d@a23g2000hsc.googlegroups.com>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: ger.gmane.org 1208549334 19804 80.91.229.12 (18 Apr 2008 20:08:54 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 18 Apr 2008 20:08:54 +0000 (UTC)
To: help-gnu-emacs@gnu.org
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 18 22:06:03 2008
connect(): Connection refused
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geh-help-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([199.232.76.165])
	by lo.gmane.org with esmtp (Exim 4.50)
	id 1JmnHe-0004bl-Nq
	for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Apr 2008 11:53:31 +0200
Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1JmnGz-0004IX-Jy
	for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Apr 2008 05:52:49 -0400
Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.internode!news.internode.POSTED!not-for-mail
Original-NNTP-Posting-Date: Fri, 18 Apr 2008 03:42:44 -0500
Original-Newsgroups: gnu.emacs.help
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
Cancel-Lock: sha1:EI+kGcMC7i69dKQ1no9+vGbqwJ4=
Original-Lines: 28
X-Usenet-Provider: http://www.giganews.com
Original-NNTP-Posting-Host: 121.44.24.120
Original-X-Trace: sv3-6lGIUOvVN8JWScQ1r6Uyjb5djAPyBrCP3q9Jc/9gGe+1Uv09BXUi8/Lej5OuDuj4/JKmc1uoQ0m4+12!hrQTZ0kUw922G4YeOJUarLtYgv6THWMwo4JGnhrzFCCCT8tFeaX2M6mb9dC11TVStfMWOEaQRw==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
	properly
X-Postfilter: 1.3.39
Original-Xref: shelby.stanford.edu gnu.emacs.help:158003
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.help:53370
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/53370>

Zordid <zordid@gmail.com> writes:

> I think you misunderstand my problem.
> If an attribute is set by default in emacs then how do I unset this
> attribute from by using the .Xresources file. I know how to change the
> attribute but I dont know how to "remove" it.
>

I don't think you can - at least not in the sense you are wanting. 

For example, the region highlighting could be 'turned off' by setting
the foreground/background attributes to the same as the default face
attributes. This won't always work of course as different faces have
different fore/backgrounds. 

I don't believe you can turn things off unless there is a specific X
resource attribute defined to do this. 

Note that the highlighted region stuff you used as an example is called
transient mark mode and this can be turned off in your .emacs. Don't
know if there is an X resource to do this, if there isn't, I don't
think you can do it from .Xresources.

Tim
>

-- 
tcross (at) rapttech dot com dot au