hy and hy-mode.el start-up behavior #2057
-
I’m trying to configure Within my Error: Is this an issue with mangling or improper use of delimiters? Also, is there a default start-up file that If I am reading the documentation properly, it does look like I can set Finally, is it possible to dynamically reset Appreciate the help. Looking to really start playing around with the language once I understand how to use it properly within emacs. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
you can set repl output fn with the following in your emacs configs 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 |
Beta Was this translation helpful? Give feedback.
-
I am clearly missing something in trying to set up the HYSTARTUP file. I am using 0.20.0 I have added a test Any advice appreciated. Thanks in advance.
|
Beta Was this translation helpful? Give feedback.
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