Questions tagged [server]
The Emacs server, which allows opening files and running commands in an existing Emacs instance
22
questions with no upvoted or accepted answers
1
vote
0
answers
93
views
Some Icons Don't Show Up When Running in Server/Client Mode
I am writing my own config from scratch in emacs. It's not a very complicated config so far. I have installed all-the-icons font. It works just fine when I launch emacs directly and start working in ...
1
vote
0
answers
65
views
How to start tide server in Emacs For Mac OS X?
In the .spacemacs file, typescript configuration layer is
dotspacemacs-configuration-layers
'(
┆(typescript :variables
┆ ┆ ┆ ┆javascript-backend 'tide
┆ ┆ ┆ ┆typescript-fmt-tool '...
1
vote
0
answers
63
views
Why does server-eval-at seem to change the behavior of read-string?
I am trying to create a script that, when run with emacs, will read commands from stdin a line at a time, execute them in another emacs process (with server-eval-at) and print the result. The process ...
1
vote
0
answers
63
views
Is it possible to see the cursor of other emacsclients?
I'm trying to run Emacs server in order to collaborate on org files in our office.
emacsclient makes it quite easy to have everyone connect to the same instance of a file and we can see real time ...
1
vote
0
answers
287
views
Can emacs on Mac using native window system connect to an emacs server on a Linux system
At this point I believe I am using the emacs version on my Mac that is built by Homebrew and the "stock" emacs on Ubuntu 18.04.
I set up emacs server on the Ubuntu host as it is described in Starting ...
1
vote
0
answers
135
views
is it possible for two people, using different emacs and keybindings to edit the same file synchronously?
I want to pair program with a couple of people but my keybindings in emacs are not the same as theirs. Is there a way to edit the same file but keep the keybindings different?
1
vote
0
answers
104
views
How to RPC from External Process to Emacs
How can I RPC from an external application into Emacs then have a function in Emacs handle the RPC?
For example, I would like to make a D3.js webpage with a dependency graph of a codebase, view and ...
1
vote
0
answers
115
views
Running emacs server via systemd prevents inverse search and nice view
Background: I am using systemd to run my emacs server and my usual workflow always involves invoking emacsclient. Both server and client are on the same computer running Debian Jessie. The method is ...
1
vote
0
answers
362
views
Emacs reads the server file, before executing the command
I use Emacs as server instance.
When I start EMacs Client, he will check if the file .emacs.d/server/server exists. If not so, then he will initiating a Emacs server instance, and my Emacs ...
0
votes
0
answers
31
views
How to keep buffers when closing only Emacs client?
I use Emacs 29.1.
When I open Emacsclient, I do it with the following command:
emacsclient -a -c --create-frame --no-wait
This is bounded to a key combination to start the Emacsclient.
To kill a ...
0
votes
0
answers
26
views
using desktop.el in --daemon mode
I eventually figured out that the answer to this question
https://groups.google.com/g/gnu.emacs.help/c/WZoW0LlqX6c/m/08Sa6alHp1oJ
was to choose --bg-daemon rather than --fg-daemon when starting the ...
0
votes
0
answers
64
views
Org Mode bullets indentation display differently between normal and server mode
Does anybody has any clue why the same configuration yield different appearances between normal vs server-mode ?
Here's the normal mode (the correct one)
And here's when run Emacs in server-mode
(...
0
votes
0
answers
98
views
How do I make Emacs not complain about not being able to start a new server?
I use the mac port version of emacs for handling org-protocol URLs, because I need a graphical instance when I use org-protocol from Chrome. The problem is that emacs will try to start an emacs server ...
0
votes
0
answers
79
views
Server-edit Automatically When Buffer is Killed
I'm considering using emacs as a server (using (server-start)) but I do not want to use C-x # to kill buffers. I've heard of the -n option for emacsclient, but I'm concerned that it may cause unwanted ...
0
votes
0
answers
89
views
How to make a graphical frame when no other graphical frames are present?
One way would be to somehow guess a display and do (make-frame-on-display display). However, (getenv "DISPLAY") does not give a sensible answer (e.g ":" or nil).
I tried to ...
0
votes
0
answers
147
views
How do I reload config in other instances of emacs?
Say, I changed ~/.emacs, but I have another instances of emacs running. I believe unless I do something, they might change the config (because they have a stale notion of its contents), which in turn ...
0
votes
0
answers
72
views
How to have list of program on `dired-do-shell-command` with Emacs server started by systemd
I'm using Emacs as a server started by the systemd user unit.
And on any dired buffer when i try to do dired-do-shell-command or dired-do-async-shell-command I cannot autocomplete any program and ...
0
votes
0
answers
271
views
highlight indentation with emacs client
I realized that neither highlight-indentation nor highlight-indent-guides works with emacs in server/client mode.
I'm launching emacs server/client like this :
$ /usr/bin/emacs --daemon
$ ...
0
votes
0
answers
522
views
Emacs client doesn't connect to running server on Windows
I have fresh new installation of emacs altogether with spacemacs. I set env vars for alternate editor and server file. My server file after starting emacs looks like:
127.0.0.1:64518 11948
'M.P$#NT[...
0
votes
0
answers
65
views
evaluate code in other emacsclient?
I wish I could run code from one emacsclient session inside other. I'm working in terminal via ssh, terminal has two panes connected to machine with emacs via ssh, each pane has its own emacsclient ...
0
votes
0
answers
407
views
Start emacs as tcp server
I'm using GNU Emacs 26.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.5) of 2016-12-20, with arch linux (antergos), I want to start with the option tcp server, so I added and assigment to the ...
0
votes
0
answers
27
views
Odd filename parsing error when scripting emacsclient on OSX
I get the same error as this Stack Overflow asker when trying to use a wrapper script to tell OSX where the emacs server socket is:
I don't think it's a bash issue, as the Emacs PID is correctly ...