unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: emacs-devel@gnu.org
Subject: Re: purpose of (provide 'hashtable-print-readable) in subr.el?
Date: Sat, 14 Apr 2012 09:01:42 +0200	[thread overview]
Message-ID: <m2ehrqeqzt.fsf@linux-m68k.org> (raw)
In-Reply-To: <86aa2f5rg8.fsf@web.de> (Michael Heerdegen's message of "Fri, 13 Apr 2012 22:04:23 +0200")

Michael Heerdegen <michael_heerdegen@web.de> 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."



  parent reply	other threads:[~2012-04-14  7:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-13 20:04 purpose of (provide 'hashtable-print-readable) in subr.el? Michael Heerdegen
2012-04-14  3:36 ` Leo
2012-04-14  7:01 ` Andreas Schwab [this message]
2012-04-15 17:29   ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ehrqeqzt.fsf@linux-m68k.org \
    --to=schwab@linux-m68k.org \
    --cc=emacs-devel@gnu.org \
    --cc=michael_heerdegen@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).