[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: prin1-to-string noescape parameter
From:
Andreas Schwab
Subject:
Re: prin1-to-string noescape parameter
Date:
2014年11月01日 08:34:56 +0100
User-agent:
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Oleh Krehel <address@hidden> 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.
>
> Not possible in general, but the thing that I want can be done
> by changing slightly the condition at line 240 of print.c
No, you can't. You have already discarded all necessary information.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Re: prin1-to-string noescape parameter,
Andreas Schwab <=