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

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 27 Mar 2016 23:26:02 UTC

Severity: minor

Tags: moreinfo

Found in version 25.1.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 23130 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#23130: 25.1.50; `C-h f' etc.: escaping in symbol names
Date: Tue, 08 Feb 2022 10:29:47 +0100
Andreas Schwab <schwab <at> 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 "."?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.