Timeline for Set up Emacs on Windows to start a single instance and open files in the existing instance
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 5, 2015 at 4:27 | comment | added | Kaushal Modi | Update: Got it working after (setq server-use-tcp t) (defun server-ensure-safe-dir (dir) "Noop" t) and setting EMACS_SERVER_FILE to point NOT to the directory but to the actual server file (For me that was PATH\TO\.emacs.d\server\server). | |
| Nov 5, 2015 at 4:06 | comment | added | Kaushal Modi | Hmm, for me evaluating (server-running-p) returns :other on Windows (even after trying setting that EMACS_SERVER_FILE env var. | |
| S Dec 30, 2014 at 16:12 | history | suggested | cristobalito | CC BY-SA 3.0 | Command is server-start not start-server |
| Dec 30, 2014 at 15:21 | comment | added | cristobalito | @Ryan I was able to get this working without the need for the environment variable - just needed to ensure that the server was running. | |
| Dec 30, 2014 at 15:19 | review | Suggested edits | |||
| S Dec 30, 2014 at 16:12 | |||||
| Dec 30, 2014 at 12:36 | vote | accept | cristobalito | ||
| Sep 30, 2014 at 0:10 | comment | added | Ryan | In order to get the server to work properly with my configuration, I also had to add an environment variable EMACS_SERVER_FILE that pointed to my .emacs.d\server directory. | |
| Sep 24, 2014 at 23:11 | history | edited | Malabarba | CC BY-SA 3.0 | added 1 character in body; added 2 characters in body |
| Sep 24, 2014 at 19:17 | comment | added | cristobalito | Regarding the emacsclient.exe, shouldn't that be emacsclientw.exe? Also, I thought you had to run this with the -a flag to specify an alternative editor if the server wasn't running. | |
| Sep 24, 2014 at 19:12 | comment | added | cristobalito | Thanks - great point about the server, I wasn't thinking. | |
| Sep 24, 2014 at 17:21 | history | edited | Malabarba | CC BY-SA 3.0 | added 22 characters in body |
| Sep 24, 2014 at 10:49 | history | answered | Malabarba | CC BY-SA 3.0 |