From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=E5=B7=9D=E5=B9=A1=E5=A4=AA=E4=B8=80?= Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#5082: 23.1.50; print-circle and make-hash-table Date: Tue, 1 Dec 2009 00:09:30 +0900 Message-ID: <270879b0911300709o29a12798m2ae6c6194c25e53@mail.gmail.com> Reply-To: =?UTF-8?Q?=E5=B7=9D=E5=B9=A1=E5=A4=AA=E4=B8=80?= , 5082@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259602729 12402 80.91.229.12 (30 Nov 2009 17:38:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2009 17:38:49 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 30 18:38:38 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NFACb-0002w7-Rk for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Nov 2009 18:38:37 +0100 Original-Received: from localhost ([127.0.0.1]:60917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFACa-0001zG-Kv for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Nov 2009 12:38:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NF89z-0008Pg-Bp for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2009 10:27:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NF89u-0008Ov-MJ for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2009 10:27:30 -0500 Original-Received: from [199.232.76.173] (port=46506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NF89u-0008Os-FZ for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2009 10:27:26 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60451) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NF89u-0005Iq-60 for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2009 10:27:26 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAUFRNEt023078; Mon, 30 Nov 2009 07:27:23 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAUFF4h6021955; Mon, 30 Nov 2009 07:15:04 -0800 Resent-Date: Mon, 30 Nov 2009 07:15:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: =?UTF-8?Q?=E5=B7=9D=E5=B9=A1=E5=A4=AA=E4=B8=80?= Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 30 Nov 2009 15:15:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 5082 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125959377521452 (code B ref -1); Mon, 30 Nov 2009 15:15:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 30 Nov 2009 15:09:35 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAUF9Y0X021448 for ; Mon, 30 Nov 2009 07:09:35 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:45564) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NF7sb-0001BP-1H for emacs-pretest-bug@gnu.org; Mon, 30 Nov 2009 10:09:33 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NF7sa-000360-Fh for emacs-pretest-bug@gnu.org; Mon, 30 Nov 2009 10:09:33 -0500 Original-Received: from mail-bw0-f215.google.com ([209.85.218.215]:58726) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NF7sa-00035o-5I for emacs-pretest-bug@gnu.org; Mon, 30 Nov 2009 10:09:32 -0500 Original-Received: by bwz7 with SMTP id 7so2103178bwz.26 for ; Mon, 30 Nov 2009 07:09:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=OFRdpCAbDWfJY30h8EGDVQvwJ/4/+5gXb1zCde40aio=; b=u4a3D5idnnUWzPYF3JGklPPIA7zTWhRjklN/dRzMONL9vLq3M6H3+kEUsdmqZvuz45 yOroQxsemX7wya7TSer2d0YZF2Q0VrdoQmo+ZaEWu4/9Vm+NQl58/06TQXCyBxsae5gH 3Cie0g/x+6KHSCZx61waslnCK0Feq5lzAo980= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=x7ZFHird/cEa8gBQiiWaYEdUmTU4cVpfM9l6cK8djtIE9H+ZX6wR/kZM69VZMwDdp2 GGSvyXj47DKT76k1IZxhg8a0CDXwvONn2giSBrvzGbK2TIOvkDRn1vjPTBxsMWOLNo1q OQ2Xo+MDLYaBTXRVqeq+oxdraxlyctKurNHJA= Original-Received: by 10.204.148.71 with SMTP id o7mr748252bkv.144.1259593770264; Mon, 30 Nov 2009 07:09:30 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 30 Nov 2009 10:27:30 -0500 X-Mailman-Approved-At: Mon, 30 Nov 2009 12:20:17 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33074 gmane.emacs.pretest.bugs:25260 Archived-At: Dear Emacs Developers, I've found an Emacs behavior that seems a bug concerning to `print-circle' and make-hash-table, so I would like to report it. By setting `print-circle' to `t', printing Lisp Object with recursive or repetitive list should be displayed as #N= and #N# syntax. However, it seems this is not true when printing lisp objects within hash tables (which become possible in Emacs 23.1.50.) Following is an example. Is it possible to display the repetitive lisp object within printed hash tables by #N= and #N# syntax, when `print-circle' is set to `t'? I notify this behavior as a bug, but it may not be so. I apologize in that case. (let ((print-circle t) (x (list 10 20)) (y (make-hash-table))) (insert (format "%S\n" (list x x))) (puthash 1 x y) (puthash 2 x y) (insert (format "%S\n" y)) (setcar x 3) (insert (format "%S\n" y))) Result: > (#1=(10 20) #1#) > #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8 > data (1 (10 20) 2 (10 20))) > #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8 > data (1 (3 20) 2 (3 20))) nil Cordially Yours, -- ---------------------------------------------------------------------  KAWABATA, Taichi   E-mail: kawabata.taichi@gmail.com