louis77
2021-2-15 08:08:47

@louis77 has joined the channel


greg
2021-2-15 14:02:50

@yilin.wei10 I don’t understand what you mean by “breaks the diagnostic information”? (equal 'foo #'foo) is t. wrt add-hook, is here an example from racket-xp-mode. It does: (add-hook 'completion-at-point-functions #'racket-xp-complete-at-point t t) In a buffer with racket-xp-mode enabled, C-h v and enter completion-at-point-functions it shows: completion-at-point-functions is a variable defined in minibuffer.el.gz. Value in #<buffer foo.rkt> (racket-xp-complete-at-point) where racket-xp-complete-at-point is clickable and leads to a help page for that variable. (I checked this both byte-compiling racket-xp.el and not.)


yilin.wei10
2021-2-15 22:19:36

Yes @greg, you’re absolutely right wrt to add-hook. I’m not sure what I was doing earlier because I was messing in the REPL for an associated task and managed to get this…

(#f(compiled-function () #<bytecode 0xc9d02d>))


yilin.wei10
2021-2-15 22:22:53

Inside of my hooks.


yilin.wei10
2021-2-15 22:29:26

@greg btw, just to let you know I haven’t forgotten about the open PR - I’ll probably tidy it up in the next few days, because I’ve been dog-fooding it for long enough.


greg
2021-2-16 02:27:51

Interesting. idk. Maybe this can happen when a lambda gets byte-compiled?


greg
2021-2-16 02:29:16

@yilin.wei10 Sounds good. I felt bad that I hadn’t looked at in awhile. I got busy around the US holidays, then focused on other things, since. But if you update the PR and nudge me again I’ll take another look!