bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Wed, 09 Mar 2022 18:09:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

On Mär 09 2022, Lars Ingebrigtsen wrote:

> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>>>> 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.
>
> Is it special to the reader inside a symbol?

. and \. are different syntactic entities.

-- 
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."





reply via email to

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