From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleh Krehel Newsgroups: gmane.emacs.devel Subject: Re: prin1-to-string noescape parameter Date: Fri, 31 Oct 2014 21:11:55 +0100 Message-ID: References: <87y4rwnjev.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1414790947 17623 80.91.229.3 (31 Oct 2014 21:29:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2014 21:29:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 31 22:29:00 2014 Return-path: Envelope-to: ged-emacs-devel@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 1XkJkh-00084f-VK for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2014 22:29:00 +0100 Original-Received: from localhost ([::1]:44099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkJkh-0001Jc-ER for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2014 17:28:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkIY8-0003kN-FC for emacs-devel@gnu.org; Fri, 31 Oct 2014 16:11:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkIY7-0006ca-OZ for emacs-devel@gnu.org; Fri, 31 Oct 2014 16:11:56 -0400 Original-Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:35859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkIY7-0006by-LJ for emacs-devel@gnu.org; Fri, 31 Oct 2014 16:11:55 -0400 Original-Received: by mail-qg0-f47.google.com with SMTP id j107so6228516qga.34 for ; Fri, 31 Oct 2014 13:11:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=rc+UTwc6cHgmugjs7//Ud//UV4NM5CpXD5A0QUvHfXw=; b=O5Zntc7UCN7vcZltssrzEDGf8d/TNpi4K1zuA65CqlHw0PU0mvKclaZ2lPiRUz5nTk /F2F+gEbxrAKPHr3zcU2bs8wfzM7FNAyenVxI28euQw9VDbpBxGM1GFiKunaJ4lQ+5jK 8WhqnQLJ7VjduRty2Aqr5Q7Zy+0gQUEaraaGuBAA0rfJOUqizfcM2Bk23CBMdxyhrvID SfNesRQxr+WLBWumUz2pbeYHZvbKSE5r2KSPXzL1dr4VgdJtJNstT45pLAFaUYPz2FMA lVjlKQDiaZY3kSrNPCKa1g6NA9I7YJKAO9jpBEsGEihGfdzUUhtCJYQ9e3xzgwkKJr7N VR+w== X-Received: by 10.140.39.11 with SMTP id u11mr38889096qgu.32.1414786315329; Fri, 31 Oct 2014 13:11:55 -0700 (PDT) Original-Received: by 10.140.101.215 with HTTP; Fri, 31 Oct 2014 13:11:55 -0700 (PDT) In-Reply-To: <87y4rwnjev.fsf@igel.home> X-Google-Sender-Auth: e_l_ugo8aaw-4zitDZJuYuYVpB0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c04::22f X-Mailman-Approved-At: Fri, 31 Oct 2014 17:28:37 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:176176 Archived-At: Hi Andreas, >> One issue that I'm facing is: >> >> (prin1-to-string (read "(foo.bar baz?)")) >> => "(foo\\.bar baz\\?)" > > Why is that an issue? The strings represent objects that will compare > equal. The issue is that if I have `foo.bar` in the code, and then I re-format my code by: - read text - delete text - manipulate lisp object - insert manipulated lisp object And now my code contains `foo\.bar`, although I don't want it. regards, Oleh