From: Oleh Krehel <o.krehel@tue.nl>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: emacs-devel@gnu.org
Subject: Re: prin1-to-string noescape parameter
Date: Fri, 31 Oct 2014 21:11:55 +0100 [thread overview]
Message-ID: <CAJ1SQWDeLkoK6K-xkroQHBJoqsR0r+q1zyipbKo9SeDzuvujKg@mail.gmail.com> (raw)
In-Reply-To: <87y4rwnjev.fsf@igel.home>
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
next prev parent reply other threads:[~2014-10-31 20:11 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 [this message]
2014-10-31 20:51 ` Andreas Schwab
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ1SQWDeLkoK6K-xkroQHBJoqsR0r+q1zyipbKo9SeDzuvujKg@mail.gmail.com \
--to=o.krehel@tue.nl \
--cc=emacs-devel@gnu.org \
--cc=schwab@linux-m68k.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.