[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] emacsclient gets error with ALTERNATE_EDITOR on Windows 8.1
From: |
Eli Zaretskii |
Subject: |
Re: [h-e-w] emacsclient gets error with ALTERNATE_EDITOR on Windows 8.1 |
Date: |
Tue, 22 Apr 2014 05:45:44 +0300 |
> Date: Mon, 21 Apr 2014 23:22:44 +0000
> From: <address@hidden>
>
> If Emacs is already running, emacsclientw.exe works fine. (I have .txt files
> (for example) associated with it with the -n flag.) However, if Emacs is not
> already running, emacsclient reports an error executing alternate editor
> ""C:\Program Files (x86)\Emacs\bin\runemacs.exe"" (The redundant quotes are
> in the error message from emacsclient.)
>
> I believe that I have set ALTERNATE_EDITOR correctly in the environment
> variables. Indeed, I have the following line in the output of a SET command:
>
> ALTERNATE_EDITOR="C:\Program Files (x86)\Emacs\bin\runemacs.exe"
What happens if you don't quote the string?
What happens if you use a short 8+3 alias of that long name, so that
the name does not include spaces? (You can find out the short alias
by using "dir /x" at cmd prompt.)