help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] launching emacs


From: Jason Lewis
Subject: Re: [h-e-w] launching emacs
Date: Thu, 03 May 2012 15:57:32 +1000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0


Lars Ljung wrote:
> Jason Lewis <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]