I just re-ran the setup program and checked that I want Emacs
associated with the verb open for Python. It added the quotes to the
registry entry, but I still get the error message. For latex, I
changed it from a Latex.File to an EmacsFile and this message goes
away. The only problem with this is that the icon is now emacs
instead of Latex.
On 1/20/07, Lennart Borgman (gmail) <address@hidden> wrote:
Ryan Krauss wrote:
> I would like python and latex files to use their own icons in windows
> explorer, but to default to opening with emacs. Right now, .py is a
> Python.File in the registry, and the open command for Python.File is
> C:\Program Files\Emacs\Emacs\bin\emacsclientw.exe -n "%1"
>
> This almost works. The file opens correctly, but windows initally
> pops up a warning message that the file cannot be found.
>
> How can I set the registry so that this error goes away?
>
> Thanks,
>
> Ryan
>
>
------------------------------------------------------------------------
This is exactly what the setup program for Emacs+EmacsW32 (or EmacsW32
only) can do for you under "File type associations".
There is one little difference though. The setup program puts quote
around the full path to emacsclientw.exe:
"C:\Program Files\Emacs\Emacs\bin\emacsclientw.exe" -n "%1"