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: hashtable-print-readable provide point Date: Thu, 06 Aug 2009 14:01:17 -0400 Message-ID: References: <87skg5d02c.fsf@anzu.internal.golden-gryphon.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249581700 26470 80.91.229.12 (6 Aug 2009 18:01:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2009 18:01:40 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 06 20:01:32 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 1MZ7HM-0002us-Oc for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2009 20:01:29 +0200 Original-Received: from localhost ([127.0.0.1]:39671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ7HM-0000ud-9w for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2009 14:01:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZ7HH-0000uL-JF for emacs-devel@gnu.org; Thu, 06 Aug 2009 14:01:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZ7HD-0000u1-6D for emacs-devel@gnu.org; Thu, 06 Aug 2009 14:01:23 -0400 Original-Received: from [199.232.76.173] (port=47865 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZ7HC-0000ty-W5 for emacs-devel@gnu.org; Thu, 06 Aug 2009 14:01:19 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:19859) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZ7HC-0002BX-HA for emacs-devel@gnu.org; Thu, 06 Aug 2009 14:01:18 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuEEAHe3ekpFxL8W/2dsb2JhbACBUtA8hBgFgUyFaA X-IronPort-AV: E=Sophos;i="4.43,335,1246852800"; d="scan'208";a="43110644" Original-Received: from 69-196-191-22.dsl.teksavvy.com (HELO ceviche.home) ([69.196.191.22]) by ironport2-out.teksavvy.com with ESMTP; 06 Aug 2009 14:01:17 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id A35A9B40CD; Thu, 6 Aug 2009 14:01:17 -0400 (EDT) In-Reply-To: (Andreas Schwab's message of "Thu, 06 Aug 2009 14:56:36 +0200") 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:113750 Archived-At: >> I can put the `provide' call in the lisp/ tree but again, I don't know >> where it should go there. > I think subr.el would be a good place. In that case, since it's not next to the relevant code, it should probably be written defensively as (when (hash-table-p (read-from-string (prin1-to-string (make-hash-table)))) (provide 'hashtable-print-readable)) -- Stefan