windows setup for emacsclient
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
windows setup for emacsclient         


Author: rustom
Date: Mar 12, 2008 09:36

What do I have to do to open a file with emacsclient in windows?

Yeah I know one must first start emacs with server-start -- I am
wondering about the more windows-y part. I am, say, in windows
explorer and want to right-click file and choose open in emacsclient.
I can even do it now but I have to literally go hunting after it:
Shift-rt-click -> Open with ->Browse -> Program Files... -> emacs ->
bin -> emacsclientw -> Ok ... -> Ok
...... every time the same bally-hoo.

Related to this: How to give the -n option? Because otherwise when I
kill that buffer emacs pops a window at me saying the client is still
waiting for the server or some such thing.
3 Comments
Re: windows setup for emacsclient         


Author: B. T. Raven
Date: Mar 15, 2008 21:28

rustom wrote:
> What do I have to do to open a file with emacsclient in windows?
>
> Yeah I know one must first start emacs with server-start -- I am
> wondering about the more windows-y part. I am, say, in windows
> explorer and want to right-click file and choose open in emacsclient.
> I can even do it now but I have to literally go hunting after it:
> Shift-rt-click -> Open with ->Browse -> Program Files... -> emacs ->
> bin -> emacsclientw -> Ok ... -> Ok
> ...... every time the same bally-hoo.
>
> Related to this: How to give the -n option? Because otherwise when I
> kill that buffer emacs pops a window at me saying the client is still
> waiting for the server or some such thing.

Go to a msdos prompt and type something like:

ftype emacs=c:\emacs\bin\emacsclientw.exe -n "%%1"

but with your appropriate path (you can call the part before = whatever
you want)

and then (for example):
Show full article (1.93Kb)
no comments
Re: windows setup for emacsclient         


Author: rustom
Date: Mar 17, 2008 00:55

On Mar 16, 10:27 am, "B. T. Raven" nihilo.net> wrote:
> rustom wrote:
>> What do I have to do to open a file with emacsclient in windows?
>
>> Yeah I know one must first start emacs with server-start -- I am
>> wondering about the more windows-y part. I am, say, in windows
>> explorer and want to right-click file and choose open in emacsclient.
>> I can even do it now but I have to literally go hunting after it:
>> Shift-rt-click -> Open with ->Browse -> Program Files... -> emacs ->
>> bin -> emacsclientw -> Ok ... -> Ok
>> ...... every time the same bally-hoo.
>
>> Related to this: How to give the -n option? Because otherwise when I
>> kill that buffer emacs pops a window at me saying the client is still
>> waiting for the server or some such thing.
>
> Go to a msdos prompt and type something like:
>
> ftype emacs=c:\emacs\bin\emacsclientw.exe -n "%%1"
> ...
Show full article (2.54Kb)
no comments
Re: windows setup for emacsclient         


Author: Chris McMahan
Date: Mar 17, 2008 07:14

rustom gmail.com> writes:
> On Mar 16, 10:27 am, "B. T. Raven" nihilo.net> wrote:
>> rustom wrote:
>>> What do I have to do to open a file with emacsclient in windows?
>>
>>> Yeah I know one must first start emacs with...
Show full article (3.15Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
Windows XP and Windows Vista ExpertZone chat tomorrow, June 5th 10am PSTmicrosoft.public.windows.vista.mail ·
ANN: Windows Vista SP1 IS On Microsoft Windows Vista Connect, Just FYI.microsoft.public.windows.vista.general ·