From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#18909: 24.4.50; unexpected (prin1-to-string '(foo "bar") t) Date: Fri, 09 Feb 2018 22:10:56 -0500 Message-ID: <87k1vlczen.fsf@users.sourceforge.net> References: <87tx2knizn.fsf@igel.home> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1518232218 13795 195.159.176.226 (10 Feb 2018 03:10:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Feb 2018 03:10:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: Oleh , 18909@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 10 04:10:14 2018 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 1ekLYI-00030D-Lr for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 04:10:10 +0100 Original-Received: from localhost ([::1]:46097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekLaI-0000C0-1D for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Feb 2018 22:12:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekLa9-00009j-92 for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2018 22:12:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekLa6-0003EN-4O for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2018 22:12:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56260) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekLa5-0003E9-W7 for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2018 22:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekLa5-0002z3-Qv for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2018 22:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Feb 2018 03:12:01 +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.151823226611393 (code B ref 18909); Sat, 10 Feb 2018 03:12:01 +0000 Original-Received: (at 18909) by debbugs.gnu.org; 10 Feb 2018 03:11:06 +0000 Original-Received: from localhost ([127.0.0.1]:35924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekLZC-0002xc-3J for submit@debbugs.gnu.org; Fri, 09 Feb 2018 22:11:06 -0500 Original-Received: from mail-it0-f50.google.com ([209.85.214.50]:36258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekLZ9-0002x1-Pc; Fri, 09 Feb 2018 22:11:04 -0500 Original-Received: by mail-it0-f50.google.com with SMTP id n206so675432itg.1; Fri, 09 Feb 2018 19:11:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=wJ6SYUpklLfp4BnZpfxohFW79C/Nm5Qy/psN9SmVUfY=; b=frpqVyI2LvkU9tf68H2j9VDuenW/3+kSFjDG8hX9fL1B7hvjjeXf8iXyUCcF1Lxdai NeftO+XFJfbQHSJmVN+gNMTTGfukXW58YI2t0OqUvKA4Fu/YIVFTmr04bY8+6C5Wdvoo RVctekeUZqArwudVeJxLmh9EItSJCIDpNVasLpVWz2JyTr8PQznWPBgPWSxad7ksPoDz rDhX+XUU7stUVbp93LHw7E+Jwhadzqttoiqp3iXp1ziCbuJxhWtMGfFGNTi4nbYa2zgP GNf2iLBDHAxlOIwW2/4kqhIAyoO4pZ5FuSfjZ2RhImcMz8O64KUtrAvYpvx7lJ0st4u0 jPUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=wJ6SYUpklLfp4BnZpfxohFW79C/Nm5Qy/psN9SmVUfY=; b=FL5KtXLoIAtmA6MrZ91i6TVdQVd3m13Djpwtvvc+ZVMWxdM4gBosKH2F+A3V/1UBgT /MBbICkfEdgv65tigXEXf8bTr3l8yuWv8v10oHbhMSE4M0uPsX3sNHxDlJF6LIt0utNV QCIOHBnxm/8BDqd2FgHTDmCIsUJn6HBBkkrJxGxiF6VPAjtmaBCzjE5eR2/mXMN3vZXn zyHONho20r6ys5naJSUZUQKnEZ/TN/ikwLkxE802DYH4wlMb0SjFSip6E7tP2HcQr5al 5HFpwtBnyoIcehstBe4183VWXUcrWDAFq69ylJw8BrKyiDRdW4nxAzDNFo/1WHxtB++J A8ig== X-Gm-Message-State: APf1xPDpGUo7Ju8ghwTZfRXc/Vzz9voVxiSDZg6qDES/YdXNY1pKZSdh kDstwerGddxU/aJV5xD2s9KGlA== X-Google-Smtp-Source: AH8x227wpq7GnEj6gCFuepZYaCpsgzNy9nfS8+6N+pzvs00+SNn7ovCb0MB80W0tFNIyUobctEAsFA== X-Received: by 10.36.204.139 with SMTP id x133mr6216314itf.75.1518232258278; Fri, 09 Feb 2018 19:10:58 -0800 (PST) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id m71sm4476746iom.70.2018.02.09.19.10.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Feb 2018 19:10:57 -0800 (PST) In-Reply-To: <87tx2knizn.fsf@igel.home> (Andreas Schwab's message of "Fri, 31 Oct 2014 20:21:00 +0100") 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:143065 Archived-At: tags 18909 notabug close 18909 quit Andreas Schwab writes: > 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. Therefore closing as notabug.