From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#18909: 24.4.50; unexpected (prin1-to-string '(foo "bar") t) Date: Fri, 31 Oct 2014 20:21:00 +0100 Message-ID: <87tx2knizn.fsf@igel.home> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414789048 19249 80.91.229.3 (31 Oct 2014 20:57:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2014 20:57:28 +0000 (UTC) Cc: 18909@debbugs.gnu.org To: Oleh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 31 21:57:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1XkJFy-0007ii-GR for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Oct 2014 21:57:14 +0100 Original-Received: from localhost ([::1]:43711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkJFL-0006Vq-1z for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Oct 2014 16:56:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkHly-0003sC-JE for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2014 15:22:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkHls-0001zo-AF for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2014 15:22:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkHlr-0001zj-Jh for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2014 15:22:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XkHlr-0005YU-5d for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2014 15:22:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Oct 2014 19:22:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18909 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18909-submit@debbugs.gnu.org id=B18909.141478326621249 (code B ref 18909); Fri, 31 Oct 2014 19:22:03 +0000 Original-Received: (at 18909) by debbugs.gnu.org; 31 Oct 2014 19:21:06 +0000 Original-Received: from localhost ([127.0.0.1]:44113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkHkw-0005Wf-5q for submit@debbugs.gnu.org; Fri, 31 Oct 2014 15:21:06 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:36746) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkHkt-0005WT-3m for 18909@debbugs.gnu.org; Fri, 31 Oct 2014 15:21:04 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3jTtfQ163Yz3hjtw; Fri, 31 Oct 2014 20:21:01 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3jTtfP635WzvhLb; Fri, 31 Oct 2014 20:21:01 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id j1JPYkItaCtT; Fri, 31 Oct 2014 20:21:00 +0100 (CET) X-Auth-Info: LvAWhR/q93nrD1SocOftivbDNkjSBSrNZxnTy5XwOIatVi3NQjQM1/OofMheJ6op Original-Received: from igel.home (ppp-188-174-153-236.dynamic.mnet-online.de [188.174.153.236]) by mail.mnet-online.de (Postfix) with ESMTPA; Fri, 31 Oct 2014 20:21:00 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id 81E482C0552; Fri, 31 Oct 2014 20:21:00 +0100 (CET) X-Yow: I want to TAKE IT HOME and DRESS IT UP in HOT PANTS!! In-Reply-To: (Oleh's message of "Thu, 30 Oct 2014 17:58:39 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95331 Oleh writes: > To my surprise, > > (prin1-to-string '(foo "bar") t) > > evaluates as "(foo bar)". This seems like a bug to me, since it doesn't > conform to the doc (it's not the printed representation of the OBJECT any more). "This function outputs quoting characters when necessary to make output that `read' can handle, whenever possible, unless the optional second argument NOESCAPE is non-nil." Escaping is about _all_ quotation, not only the backslash. It's the difference between prin1 and princ. 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."