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

Make racket-xp-mode support temporary buffers? #721

Closed
drcxd opened this issue Sep 23, 2024 · 1 comment
Closed

Make racket-xp-mode support temporary buffers? #721

drcxd opened this issue Sep 23, 2024 · 1 comment

Comments

@drcxd
Copy link

drcxd commented Sep 23, 2024

By temporary buffers I mean buffers that is not backed by any file.

My problem can be reproduced by openning a buffer that is not backed by any file in racket-mode. For example, use org-edit-special on a Racket source code block in an org file. (This was my use case when I found the issue.) Alternatively, you can create a new buffer and enable racket-mode and racket-xp-mode.

The completion feature of racket-xp-mode does not work in such a buffer, unless you execute racket-run in it. This requires repeatedly execute the command when working in multiple org-edit-special buffers. Is any improvement about this possible?

@greghendershott
Copy link
Owner

Dang. Actually I'd noticed this and figured it out when working on #692 -- which is about reconciling org-babel and racket-hash-lang-mode, and which is complicated enough that I let that overall issue languish.

I wish I'd thought to extract the simpler change, about racket-xp-mode and the buffer file name.

I'll merge a commit for that.

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

No branches or pull requests

2 participants