[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: On cl-print and help-fns

From: Stefan Monnier
Subject: Re: On cl-print and help-fns
Date: Fri, 30 Jun 2017 02:11:55 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> While cl-print is a nice feature, I am puzzled why its use in the help
> buffer is neither documented nor configurable.

> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2c18969c8

> I think that "Its value is #f(compiled-function () #<bytecode>)", while
> less messy, is less useful than just seeing the bytecode, as the bytecode
> would at least give me a clue.  The cl-prin1-to-string output is opaque.

Maybe we should default cl-print-compiled to `static`, so as to hide the
byte-code, but still show the constants used in the code?


PS: Oh, and IIUC in the latest version of the code, you might be
able to click on the #<bytecode> to see a disassembly of the code.

reply via email to

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