Lars Ljung wrote:
> Jason Lewis <jasonble...@gmail.com> writes:
>> Is there some way to launch emacs24 from the windows start launcher and
>> have emacs start in daemon mode if its not already running. if it is
>> already running, create a new frame, as though you launched
>> "emacsclientw.exe -c"
> 
> Start Emacs with "emacsclientw.exe -a runemacs.exe" and make sure you
> have (server-start) in your .emacs.
> 

Hi Lars,

Thanks, that did the trick!

I did try this approach in the past but I counldn't get it to work as
expected. It appears as though this has been fixed and its working now.
You need to add a -c also to the command if you want it to always show a
new window/frame

In case anyone finds this thread this is how I did it:

in Windows 7:
pin the emacsclientw.exe to the start menu.
Right click on the icon in the start menu and change the target to be:
"C:\Program Files (x86)\Emacs\emacs\bin\emacsclientw.exe" -a
"C:\Program Files (x86)\Emacs\emacs\bin\runemacs.exe"  -c

Change "Start in" to: %USERPROFILE% to get a more sane start location.

and change the name on the general tab to emacs (or whatever you like)

Thanks again,

Jason

Reply via email to