[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [h-e-w] allow cygwin emacs to use _emacs?

From: Eli Daniel
Subject: RE: [h-e-w] allow cygwin emacs to use _emacs?
Date: Thu, 11 Dec 2003 10:26:16 -0500

NTEmacs is just GNU Emacs compiled on windows, so the underlying code for
coping with _emacs is presumably there in cygwin emacs too -- my guess
though is that emacs will accept _emacs only if it thinks it's running on
windows and cygwin reports that it's unix.

One obvious way to work around this is just to use a .emacs even on windows.
I've been doing that for years, and have never yet run into a windows tool
that "choked" on it.  The only quirk is that explorer won't let you rename
the file to .emacs by clicking on the icon; you have to do it from a command
prompt or from emacs itself.  Once it's called .emacs though, explorer is
totally happy with it.


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of Tom Roche
Sent: Wednesday, December 10, 2003 9:36 PM
To: address@hidden
Subject: [h-e-w] allow cygwin emacs to use _emacs?

Just a suggestion to any cygwin emacs maintainers out there:

Like many longterm NTEmacs users, I use a _emacs, since windows tools
have been known to choke on .emacs. I finally found time to upgrade to
cygwin emacs, which seems pretty easy:

* run setup, get the latest cygwin emacs (21.2.1), xfree86, etc.

* ensure that startxwin.bat is in my windows path and tweak it to

 > start XWin -multiwindow -clipboard -unixkill
 > REM Startup an xterm, using bash as the shell.

however you like--this works for me

 > run xterm -sl 1000 -sb -rightbar -ms red -fg white -bg blue -e 

* run startwinx.bat from windows, get the xterm shell

* run emacs from that shell with

 > emacs --debug-init &

The resulting emacs gets its HOME from the w2k environment, just like
my NTEmacs. The problem is, it won't use my _emacs unless I symlink

$ ln -s ./_emacs ./.emacs

I'm guessing NTEmacs had some kinda workaround allowing one to use
_emacs--correct? Anyway, It Would Be Nice if cygwin emacs could do
this also.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]