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

Starting Emacs in daemon mode

1 vote

emacs --daemon frozen when started with emacsclient file

/bin/sh export TTY=$(basename `tty`) emacs --daemon="emacs-$TTY" emacsclient -n -nw --socket-name="emacs-$TTY" emacsclient -nw --socket-name="emacs-$TTY" "$@" called emacs-server-start. … Saving this to a file is necessary because the argument to -a must be a single command (i.e., emacsclient -a 'emacs --daemon' does not work). …
asmeurer's user avatar
  • 1,612
3 votes
1 answer
2k views

emacs --daemon frozen when started with emacsclient file

I use emacs in the terminal and this gives a unique daemon for each terminal session. If I start the daemon by running emacsclient with no arguments, it starts and everything works fine. … The only way to fix it is to kill -9 the daemon process and to restart it without opening a file. I am using emacs 24.4 compiled with --without-x with Mac OS X in iTerm 2. …