From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1127: marked as done (Can't set default face to get the font I want) Date: Tue, 14 Oct 2008 12:10:04 -0700 Message-ID: References: <8763nv3sop.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1224011404-21424-0" X-Trace: ger.gmane.org 1224012640 9736 80.91.229.12 (14 Oct 2008 19:30:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 19:30:40 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 14 21:31:38 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 1KppcH-0002BN-CC for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 21:31:37 +0200 Original-Received: from localhost ([127.0.0.1]:51657 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KppbC-0005Qu-Ik for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 15:30:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kppal-0005G1-Vd for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 15:30:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kppal-0005FX-0W for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 15:30:03 -0400 Original-Received: from [199.232.76.173] (port=60138 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kppak-0005FM-ON for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 15:30:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34265) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kppaj-00058w-E5 for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 15:30:02 -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 m9EJTxsf026131; Tue, 14 Oct 2008 12:29:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9EJA4KH021537; Tue, 14 Oct 2008 12:10:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1127 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:21479 Archived-At: This is a multi-part message in MIME format... ------------=_1224011404-21424-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Tue, 14 Oct 2008 15:03:34 -0400 with message-id <8763nv3sop.fsf@cyd.mit.edu> and subject line Re: Can't set default face to get the font I want has caused the Emacs bug report #1127, regarding Can't set default face to get the font I want to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1127: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1127 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1224011404-21424-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.4 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_PACKAGE,MDO_DATING2,REMOVEDOT autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 9 Oct 2008 05:27:50 +0000 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 m995RlI2016717 for ; Wed, 8 Oct 2008 22:27:48 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvwIAF8x7UjO+IH3/2dsb2JhbACBcoolAbIBgWqBBw X-IronPort-AV: E=Sophos;i="4.33,382,1220241600"; d="scan'208";a="28191097" 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 01:27:41 -0400 Received: by pastel.home (Postfix, from userid 20848) id 4A06D8568; Thu, 9 Oct 2008 01:21:11 -0400 (EDT) From: Stefan Monnier To: submit@emacsbugs.donarmstrong.com Subject: Can't set default face to get the font I want Message-ID: Date: Thu, 09 Oct 2008 01:21:11 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Package: Emacs Version: 23.0.60 Please describe exactly what actions triggered the bug and the precise symptoms of the bug: After I do % xrdb -remove % src/emacs -Q --eval '(customize-face (quote default))' I seem to be unable to select my beloved "-misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-*-*". If I set family=fixed, foundry=misc, width=semicondensed, height=100, I get -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1; It appears that the "semicondensed" part is ignored. Stefan If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /home/monnier/src/emacs/work/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-10-05 on pastel Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure 'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O0' 'LDFLAGS=-L/home/monnier/src/Xaw3d' 'CPPFLAGS=-I/home/monnier/src/Xaw3d'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: fr_CH.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-undo-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t cua-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: SPC SPC N o SPC a m o u n t SPC o SPC f SPC c h a n g i n g SPC t h e SPC : f a m i l y SPC ` C-e ' SPC s e t t i n g SPC w i l l SPC c h a n g e SPC t h e SPC f o n t SPC u s e d SPC f o r SPC t h a t SPC f a c e . M-i S t e f a n A p p a e n r e n t l y SPC M-l C-a M-q C-c C-c M-x M-p Recent messages: Denied server nntp+gmane Entering debugger... Back to top level. Mark set [2 times] Auto-saving...done Mark set [2 times] Auto-saving...done Sending... Sending via mail... Sending...done ------------=_1224011404-21424-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1127-done) by emacsbugs.donarmstrong.com; 14 Oct 2008 19:03:39 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9EJ3Xjp019407 for <1127-done@emacsbugs.donarmstrong.com>; Tue, 14 Oct 2008 12:03:35 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 2A57557E04B; Tue, 14 Oct 2008 15:03:34 -0400 (EDT) From: Chong Yidong To: Kenichi Handa Cc: 1127-done@emacsbugs.donarmstrong.com Subject: Re: Can't set default face to get the font I want References: <87iqryl9jc.fsf@cyd.mit.edu> Date: Tue, 14 Oct 2008 15:03:34 -0400 In-Reply-To: (Kenichi Handa's message of "Tue, 14 Oct 2008 17:18:37 +0900") Message-ID: <8763nv3sop.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Kenichi Handa writes: > At first customize family and foudnry only, then customize > width to semi-condensed. But with the last customization of > width, internal-set-lisp-face-attribute is called as this: > > (:family unspecified) > (:width unspecified) > (:width normal) > (:family "dejavu sans mono") > (:width semi-condensed) > (:family "fixed") > > When the function is called to change width to > semi-condensed, somehow the family was already set back to > "dejavu sans mono", so, again, the font can't be changed to > semi-condensed. I've made some changes to set-face-attribute, so that it tries to sets :family and :foundry before anything else. This should solve the problem seen here. ------------=_1224011404-21424-0--