Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [server]

The Emacs server, which allows opening files and running commands in an existing Emacs instance

25 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
67 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 ...
ReneFroger's user avatar
  • 3,880
1 vote
0 answers
136 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 ...
Vipul Rajan's user avatar
1 vote
0 answers
76 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 '...
Alpin Cleopatra's user avatar
1 vote
0 answers
70 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 ...
Chris Hunt's user avatar
1 vote
0 answers
67 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 ...
alecvn's user avatar
  • 419
1 vote
0 answers
311 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 ...
pedz's user avatar
  • 375
1 vote
0 answers
139 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?
zcaudate's user avatar
  • 647
1 vote
0 answers
107 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 ...
tboyce12's user avatar
  • 332
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 ...
Steve Harman's user avatar
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 ...
ReneFroger's user avatar
  • 3,880
0 votes
1 answer
35 views

Is it possible to use Microsoft dev tunnels to connect to an emacs server running on Azure?

I'm in an environment where Tramp/ssh is not possible as a means of remote editing. However, developers using VSCode are able to connect their local versions of vscode to the remote vscode server ...
Charles Lowell's user avatar
0 votes
0 answers
40 views

How to add response headers in Simple-httpd

I ran Simple-httpd emacs webserver that was described on https://github.com/skeeto/emacs-web-server site. I used the code (use-package simple-httpd :ensure t :config (setq httpd-root &...
trzczy's user avatar
  • 101
0 votes
0 answers
36 views

What to do with lisp code of web server to run it?

Before I was using Apache web server and Node Express but then I started to learn Emacs for the web purpose. After I found the web server code I could not start it or maybe I started it but but did ...
trzczy's user avatar
  • 101
0 votes
0 answers
46 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 ...
StackExchanger's user avatar
0 votes
0 answers
70 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 (...
Sake's user avatar
  • 335
0 votes
0 answers
111 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 ...
HappyFace's user avatar
  • 830
0 votes
0 answers
85 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 ...
Aronurr64's user avatar
0 votes
0 answers
99 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 ...
Artem Yu's user avatar
  • 185
0 votes
0 answers
162 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 ...
x-yuri's user avatar
  • 291
0 votes
0 answers
75 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 ...
sribaroud's user avatar
0 votes
0 answers
294 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 $ ...
skizo's user avatar
  • 285
0 votes
0 answers
534 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[...
Georgy Grigoryev's user avatar
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 ...
sandric's user avatar
  • 1,271
0 votes
0 answers
420 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 ...
anquegi's user avatar
  • 749
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 ...
bright-star's user avatar