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: fontset/font change Date: Thu, 12 Mar 2009 11:53:43 +0900 Message-ID: References: <87ljrcb23h.fsf@catnip.gol.com> <87ab7rwny3.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1236826434 21123 80.91.229.12 (12 Mar 2009 02:53:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2009 02:53:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 12 03:55:10 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lhb4f-0003dK-6e for ged-emacs-devel@m.gmane.org; Thu, 12 Mar 2009 03:55:09 +0100 Original-Received: from localhost ([127.0.0.1]:54827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhb3J-0001HV-Ao for ged-emacs-devel@m.gmane.org; Wed, 11 Mar 2009 22:53:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lhb3E-0001HH-5o for emacs-devel@gnu.org; Wed, 11 Mar 2009 22:53:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lhb3D-0001H5-D1 for emacs-devel@gnu.org; Wed, 11 Mar 2009 22:53:39 -0400 Original-Received: from [199.232.76.173] (port=60481 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhb3D-0001H2-9y for emacs-devel@gnu.org; Wed, 11 Mar 2009 22:53:39 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:59767) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lhb3A-00056J-2Z; Wed, 11 Mar 2009 22:53:36 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n2C2rWWN028287; Thu, 12 Mar 2009 11:53:32 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n2C2rW7Z008121; Thu, 12 Mar 2009 11:53:32 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id n2C2rW1o005228; Thu, 12 Mar 2009 11:53:32 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1Lhb3H-0005xo-8S; Thu, 12 Mar 2009 11:53:43 +0900 In-reply-to: <87ab7rwny3.fsf@catnip.gol.com> (message from Miles Bader on Thu, 12 Mar 2009 10:05:08 +0900) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 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:109577 Archived-At: In article <87ab7rwny3.fsf@catnip.gol.com>, Miles Bader writes: > Kenichi Handa writes: >>> (set-fontset-font t 'unicode "Droid Sans Fallback") > > > > Here `t' is the same as "fontset-default". This facility is > > kept just for backward compatibility. > Isn't it useful? Is there a reason not to keep it as a feature...? Ah, wait, I recalled the history. In Emacs 22, `nil' was for "fontset-default", but while working on emacs-unicode-2 branch, someone suggested that nil usually should mean the currently selected one. I thought that was a good idea, and was going to change `t' for the default fontset, and `nil' for the the fontset of the current frame. But, before finishing it (it seems that I just changed `t' for the default), I forget about this matter when I got very busy for the other tasks. :-( Sorry for the confusion, but what should I do now? (1) Just recover the behaviour of Emacs 22: nil for the default (2) Make nil for the currently selected fontset, and t for the default (3) (1) and make t for the currently selected one. --- Kenichi Handa handa@m17n.org