[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Merging Finder into package mechanism
From: |
Chong Yidong |
Subject: |
Re: Merging Finder into package mechanism |
Date: |
Fri, 03 Sep 2010 14:30:45 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Juri Linkov <address@hidden> writes:
>> 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.
>
> A hash table is an optimization. I think complete information about
> every package should be in the same place to help libraries to process
> package information instead of relying on two separate variables
> `package--builtins' (where double dashes in the variable name mean
> it's an internal variable) and `finder-keywords-hash' whose different
> name prefixes (`package-' and `finder-') are misleading and suggest
> that they are unrelated.
I agree that the prefixes are misleading. Maybe the computed
package--builtins variable should go into its own file, package-inf.el,
with finder-inf.el used only for storing keywords.