From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: [drew.adams@oracle.com: No default for describe-font, but one is advertised] Date: Mon, 24 Jul 2006 10:51:57 -0600 Organization: IHS Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153760021 29477 80.91.229.2 (24 Jul 2006 16:53:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Jul 2006 16:53:41 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 24 18:53:40 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G53gO-0005Hb-1j for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2006 18:53:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G53gN-0002q7-Kx for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2006 12:53:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G53gB-0002pt-Dw for emacs-devel@gnu.org; Mon, 24 Jul 2006 12:53:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G53gA-0002pU-9c for emacs-devel@gnu.org; Mon, 24 Jul 2006 12:53:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G53gA-0002pR-74 for emacs-devel@gnu.org; Mon, 24 Jul 2006 12:53:14 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1G53hG-0006DX-SO for emacs-devel@gnu.org; Mon, 24 Jul 2006 12:54:24 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G53fr-000574-6g for emacs-devel@gnu.org; Mon, 24 Jul 2006 18:52:55 +0200 Original-Received: from 207.167.42.206 ([207.167.42.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jul 2006 18:52:55 +0200 Original-Received: from ihs_4664 by 207.167.42.206 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jul 2006 18:52:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 109 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 207.167.42.206 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) In-Reply-To: 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:57552 Archived-At: Richard Stallman wrote: > Would someone please DTRT and ack? The error message is "No matching font", but it is reported because font-info returned nil, so "No info about FONTNAME" would be more accurate. But how can font-info return nil for the default font of the selected frame? Emacs is already displaying text in that font! FYI, the default font name is determined by (cdr (assq 'font (frame-parameters))) and then refined by fontset-info if fontset-query returns non-nil. > ------- Start of forwarded message ------- > From: "Drew Adams" > To: "Emacs-Pretest-Bug" > Date: Sun, 23 Jul 2006 14:14:24 -0700 > MIME-Version: 1.0 > Content-Type: text/plain; > charset="iso-8859-1" > Subject: No default for describe-font, but one is advertised > X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed > version=3.0.4 > > emacs -Q > > M-x describe-font RET > > You get this prompt: "Fontname (default current choice for ASCII chars): " > > However, hitting RET gives this error message: "No matching font" > > The prompt tells you (me at least) that there is a default value, but > hitting RET tells you that there is no default value. > > Also, shouldn't that be "Font name", not "Fontname"? > > > In GNU Emacs 22.0.50.1 (i386-msvc-nt5.1.2600) > of 2006-07-19 on BOS-CTHEWLAP2 > X server distributor `Microsoft Corp.', version 5.1.2600 > configured using `configure --with-msvc (12.00)' > > 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: ENU > locale-coding-system: cp1252 > default-enable-multibyte-characters: t > > Major mode: Help > > Minor modes in effect: > encoded-kbd-mode: t > tooltip-mode: t > tool-bar-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > unify-8859-on-encoding-mode: t > utf-translate-cjk-mode: t > auto-compression-mode: t > line-number-mode: t > view-mode: t > > Recent input: > C-h C-h > C-x 1 > C-h f d e s > c r b i b e - SPC SPC SPC > C-g C-g M-x d e s r c r i b e - f o n t > > M-x d e c r i b e - f o n t > > s > > > > Recent messages: > Loading regexp-opt...done > Loading dired...done > Loading help-mode...done > Loading help-fns...done > Making completion list... [5 times] > Quit [2 times] > Loading mule-diag...done > call-interactively: Text is read-only > No matching font [2 times] > Loading emacsbug...done > > > > _______________________________________________ > emacs-pretest-bug mailing list > emacs-pretest-bug@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug > ------- End of forwarded message ------- -- Kevin Rodgers Sr. Software Engineer, IHS