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: Fixed-pitch and variable-pitch faces Date: Mon, 09 Jun 2008 20:38:34 +0900 Message-ID: References: <871w39mcx5.fsf@stupidchicken.com> <877icz5rai.fsf@stupidchicken.com> <87bq2bus9a.fsf@stupidchicken.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1213011576 31201 80.91.229.12 (9 Jun 2008 11:39:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Jun 2008 11:39:36 +0000 (UTC) Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, cloos@jhcloos.com, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 09 13:40:18 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 1K5fiq-0004eX-R0 for ged-emacs-devel@m.gmane.org; Mon, 09 Jun 2008 13:39:37 +0200 Original-Received: from localhost ([127.0.0.1]:58569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5fi3-0006FM-Bv for ged-emacs-devel@m.gmane.org; Mon, 09 Jun 2008 07:38:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5fhz-0006F7-E0 for emacs-devel@gnu.org; Mon, 09 Jun 2008 07:38:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5fhy-0006Ev-Qa for emacs-devel@gnu.org; Mon, 09 Jun 2008 07:38:43 -0400 Original-Received: from [199.232.76.173] (port=52640 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5fhy-0006Es-Jw for emacs-devel@gnu.org; Mon, 09 Jun 2008 07:38:42 -0400 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:43003) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5fhu-0000CL-0h; Mon, 09 Jun 2008 07:38:38 -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 m59BbxG3015906; Mon, 9 Jun 2008 20:38:35 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.16] [10.29.19.16]) by relay21.aps.necel.com with ESMTP; Mon, 9 Jun 2008 20:38:35 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.112.215] [10.114.112.215]) by relay21.aps.necel.com with ESMTP; Mon, 9 Jun 2008 20:38:35 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id B6ECB468; Mon, 9 Jun 2008 20:38:34 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: (Kenichi Handa's message of "Mon, 09 Jun 2008 20:06:21 +0900") Original-Lines: 37 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:98793 Archived-At: --=-=-= Kenichi Handa writes: >> but, if I try to change the family of the `default' face to Aurulent >> Sans Mono, instead, emacs uses: > >> -xos4-Terminus-normal-normal-normal-*-16-*-*-*-c-*-iso8859-1 > > Hmmm, strange. In my environment, > ESC : (set-frame-font "Aurulent Sans Mono") > surely works. Oddly _that_ works for me too, as does the "-fn" option. It's `customize-face' and `set-face-attribute' that don't seem to work. The set-face-attribute form I tried to use was: (set-face-attribute 'default nil :family "Aurulent Sans Mono") > Please try this: Since the -fn option apparently works correctly, I tried your gdb recipe with the above set-face-attribute form, setting the breakpoint just before I evaluated that form in the *scratch* buffer. I've attached the gdb session. Thanks, -Miles --=-=-= Content-Disposition: attachment; filename=gdb-trace-2 Content-Transfer-Encoding: quoted-printable Content-Description: gdb session Current directory is /usr/local/build/emacs/devo/src/ GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from te= rminal] DISPLAY =3D :0.0 TERM =3D dumb Breakpoint 1 at 0x81183b6: file /usr/local/src/emacs/devo/src/emacs.c, line= 427. Breakpoint 2 at 0x8133019: file /usr/local/src/emacs/devo/src/sysdep.c, lin= e 1322. (gdb) unset environ Delete all environment variables? (y or n) y (gdb) set env HOME /tmp (gdb) set env DISPLAY :0.0 (gdb) set env XAUTHORITY /tmp/.gdmTL1FCU (gdb) set env PATH /usr/bin:/bin (gdb) run Starting program: /usr/local/build/emacs/devo/src/emacs=20 [Thread debugging using libthread_db enabled] [New Thread 0xb7128720 (LWP 8480)] C-c C-z Program received signal SIGTSTP, Stopped (user). [Switching to Thread 0xb7128720 (LWP 8480)] 0xb7fca424 in __kernel_vsyscall () (gdb) break ftfont_list Breakpoint 3 at 0x81d8019: file /usr/local/src/emacs/devo/src/ftfont.c, lin= e 623. (gdb) c Continuing. Breakpoint 3, ftfont_list (frame=3D147286812, spec=3D138058100) at /usr/loc= al/src/emacs/devo/src/ftfont.c:623 (gdb) pp spec # (gdb) fin Run till exit from #0 ftfont_list (frame=3D147286812, spec=3D138058100) at= /usr/local/src/emacs/devo/src/ftfont.c:623 0x081d9fda in xftfont_list (frame=3D147286812, spec=3D138058100) at /usr/lo= cal/src/emacs/devo/src/xftfont.c:158 Value returned is $2 =3D 147779013 (gdb) pr (# # # # # # #= # # # # # # # # # # # # # # # # # # # = # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #) (gdb) c Continuing. --=-=-= -- Alliance, n. In international politics, the union of two thieves who have their hands so deeply inserted in each other's pockets that they cannot separately plunder a third. --=-=-=--