unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Mark Skilbeck <m@iammark.us>
To: help-gnu-emacs@gnu.org
Subject: Re: load-theme and changing fonts
Date: Mon, 30 Jul 2012 13:14:47 +0100	[thread overview]
Message-ID: <20120730121446.GB9107@mark-laptop> (raw)
In-Reply-To: <20120730103328.GA9107@mark-laptop>

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



  reply	other threads:[~2012-07-30 12:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-30 10:33 load-theme and changing fonts Mark Skilbeck
2012-07-30 12:14 ` Mark Skilbeck [this message]
2012-07-30 16:42   ` Peter Dyballa

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120730121446.GB9107@mark-laptop \
    --to=m@iammark.us \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).