emacs-devel
[Top][All Lists]
Advanced

[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: Fri, 31 Oct 2014 21:51:45 +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.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]