Jason Rumney wrote:
Reiner Hammer wrote:
#!/bin/sh
edir="/cygdrive/c/Programme/Emacs/emacs-22.1"
Don't use Cygwin paths for non-Cygwin programs. You shouldn't need to
set any environment variables anyway, as Emacs will pick up the
registry entries (assuming they are correct), or if the registry
entries are not there, it will find the files it needs relative to
where emacs.exe is located.
Actually, its probably this last bit that's failing, since you're using
a Cygwin symlink to start Emacs, so emacs may be getting confused about
the location of emacs.exe. So setting the environment variables may be
needed, but use a Windows path, not a Cygwin one.