unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacsclientw on w64
@ 2012-09-29 22:21 B. T. Raven
  2012-09-30  6:58 ` Eli Zaretskii
       [not found] ` <mailman.9993.1348988293.855.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 8+ messages in thread
From: B. T. Raven @ 2012-09-29 22:21 UTC (permalink / raw)
  To: help-gnu-emacs

I used to diddle with registry to get emacsclientw to work on w2000 but
am afraid to do that on w64. I found this .bat file on web along with
instructions to convert it to runemacsclientw.exe

@echo off
:: Emacs binaries...
set binpath=c:\Program Files\emacs\bin ;; my binpath is directly in c:\
:: emacs\bin If no arg is given set filename to c:\ ;; why directory ::
instead of file?

if "%~1"=="" (
  set filename=c:\
) else (
  set filename=%~1
)
:: Run Emacsclient
"%binpath%\emacsclientw.exe" --no-wait
--alternate-editor="%binpath%\runemacs.exe" "%filename%"

After associating some file extensions with it (.bat .txt and a few
others) I ran it a few times and it worked for a while and then caused a
rotating blue circle of death (had to logoff and restart windows).
Security properties on appdata\roaming\.emacs.d\server are full control
for admin, system, and me. On the runemacsclientw.exe in emacs/bin only
admin and system have full control.  What do I need to do to get this to
work? It seems like a safer method of running emacsclientw than directly
through registry editing.

tnx,

Ed


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-10-01 15:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-29 22:21 emacsclientw on w64 B. T. Raven
2012-09-30  6:58 ` Eli Zaretskii
     [not found] ` <mailman.9993.1348988293.855.help-gnu-emacs@gnu.org>
2012-09-30 18:36   ` B. T. Raven
2012-09-30 22:02     ` Eli Zaretskii
2012-10-01  0:54     ` Jason Rumney
2012-10-01  3:28       ` B. T. Raven
2012-10-01  7:22         ` Eli Zaretskii
     [not found]         ` <mailman.10052.1349076148.855.help-gnu-emacs@gnu.org>
2012-10-01 15:34           ` B. T. Raven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).