Skip to content

Support TRAMP by spawning remote servers - #472

Open
bastianbeischer wants to merge 2 commits into
copilot-emacs:mainfrom
bastianbeischer:feat/tramp
Open

Support TRAMP by spawning remote servers#472
bastianbeischer wants to merge 2 commits into
copilot-emacs:mainfrom
bastianbeischer:feat/tramp

Conversation

@bastianbeischer

@bastianbeischer bastianbeischer commented May 20, 2026

Copy link
Copy Markdown

Please note: The proposed changes in this PR were largely developed with the assitance of Copilot with Claude Sonnet 4.6 and Claude Opus 4.7...

  • We now spawn one server per remote host (identified by tramp remote prefix)
  • Use hash tables to track connections and servers

Also note: This also allows to use devcontainers where you launch the server within a restricted docker container and open files using tramp within the container. This allows sandboxing functionality of the copilot server, which many organisations require.

@bastianbeischer

Copy link
Copy Markdown
Author
  • missing: user is currently expected to install the server themselves on the remote server.

beranekba and others added 2 commits June 16, 2026 13:53
Follow-ups on the TRAMP server support:

- Add CHANGELOG and README entries for per-host remote servers and the
  new copilot-disconnect command.
- Wrap a few docstrings introduced by the feature to stay within the
  80-column convention (silences byte-compile warnings).
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

Successfully merging this pull request may close these issues.

3 participants