From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.windows,gmane.emacs.bugs,gmane.emacs.help Subject: font-info returns nil on default font (emacs -q) -- BUG? Date: Thu, 23 Sep 2004 21:59:59 -0700 Sender: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1096002052 25529 80.91.229.6 (24 Sep 2004 05:00:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2004 05:00:52 +0000 (UTC) Original-X-From: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Fri Sep 24 07:00:41 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAiCG-0005gh-00 for ; Fri, 24 Sep 2004 07:00:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAiIK-0001qO-Jf for gnu-help-emacs-windows@m.gmane.org; Fri, 24 Sep 2004 01:06:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CAiI2-0001nk-2c for help-emacs-windows@gnu.org; Fri, 24 Sep 2004 01:06:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CAiHz-0001nX-0K for help-emacs-windows@gnu.org; Fri, 24 Sep 2004 01:06:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAiHy-0001nU-T9; Fri, 24 Sep 2004 01:06:34 -0400 Original-Received: from [141.146.126.231] (helo=agminet04.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CAiBg-0006Z6-FH; Fri, 24 Sep 2004 01:00:04 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.191.11]) by agminet04.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i8O501Ai015944; Thu, 23 Sep 2004 22:00:01 -0700 Original-Received: from rgmgw2.us.oracle.com (localhost [127.0.0.1]) by rgmgw2.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i8O500qT013468; Thu, 23 Sep 2004 23:00:00 -0600 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-81-200.vpn.oracle.com [141.144.81.200]) by rgmgw2.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id i8O500Ml013455; Thu, 23 Sep 2004 23:00:00 -0600 Original-To: , "Help-Gnu-Emacs" , "Help-Emacs-Windows" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-BeenThere: help-emacs-windows@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion forum for users of the GNU Emacs port to Windows List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.windows:2290 gmane.emacs.bugs:9068 gmane.emacs.help:20849 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9068 Don't know if this is a bug, because I don't know much about font functions. Function font-info's doc string says that it returns nil if the argument font is not yet loaded. I'm not sure what "loaded" means here, but with vanilla Emacs I would expect that the font used is "loaded". However, I get nil with font-info. I'm on GNU Emacs 21.3.50.1 (i386-mingw-nt5.1.2600) of 2004-07-26 on BERATUNG4. I'm on Windows XP SP1. The (default) font is apparently this: "-outline-Courier New-normal-r-normal-normal-13-97-96-96-c-80-iso8859-1" x-decompose-font-name works fine, but font-info returns nil. Is this correct behavior or a bug?