From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#3228: 23.0.93; GTK font selection: asked for Courier, got Nimbus Date: Fri, 17 Aug 2012 17:10:06 +0800 Message-ID: <877gsxnatt.fsf@gnu.org> References: <874no2x4fy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1345194675 6920 80.91.229.3 (17 Aug 2012 09:11:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Aug 2012 09:11:15 +0000 (UTC) Cc: svenjoac@gmx.de, 3228@debbugs.gnu.org To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 17 11:11:15 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T2IaG-0002Tb-On for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Aug 2012 11:11:12 +0200 Original-Received: from localhost ([::1]:38002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2IaF-0006NL-JP for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Aug 2012 05:11:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2IaD-0006NG-E9 for bug-gnu-emacs@gnu.org; Fri, 17 Aug 2012 05:11:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2IaC-0003Es-Ai for bug-gnu-emacs@gnu.org; Fri, 17 Aug 2012 05:11:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2IaC-0003Eo-6i for bug-gnu-emacs@gnu.org; Fri, 17 Aug 2012 05:11:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T2Iin-00033b-Pv for bug-gnu-emacs@gnu.org; Fri, 17 Aug 2012 05:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Aug 2012 09:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3228 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 3228-submit@debbugs.gnu.org id=B3228.134519515011689 (code B ref 3228); Fri, 17 Aug 2012 09:20:01 +0000 Original-Received: (at 3228) by debbugs.gnu.org; 17 Aug 2012 09:19:10 +0000 Original-Received: from localhost ([127.0.0.1]:34730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2Ihx-00032T-Hy for submit@debbugs.gnu.org; Fri, 17 Aug 2012 05:19:10 -0400 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:33651) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2Ihv-00032L-6u for 3228@debbugs.gnu.org; Fri, 17 Aug 2012 05:19:08 -0400 Original-Received: by pbbrr4 with SMTP id rr4so3676110pbb.3 for <3228@debbugs.gnu.org>; Fri, 17 Aug 2012 02:10:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=dyuaVu/R/PtQLdcQJDKzntyI/GGNiuhd07viIsJK8fc=; b=yLl7CC92wYZj8m6jnOW9hM3vQwZENhNvHMyO6UB8qEqmK5jv/f8rNkkMxeo+v2qUCc jMH3aPTdnzIBe65mWed5BDIovzDduO7Mi5uHl59ZK97qL4jTsS5ayHM942IrydpoF4FT lvAzzf0FIEg1onLGXMVjvwdbw5qQYRy+0c2uGM/rVvKpXsHxibMi9af6US+iYFDfpqJz ooOey5+uy+0BZNVnTGMA4NL0/0obxlaA/MRT2YJLhs4PjnpaEUdUWiMClmjr4JdLowJS 8EEbfhuPVBwIfwWA9K45kw9RTOSggerk2mP9CxvElg7CMmre2TPx15A3khOsv5ZJG9qB y5Sw== Original-Received: by 10.68.230.232 with SMTP id tb8mr10002856pbc.19.1345194612410; Fri, 17 Aug 2012 02:10:12 -0700 (PDT) Original-Received: from ulysses ([155.69.16.6]) by mx.google.com with ESMTPS id nr2sm4530342pbc.48.2012.08.17.02.10.09 (version=SSLv3 cipher=OTHER); Fri, 17 Aug 2012 02:10:11 -0700 (PDT) In-Reply-To: <874no2x4fy.fsf@gnu.org> (Kenichi Handa's message of "Fri, 17 Aug 2012 00:05:37 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63242 Kenichi Handa writes: >> > But, x-select-font is called from mouse-appearance-menu (in >> > mouse.el) too, and it does something like this: > >> > (buffer-face-mode-invoke (font-face-attributes (x-select-font)) ...) > >> > and thus the :type information is lost by >> > font-face-attributes. I don't know why we need >> > font-face-attributes here. > > How did you solve it? Or, is it not a problem? Sorry, I missed that. I just committed a fix. If x-select-font returns a font spec, mouse-appearance-menu now calls (buffer-face-mode-invoke (list :font font) ...) This required fixing xfaces.c to allow face-remapping using :font, which was previously broken.