From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Skilbeck Newsgroups: gmane.emacs.help Subject: Re: load-theme and changing fonts Date: Mon, 30 Jul 2012 13:14:47 +0100 Message-ID: <20120730121446.GB9107@mark-laptop> References: <20120730103328.GA9107@mark-laptop> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1343650511 11240 80.91.229.3 (30 Jul 2012 12:15:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2012 12:15:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 30 14:15:11 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SvosP-0003c1-8T for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jul 2012 14:15:09 +0200 Original-Received: from localhost ([::1]:46375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvosO-0002UI-Gd for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jul 2012 08:15:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvosF-0002SS-3Q for help-gnu-emacs@gnu.org; Mon, 30 Jul 2012 08:15:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Svos5-0008R2-K1 for help-gnu-emacs@gnu.org; Mon, 30 Jul 2012 08:14:58 -0400 Original-Received: from li357-97.members.linode.com ([178.79.188.97]:52447 helo=mail.iammark.us) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svos5-0008Qr-EZ for help-gnu-emacs@gnu.org; Mon, 30 Jul 2012 08:14:49 -0400 Original-Received: from mail.iammark.us (host86-167-75-183.range86-167.btcentralplus.com [86.167.75.183]) by mail.iammark.us (Postfix) with ESMTPSA id 48C46AC2F for ; Mon, 30 Jul 2012 13:14:48 +0100 (BST) Content-Disposition: inline In-Reply-To: <20120730103328.GA9107@mark-laptop> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 178.79.188.97 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:86130 Archived-At: On Mon, Jul 30, 2012 at 11:33:28AM +0100, Mark Skilbeck wrote: > Hi, all. > > In my .emacs, I am configuring the default font with the following > code: > > (add-to-list 'default-frame-alist > '(font . "-unknown-Droid Sans Mono-normal-normal-normal-*-11-*-*-*-m-0-iso10646-1")) > > Now, if the fancy arrives and I change the theme with M-x load-theme, > for some themes the font will be changed also! This is a pain in the > rear as I must then determine (from my .emacs) the rather offensive > string included in the above excerpt. > > Can the theme system be configured to leave the font alone? > > Danke! > Setting the font in .Xdefaults appears to remedy the issue. Emacs*Font: Inconsolata-11:antialias=True emacs.FontBackend: xtf -- - mgs. if all you young men / were fish in the water how many young girls / would undress and dive after