Running emacs inside the devcontainer (locally, on docker): * install https://github.com/devcontainers/cli locally * add `emacs-nox` to the [devcontainer docker file](https://github.com/jwhitlark/cnc-devcontainer-templates/blob/main/.devcontainer/Dockerfile.dev) * `devcontainer up --workspace-folder .` * `devcontainer exec --workspace-folder . emacs` ? Running emacs locally and connecting to a repl started in the project. * install https://github.com/devcontainers/cli locally * Should be able to start the repl as a `postStartCommand` in [devcontainer.json](https://github.com/jwhitlark/cnc-devcontainer-templates/blob/main/.devcontainer/devcontainer.json) * Local edits should propagate to the container. * Expose the repl port locally via `forwardPorts` in [devcontainer.json](https://github.com/jwhitlark/cnc-devcontainer-templates/blob/main/.devcontainer/devcontainer.json) * `devcontainer up --workspace-folder .` * Run emacs locally and connect to your repl. Check [this blog post](https://happihacking.com/blog/posts/2023/dev-containers-emacs/) for a slightly different way to do it. Might be better?
Running emacs inside the devcontainer (locally, on docker):
emacs-noxto the devcontainer docker filedevcontainer up --workspace-folder .devcontainer exec --workspace-folder . emacs?Running emacs locally and connecting to a repl started in the project.
postStartCommandin devcontainer.jsonforwardPortsin devcontainer.jsondevcontainer up --workspace-folder .Check this blog post for a slightly different way to do it. Might be better?