[Top][All Lists]

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

Re: emacsclient and gnuclient on msw2000

From: Lennart Borgman (gmail)
Subject: Re: emacsclient and gnuclient on msw2000
Date: Sun, 13 Jan 2008 21:35:20 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

B. T. Raven wrote:
I want to associate certain file extensions with Emacs so that a new instance of Emacs is not opened when a file is clicked on. Is it possible to do this in a w32 environment? Recently I saw this in the ng but I don't understand it:

REM $Id: emacsassoc.bat,v 1.1 2003/01/10 08:21:27 reichr Exp $
REM You should adjust the path to gnuclientw.exe
REM %%1 is needed for 4nt, %1 can be used for cmd.exe

ftype emacs-file=c:\emacs\bin\gnuclientw.exe -q -F "%%1"
assoc .vhdl=emacs-file
assoc .vhd=emacs-file
assoc .v=emacs-file
assoc .c=emacs-file
assoc .txt=emacs-file
assoc .el=emacs-file
assoc .tex=emacs-file

I have changed the path to match my local one but I see that in the bin directory I have emacsclientw and not gnuclient.

I have deleted the .txt association (with Notepad) from the w2000 extensions and I wanted to do something like in the above example to have any .txt file opened in a buffer in an already open emacs instance.
Is that possible?

My version is 22.1

Hi Ed,

There are some brief instructions here

Notice that with Emacs 22 you can use emacsclientw.exe instead of gnuclientw.exe.

reply via email to

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