[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23130: 25.1.50; `C-h f' etc.: escaping in symbol names
From: |
Andreas Schwab |
Subject: |
bug#23130: 25.1.50; `C-h f' etc.: escaping in symbol names |
Date: |
Tue, 08 Feb 2022 10:41:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
On Feb 08 2022, Lars Ingebrigtsen wrote:
> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>>> Why is `prin1' quoting the "." anyway? It's not a special character for
>>> the Lisp reader, is it?
>>
>> The following characters are always escaped in a symbol:
>>
>> if (c == '\"' || c == '\\' || c == '\''
>> || c == ';' || c == '#' || c == '(' || c == ')'
>> || c == ',' || c == '.' || c == '`'
>> || c == '[' || c == ']' || c == '?' || c <= 040
>> || c == NO_BREAK_SPACE
>
> But why "."?
Because it is special to the reader.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."