From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: What is the proper way to set the default font these days? Date: Mon, 08 Jun 2009 14:22:09 +0900 Message-ID: References: <7b501d5c0906060758n3113b6cdr37a5635b389428b8@mail.gmail.com> <87ab4k3g04.fsf@catnip.gol.com> <4A2BB621.201@harpegolden.net> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1244438557 21586 80.91.229.12 (8 Jun 2009 05:22:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jun 2009 05:22:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 08 07:22:34 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MDXJV-000405-Hm for ged-emacs-devel@m.gmane.org; Mon, 08 Jun 2009 07:22:29 +0200 Original-Received: from localhost ([127.0.0.1]:45259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDXJU-00024V-4j for ged-emacs-devel@m.gmane.org; Mon, 08 Jun 2009 01:22:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MDXJN-00022v-Df for emacs-devel@gnu.org; Mon, 08 Jun 2009 01:22:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MDXJI-0001zO-EC for emacs-devel@gnu.org; Mon, 08 Jun 2009 01:22:20 -0400 Original-Received: from [199.232.76.173] (port=33550 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDXJH-0001z9-Uk for emacs-devel@gnu.org; Mon, 08 Jun 2009 01:22:16 -0400 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:56739) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MDXJF-00021i-OA; Mon, 08 Jun 2009 01:22:14 -0400 Original-Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n585MA5c002496; Mon, 8 Jun 2009 14:22:10 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay11.aps.necel.com with ESMTP; Mon, 8 Jun 2009 14:22:10 +0900 Original-Received: from dhlpc061 ([10.114.114.32] [10.114.114.32]) by relay11.aps.necel.com with ESMTP; Mon, 8 Jun 2009 14:22:10 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id 74A7852E1BA; Mon, 8 Jun 2009 14:22:10 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: <4A2BB621.201@harpegolden.net> (David De La Harpe Golden's message of "Sun, 07 Jun 2009 13:44:17 +0100") Original-Lines: 36 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111372 Archived-At: David De La Harpe Golden writes: > ? It was my understanding (which could be flawed) that applications > never look at .Xdefaults, it's up to you to do an > > xrdb -merge .Xdefaults No, ~/.Xdefaults is read directly by applications, without using the server's database (which is what xrdb manipulates). I like using it because I often used to forget to re-run xrdb after making a change, and using .Xdefaults allows me to omit that step. The "rules" (by my observation) are a bit bizarre: If there's _anything_ in the server's database, even entries for an unrelated application, then ~/.Xdefaults is completely ignored, and only entries from the server database are used; otherwise ~/.Xdefaults is used. [Gnome's interfering entries aren't related to Emacs at all, it just puts some random crap in there, but that's enough to screw up Emacs too.] You'd think it would be more useful to automagically _merge_ the server database with the contents of ~/.Xdefaults, but that's not what the X libraries do. Anyway, thanks for the tip on getting Gnome to stop screwing things up; I'll try it... Thanks, -Miles -- "Don't just question authority, Don't forget to question me." -- Jello Biafra