GNU bug report logs -
#55853
28.1; Please document f#(...) syntax in Elisp manual
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Wed, 8 Jun 2022 16:57:01 UTC
Severity: normal
Found in version 28.1
Fixed in version 28.2
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 55853 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
> See https://stackoverflow.com/q/72547221/729907.
>
> Users see this #f(...) syntax. They should be able to consult the doc
> in some way to find out what it is/means. Please consider documenting
> it in the Elisp manual. Thx.
From the URL:
The syntax in question is in the following expression
((remote . emacs)
(system . #f(compiled-function
(file path)
#<bytecode -0x47e8150df949387>))
(t . #f(compiled-function
(file path)
#<bytecode -0x47e8150df949387>)))
It's from:
(cl-defmethod cl-print-object ((object compiled-function) stream)
(unless stream (setq stream standard-output))
;; We use "#f(...)" rather than "#<...>" so that pp.el gives better results.
(princ "#f(compiled-function " stream)
I.e., it's from the "pretty" version of prin1, and is not meant to be
readable by the Lisp reader.
I've now mentioned this in the Special Read Syntax node in the lispref
manual in Emacs 28.2.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 2 years and 321 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.