I might be misunderstanding and the following isn't some fully-thought-out 
proposal, but:

IIUC both #%module-begin and read-eval-print-loop use current-print.

What if current-print accepted a new, optional srcloc parameter?

And the default #%module-begin were changed to supply this?

That way, a print handler for a plain-text tool^1 could use the srcloc to 
create some sort of "link", as well as Racket GUI tools like DrRacket using 
it to create some fancier UI.

^1: This includes TUI tools like emacs, as well as GUI tools like vscode 
using a text serialization format like JSON.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/6e1d2180-288d-4789-88fc-2980aaf03650o%40googlegroups.com.

Reply via email to