From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#1126: Xresources override face settings Date: Thu, 09 Oct 2008 23:00:54 -0400 Message-ID: References: <87abddjpor.fsf@cyd.mit.edu> Reply-To: Stefan Monnier , 1126@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223609417 15116 80.91.229.12 (10 Oct 2008 03:30:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Oct 2008 03:30:17 +0000 (UTC) Cc: 1126@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 10 05:31:14 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ko8ie-0007Aq-Do for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Oct 2008 05:31:12 +0200 Original-Received: from localhost ([127.0.0.1]:42477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ko8ha-00043N-3Z for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 23:30:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ko8hW-00042V-1u for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 23:30:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ko8hU-000428-Tb for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 23:30:01 -0400 Original-Received: from [199.232.76.173] (port=57385 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ko8hU-000424-Op for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 23:30:00 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36160) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ko8hU-0001zK-V0 for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 23:30:01 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9A3TwLh023500; Thu, 9 Oct 2008 20:29:58 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9A3A3JV018908; Thu, 9 Oct 2008 20:10:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 10 Oct 2008 03:10:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1126 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1126-submit@emacsbugs.donarmstrong.com id=B1126.122360766416845 (code B ref 1126); Fri, 10 Oct 2008 03:10:03 +0000 Original-Received: (at 1126) by emacsbugs.donarmstrong.com; 10 Oct 2008 03:01:04 +0000 Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9A310Fj016839 for <1126@emacsbugs.donarmstrong.com>; Thu, 9 Oct 2008 20:01:02 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsAEAA9i7kjO+IH3/2dsb2JhbACBcrxpgWqBCQ X-IronPort-AV: E=Sophos;i="4.33,385,1220241600"; d="scan'208";a="28243134" Original-Received: from 206-248-129-247.dsl.teksavvy.com (HELO pastel.home) ([206.248.129.247]) by ironport2-out.teksavvy.com with ESMTP; 09 Oct 2008 23:00:55 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id F1AF68568; Thu, 9 Oct 2008 23:00:54 -0400 (EDT) In-Reply-To: <87abddjpor.fsf@cyd.mit.edu> (Chong Yidong's message of "Thu, 09 Oct 2008 19:48:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 09 Oct 2008 23:30:01 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21367 Archived-At: >> % xrdb -remove >> % echo 'Emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-*-*' | xrdb -load >> % src/emacs -Q --eval '(customize-face (quote variable-pitch))' >> >> I get a buffer that shows that `variable-pitch' should use a "Sans >> Serif" family, yet C-u C-x = on the "sample" text shows that it's >> actually using >> -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1. > The `variable-pitch' face is defined with `Sans Serif' as the family in > faces.el. The font backend regards `Sans Serif' as a match for `fixed', > in accordance with face-font-family-alternatives. I'm not sure what the > problem is; could you elaborate? I do have "Sans Serif", it is normally mapped to Vera Bitstream, by fontconfig, not to "fixed". And if I change "Sans Serif" to something else, it makes no difference, no matter what I type in that field. I just figured that I can "fix" things by setting variable-pitch's `width' to `medium' rather than to unset (which falls back on the default face's `semicondensed'). Stefan