all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: emacsclient and gnuclient on msw2000
Date: Sun, 13 Jan 2008 12:59:05 -0600	[thread overview]
Message-ID: <7sidnVBknf9_wxfanZ2dnUVZ_gmdnZ2d@sysmatrix.net> (raw)

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

Thanks,
Ed

             reply	other threads:[~2008-01-13 18:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-13 18:59 B. T. Raven [this message]
2008-01-13 20:35 ` emacsclient and gnuclient on msw2000 Lennart Borgman (gmail)
     [not found] ` <mailman.6106.1200256527.18990.help-gnu-emacs@gnu.org>
2008-01-13 22:16   ` B. T. Raven
2008-01-13 23:04     ` Lennart Borgman (gmail)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7sidnVBknf9_wxfanZ2dnUVZ_gmdnZ2d@sysmatrix.net \
    --to=nihil@nihilo.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.