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: default default face Date: Tue, 24 Jun 2008 11:24:28 +0900 Message-ID: References: <87ve00byh5.fsf@stupidchicken.com> <877icgjc9u.fsf@stupidchicken.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 1214274293 32723 80.91.229.12 (24 Jun 2008 02:24:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2008 02:24:53 +0000 (UTC) Cc: emacs-devel@gnu.org, Kenichi Handa To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 24 04:25:37 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 1KAyDu-0008H1-Pv for ged-emacs-devel@m.gmane.org; Tue, 24 Jun 2008 04:25:35 +0200 Original-Received: from localhost ([127.0.0.1]:46283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAyD5-0006E6-7a for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2008 22:24:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAyD0-0006Dj-NL for emacs-devel@gnu.org; Mon, 23 Jun 2008 22:24:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAyCy-0006DX-Bm for emacs-devel@gnu.org; Mon, 23 Jun 2008 22:24:37 -0400 Original-Received: from [199.232.76.173] (port=43318 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAyCy-0006DU-4P for emacs-devel@gnu.org; Mon, 23 Jun 2008 22:24:36 -0400 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:59285) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KAyCu-00028R-4D; Mon, 23 Jun 2008 22:24:32 -0400 Original-Received: from relay21.aps.necel.com ([10.29.19.50]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id m5O2OTHR000017; Tue, 24 Jun 2008 11:24:29 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay21.aps.necel.com with ESMTP; Tue, 24 Jun 2008 11:24:29 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.112.215] [10.114.112.215]) by relay11.aps.necel.com with ESMTP; Tue, 24 Jun 2008 11:24:29 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id 2982B3F2; Tue, 24 Jun 2008 11:24:28 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <877icgjc9u.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 23 Jun 2008 13:23:41 -0400") Original-Lines: 39 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:99818 Archived-At: Chong Yidong writes: >>> It seems like it should be "Monospace" by default too, just like the >>> `fixed' face. > > WDYT about making changing the defaults as follows: > > --- trunk/src/xrdb.c.~1.65.~ 2008-06-02 12:27:57.000000000 -0400 .. > - char *helv = "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1"; > + char *helv = "Sans"; > > #ifdef USE_MOTIF > - char *courier = "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1"; > + char *courier = "Monospace"; > extern Lisp_Object Vdouble_click_time; > #endif Is that enough? A grep for "courier" finds the following: ./src/widget.c:#define DEFAULT_FACE_FONT "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" ./src/xfns.c: = { "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1", ./src/xrdb.c: char *courier = "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1"; ./lisp/org/org-exp.el: font-family: courier, monospace; ./lisp/play/gamegrid.el:(defvar gamegrid-font "-*-courier-medium-r-*-*-*-140-100-75-*-*-iso8859-*" ./lisp/faces.el: '(("Monospace" "courier" "fixed") ./lisp/faces.el: ("courier" "fixed") ./lisp/textmodes/tex-mode.el: '((t :family "courier")) [I removed a bunch of false hits, e.g. the ps-print stuff, and the hardwired font menus in mouse.el] Also, isn't the canonical fontconfig name "Sans-Serif"? Thanks, -Miles -- Philosophy, n. A route of many roads leading from nowhere to nothing.