Open
Description
I'd like to be able to set a variable to tell racket-hash-lang-mode
what the buffer syntax is. My use case is editing source blocks in org-mode where the #lang is implicit. Source might look like the following
#+begin_src smol :shebang "#lang smol/fun" :tangle lecture1/smol1.rkt
(defvar x 10)
(deffun (f y) (+ x y))
(f 3)
#+end_src
I can configure this to translate smol
to racket-hash-lang-mode
when running org-edit-special (and it works without a file, thanks for that). I'm just experimenting with racket-hash-lang-mode, so I have a hard time seeing what is lost by not actually knowing the #lang
, but I guess it must be something, right?