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

Daemon support #509

Open
eginhard opened this issue Jul 28, 2022 · 3 comments
Open

Daemon support #509

eginhard opened this issue Jul 28, 2022 · 3 comments

Comments

@eginhard
Copy link
Contributor

I usually use Emacs by starting a daemon that I leave running and then connect to it in graphical mode with emacsclient -c. This doesn't seem to work well with Radian.

When starting the daemon, display-graphic-p is nil, so the toolbar and other UI elements are not disabled and will show in the clients. The zerodark theme also uses fallback colours because it sees that the daemon doesn't have true colour support although this wouldn't be an issue in the clients.

Is there a way to better support this workflow in Radian?

@raxod502
Copy link
Member

raxod502 commented Sep 3, 2022

Yeah, this is a known problem. I too have tried to use the daemon in the past but have abandoned it because of edge cases that seemed to be difficult to work around. I believe the only way to get things even halfway workable is to start the daemon as a graphical instance of Emacs. If you start it from the terminal, then it's locked to a broken tty compatibility mode. I have tried to figure out how to get both graphical and terminal clients to coexist in the same Emacs daemon, but to no avail.

@hrehfeld
Copy link

I've been using nothing but daemon for a few years.

I have problems with desktop restoring, and fonts only show after creating a second frame, but otherwise everything seems to work fine.

@raxod502
Copy link
Member

@hrehfeld Did you have to do any particular configuration to make things work? Color themes often query display-graphic-p so I'm surprised this would work out of the box.

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

No branches or pull requests

3 participants