@wingo I like the idea to make a default-prompt-tag a parameter: https://gitlab.com/spritely/guile-hoot/-/blob/main/module/hoot/prelude.scm?ref_type=heads#L328
I also find your implementation quite similiar to what I tried to do with shift/reset above.
Thank you for sharing!