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: Merging Finder into package mechanism Date: Mon, 30 Aug 2010 21:29:01 -0400 Message-ID: <877hj7o9ia.fsf@stupidchicken.com> References: <87hbie8ppy.fsf@stupidchicken.com> <8739tyxoe5.fsf@mail.jurta.org> <87wrranqfv.fsf@stupidchicken.com> <87fwxvk4ud.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283218164 17469 80.91.229.12 (31 Aug 2010 01:29:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2010 01:29:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 31 03:29:19 2010 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.69) (envelope-from ) id 1OqFey-00076T-T5 for ged-emacs-devel@m.gmane.org; Tue, 31 Aug 2010 03:29:13 +0200 Original-Received: from localhost ([127.0.0.1]:58538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqFey-00038m-3u for ged-emacs-devel@m.gmane.org; Mon, 30 Aug 2010 21:29:12 -0400 Original-Received: from [140.186.70.92] (port=35599 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqFep-00036w-Tz for emacs-devel@gnu.org; Mon, 30 Aug 2010 21:29:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqFeo-0003Vk-OW for emacs-devel@gnu.org; Mon, 30 Aug 2010 21:29:03 -0400 Original-Received: from pantheon-po41.its.yale.edu ([130.132.50.98]:54454) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqFeo-0003Va-L1 for emacs-devel@gnu.org; Mon, 30 Aug 2010 21:29:02 -0400 Original-Received: from furry (dhcp128036014154.central.yale.edu [128.36.14.154]) (authenticated bits=0) by pantheon-po41.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o7V1T1pN017798 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 30 Aug 2010 21:29:01 -0400 Original-Received: by furry (Postfix, from userid 1000) id 3D6C816D402; Mon, 30 Aug 2010 21:29:01 -0400 (EDT) In-Reply-To: <87fwxvk4ud.fsf@mail.jurta.org> (Juri Linkov's message of "Tue, 31 Aug 2010 01:27:22 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:129468 Archived-At: Juri Linkov writes: > It's better to have all package information in one place. > I suggest not to lose information that was in finder-inf.el. It's a bit problematic. Moving the keywords into package--builtins necessitates a change in the archive-contents file format, which means incompatibility with the old elpa repository. This scheme also forces key lookup to iterate over all packages, which seems inelegant. The scheme I came up with is to put the keywords into a hash table, also stored in finder-inf.el (further down in the file), which maps keywords to package lists. True, this is not 100% satisfactory. What the problem really wants is a database, but we can't rely on that.