From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: fontset/font change Date: Thu, 12 Mar 2009 00:10:49 -0400 Message-ID: <87eix32xfa.fsf@cyd.mit.edu> References: <87ljrcb23h.fsf@catnip.gol.com> <87ab7rwny3.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236830993 29843 80.91.229.12 (12 Mar 2009 04:09:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2009 04:09:53 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 12 05:11:09 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 1LhcGD-0002t1-8y for ged-emacs-devel@m.gmane.org; Thu, 12 Mar 2009 05:11:09 +0100 Original-Received: from localhost ([127.0.0.1]:60349 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhcEr-0008Gc-CN for ged-emacs-devel@m.gmane.org; Thu, 12 Mar 2009 00:09:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhcEl-0008Bq-1i for emacs-devel@gnu.org; Thu, 12 Mar 2009 00:09:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhcEj-00088H-GQ for emacs-devel@gnu.org; Thu, 12 Mar 2009 00:09:38 -0400 Original-Received: from [199.232.76.173] (port=43956 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhcEj-00087g-75 for emacs-devel@gnu.org; Thu, 12 Mar 2009 00:09:37 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:60229) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhcEg-0007DV-RT; Thu, 12 Mar 2009 00:09:34 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id B191757E20B; Thu, 12 Mar 2009 00:10:49 -0400 (EDT) In-Reply-To: (Kenichi Handa's message of "Thu, 12 Mar 2009 11:53:43 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:109581 Archived-At: Kenichi Handa writes: > 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. > > 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. It seems a little cleaner to have nil specify the current fontset rather than fontset-default, but only a little. In your estimation, is there a significant amount of outside code (e.g. user customizations) that rely on the old behavior? If so, I don't think it's profitable to make this change. As Miles mentioned, either way this needs to be documented in the docstring.