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: Thu, 30 Jul 2009 21:30:48 -0400 Message-ID: References: <863aknitfg.fsf@lifelogs.com> <87vdufk6do.fsf@xemacs.org> <867i6tt4yz.fsf@lifelogs.com> <87bpw4k1z6.fsf@xemacs.org> <86bpw3d829.fsf@lifelogs.com> <87k5ari5jh.fsf@xemacs.org> <86prkiiia2.fsf@lifelogs.com> <86ej0ygr5j.fsf@lifelogs.com> <861vwygpc6.fsf@lifelogs.com> <868wqzd06x.fsf@lifelogs.com> <867i6hrrh9.fsf@lifelogs.com> <86prk8q8yn.fsf@lifelogs.com> <87eiry58qs.fsf@jumptrading.com> <87skge2dm6.fsf@stupidchicken.com> <87ab2m562t.fsf@lifelogs.com> <871vnyot6m.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 1249003869 10756 80.91.229.12 (31 Jul 2009 01:31:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2009 01:31:09 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 31 03:31:01 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 1MWgxZ-0004sI-FD for ged-emacs-devel@m.gmane.org; Fri, 31 Jul 2009 03:31:01 +0200 Original-Received: from localhost ([127.0.0.1]:57088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWgxY-0005OA-Tj for ged-emacs-devel@m.gmane.org; Thu, 30 Jul 2009 21:31:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWgxT-0005KO-UD for emacs-devel@gnu.org; Thu, 30 Jul 2009 21:30:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWgxO-0005I1-Mo for emacs-devel@gnu.org; Thu, 30 Jul 2009 21:30:55 -0400 Original-Received: from [199.232.76.173] (port=49679 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWgxO-0005Hh-Gq for emacs-devel@gnu.org; Thu, 30 Jul 2009 21:30:50 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:20820 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWgxO-0001Zz-70 for emacs-devel@gnu.org; Thu, 30 Jul 2009 21:30:50 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnsFAG/mcUpFpZgv/2dsb2JhbACBUtEwhBcFgUmFUQ X-IronPort-AV: E=Sophos;i="4.43,298,1246852800"; d="scan'208";a="42597601" Original-Received: from 69-165-152-47.dsl.teksavvy.com (HELO pastel.home) ([69.165.152.47]) by ironport2-out.teksavvy.com with ESMTP; 30 Jul 2009 21:30:49 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id BD0EA800B; Thu, 30 Jul 2009 21:30:48 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Thu, 30 Jul 2009 17:04:22 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (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:113439 Archived-At: >>> OK. Can I use two names: "hashtable-read" and "hashtable-print" for the >>> feature? I can't think of a single name that doesn't sound clumsy >>> (suggestions welcome, of course). >> Just hashtable-read, I think. After all, hashtables already have a >> print representation (all Lisp objects do)---the present difficulty is >> that this print representation isn't readable. > Or hashtable-print-readable. Of, course there's always another (more reliable) way: (hash-table-p (read-from-string (prin1-to-string (make-hash-table)))) -- Stefan