all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@kph.uni-mainz.de>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: gsettings and daemonized emacs: wrong font in second frame
Date: Tue, 23 Aug 2011 14:20:14 +0200	[thread overview]
Message-ID: <20051.39678.231307.326765@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <4E538108.7050705@swipnet.se>

>>>>> On Tue, 23 Aug 2011, Jan Djärv wrote:

>> 1. Start emacs --daemon from Linux console.
>> 2. From within an X session, execute emacsclient -c to create a first
>> Emacs frame.
>> 3. Create a second Emacs frame (with C-x 5 2 in the first frame or
>> with another emacsclient -c, it doesn't matter how).
>> 
>> Now, in the first frame, I get Droid Sans Mono as text font, which is
>> what I set in my .Xresources. Whereas in the second frame (and all
>> following frames) the font is DejaVu Sans Mono.
>> 
>> What is going on?

> GSettings and GConf override Xresources, so if GSettings have DejaVu
> Sans Mono and font-use-system-font is t, that is the expected
> behaviour. The bug is then why the first frame doesn't use DejaVu.

> If you don't have font-use-system-font set to t, then that is
> another matter.

font-use-system-font is set to nil in my case.

> Does this happen if you start emacs -daemon -q?

Yes, it still happens with emacs -daemon -q (and site-start.el
removed). It also happens for a newly created user.

> I can not reproduce this issue.

I'm using Xfce as desktop environment, in case it should matter.

Ulrich



      reply	other threads:[~2011-08-23 12:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-22 22:15 gsettings and daemonized emacs: wrong font in second frame Ulrich Mueller
2011-08-23 10:29 ` Jan Djärv
2011-08-23 12:20   ` Ulrich Mueller [this message]

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

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

  git send-email \
    --in-reply-to=20051.39678.231307.326765@a1i15.kph.uni-mainz.de \
    --to=ulm@kph.uni-mainz.de \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.