From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X 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: 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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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: Zordid 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