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



Ulrich Mueller skrev 2011-08-23 00:15:
> Following scenario:
> 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.
Does this happen if you start emacs -daemon -q?

I can not reproduce this issue.

	Jan D.

>
> This happens with Emacs from today's BZR trunk. I think the relevant
> configure options are:
> --with-dbus --with-gconf --with-gsettings --with-x-toolkit=lucid
>
> If I configure --without-gsettings then the problem doesn't occur,
> i.e. then the font from .Xresources will appear in all frames.
>
> Ulrich



  reply	other threads:[~2011-08-23 10:29 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 [this message]
2011-08-23 12:20   ` Ulrich Mueller

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=4E538108.7050705@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=ulm@gentoo.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.
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.