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: set-fontset-font and preferred charset? Date: Thu, 09 Jul 2009 10:06:42 +0900 Message-ID: References: <20090703.082403.252821682.wl@gnu.org> <20090703.180535.61736917731643487.kasahara@nc.kyushu-u.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247101629 12338 80.91.229.12 (9 Jul 2009 01:07:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jul 2009 01:07:09 +0000 (UTC) Cc: kasahara@nc.kyushu-u.ac.jp, emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 09 03:07:01 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 1MOi6G-0005k2-ED for ged-emacs-devel@m.gmane.org; Thu, 09 Jul 2009 03:07:00 +0200 Original-Received: from localhost ([127.0.0.1]:51895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOi6F-0005GZ-T9 for ged-emacs-devel@m.gmane.org; Wed, 08 Jul 2009 21:06:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOi6A-0005Dd-JO for emacs-devel@gnu.org; Wed, 08 Jul 2009 21:06:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOi66-00052z-7F for emacs-devel@gnu.org; Wed, 08 Jul 2009 21:06:54 -0400 Original-Received: from [199.232.76.173] (port=47973 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOi65-00052d-TH for emacs-devel@gnu.org; Wed, 08 Jul 2009 21:06:49 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:36570) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOi64-0007KF-Hh for emacs-devel@gnu.org; Wed, 08 Jul 2009 21:06:49 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id n6916hVE019042; Thu, 9 Jul 2009 10:06:44 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id n6916h4k001255; Thu, 9 Jul 2009 10:06:43 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id n6916gZ9026626; Thu, 9 Jul 2009 10:06:42 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1MOi5y-0004vb-Sg; Thu, 09 Jul 2009 10:06:42 +0900 In-Reply-To: (message from YAMAMOTO Mitsuharu on Thu, 09 Jul 2009 09:00:58 +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:112214 Archived-At: In article , YAMAMOTO Mitsuharu writes: >>>>>> On Wed, 08 Jul 2009 20:29:38 +0900, Kenichi Handa said: > > I can't reproduce that bug but perhaps that is because we have > > different font setting. >>> When the assertion failure happened, found_index == -1, >>> charset_matched == -1, and i == 0. The negative found_index is >>> problematic because it is used as an index for AREF. > > I think I found what is wrong. Could you please try this patch? > With the patch, the trunk code no longer crashes. Thanks. Thank you for testing it. I've just committed it. --- Kenichi Handa handa@m17n.org