From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: [ihs_4664@yahoo.com: Re: [drew.adams@oracle.com: No default for describe-font, but one is advertised]] Date: Thu, 03 Aug 2006 12:48:13 +0900 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1154576969 26751 80.91.229.2 (3 Aug 2006 03:49:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Aug 2006 03:49:29 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 03 05:49:28 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 1G8UD8-0001bj-C1 for ged-emacs-devel@m.gmane.org; Thu, 03 Aug 2006 05:49:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8UD7-0004Hj-Sh for ged-emacs-devel@m.gmane.org; Wed, 02 Aug 2006 23:49:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G8UCv-0004GL-KM for emacs-devel@gnu.org; Wed, 02 Aug 2006 23:49:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G8UCs-0004CC-KP for emacs-devel@gnu.org; Wed, 02 Aug 2006 23:49:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8UCs-0004C9-Go for emacs-devel@gnu.org; Wed, 02 Aug 2006 23:49:10 -0400 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G8UG6-0001Y9-Ls; Wed, 02 Aug 2006 23:52:31 -0400 Original-Received: from smtp2.aist.go.jp ([150.29.246.12]) by mx1.aist.go.jp with ESMTP id k733n2nm021671; Thu, 3 Aug 2006 12:49:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id k733n14j019017; Thu, 3 Aug 2006 12:49:01 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1G8UBx-0000RB-00; Thu, 03 Aug 2006 12:48:13 +0900 Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Tue, 01 Aug 2006 16:09:10 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) 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:58029 Archived-At: In article , Richard Stallman writes: > Sorry for the late response. Actually, I originally wrote > describe-font and font-info for debugging fontset facility, > and forgot about them once they became unnecessary. :-( > When you say "they became unnecessary", do you mean we might > as well delete them? They became unnecessary for me because the part of fontset debugging that used those functions were finished. It's my fault to keep those functions in a half-finished status, sorry. Their precise behaviour is not clear, and thus not well documented. > Anyway, would you please DTRT and ack? As I still don't have a clear image about what kind of information font-info should return, and how describe-font should show that information to user, I don't want to change font-info itself at the moment. So, I'd like to do these: (1) Explicitly say "Internal use only." in the docstring of font-info. (2) Improve describe-font to show more reasonable messages (as already suggested). Improve the docsting. Kevin Rodgers writes: > Can you address this question, which was also omitted: >>> But how can font-info return nil for the default font of >>> the selected frame? Emacs is already displaying text in that font! > FYI, on Windows the problematic font name is > "-outline-Courier New-normal-r-normal-normal-13-97-96-96-c-*-iso8859-1" > (the asterisk is in the average width component) As I wrote, I don't know. It seems that something (perhaps the function `query_font_func') is not correctly working on Windows port. --- Kenichi Handa handa@m17n.org