From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Hash table read syntax Date: Tue, 22 Dec 2009 16:03:39 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87tyvipsxw.fsf@lifelogs.com> References: <87fx72akek.fsf@stupidchicken.com> <87vdfydcut.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1261519463 5182 80.91.229.12 (22 Dec 2009 22:04:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Dec 2009 22:04:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 22 23:04:16 2009 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.50) id 1NNCpy-0003fG-G3 for ged-emacs-devel@m.gmane.org; Tue, 22 Dec 2009 23:04:14 +0100 Original-Received: from localhost ([127.0.0.1]:33417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNCpy-0004q6-Mp for ged-emacs-devel@m.gmane.org; Tue, 22 Dec 2009 17:04:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NNCpt-0004pp-LZ for emacs-devel@gnu.org; Tue, 22 Dec 2009 17:04:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NNCpp-0004oy-7W for emacs-devel@gnu.org; Tue, 22 Dec 2009 17:04:09 -0500 Original-Received: from [199.232.76.173] (port=40112 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNCpp-0004ov-2U for emacs-devel@gnu.org; Tue, 22 Dec 2009 17:04:05 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:42651) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NNCpo-0002JT-Ml for emacs-devel@gnu.org; Tue, 22 Dec 2009 17:04:04 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NNCpk-0003Yq-WB for emacs-devel@gnu.org; Tue, 22 Dec 2009 23:04:01 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Dec 2009 23:04:00 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Dec 2009 23:04:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:mFstkAeL9mvwR1tZeIxLFW88CoE= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:118778 Archived-At: On Tue, 22 Dec 2009 14:31:54 -0500 Chong Yidong wrote: CY> Chong Yidong 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