From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: hash-table-{to, from}-alist Date: Tue, 25 Nov 2008 22:48:44 -0500 Message-ID: References: <863aknitfg.fsf@lifelogs.com> <20080830051807.GB9625@tomas> <86bpwe9su5.fsf@lifelogs.com> <867i6z1jo5.fsf_-_@lifelogs.com> <86ej14vhvg.fsf@lifelogs.com> <20081122054510.GA28298@tomas> <873ahkkkt5.fsf@xemacs.org> <20081122152126.GA4142@tomas> <87vdufk6do.fsf@xemacs.org> <867i6tt4yz.fsf@lifelogs.com> <87bpw4k1z6.fsf@xemacs.org> <86bpw3d829.fsf@lifelogs.com> <86d4gjnz56.fsf@lifelogs.com> <492CB16D.3070507@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227671360 12402 80.91.229.12 (26 Nov 2008 03:49:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Nov 2008 03:49:20 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 26 04:50:22 2008 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 1L5BPv-0005Dh-L0 for ged-emacs-devel@m.gmane.org; Wed, 26 Nov 2008 04:50:19 +0100 Original-Received: from localhost ([127.0.0.1]:59907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5BOj-0002tj-Sr for ged-emacs-devel@m.gmane.org; Tue, 25 Nov 2008 22:49:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L5BOf-0002tT-2j for emacs-devel@gnu.org; Tue, 25 Nov 2008 22:49:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L5BOd-0002tE-Hz for emacs-devel@gnu.org; Tue, 25 Nov 2008 22:49:00 -0500 Original-Received: from [199.232.76.173] (port=53822 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5BOd-0002tB-BI for emacs-devel@gnu.org; Tue, 25 Nov 2008 22:48:59 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:27498 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L5BOd-0003jm-0P for emacs-devel@gnu.org; Tue, 25 Nov 2008 22:48:59 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiQFADdWLEnO+J+z/2dsb2JhbACBbdBHgn2BIA X-IronPort-AV: E=Sophos;i="4.33,666,1220241600"; d="scan'208";a="30306067" Original-Received: from 206-248-159-179.dsl.teksavvy.com (HELO pastel.home) ([206.248.159.179]) by ironport2-out.teksavvy.com with ESMTP; 25 Nov 2008 22:48:44 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 90EDC8107; Tue, 25 Nov 2008 22:48:44 -0500 (EST) In-Reply-To: <492CB16D.3070507@harpegolden.net> (David De La Harpe Golden's message of "Wed, 26 Nov 2008 02:16:13 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:106186 Archived-At: > The #s kind of bothers me. In common lisp, #s(a ...) is readable - as an > instance of struct a [*]. Hence the "s". Now, hashtables may well use > a struct for their metadata as an implementation detail, but the #s<...> > does look to me like an odd mix of commmon lisp #s(...) > struct-instance-literal syntax and #<...> > printable-but-unreadable-object syntax. For what it's worth: % clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Welcome to GNU CLISP 2.44.1 (2008-02-23) Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2008 Type :h and hit Enter for context help. [1]> (let ((x (make-hash-table))) (setf (gethash 4 x) 6) x) #S(HASH-TABLE :TEST FASTHASH-EQL (4 . 6)) [2]> So the question is should we use #s(...) as CL does, or #s<...> as XEmacs does. Stefan