From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: IRC client for Emacs Date: Fri, 23 Aug 2002 20:33:32 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200208240233.g7O2XW011692@wijiji.santafe.edu> 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> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1030156754 9944 127.0.0.1 (24 Aug 2002 02:39:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 24 Aug 2002 02:39:14 +0000 (UTC) Cc: alex@emacswiki.org, emacs-devel@gnu.org, ueno@unixuser.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 17iQpV-0002aH-00 for ; Sat, 24 Aug 2002 04:39:13 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17iRJA-0004pZ-00 for ; Sat, 24 Aug 2002 05:09:52 +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 17iQqk-0001UD-00; Fri, 23 Aug 2002 22:40:30 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17iQk5-0000jz-00 for emacs-devel@gnu.org; Fri, 23 Aug 2002 22:33:37 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17iQk2-0000iY-00 for emacs-devel@gnu.org; Fri, 23 Aug 2002 22:33:36 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17iQk2-0000iB-00; Fri, 23 Aug 2002 22:33:34 -0400 Original-Received: from wijiji.santafe.edu (wijiji [192.12.12.5]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g7O2Xv510237; Fri, 23 Aug 2002 20:33:57 -0600 (MDT) Original-Received: (from rms@localhost) by wijiji.santafe.edu (8.11.6+Sun/8.9.3) id g7O2XW011692; Fri, 23 Aug 2002 20:33:32 -0600 (MDT) X-Authentication-Warning: wijiji.santafe.edu: rms set sender to rms@wijiji using -f Original-To: friedman@splode.com In-Reply-To: <20020821193900.557945.FMU965@piglet.prv.splode.com> (message from Noah Friedman on Wed, 21 Aug 2002 19:39:00 -0700 (PDT)) 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:6826 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6826 * it's another special-purpose API We will certainly make a special-purpose Lisp interface for this important job. * Since the data is plain text, you either have to read the whole file into memory to scan for the relevant data, or else generate a separate index file. Perhaps we want to have all the data in core--both the "original" strings, and whichever set or sets of translations are actually in use. The method that was presented, with a symbol per message, effectively does this, but does it in a rather inefficient way. 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. Daiki, could you see if it runs fast enough if you store the message catalog as a simple alist? It might even be fast enough to store the message catalog as text in a buffer--and that would use up much less space.