GNU bug report logs -
#23130
25.1.50; `C-h f' etc.: escaping in symbol names
Previous Next
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
Message #35 received at 23130 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
> (defun foo. () (message "FOOOOOO"))
>
> Put point somewhere on the name `foo.'.
> `C-h f'
> You see this message: Describe function (default foo.):
> ^^^^
>
> Hit `RET'. You see this output in *Help*:
>
> foo\. is a Lisp function.
>
> (foo\.)
>
> Not sure what others might think of this. The name of the symbol is
> "foo.", not "foo\.". This is correctly reflected in the prompt.
Why is `prin1' quoting the "." anyway? It's not a special character for
the Lisp reader, is it?
> (defun bar\ () (message "BARRRR"))
>
> `C-h f'
> Describe function (default bar ): RET
>
> bar\ is a Lisp function.
>
> (bar\ )
>
> Note that the first line here is not even correct - it should at least
> have another SPC char after the `\ '. The way it is written now, it
> suggests that the name is `bar\', i.e., that the symbol is bar\\.
I've now fixed this in Emacs 29.
--
(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.