From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: hash-table-{to, from}-alist Date: Sun, 23 Nov 2008 02:38:59 +0900 Message-ID: <87vdufk6do.fsf@xemacs.org> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227375333 22846 80.91.229.12 (22 Nov 2008 17:35:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Nov 2008 17:35:33 +0000 (UTC) Cc: Ted Zlatanov , Stefan Monnier , emacs-devel@gnu.org To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 22 18:36:34 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 1L3wPJ-0008T8-6L for ged-emacs-devel@m.gmane.org; Sat, 22 Nov 2008 18:36:33 +0100 Original-Received: from localhost ([127.0.0.1]:44952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3wOA-0007Kn-1L for ged-emacs-devel@m.gmane.org; Sat, 22 Nov 2008 12:35:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L3wO5-0007Ka-Cl for emacs-devel@gnu.org; Sat, 22 Nov 2008 12:35:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L3wO4-0007KN-N8 for emacs-devel@gnu.org; Sat, 22 Nov 2008 12:35:17 -0500 Original-Received: from [199.232.76.173] (port=57962 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3wO4-0007KK-Fo for emacs-devel@gnu.org; Sat, 22 Nov 2008 12:35:16 -0500 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:54589) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L3wO4-0001hp-4L for emacs-devel@gnu.org; Sat, 22 Nov 2008 12:35:16 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id 554A11535AC; Sun, 23 Nov 2008 02:35:07 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id E3EE01A2D03; Sun, 23 Nov 2008 02:38:59 +0900 (JST) In-Reply-To: <20081122152126.GA4142@tomas> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta28) "fuki" 83e35df20028+ XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:105965 Archived-At: tomas@tuxteam.de writes: > > > On Fri, Nov 21, 2008 at 10:18:41PM -0500, Stefan Monnier wrote: > > > [...] > > > > I was thinking of something more like # where > > > > "..." BTW, it turns out that in XEmacs and its descendants prin1 uses the CL structure syntax when `print-readably' is bound to t: #s(hash-table size 1 data (x x-value)) This is not guaranteed to actually be acceptable to the reader, since some contained objects may not be printable (eg, improper lists). However, since most types in XEmacs do have readable print representations, it does correctly recurse on composite types like hash tables (as long as the expression is a tree; DAGs will contain copies, cycles will be elided, etc).