[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to actually print single ‘\’ character?
From: |
Eli Zaretskii |
Subject: |
Re: How to actually print single ‘\’ character? |
Date: |
Wed, 23 Dec 2020 14:35:09 +0200 |
User-agent: |
K-9 Mail for Android |
On December 23, 2020 1:55:49 PM GMT+02:00, Pankaj Jangid
<pankaj@codeisgreat.org> wrote:
>
> Now I have confusion with single backslash. See following two forms,
> their output and return values:
>
> (message "this \\ is a single embedded backslash") ⊣ "this \ is a
> single
> embedded backslash" ⇒ "this \\ is a single embedded backslash"
>
> (message "this \ is a single embedded backslash") ⊣ "this is a single
> embedded backslash" ⇒ "this is a single embedded backslash"
>
> Why the output and return same for string with single backslash?
Because the return value should be suitable for the Lisp reader.
Re: How to actually print single ‘\’ character?, Eli Zaretskii, 2020/12/23