From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: gsettings and daemonized emacs: wrong font in second frame Date: Tue, 23 Aug 2011 14:20:14 +0200 Message-ID: <20051.39678.231307.326765@a1i15.kph.uni-mainz.de> References: <20050.54546.587316.980158@a1i15.kph.uni-mainz.de> <4E538108.7050705@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1314102029 16939 80.91.229.12 (23 Aug 2011 12:20:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Aug 2011 12:20:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 23 14:20:25 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qvpxw-0001nO-13 for ged-emacs-devel@m.gmane.org; Tue, 23 Aug 2011 14:20:24 +0200 Original-Received: from localhost ([::1]:43703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qvpxv-0005dK-37 for ged-emacs-devel@m.gmane.org; Tue, 23 Aug 2011 08:20:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qvpxs-0005dB-T8 for emacs-devel@gnu.org; Tue, 23 Aug 2011 08:20:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qvpxr-0001Im-Sl for emacs-devel@gnu.org; Tue, 23 Aug 2011 08:20:20 -0400 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:37770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qvpxr-0001Id-L3 for emacs-devel@gnu.org; Tue, 23 Aug 2011 08:20:19 -0400 Original-Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.4/8.13.4) with ESMTP id p7NCKFYs032475; Tue, 23 Aug 2011 14:20:15 +0200 Original-Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.4/8.14.2) with ESMTP id p7NCKErq010762; Tue, 23 Aug 2011 14:20:15 +0200 Original-Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.5/8.14.5/Submit) id p7NCKEuC010760; Tue, 23 Aug 2011 14:20:14 +0200 In-Reply-To: <4E538108.7050705@swipnet.se> X-Mailer: VM 8.1.1 under 23.3.1 (x86_64-pc-linux-gnu) X-MIME-Autoconverted: from 8bit to quoted-printable by a1iwww1.kph.uni-mainz.de id p7NCKFYs032475 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 134.93.134.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143535 Archived-At: >>>>> On Tue, 23 Aug 2011, Jan Dj=E4rv 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). >>=20 >> 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. >>=20 >> 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