From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jari Aalto Newsgroups: gmane.emacs.bugs Subject: Re: font-info returns nil on default font (emacs -q) -- BUG? Date: Wed, 13 Oct 2004 10:36:48 +0300 Organization: Elisa Internet customer Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097653092 26097 80.91.229.6 (13 Oct 2004 07:38:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2004 07:38:12 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 13 09:37:59 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 1CHdhu-0007tz-00 for ; Wed, 13 Oct 2004 09:37:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHdow-00009x-AJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Oct 2004 03:45:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CHdob-0008WM-B1 for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2004 03:44:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CHdoa-0008Ve-AC for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2004 03:44:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHdoZ-0008VV-VX for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2004 03:44:52 -0400 Original-Received: from [130.59.10.2] (helo=chx400.switch.ch) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CHdh6-0001zc-JU for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2004 03:37:08 -0400 Original-Received: from smtp32.kolumbus.fi ([193.229.0.37]) by chx400.switch.ch with esmtp (Exim 3.20 #1) id 1CHdh3-0004I0-00 for gnu-emacs-bug@moderators.isc.org; Wed, 13 Oct 2004 09:37:05 +0200 Original-Received: from news.kolumbus.fi (news.kolumbus.fi [193.229.0.31]) by smtp32.kolumbus.fi (8.12.10/8.12.4) with ESMTP id i9D7b4mR001623 for ; Wed, 13 Oct 2004 10:37:04 +0300 (EEST) Original-Received: (from news@localhost) by news.kolumbus.fi (8.11.6+Sun/8.11.6) id i9D7b3q13745 for gnu-emacs-bug@moderators.isc.org; Wed, 13 Oct 2004 10:37:03 +0300 (EEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 23 Original-NNTP-Posting-Host: a81-197-3-110.elisa-laajakaista.fi Original-X-Trace: phys-news1.kolumbus.fi 1097653023 12271 81.197.3.110 (13 Oct 2004 07:37:03 GMT) Original-X-Complaints-To: abuse@kolumbus.fi Original-NNTP-Posting-Date: Wed, 13 Oct 2004 07:37:03 +0000 (UTC) User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:w03R2BK78IOUI4RsOU9q9KzALMs= 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9296 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9296 * Thu 2004-09-23 Drew Adams gnu.emacs.bug | 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. | | ...I get nil with font-info. ... x-decompose-font-name works fine | | | The (default) font is apparently this: | "-outline-Courier New-normal-r-normal-normal-13-97-96-96-c-80-iso8859-1" Indeed this is strange: (font-info (cdr (assq 'font (frame-parameters)))) --> nil (x-decompose-font-name (cdr (assq 'font (frame-parameters)))) --> ["outline" "Courier New" "normal" "r" "normal" "normal" "13" "97" "96" "96" "c" "80" ...] Jari