[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: prin1-to-string noescape parameter
From: |
Oleh Krehel |
Subject: |
Re: prin1-to-string noescape parameter |
Date: |
Fri, 31 Oct 2014 21:11:55 +0100 |
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