Re: [racket-users] drracket -- getting the buffer's current filename?

2020-09-01 Thread Laurent
What do you want this for, more precisely?

On Tue, Sep 1, 2020 at 3:35 PM ibar...@radford.edu 
wrote:

> When running from inside drracket, `(find-system-path 'run-file)`
> understandable returns the DrRacket executable.  Is there a way for me to
> further find the name of the source-file, in that situation?
>
> --Ian
>
>
> --
> 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/88284b4f-7772-4fde-b754-6e06e6dbad57n%40googlegroups.com
> 
> .
>

-- 
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/CABNTSaFTX%2BeOUX4qP-v8KL_p%2BL_bTAR8qQmJ%3D7se7dnWuJ-rgQ%40mail.gmail.com.


Re: [racket-users] drracket -- getting the buffer's current filename?

2020-09-01 Thread Robby Findler
Not sure if this is what you want, but here's a thing:

#lang racket
(define-syntax (my-source stx)
  #`'#,(syntax-source stx))

my-source



On Tue, Sep 1, 2020 at 9:36 AM ibar...@radford.edu 
wrote:

> When running from inside drracket, `(find-system-path 'run-file)`
> understandable returns the DrRacket executable.  Is there a way for me to
> further find the name of the source-file, in that situation?
>
> --Ian
>
>
> --
> 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/88284b4f-7772-4fde-b754-6e06e6dbad57n%40googlegroups.com
> 
> .
>

-- 
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/CAL3TdOMfD-zB7yfTFcykBA6mDzLDNBOcMM%3DFpxdLydmx6SGWTA%40mail.gmail.com.


[racket-users] drracket -- getting the buffer's current filename?

2020-09-01 Thread ibar...@radford.edu
 

When running from inside drracket, `(find-system-path 'run-file)` 
understandable returns the DrRacket executable.  Is there a way for me to 
further find the name of the source-file, in that situation?

--Ian


-- 
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/88284b4f-7772-4fde-b754-6e06e6dbad57n%40googlegroups.com.