Questions tagged [emacs-server]
7 questions
9
votes
2 answers
Location of emacs socket
I use emacs on a remote server. Since my sessions usually involve dozens of files and processes, I've been using the emacs server and connecting to it with the emacs client. That has the advantage that, if my ssh connection is interrupted for…

ACz
- 388
- 3
- 9
5
votes
1 answer
Aligning .Xauthority between GDM and SSH
I've run into a problem in that if I start Emacs in daemon mode on my remote system, then in my local system I run ssh remotehost emacsclient -c, it fails with X11 connection rejected because of wrong authentication. However, things like ssh…

MadScientist
- 92,819
- 9
- 109
- 136
2
votes
2 answers
How to obtain a list of running emacs servers from a shell?
I want to write a script that "links" an emacs server to a certain directory.
To do so I need to check all existing servers to be sure if a server with a specific name is running or not. Then the script can decide to start a new server, or not,…

mrcl
- 2,130
- 14
- 29
2
votes
2 answers
Emacs Client: difference between C-x k and C-x #
When running emacs in daemon with a client and I hit C-x k, it says: Emacs buffer still has clients. Are you sure you want to quit?
But when using C-x #, it exits immediately.
I don't understand the difference. Why doesn't C-x k just behave…

darksky
- 20,411
- 61
- 165
- 254
1
vote
1 answer
Initialization Issue Starting Emacs 27.1 in Daemon Mode on Windows 10
After following instructions from https://www.emacswiki.org/emacs/EmacsMsWindowsIntegration
on starting emacs 27.1 as daemon in windows 10 where path\to\emacs is
"c:\emacs-27.1\bin\runemacs.exe --daemon , see here:
You can also open Explorer, type…

F. Certainly.
- 181
- 14
0
votes
1 answer
Org-mode with Emacs: Where do I have to put my export in order to be able to use it in Emacs daemon?
I am struggling since this morning after the installation of CUDA 9 and cudnn 7. I am running emacs as a daemon, zsh as my default shell and I want to user org-mode to write notebook.
Here is my .zshenv:
...
export…

AlEmerich
- 430
- 4
- 13
0
votes
0 answers
Is it possible to use emacsclient to pre-load emacs, but have each window operate independently?
I have been really enjoying having emacs load as a daemon when I login and using emacsclient -c to pop open an emacs window superquick.
However, I often have multiple emacs windows open at a time. Each one is dedicated to a particular project.…

weemattisnot
- 889
- 5
- 16