From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#2949: 23.0.92; font-info incompatible across Emacs versions Date: Tue, 14 Apr 2009 21:41:22 +0900 Message-ID: References: <87ws9rqeza.fsf@catnip.gol.com> <000601c9bacd$14ef5120$0200a8c0@us.oracle.com> Reply-To: Kenichi Handa , 2949@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1239714285 29390 80.91.229.12 (14 Apr 2009 13:04:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Apr 2009 13:04:45 +0000 (UTC) Cc: miles@gnu.org To: Drew Adams , 2949@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 14 15:06:03 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LtiKa-0001Sz-QY for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Apr 2009 15:05:53 +0200 Original-Received: from localhost ([127.0.0.1]:46534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtiJB-0005jq-Ij for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Apr 2009 09:04:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtiIy-0005ek-2n for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2009 09:04:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtiIs-0005cD-PZ for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2009 09:03:59 -0400 Original-Received: from [199.232.76.173] (port=53769 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtiIs-0005c3-71 for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2009 09:03:54 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44141) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LtiIr-0008QT-BN for bug-gnu-emacs@gnu.org; Tue, 14 Apr 2009 09:03:53 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3ED3o3t022886; Tue, 14 Apr 2009 06:03:51 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3ECj4rf017527; Tue, 14 Apr 2009 05:45:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 14 Apr 2009 12:45:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2949 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2949-submit@emacsbugs.donarmstrong.com id=B2949.123971287817092 (code B ref 2949); Tue, 14 Apr 2009 12:45:04 +0000 Original-Received: (at 2949) by emacsbugs.donarmstrong.com; 14 Apr 2009 12:41:18 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3ECfEOK017086 for <2949@emacsbugs.donarmstrong.com>; Tue, 14 Apr 2009 05:41:15 -0700 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n3ECfCjV013961; Tue, 14 Apr 2009 21:41:12 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n3ECfCE4007411; Tue, 14 Apr 2009 21:41:12 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id n3ECfC1t004703; Tue, 14 Apr 2009 21:41:12 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1Lthx4-0006EB-Jm; Tue, 14 Apr 2009 21:41:22 +0900 In-reply-to: <000601c9bacd$14ef5120$0200a8c0@us.oracle.com> (drew.adams@oracle.com) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 14 Apr 2009 09:03:59 -0400 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27166 In article <000601c9bacd$14ef5120$0200a8c0@us.oracle.com>, "Drew Adams" writes: > > > In Emacs 20, `font-info' returns an array like this: ... > > > In Emacs 22 and later, it returns an array like this: ... > > > This breaks any code that tries to use the result with > > > different Emacs versions. > > > > So.... what exactly do you want to happen? > > > > The two formats look easy enough to distinguish. Since the change > > occurred in 22, it's been widely released, so obviously 3rd-party code > > simply has to be prepared to deal with it (if they care about 21 and > > older versions), and there's little point in changing it back now. Actually the change occurred in Emacs 21. > I guess nothing can be done. > But I do wonder why CHARSET was dropped from both `font-info' and > `describe-font'. There seems to be nothing about this in NEWS (e.g. for Emacs > 22). Is the character set no longer meaningful? useful? appropriate? > discoverable? I vaguely remember that the change was within a big change of fontset implementation to match with Gerd's new display engine for the release of 21. Before that, fonts are specified for each charset, but after that, fonts are specified for each character using a char table. As a result, the concept for charset for a font lost the meaning. Because the changes are quite lot at that time, perhaps I forgot to record this specific change in NEWS and ChangeLog. 2000-03-21 Kenichi HANDA The following changes are to make font selection based on characters, not charset. In addition, they recover fontset facilities while utilizing the new font selection mechanism. [...] In article <49E153DA.7070502@gnu.org>, Jason Rumney writes: > Miles Bader wrote: > > So.... what exactly do you want to happen? > > > At least the doc string for font-info should be updated. It still claims > that the third entry in the returned vector is CHARSET. I fixed the docstring. --- Kenichi Handa handa@m17n.org