From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: prin1-to-string noescape parameter Date: Fri, 31 Oct 2014 21:51:45 +0100 Message-ID: <87a94cm07y.fsf@igel.home> References: <87y4rwnjev.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414789057 19375 80.91.229.3 (31 Oct 2014 20:57:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2014 20:57:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 31 21:57:30 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 1XkJG2-0007ii-Oc for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2014 21:57:18 +0100 Original-Received: from localhost ([::1]:43578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkJBO-0005z4-FW for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2014 16:52:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkJAn-0005kk-G3 for emacs-devel@gnu.org; Fri, 31 Oct 2014 16:51:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkJAi-0001pn-2d for emacs-devel@gnu.org; Fri, 31 Oct 2014 16:51:53 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:38773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkJAh-0001pB-TY for emacs-devel@gnu.org; Fri, 31 Oct 2014 16:51:48 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3jTwg62gDdz3hj28; Fri, 31 Oct 2014 21:51:46 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3jTwg62ChJzvh4N; Fri, 31 Oct 2014 21:51:46 +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 7_7Yxv--iKOK; Fri, 31 Oct 2014 21:51:45 +0100 (CET) X-Auth-Info: evi2tEIdQxKJ95NreCJjydh3WEEVoWMT+1TjPCqUASdqxZqdNDhu/kOLIoCrvtoi 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 21:51:45 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id 37ACC2C375A; Fri, 31 Oct 2014 21:51:45 +0100 (CET) X-Yow: If this was a SWEDISH MOVIE, I'd take off your GO-GO BOOTS!! In-Reply-To: (Oleh Krehel's message of "Fri, 31 Oct 2014 21:11:55 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.9 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:176163 Archived-At: Oleh Krehel writes: > 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. By passing the text through the lisp reading you are discarding all redundancy, so it is impossible in general to get back the original representation. 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."