Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 118

emacsclient is a program which allows the user to connect to the Emacs Server. This is useful when using Emacs as the default editor on Unix-like systems, as it allows Emacs to be invoked without creating a new process, allowing the reuse of shared buffers and command history.

7 votes
3 answers
1k views

Prevent emacsclient from blocking other instances

This is a perfect use case for emacsclient, but it has always had various glitches that have stopped me from using it. …
asmeurer's user avatar
  • 1,612
6 votes
1 answer
1k views

Make emacsclient open multiple files in separate windows

But when I do the same with emacsclient, it only shows the first one. The others are also opened but not visible. How do I get the emacs behavior with emacsclient? …
asmeurer's user avatar
  • 1,612
3 votes
0 answers
399 views

emacsclient doesn't start when visiting a file that is already open

I start emacsclient with emacsclient -a 'emacs-server-start' -nw --socket-name=$TTY, where emacs-server-start is a script that runs emacs --daemon="$TTY" (I use $TTY to get a different client for each … This works well, when I edit a file like e file (here e is an alias to the above emacsclient command), it edits the file. …
asmeurer's user avatar
  • 1,612
1 vote

emacs --daemon frozen when started with emacsclient file

Then start emacsclient with emacsclient -a 'emacs-server-start' -nw --socket-name=emacs-$TTY (I have e aliased to this in my bash configuration). … You basically are creating a custom "start emacs server" alternate editor for emacsclient -a, since emacsclient -a '' doesn't work. …
asmeurer's user avatar
  • 1,612
3 votes
1 answer
2k views

emacs --daemon frozen when started with emacsclient file

This is somewhat of a follow up to Prevent emacsclient from blocking other instances. I am using emacsclient -a '' -nw --socket-name=$TTY where TTY=$(basename tty). … If I start the daemon by running emacsclient with no arguments, it starts and everything works fine. However, if I start it by running emacsclient file, it locks down. …
asmeurer's user avatar
  • 1,612