I see it is possible to do now, but require some not negligible amount of work, 
at least at this time for me... Thanks for the informations.
I will continue to search for an hack on background, nonetheless...
I will let you all know if I find something.

> Ok. Some elements of answer:
> - DrRacket can be started with the option "-singleInstance" to make sure that 
> an existing window is reused to open new files. This option must be used each 
> time the `drracket` executable is called, so it's better to simply make an 
> alias. This also requires libunique to be installed (e.g., "sudo apt-get 
> install libunique-1.0.0").
> 
> - `man drracket` seems to suggest that there's no way to pass any information 
> to the DrRacket instance other than file names.
> - The right thing to do here would be to modify DrRacket to accept lines and 
> columns.
> - I know it's possible to control the cursor position from within DrRacket 
> once we have the info of the line. Something like that for example:
> https://github.com/Metaxal/script-plugin/blob/master/examples/goto-line.rkt
> 
> - One (portable) workaround is to listen to a specific socket and make a 
> small client that sends information through that socket when executing 
> something like `racket -l send-to-drracket-socket -- <file> <line>` that 
> sends relevant info to the aforementioned socket, but that sounds overkill 
> for just this feature (although this socket could in principle be used for 
> any interaction with DrRacket from the outside). 

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to