Alex Bennée
Alex Bennée
I wonder if this bit is failing: ``` (if (memq window-system '(ns mac)) ;; Aquamacs, Emacs NS, Emacs (experimental) Mac port (make-frame edit-server-new-frame-alist) (make-frame-on-display (getenv "DISPLAY") edit-server-new-frame-alist))) ``` What does...
If edit-server-new-frame is nil it shouldn't try and create a new GUI frame and just pop the edit-server buffer to the front of your tty window of Emacs. I suspect...
make-frame-on-display is really Linux/X windows only.
@alpha22jp yeah I think the logic is a little broken. Fundamentally (window-system) reports the current frames display so is a poor test for deciding if we can create a new...
Well it works if there was a graphical window at some point, which is my default, I only enable edit-servers when: ``` (when (and (getenv "DISPLAY") (daemonp) (not I-am-root)) (if...
OK this fix has caused #132 and #133 so we need a decent solution that keeps both use cases happy. It seems the --daemon does not keep window-system set.
Can you see if this still happens on the https://github.com/stsquad/emacs_chrome/tree/div-background-image-exp branch? It works for me now.
@krishnoid I'm afraid that doesn't add much. I've been unable to reproduce the behaviour on the current master branch with either Google Spreadsheets or my local copy of JIRA -...
How have you installed edit-server.el? Is it in your path? If so some basic debugging. Does it `M-x list-processes` show it running? If so try `M-x edit-server-stop` and `C-u M-x...
Sadly I don't think emacs will give much more information but one thing to check is if there is already something listening on that port. I use "netstat -lptn" on...