Skip to content

Conversation

@tlockney
Copy link
Owner

@tlockney tlockney commented Jan 5, 2026

The EMACS_SOCKET_NAME paths were not matching what Emacs actually creates by default:

  • Darwin: Emacs uses $TMPDIR/emacs (no UID), but shell had UID
  • Linux fallback: Emacs uses /tmp/emacs, but shell was missing UID

This caused emacsclient to fail with "server not running" since it was looking for sockets at the wrong paths.

The EMACS_SOCKET_NAME paths were not matching what Emacs actually
creates by default:

- Darwin: Emacs uses $TMPDIR/emacs (no UID), but shell had UID
- Linux fallback: Emacs uses /tmp/emacs<uid>, but shell was missing UID

This caused emacsclient to fail with "server not running" since it
was looking for sockets at the wrong paths.
@tlockney tlockney merged commit eb2d2fa into main Jan 5, 2026
1 check failed
@tlockney tlockney deleted the claude/fix-emacs-daemon-socket-JcDLY branch January 5, 2026 06:29
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