From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: purpose of (provide 'hashtable-print-readable) in subr.el? Date: Sat, 14 Apr 2012 09:01:42 +0200 Message-ID: References: <86aa2f5rg8.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1334386915 26325 80.91.229.3 (14 Apr 2012 07:01:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2012 07:01:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 14 09:01:54 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SIwza-0000BK-49 for ged-emacs-devel@m.gmane.org; Sat, 14 Apr 2012 09:01:54 +0200 Original-Received: from localhost ([::1]:47940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIwzZ-0000Xb-F5 for ged-emacs-devel@m.gmane.org; Sat, 14 Apr 2012 03:01:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIwzV-0000XK-JI for emacs-devel@gnu.org; Sat, 14 Apr 2012 03:01:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIwzT-0002qG-IV for emacs-devel@gnu.org; Sat, 14 Apr 2012 03:01:49 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:38317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIwzT-0002pW-Bm for emacs-devel@gnu.org; Sat, 14 Apr 2012 03:01:47 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3VV6Gd1zhVz3hhXK; Sat, 14 Apr 2012 09:01:42 +0200 (CEST) Original-Received: from linux.local (ppp-93-104-151-58.dynamic.mnet-online.de [93.104.151.58]) by mail.mnet-online.de (Postfix) with ESMTPA id 3VV6GZ3Hrwz4KK6l; Sat, 14 Apr 2012 09:01:42 +0200 (CEST) Original-Received: by linux.local (Postfix, from userid 501) id D41CA1E52D6; Sat, 14 Apr 2012 09:01:45 +0200 (CEST) X-Yow: Am I elected yet? In-Reply-To: <86aa2f5rg8.fsf@web.de> (Michael Heerdegen's message of "Fri, 13 Apr 2012 22:04:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.18.0.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:149649 Archived-At: Michael Heerdegen writes: > Hi, > > This looks odd to me: subr.el end with these lines: > > | ;; The following statement ought to be in print.c, but `provide' can't > | ;; be used there. > | ;; http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg00236.html > | (when (hash-table-p (car (read-from-string > | (prin1-to-string (make-hash-table))))) > | (provide 'hashtable-print-readable)) > > (Yes, I've read the mentioned thread in emacs-dev.) > > What's the purpose of this `provide' call? http://comments.gmane.org/gmane.emacs.gnus.general/79821 https://raw.github.com/skeeto/emacs-java/master/java-docs.el Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."