Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support plain-text and other sessions #3

Closed
countvajhula opened this issue Nov 16, 2023 · 0 comments
Closed

Support plain-text and other sessions #3

countvajhula opened this issue Nov 16, 2023 · 0 comments

Comments

@countvajhula
Copy link
Owner

countvajhula commented Nov 16, 2023

Currently, the buffer name, file extension and major mode are hardcoded to Racket/.rkt/racket-mode. This should be changed to be based on the chosen template. That is, we could rely on the template extension to determine all of these values.

  • Use "Mindstream" as the buffer name instead of "Racket"
  • Infer .rkt in the template to mean racket-mode, .el to imply emacs-lisp-mode, etc.
  • So either maintain a hash mapping file extensions to major mode, or (better) find a way to query Emacs's existing mapping of file extension to major mode

Also see greghendershott/racket-mode#628

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant