unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Oleh Krehel <o.krehel@tue.nl>
Cc: emacs-devel@gnu.org
Subject: Re: prin1-to-string noescape parameter
Date: Fri, 31 Oct 2014 21:51:45 +0100	[thread overview]
Message-ID: <87a94cm07y.fsf@igel.home> (raw)
In-Reply-To: <CAJ1SQWDeLkoK6K-xkroQHBJoqsR0r+q1zyipbKo9SeDzuvujKg@mail.gmail.com> (Oleh Krehel's message of "Fri, 31 Oct 2014 21:11:55 +0100")

Oleh Krehel <o.krehel@tue.nl> 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."



  reply	other threads:[~2014-10-31 20:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31 16:15 prin1-to-string noescape parameter Oleh Krehel
2014-10-31 19:11 ` Andreas Schwab
2014-10-31 20:11   ` Oleh Krehel
2014-10-31 20:51     ` Andreas Schwab [this message]
2014-10-31 21:24       ` Oleh Krehel
2014-11-01  7:34         ` Andreas Schwab
2014-11-01  8:28           ` Oleh Krehel
2014-11-01 10:03             ` Andreas Schwab
2014-10-31 19:54 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a94cm07y.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=emacs-devel@gnu.org \
    --cc=o.krehel@tue.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).