Eli Zaretskii <[email protected]> writes: >> X:\path_to\emacs\bin>emacsclientw.exe >> >> with no arguments pops a dialog error: >> >> "emacsclientw.exe: file name or argument required" > > This is expected: it really does need a file name.
It does not need a file name if you pass the -c argument to open a new frame. I have the following set up as the "Emacs" shortcut command: C:\emacs\bin\emacsclientw.exe --no-wait -c --alternate-editor="" Additionally, you need to have the following in the emacs startup files (~/.emacs.d/init.el or site-lisp/default.el): (server-start) A blank --alternate-editor (or -a) option starts the daemon on-demand if it is not already running. If you've started it already at startup, then it should reuse that. -- Jason Rumney
