Skip to content

hy and hy-mode.el start-up behavior #2057

Answered by allison-casey
prairie-guy asked this question in Q&A
Discussion options

You must be logged in to vote

you can set repl output fn with the following in your emacs configs
(setq hy-shell--interpreter-args '("--repl-output-fn" "hy.contrib.pprint.pformat")) hy-repr or pformat are good choices here.

I don't believe you can change the spy behavior while the repl is running. Pretty sure that's a limitation of python's codeop classes that the repl is built on top of. You've made me realize though that if you have a HYSTARTUP file that sets the spy param it won't get overridden if yoiu manually pass --spy. i'll open a PR to fix that

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@prairie-guy
Comment options

Answer selected by allison-casey
Comment options

You must be logged in to vote
5 replies
@allison-casey
Comment options

@prairie-guy
Comment options

@allison-casey
Comment options

@prairie-guy
Comment options

@allison-casey
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants