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: unicode merge failures 2007-10-12 Date: Wed, 17 Oct 2007 10:04:13 +0900 Message-ID: References: <61d4vlaatb.fsf@fencepost.gnu.org> <470EA52C.9030001@gnu.org> <200710122130.l9CLU7OM022904@oogie-boogie.ics.uci.edu> <200710122212.l9CMCD3r024677@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1192583089 21698 80.91.229.12 (17 Oct 2007 01:04:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Oct 2007 01:04:49 +0000 (UTC) Cc: emacs-unicode@gnu.org, jasonr@gnu.org, emacs-devel@gnu.org, monnier@iro.umontreal.ca, miles@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 17 03:04:48 2007 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 1IhxL5-0004l0-SQ for ged-emacs-devel@m.gmane.org; Wed, 17 Oct 2007 03:04:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhxKy-0004LZ-SQ for ged-emacs-devel@m.gmane.org; Tue, 16 Oct 2007 21:04:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhxKv-0004KJ-0U for emacs-devel@gnu.org; Tue, 16 Oct 2007 21:04:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhxKt-0004K7-DD for emacs-devel@gnu.org; Tue, 16 Oct 2007 21:04:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhxKt-0004K4-7B for emacs-devel@gnu.org; Tue, 16 Oct 2007 21:04:35 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IhxKi-0003rL-Ng; Tue, 16 Oct 2007 21:04:25 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id l9H14F5j014461; Wed, 17 Oct 2007 10:04:15 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id l9H14Ehn016180; Wed, 17 Oct 2007 10:04:14 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id l9H14Dd3025457; Wed, 17 Oct 2007 10:04:13 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.67) (envelope-from ) id 1IhxKX-0003jU-JW; Wed, 17 Oct 2007 10:04:13 +0900 In-reply-to: <200710122212.l9CMCD3r024677@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Fri, 12 Oct 2007 15:12:13 -0700) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) 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:81032 Archived-At: In article <200710122212.l9CMCD3r024677@oogie-boogie.ics.uci.edu>, Dan Nicolaescu writes: > "Miles Bader" writes: > On 10/13/07, Dan Nicolaescu wrote: > > > > I believe the patch below makes it work (*very* lightly tested). > > > > Can people take a look at it and tell me if it makes sense? > > > > > > Installed, > > > > It's not in CVS, did you install it somewhere else? > > It should be now. > Thanks. > Does anyone else see a too big data segment size for the unicode-2 > binary: > size -f objs-HEAD/src/emacs objs-unicode-2/src/emacs > text data bss dec hex filename > 1534480 4031660 0 5566140 54eebc objs-HEAD/src/emacs > 1656770 11663100 0 13319870 cb3ebe objs-unicode-2/src/emacs > The first one is from CVS HEAD, the second is from unicode-2 > temacs is fine: > size -f objs-HEAD/src/temacs objs-unicode-2/src/temacs > text data bss dec hex filename > 1534480 1212620 257992 3005092 2ddaa4 objs-HEAD/src/temacs > 1656770 1209148 261768 3127686 2fb986 objs-unicode-2/src/temacs > This is on an FC5 machine. One possibility is that the difference is because of big CJK charset maps loaded while creating emacs from temacs. Just before dumping, loadup.el calls `clear-charset-maps' which sets internal vectors and char-tables for charsets to nil, but the following call of `garbage-collect' doesn't return those free memory. I'll try to convert all encodings of language/*.el files to utf-8 so that Emacs doesn't have to load charset maps in loadup.el. --- Kenichi Handa handa@m17n.org