From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Philipp
Newsgroups: gmane.emacs.bugs
Subject: bug#27776: 26.0.50; `print-gensym' doesn't work as advertised
Date: Thu, 20 Jul 2017 23:30:46 +0200
Message-ID:
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: blaine.gmane.org 1500586335 12863 195.159.176.226 (20 Jul 2017 21:32:15 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 20 Jul 2017 21:32:15 +0000 (UTC)
To: 27776@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 20 23:32:06 2017
Return-path:
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
by blaine.gmane.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1dYJ3F-0002lP-FE
for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jul 2017 23:32:05 +0200
Original-Received: from localhost ([::1]:40055 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1dYJ3J-0002ua-D3
for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jul 2017 17:32:09 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55620)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1dYJ3D-0002uV-DE
for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2017 17:32:04 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1dYJ3C-0006GU-6q
for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2017 17:32:03 -0400
Original-Received: from debbugs.gnu.org ([208.118.235.43]:47413)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1dYJ3C-0006GQ-34
for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2017 17:32:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
(envelope-from ) id 1dYJ3B-0000Iu-RD
for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2017 17:32:01 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Philipp
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 20 Jul 2017 21:32:01 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 27776
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Original-Received: via spool by submit@debbugs.gnu.org id=B.15005862631098
(code B ref -1); Thu, 20 Jul 2017 21:32:01 +0000
Original-Received: (at submit) by debbugs.gnu.org; 20 Jul 2017 21:31:03 +0000
Original-Received: from localhost ([127.0.0.1]:50090 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1dYJ2E-0000He-Hk
for submit@debbugs.gnu.org; Thu, 20 Jul 2017 17:31:02 -0400
Original-Received: from eggs.gnu.org ([208.118.235.92]:36235)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1dYJ2C-0000H9-5C
for submit@debbugs.gnu.org; Thu, 20 Jul 2017 17:31:00 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1dYJ25-00065o-RW
for submit@debbugs.gnu.org; Thu, 20 Jul 2017 17:30:54 -0400
Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52614)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from )
id 1dYJ25-00065i-Ns
for submit@debbugs.gnu.org; Thu, 20 Jul 2017 17:30:53 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55433)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1dYJ24-0002sc-DB
for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2017 17:30:53 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1dYJ23-000652-33
for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2017 17:30:52 -0400
Original-Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:32906)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1dYJ22-00064j-Rh
for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2017 17:30:51 -0400
Original-Received: by mail-wr0-x22b.google.com with SMTP id v105so45385008wrb.0
for ; Thu, 20 Jul 2017 14:30:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=from:to:subject:date:message-id:mime-version;
bh=RS8SWVNTeAohyGE50EOhYtGbZl2hoZlqF696zc6p3VY=;
b=lrUnjBWhSgWkJKNGwFIZZQB2hE1L9xC366wlWUr39MLsFbGTPAqG+gj/3+rrRm2c6A
6nqfcCuV0xV8uDLxqOc5wZlAwhKBxGJv+fq3XxbgT9F6a8odgAhEDoHyVDShBpMzl/00
Jo/QMIrzUuXjU1zybFky0PmGrHab90hQv2DtkUmS6CxjB8ElNJ+3iUKqtN+lNlbNNLgX
AB05lGlaCHo5cEq26oBcJrwQFH+/1bblxf6gORJ+Vs0y8c8VfClLWd8AizMnyn3WrY7z
UaMxj4j9nzDww8D5rxrTdYhD7sfpOvf4lN5rK3sxgd+iXPkPYbiA5y6dDPM+npOm53tH
myFg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
bh=RS8SWVNTeAohyGE50EOhYtGbZl2hoZlqF696zc6p3VY=;
b=sy192IXRby/XR8cIp5wA99UNLKQB5CaDmz4ViDFrWRpYQEUAcE5OE/mT9E56DpeddH
qtvDUBeSCooR+47aUXbVQ1uUz6KTYMomH/oVebBwujk2MT2ntpgfI78yQZLZrk4Tp2F0
fDGHjaksHnTQe2OatYvTjmynVukfZ8MA7kG1NioW3YRN1D4FaRUBUHXhkMHtGTlAXaAI
zNxdhrsRd/bd+jwHPi8C84ubsJz3A3UQA8KzGphZnEzThIAh5mr8uAfBRyUwhpPQegaw
fT9RTPxIYzx++5lVIy4LCIfUK4sdhdnzjMCQD+e2K4HpBto7RaAHtP+/yW2oy/E8BAmS
uWOA==
X-Gm-Message-State: AIVw113xpx89RVHi7cqTeCUZbK4Pta86fcULdwD7bzk3MBgtdxu3lyXL
OFmh+mPlmFwYu+rlN9Y=
X-Received: by 10.223.165.146 with SMTP id g18mr7408963wrc.167.1500586247888;
Thu, 20 Jul 2017 14:30:47 -0700 (PDT)
Original-Received: from p ([2001:4c50:256:ae00:17b:60a8:c035:1ef6])
by smtp.gmail.com with ESMTPSA id s4sm1681807wmb.27.2017.07.20.14.30.46
for
(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
Thu, 20 Jul 2017 14:30:46 -0700 (PDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
the Swiss army knife of text editors"
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
Xref: news.gmane.org gmane.emacs.bugs:134801
Archived-At:
The docstring of `print-gensym' says:
When the uninterned symbol appears within a recursive data structure,
and the symbol appears more than once, in addition use the #N# and #N=
constructs as needed, so that multiple references to the same symbol are
shared once again when the text is read back.
However, that doesn't seem to be the case, e.g.:
emacs -Q -batch -eval '(let ((print-gensym t)) (print (quote (let ((#1=#:a 1)) #1#))))'
prints
(let ((#:a 1)) #:a)
In GNU Emacs 26.0.50 (build 73, x86_64-apple-darwin16.6.0, NS appkit-1504.83 Version 10.12.5 (Build 16F73))
of 2017-07-20 built on p
Repository revision: 644cdd1aa0a10dbfffa3b9b4c7a97f8cddded0b8
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Configured using:
'configure --with-modules --without-xml2 --without-pop --with-mailutils
--enable-gcc-warnings=yes MAKEINFO=/usr/local/opt/texinfo/bin/makeinfo
'CFLAGS=-O3 -g0' LDFLAGS=-O3'
Configured features:
DBUS NOTIFY ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS NS MODULES
Important settings:
value of $LANG: de_DE.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/xterm xterm
time-date tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote dbusbind kqueue cocoa ns multi-tty make-network-process emacs)
Memory information:
((conses 16 208472 8349)
(symbols 48 20232 1)
(miscs 40 33 159)
(strings 32 29516 1081)
(string-bytes 1 777795)
(vectors 16 32977)
(vector-slots 8 669903 8589)
(floats 8 52 295)
(intervals 56 189 0)
(buffers 992 11))