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: font-related hanging / general brokenness Date: Mon, 23 Jun 2008 13:35:06 +0900 Message-ID: References: <874p7lvrjm.fsf@catnip.gol.com> 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 1214195727 9340 80.91.229.12 (23 Jun 2008 04:35:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2008 04:35:27 +0000 (UTC) Cc: emacs-devel@gnu.org, Kenichi Handa To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 23 06:36:11 2008 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 1KAdmk-0007ZR-Vz for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2008 06:36:11 +0200 Original-Received: from localhost ([127.0.0.1]:35321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAdlv-0005wv-9n for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2008 00:35:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAdlr-0005we-0W for emacs-devel@gnu.org; Mon, 23 Jun 2008 00:35:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAdlp-0005wS-MG for emacs-devel@gnu.org; Mon, 23 Jun 2008 00:35:14 -0400 Original-Received: from [199.232.76.173] (port=55129 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAdlp-0005wJ-HF for emacs-devel@gnu.org; Mon, 23 Jun 2008 00:35:13 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]:38933) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KAdll-0006o7-Vw; Mon, 23 Jun 2008 00:35:10 -0400 Original-Received: from relay11.aps.necel.com ([10.29.19.46]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id m5N4Yu1T028502; Mon, 23 Jun 2008 13:35:07 +0900 (JST) Original-Received: from relay31.aps.necel.com ([10.29.19.24] [10.29.19.24]) by relay11.aps.necel.com with ESMTP; Mon, 23 Jun 2008 13:35:07 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.112.215] [10.114.112.215]) by relay31.aps.necel.com with ESMTP; Mon, 23 Jun 2008 13:35:07 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id DB73E3F1; Mon, 23 Jun 2008 13:35:06 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: (Stefan Monnier's message of "Sun, 22 Jun 2008 23:05:43 -0400") Original-Lines: 62 X-detected-kernel: 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:99756 Archived-At: Stefan Monnier writes: > Hmm... I don't see that. I have "Emacs.font: fixed" in "xrdb -query" > and a .emacs that contains just (custom-set-faces '(default ((t :font > "Sans")))), and the first frame along with all subsequent ones uses > "Sans". > > Can you try and come up with a more precise recipe? Hmm I tried to make a more precise test case. I used the following /tmp/.emacs files (differing only in the :family of the `default' face): A) (custom-set-faces '(default ((t (:stipple nil :background "white" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "unknown" :family "DejaVu Sans Mono"))))) B) (custom-set-faces '(default ((t (:stipple nil :background "white" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "unknown" :family "Monospace"))))) and the following test cases: 1) xrdb -remove LANG=C HOME=/tmp \emacs & 2) xrdb -remove echo 'Emacs*Font: Dejavu Sans Mono-8' | xrdb LANG=C HOME=/tmp \emacs & I've used the following abbreviations for fonts. [The font-specs are what's output by `C-u C-x ='). Note that "11" below corresponds to the "8" in Dejavu Sans Mono-8", and "16" below corresponds to ":height 120" in the custom settings, according to whatever weird relationship there is between specified and actual point sizes.] DjMo16 = -unknown-DejaVu Sans Mono-normal-normal-normal-*-16-*-*-*-m-0-iso8859-1 DjMo11 = -unknown-DejaVu Sans Mono-normal-normal-normal-*-11-*-*-*-m-0-iso8859-1 BvMo16 = -bitstream-Bitstream Vera Sans Mono-normal-normal-normal-*-16-*-*-*-m-0-iso8859-1 BvSa16 = -bitstream-Bitstream Vera Sans-normal-normal-normal-*-16-*-*-*-*-0-iso8859-1 BvSa11 = -bitstream-Bitstream Vera Sans-normal-normal-normal-*-11-*-*-*-*-0-iso8859-1 UnMo16 = -urw-nimbus mono l-regular-r-normal--16-116-100-100-p-100-iso8859-1 Here are the resulting faces; I've appended a "*" to things I think are wrong: A1 A2 B1 B2 ---------------------------------------------------------------- initial `default' DjMo16 DjMo16 BvMo16 BvMo16 initial `variable-pitch' BvSa16 BvSa16 BvSa16 BvSa16 C-x 5 2 `default' DjMo16 DjMo16 UnMo16* DjMo11* C-x 5 2 `variable-pitch' BvSa16 BvSa11* BvSa16 BvSa11* The "UnMo16" result seems particular bizarre... -Miles -- "Don't just question authority, Don't forget to question me." -- Jello Biafra