From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.devel Subject: Re: IRC client for Emacs Date: Sat, 24 Aug 2002 13:03:40 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <873ctot40n.fsf@emacswiki.org> <20020809223753.955308.FMU31823@piglet.prv.splode.com> <200208110355.g7B3tOo06247@wijiji.santafe.edu> <877kixtg8w.fsf@emacswiki.org> <20020811160610.424772.FMU9022@piglet.prv.splode.com> <87fzxhs1ia.fsf@emacswiki.org> <200208151954.g7FJsut07968@wijiji.santafe.edu> <20020820143817.816033.FMU965@piglet.prv.splode.com> <200208210153.g7L1r4W10188@wijiji.santafe.edu> <20020820190744.375246.FMU965@piglet.prv.splode.com> <200208220156.g7M1uvx10414@wijiji.santafe.edu> <20020821193900.557945.FMU965@piglet.prv.splode.com> <200208240233.g7O2XW011692@wijiji.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1030161744 16686 127.0.0.1 (24 Aug 2002 04:02:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 Aug 2002 04:02:24 +0000 (UTC) Cc: friedman@splode.com, alex@emacswiki.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17iS7z-0004L1-00 for ; Sat, 24 Aug 2002 06:02:23 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17iSbd-0006ov-00 for ; Sat, 24 Aug 2002 06:33:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17iS98-0002jr-00; Sat, 24 Aug 2002 00:03:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17iS7U-0002i6-00 for emacs-devel@gnu.org; Sat, 24 Aug 2002 00:01:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17iS7S-0002fx-00 for emacs-devel@gnu.org; Sat, 24 Aug 2002 00:01:52 -0400 Original-Received: from g96069.scn-net.ne.jp ([210.231.96.69] helo=deisui.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17iS7K-0002fQ-00; Sat, 24 Aug 2002 00:01:43 -0400 Original-Received: from deisui.org (aquair [127.0.0.1]) by deisui.org (8.12.5/8.12.5/Debian-1) with ESMTP id g7O43fCJ006228; Sat, 24 Aug 2002 13:03:41 +0900 X-Now-Playing: LACUNA COIL's _UNLEASHED MEMORIES(JP)_: "1:19" Original-To: rms@gnu.org X-Face: ki?-"~Ovqy(#SEZ2FpdUK,3>)p.@}$.vl{eIZ-Uy43$&[S1#'y{hX&A3T@xA)u0!_4Lg.vA ^{d(.VU0(X#Zf,~9Kha_$nl7W/(b9r;]%_&:OUA@g0LF'S2<%~T X-Attribution: DU In-Reply-To: <200208240233.g7O2XW011692@wijiji.santafe.edu> (Richard Stallman's message of "Fri, 23 Aug 2002 20:33:32 -0600 (MDT)") Original-Lines: 30 User-Agent: T-gnus/6.15.7 (based on Oort Gnus v0.07) (revision 02) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6829 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6829 >>>>> In <200208240233.g7O2XW011692@wijiji.santafe.edu> >>>>> Richard Stallman wrote: > The program that Daiki sent also seems to create > a symbol for each string. I am not certain, though, because > it has very few comments. Yes, it doesn't bring striking performance in comparison with obarrays. Sorry for any confusion. > Daiki, could you see if it runs fast enough if you store the > message catalog as a simple alist? Yes, I'll try and let you know how it goes. > It might even be fast enough to store the message catalog as text in a > buffer--and that would use up much less space. An MO file has its own internal hash table which is used to relate an original string to the file position. However, the hashing algorithm is dependent on gettext internals (See "(gettext)MO Files" for details). That is why I gave up the idea of searching in a buffer when I wrote gettext.el. Anyway, I really wish Emacs could have the feature to read *.mo files, since it appears to be a standard way for localization of GNU software. Regards, -- Daiki Ueno