unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Yuri D'Elia <wavexx@thregr.org>
Cc: 12404-done@debbugs.gnu.org
Subject: bug#12404: 24.2; fails to load X11 resources
Date: Thu, 13 Sep 2012 13:15:10 +0200	[thread overview]
Message-ID: <4DC6C1C9-03F4-4041-8975-BB301B279313@swipnet.se> (raw)
In-Reply-To: <5051AA6C.8060802@thregr.org>


13 sep 2012 kl. 11:42 skrev Yuri D'Elia <wavexx@thregr.org>:

> 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?).

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.






      reply	other threads:[~2012-09-13 11:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-10 14:55 bug#12404: 24.2; fails to load X11 resources Yuri D'Elia
2012-09-11  7:21 ` Glenn Morris
2012-09-11 15:12   ` Yuri D'Elia
2012-09-11 16:30     ` Glenn Morris
2012-09-11 18:09     ` Jan Djärv
2012-09-13  9:42       ` Yuri D'Elia
2012-09-13 11:15         ` Jan Djärv [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

  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=4DC6C1C9-03F4-4041-8975-BB301B279313@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=12404-done@debbugs.gnu.org \
    --cc=wavexx@thregr.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 public inbox

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

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).