[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[h-e-w] Windows Emacs 22.1 does not start if called from cygwin bash
From: |
Reiner Hammer |
Subject: |
[h-e-w] Windows Emacs 22.1 does not start if called from cygwin bash |
Date: |
Sat, 03 May 2008 00:38:13 +0200 |
User-agent: |
Thunderbird 2.0.0.14 (Windows/20080421) |
I used to have a single Windows version 21 of emacs to work both from
within Windows and within cygwin bash shells. I did not need to
install another emacs version under cygwin, but rather soft-linked to
the windows version from /usr/local/bin. This worked well for Emacs-21.
Now I upgraded to Emacs 22.1 (windows version), which runs fine under
Win XP. But when I call it from a cygwin shell, it simply hangs with
an empty window. The farthest I could get was by using a startup
script that mimics the Windows registry entries, like
#!/bin/sh
edir="/cygdrive/c/Programme/Emacs/emacs-22.1"
EMACSDATA="$edir/etc"
EMACSDOC="$edir/etc"
EMACSLOADPATH="$edir/site_lisp;$edir_dos/lisp"
EMACSLOCKDIR="$edir/lock"
EMACSPATH="$edir/bin"
PATH=$edir/bin:$PATH
export PATH EMACSDATA EMACSDOC EMACSLOADPATH EMACSLOCKDIR EMACSPATH
eval runemacs.exe "$*"
If I start emacs this way, I get at least some feedback: An "Emacs
Abort Dialog" informs me that:
The Emacs Windows initialization file "term/w32-win.el" could
not be found in your Emacs installation. Emacs checked the
following directories for this file:
("../lisp" "/cygdrive/c/Programme/Emacs/emacs-22.1/site_lisp"
"cygdrive/c/Programme/Emacs/emacs-22.1/lisp")
When Emacs cannot find this file, it usually means that it
was not installed properly, or its distribution file was
not unpacked properly. See the README.W32 file in the
top-level Emacs directory for more information.
But this is not true: term/w32-win.el DOES exist in the last
component of that path! And, of course, the file README.W32 is
absolutely unrelated to that problem.
Can anybody help? I do hope I don't need two separate installations
of emacs for win and cygwin. (In that case I would rather switch back
to Emacs-21 or try something like XEmacs...)
Thanks for any help - Reiner
--
Reiner Hammer Kiepenheuer-Institut fuer Sonnenphysik
Phone (+49)/(0) 761-3198-216 Schoeneckstr. 6
Fax (+49)/(0) 761-3198-111 79104 Freiburg, Germany
- [h-e-w] Windows Emacs 22.1 does not start if called from cygwin bash,
Reiner Hammer <=