From unknown Fri Aug 15 12:48:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12404 <12404@debbugs.gnu.org> To: bug#12404 <12404@debbugs.gnu.org> Subject: Status: 24.2; fails to load X11 resources Reply-To: bug#12404 <12404@debbugs.gnu.org> Date: Fri, 15 Aug 2025 19:48:25 +0000 retitle 12404 24.2; fails to load X11 resources reassign 12404 emacs submitter 12404 Yuri D'Elia severity 12404 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 10 11:56:14 2012 Received: (at submit) by debbugs.gnu.org; 10 Sep 2012 15:56:14 +0000 Received: from localhost ([127.0.0.1]:52454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TB6LM-0003O5-8W for submit@debbugs.gnu.org; Mon, 10 Sep 2012 11:56:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36967) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TB5Pf-00020m-AJ for submit@debbugs.gnu.org; Mon, 10 Sep 2012 10:56:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TB5P5-0006Bf-0E for submit@debbugs.gnu.org; Mon, 10 Sep 2012 10:56:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:39968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TB5P4-0006Bb-Tm for submit@debbugs.gnu.org; Mon, 10 Sep 2012 10:55:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TB5Oy-0000SE-SD for bug-gnu-emacs@gnu.org; Mon, 10 Sep 2012 10:55:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TB5Os-0006AQ-Kl for bug-gnu-emacs@gnu.org; Mon, 10 Sep 2012 10:55:52 -0400 Received: from e.thregr.org ([80.68.88.20]:53640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TB5Os-0006AJ-DG for bug-gnu-emacs@gnu.org; Mon, 10 Sep 2012 10:55:46 -0400 Received: from [193.106.183.18] (helo=[10.20.220.66]) by e.thregr.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1TB5Or-0004dU-DI for bug-gnu-emacs@gnu.org; Mon, 10 Sep 2012 16:55:45 +0200 Message-ID: <504DFF70.1040804@thregr.org> Date: Mon, 10 Sep 2012 16:55:44 +0200 From: Yuri D'Elia User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.2; fails to load X11 resources Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 10 Sep 2012 11:56:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) emacs24 seems to ignore X11 resources completely. I'm trying Debian's GTK and "Lucid" variants of emacs 24.2 and both completely ignore my X11 font resources that emacs23 has been accepting for years. I have the following set: emacs.font: -*-terminus-*-*-*-*-20-*-*-*-*-*-iso10646-1 emacs24 ignores it completely (emacs23 works as expected). I tried both emacs24/-lucid, and both end up using the following font as frame's default: -bitstream-Bitstream Vera Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-fontset-startup which is not even my default GTK font! In GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-09 on trouble, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11203902 Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.2/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Loading /etc/emacs/site-start.d/50php-elisp.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done Loading /etc/emacs/site-start.d/50pymacs.el (source)...done Loading /etc/emacs/site-start.d/50python-docutils.el (source)...done Loading /etc/emacs/site-start.d/50python-mode.el (source)...done Loading /etc/emacs/site-start.d/50w3m-el.el (source)...done Loading /etc/emacs/site-start.d/50yaml-mode.el (source)...done Loading /etc/emacs/site-start.d/51debian-el.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: /usr/share/emacs/24.2/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.2/lisp/textmodes/ispell /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.2/lisp/textmodes/flyspell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.2/lisp/textmodes/rst Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu view debian-el debian-el-loaddefs w3m-load mmm-auto mmm-vars mmm-compat cl emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 03:22:19 2012 Received: (at 12404) by debbugs.gnu.org; 11 Sep 2012 07:22:19 +0000 Received: from localhost ([127.0.0.1]:53528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBKna-0002io-GS for submit@debbugs.gnu.org; Tue, 11 Sep 2012 03:22:19 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:42924) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBKnY-0002ih-PF for 12404@debbugs.gnu.org; Tue, 11 Sep 2012 03:22:17 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TBKmu-000352-OV; Tue, 11 Sep 2012 03:21:36 -0400 From: Glenn Morris To: Yuri D'Elia Subject: Re: bug#12404: 24.2; fails to load X11 resources References: <504DFF70.1040804@thregr.org> X-Spook: SCUD missile Jyllandsposten condor AVIP Mafia quiche X-Ran: [+5DrdH/c4.2O[+"5{e2r.q,(^|REV.6bkS#sbL<0hkYI`gx*sb%&>V'Ur,Q]-*pkoZ'\4 X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 11 Sep 2012 03:21:36 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -7.3 (-------) X-Debbugs-Envelope-To: 12404 Cc: 12404@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.3 (-------) Yuri D'Elia wrote: > emacs24 seems to ignore X11 resources completely. I'm trying Debian's > GTK and "Lucid" variants of emacs 24.2 and both completely ignore my > X11 font resources that emacs23 has been accepting for years. > > I have the following set: > > emacs.font: -*-terminus-*-*-*-*-20-*-*-*-*-*-iso10646-1 > > emacs24 ignores it completely (emacs23 works as expected). > I tried both emacs24/-lucid, and both end up using the following font > as frame's default: > > -bitstream-Bitstream Vera Sans > Mono-normal-normal-normal-*-15-*-*-*-m-0-fontset-startup > > which is not even my default GTK font! It works fine for me using Debian's 24.1 package (ie, the GTK+ version), started with -q (not -Q because that ignores X resources), under XFCE, with an X resource of the form: Emacs.font: -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1 I can't remember whether Gnome settings will take precedence if Gnome services are running. So suggestion 1 is to recompile --without-gconf --without-gsettings and see if it makes a difference. Suggestion 2 is to try specifying the font completely in X resources. > In GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) > of 2012-09-09 on trouble, modified by Debian From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 11:13:27 2012 Received: (at 12404) by debbugs.gnu.org; 11 Sep 2012 15:13:27 +0000 Received: from localhost ([127.0.0.1]:54847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBS9X-0007iF-Cz for submit@debbugs.gnu.org; Tue, 11 Sep 2012 11:13:27 -0400 Received: from e.thregr.org ([80.68.88.20]:48221) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBS9V-0007i5-D2 for 12404@debbugs.gnu.org; Tue, 11 Sep 2012 11:13:26 -0400 Received: from [193.106.183.18] (helo=[10.20.220.70]) by e.thregr.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1TBS8p-0005kd-E5; Tue, 11 Sep 2012 17:12:43 +0200 Message-ID: <504F54E5.9040302@thregr.org> Date: Tue, 11 Sep 2012 17:12:37 +0200 From: Yuri D'Elia User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6 MIME-Version: 1.0 To: Glenn Morris Subject: Re: bug#12404: 24.2; fails to load X11 resources References: <504DFF70.1040804@thregr.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 12404 Cc: 12404@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.2 (--) On 09/11/2012 09:21 AM, Glenn Morris wrote: > It works fine for me using Debian's 24.1 package (ie, the GTK+ version), > started with -q (not -Q because that ignores X resources), under XFCE, > with an X resource of the form: > > Emacs.font: -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1 > > I can't remember whether Gnome settings will take precedence if Gnome > services are running. So suggestion 1 is to recompile --without-gconf > --without-gsettings and see if it makes a difference. Whoa... that was completely unexpected: gsettings get org.gnome.desktop.interface monospace-font-name 'Monospace 11' funny thing is, I absolutely have no gnome/kde installed, so I had *absolutely* no idea what I had to use to query this crap... Also, I tried the emacs24-lucid package which has --without-gconf, but not --without-gsettings and thus I have the same behavior. How can I force emacs to use X11 resources over gsettings? I have been using *font for years now to configure the default font globally, including with emacs23. This is probably a default setting pulled from the gsettings-desktop-schemas package which is in turn pulled by some weird dependencies, not something I can avoid. Also, I never configured it in the first place. I don't mind the gconf/gsettings dependency on the package, so I would like to avoid asking Debian's maintaines to build another packaged just for this. Ideas? From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 12:30:52 2012 Received: (at 12404) by debbugs.gnu.org; 11 Sep 2012 16:30:52 +0000 Received: from localhost ([127.0.0.1]:54918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBTMR-000173-Qj for submit@debbugs.gnu.org; Tue, 11 Sep 2012 12:30:52 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:53756) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBTMP-00016v-C9 for 12404@debbugs.gnu.org; Tue, 11 Sep 2012 12:30:50 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TBTLi-0005AC-OL; Tue, 11 Sep 2012 12:30:06 -0400 From: Glenn Morris To: Yuri D'Elia Subject: Re: bug#12404: 24.2; fails to load X11 resources References: <504DFF70.1040804@thregr.org> <504F54E5.9040302@thregr.org> X-Spook: Axis of Evil War on Terrorism radar Al-Qaeda ARPA X-Ran: J=([+_AN")!,m%1{8R=>vYoajg_n-wj=Gq!ScciIT:]s\o>X*#Z# X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 11 Sep 2012 12:30:06 -0400 In-Reply-To: <504F54E5.9040302@thregr.org> (Yuri D'Elia's message of "Tue, 11 Sep 2012 17:12:37 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -7.3 (-------) X-Debbugs-Envelope-To: 12404 Cc: 12404@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.3 (-------) Yuri D'Elia wrote: > Also, I tried the emacs24-lucid package which has --without-gconf, but > not --without-gsettings and thus I have the same behavior. I'm only guessing that this is a factor (the manual implies it only is if font-use-system-font is non-nil). It should be straightforward to compile your own Emacs on Debian, then you check for yourself. Start with `apt-get build-dep emacs24'. Also, I certainly have Gnome things installed, and as I said X11 resources seem to work for me with Debian's GTK Emacs 24. So do try a more complete font specification. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 14:10:27 2012 Received: (at 12404) by debbugs.gnu.org; 11 Sep 2012 18:10:27 +0000 Received: from localhost ([127.0.0.1]:55090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBUup-00069R-FI for submit@debbugs.gnu.org; Tue, 11 Sep 2012 14:10:27 -0400 Received: from mailout.attendit.se ([83.140.103.4]:34016) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBUun-00069H-Dg for 12404@debbugs.gnu.org; Tue, 11 Sep 2012 14:10:26 -0400 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.attendit.se (Postfix) with ESMTP id 5F1E250088 for <12404@debbugs.gnu.org>; Tue, 11 Sep 2012 20:03:44 +0200 (CEST) Received: (qmail 25363 invoked by uid 89); 11 Sep 2012 18:09:15 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 11 Sep 2012 18:09:15 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 88EDE7FA05E; Tue, 11 Sep 2012 20:09:39 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Subject: Re: bug#12404: 24.2; fails to load X11 resources From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <504F54E5.9040302@thregr.org> Date: Tue, 11 Sep 2012 20:09:40 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <504DFF70.1040804@thregr.org> <504F54E5.9040302@thregr.org> To: Yuri D'Elia X-Mailer: Apple Mail (2.1486) X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 12404 Cc: Glenn Morris , 12404@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) 11 sep 2012 kl. 17:12 skrev Yuri D'Elia : > On 09/11/2012 09:21 AM, Glenn Morris wrote: >> It works fine for me using Debian's 24.1 package (ie, the GTK+ = version), >> started with -q (not -Q because that ignores X resources), under = XFCE, >> with an X resource of the form: >>=20 >> Emacs.font: = -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1 >>=20 >> I can't remember whether Gnome settings will take precedence if Gnome >> services are running. So suggestion 1 is to recompile --without-gconf >> --without-gsettings and see if it makes a difference. >=20 X resources for font take precedencde, last in x_default_font_parameter: /* This call will make X resources override any system font setting. = */ x_default_parameter (f, parms, Qfont, font, "font", "Font", = RES_TYPE_STRING); >=20 > How can I force emacs to use X11 resources over gsettings? I have been = using *font for years now to configure the default font globally, = including with emacs23. >=20 X11 resources for font already takes precedence over other sources. Do you see emacs.font when you do: % xrdb -query ? Jan D. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 13 05:43:16 2012 Received: (at 12404) by debbugs.gnu.org; 13 Sep 2012 09:43:16 +0000 Received: from localhost ([127.0.0.1]:58688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TC5x6-0001un-7V for submit@debbugs.gnu.org; Thu, 13 Sep 2012 05:43:16 -0400 Received: from e.thregr.org ([80.68.88.20]:49115) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TC5wx-0001uV-IJ for 12404@debbugs.gnu.org; Thu, 13 Sep 2012 05:43:08 -0400 Received: from [193.106.183.18] (helo=[10.20.220.70]) by e.thregr.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1TC5w5-0004XH-Qe; Thu, 13 Sep 2012 11:42:13 +0200 Message-ID: <5051AA6C.8060802@thregr.org> Date: Thu, 13 Sep 2012 11:42:04 +0200 From: Yuri D'Elia User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Subject: Re: bug#12404: 24.2; fails to load X11 resources References: <504DFF70.1040804@thregr.org> <504F54E5.9040302@thregr.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 12404 Cc: Glenn Morris , 12404@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) On 09/11/2012 08:09 PM, Jan Djärv wrote: > X resources for font take precedencde, last in x_default_font_parameter: > > /* This call will make X resources override any system font setting. */ > x_default_parameter (f, parms, Qfont, font, "font", "Font", RES_TYPE_STRING); > >> How can I force emacs to use X11 resources over gsettings? I have been using *font for years now to configure the default font globally, including with emacs23. >> > > X11 resources for font already takes precedence over other sources. > Do you see emacs.font when you do: > % xrdb -query Yes, the resource is set. I was able to run emacs24 with the font resource correctly by executing it as "emacs" as opposed to "emacs24" (I guess the class name is inherited from the executable name?). From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 13 07:16:20 2012 Received: (at 12404-done) by debbugs.gnu.org; 13 Sep 2012 11:16:20 +0000 Received: from localhost ([127.0.0.1]:58876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TC7P8-00047V-W5 for submit@debbugs.gnu.org; Thu, 13 Sep 2012 07:16:19 -0400 Received: from mailout.attendit.se ([83.140.103.4]:36516) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TC7P6-00047N-II for 12404-done@debbugs.gnu.org; Thu, 13 Sep 2012 07:16:17 -0400 Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.attendit.se (Postfix) with ESMTP id 8D426501AD for <12404-done@debbugs.gnu.org>; Thu, 13 Sep 2012 13:09:25 +0200 (CEST) Received: (qmail 14077 invoked by uid 89); 13 Sep 2012 11:14:58 -0000 Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 13 Sep 2012 11:14:58 -0000 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 1696E7FA05E; Thu, 13 Sep 2012 13:15:23 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Subject: Re: bug#12404: 24.2; fails to load X11 resources From: =?iso-8859-1?Q?Jan_Dj=E4rv?= In-Reply-To: <5051AA6C.8060802@thregr.org> Date: Thu, 13 Sep 2012 13:15:10 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <4DC6C1C9-03F4-4041-8975-BB301B279313@swipnet.se> References: <504DFF70.1040804@thregr.org> <504F54E5.9040302@thregr.org> <5051AA6C.8060802@thregr.org> To: Yuri D'Elia X-Mailer: Apple Mail (2.1486) X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 12404-done Cc: Glenn Morris , 12404-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) 13 sep 2012 kl. 11:42 skrev Yuri D'Elia : > On 09/11/2012 08:09 PM, Jan Dj=E4rv wrote: >> X resources for font take precedencde, last in = x_default_font_parameter: >>=20 >> /* This call will make X resources override any system font = setting. */ >> x_default_parameter (f, parms, Qfont, font, "font", "Font", = RES_TYPE_STRING); >>=20 >>> How can I force emacs to use X11 resources over gsettings? I have = been using *font for years now to configure the default font globally, = including with emacs23. >>>=20 >>=20 >> X11 resources for font already takes precedence over other sources. >> Do you see emacs.font when you do: >> % xrdb -query >=20 > Yes, the resource is set. I was able to run emacs24 with the font = resource correctly by executing it as "emacs" as opposed to "emacs24" (I = guess the class name is inherited from the executable name?). No, the class is Emacs, but you used emacs.font. Good that it solved = itself, closing this bug as there is no Emacs error here. Jan D. From unknown Fri Aug 15 12:48:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 11 Oct 2012 11:24:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator