all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <help-gnu-emacs@gnu.org>
Subject: RE: Emacs on Windows XP -> Cygwin
Date: Tue, 13 Nov 2007 01:14:01 -0800	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICCEEFEBAA.drew.adams@oracle.com> (raw)
In-Reply-To: <uir46eq9n.fsf@gnu.org>

> > I wouldn't recommend that. I am running Windows XP with Cygwin, and
> > I'm using the XP (w32) version of Emacs and the cygwin tools without
> > any problems.
>
> I wouldn't recommend doing what you do, unless the OP likes to
> "tinker" with all kinds of Emacs options and optional packages, such
> as cygwin-mount.  There are subtle incompatibilities between Cygwin
> and native Windows programs (file-name conventions, console and pipe
> I/O, text vs. binary I/O, signal delivery, etc.), so someone who's
> used for things "to just work", like they do on GNU/Linux, is well
> advised to limit him/herself to either only Cygwin programs or only
> native Windows programs.
>
> > The cygwin version of emacs is (AFAIK) an older version.
>
> One can find a pointer to the latest one by searching the archives of
> the Cygwin mailing list.
>
> > To get windowing support, you must run the Cygwin xserver.
>
> True, but where's the problem with that? an X server is available as
> part of the Cygwin download.

Eli is an expert wrt Emacs and Windows. And Lennart's EmacsW32
(http://www.ourcomments.org/Emacs/EmacsW32.html) is a very nice turnkey
installer.

I'm not an expert on this, and I don't mean to contradict the experts, but
here is another data point for your consideration, FYI/FWIW - it is what I
do and have done for a long time:

- I use a vanilla Emacs binary for Windows - the 22.1 release from GNU. No
EmacsW32 installer - just unzip the file to a directory.

- I use vanilla Cygwin (on Windows XP). I don't use an Emacs built for
Cygwin.

- I load these two Lisp files from my .emacs:
  http://www.emacswiki.org/cgi-bin/wiki/cygwin-mount.el
  http://www.emacswiki.org/cgi-bin/wiki/setup-cygwin.el

This is the code I put in my .emacs to do that. It says "If on Windows and
can successfully load `cygwin-mount.el[c]', then load `setup-cygwin.el[c]."

(if (and (eq system-type 'windows-nt)
         (require 'cygwin-mount nil t))
    (require 'setup-cygwin))

That's all. I don't run an X server. I don't tinker with anything. I have
several versions of Emacs that I use on the same machine, from Emacs 20.7
through 22.1, and they are all vanilla binaries - I just put them in
different folders and use different shortcuts to run them. I prefer vanilla
binaries to EmacsW32 (for myself), because I don't want a customized version
of Emacs - I do my own customizing.

I haven't encountered any incompatibilities or problems. I don't claim there
are none, but I haven't encountered any in years of use. AFAICT, things
"just work".

Again, I'm not arguing that this is the way to go for anyone else, but it is
super easy, and it works for me. HTH. YMMV.

  reply	other threads:[~2007-11-13  9:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3370.1194899193.18990.help-gnu-emacs@gnu.org>
2007-11-13  1:09 ` Emacs on Windows XP -> Cygwin Chris McMahan
2007-11-13  4:13   ` Eli Zaretskii
2007-11-13  9:14     ` Drew Adams [this message]
2007-11-13 22:26       ` Eli Zaretskii
     [not found]       ` <mailman.3476.1194992785.18990.help-gnu-emacs@gnu.org>
2007-11-14  8:54         ` David Rod
2007-11-17 15:19           ` reader
2007-11-17 15:46             ` Lennart Borgman (gmail)
     [not found]             ` <mailman.3715.1195314424.18990.help-gnu-emacs@gnu.org>
2007-11-18 10:53               ` David Rod
     [not found]   ` <mailman.3405.1194927249.18990.help-gnu-emacs@gnu.org>
2007-11-13 12:19     ` Rainer Stengele
2007-11-13 21:59       ` Eli Zaretskii
2007-11-13 14:31 JunJie
  -- strict thread matches above, loose matches on Subject: below --
2007-11-13  4:03 JunJie
2007-11-12 20:19 Raimund Kohl-Füchsle
2007-11-12 21:01 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DNEMKBNJBGPAOPIJOOICCEEFEBAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.