[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hash table read syntax
From: |
Ted Zlatanov |
Subject: |
Re: Hash table read syntax |
Date: |
Tue, 22 Dec 2009 16:03:39 -0600 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) |
On Tue, 22 Dec 2009 14:31:54 -0500 Chong Yidong <address@hidden> wrote:
CY> Chong Yidong <address@hidden> writes:
>> I think there's a problem with the design of the hash table read syntax:
>>
>> (make-hash-table)
>> #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8 data ())
>>
>> The plist ought to use `:size', `:test', `:rehash-size', etc., rather
>> than `size', `test', `rehash-size', etc. Otherwise, it's inconsistent
>> with the arguments to `make-hash-table', which uses `:size', `:test',...
>>
>> I would like to make this change now, before it becomes "official" with
>> the Emacs 23.2 release. Any objections?
CY> Never mind, I just remembered that the absence of a colon is for
CY> compatibility with XEmacs. LAME.
Yeah, it definitely looks unpleasant. The reader could accept both
forms but it's probably not worth the trouble.
Ted