Subject: bug#23130: 25.1.50; `C-h f' etc.: escaping in symbol names

From: Andreas Schwab <[email-masked]>
Date: Tue, 08 Feb 2022 10:13:38 +0100

On Feb 08 2022, Lars Ingebrigtsen wrote:

> 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

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."